×

Mode-based castout destination selection

  • US 8,312,220 B2
  • Filed: 04/09/2009
  • Issued: 11/13/2012
  • Est. Priority Date: 04/09/2009
  • Status: Expired due to Fees
First Claim
Patent Images

1. A method of data processing in a data processing system including a system memory and an interconnect fabric coupled to plurality of processing units each including a respective processor core and associated upper and lower level caches, said method comprising:

  • in response to a data request of the processor core of a first processing unit among the plurality of processing units;

    selecting a victim cache line to be castout from a first lower level cache of the first processing unit;

    determining as candidates for an intended destination of the victim cache line;

    a second lower level cache selected from a first set containing exclusively lower level caches in the first processing unit; and

    a third lower level cache selected from a second set of lower level caches including at least one lower level cache within one of the plurality of processing units other than the first processing unit, wherein all of the first, second and third lower level caches are at a same level of cache hierarchy;

    determining whether a mode is set for the first processing unit;

    selecting the second lower level cache as the intended destination if the mode is set, and if not, selecting the third lower level cache as the intended destination;

    the first processing unit issuing a lateral castout (LCO) command on the interconnect fabric, wherein the LCO command identifies the victim cache line to be castout from the first lower level cache of the first processing unit and indicates the selected intended destination of the victim cache line; and

    in response to a coherence response to the LCO command indicating success of the LCO command, removing the victim cache line from the first lower level cache of the first processing unit and holding the victim cache line elsewhere in the data processing system.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×