主权项 |
1. A method of maintaining cache coherence in a multi-compute-engine system, the method comprising:
identifying, in a shared memory comprising a plurality of cache lines, a predetermined number of most frequently occurring common sharing patterns, wherein each of the plurality of cache lines is associated with a sharing pattern, the sharing pattern indicative of information of sharing of each of the plurality of cache lines amongst a plurality of processors of the multi-compute-engine system; aggregating one or more cache lines from amongst the plurality of cache lines, associated with a common sharing pattern from amongst the identified common, sharing patterns, into an common pattern aggregated entry in a concise cache coherency directory (CDir); and setting a pattern vector of the common pattern aggregated entry to identify the common sharing pattern, from amongst the identified common sharing patterns, associated with the one or more cache lines corresponding to the common pattern aggregated entry. |