Mode-Based Castout Destination Selection
First Claim
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 the lower level cache of the first processing unit;
determining whether a mode is set for the first processing unit;
in response to a determination that the mode is set, 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 lower level cache of the first processing unit and indicates that a lower level cache is the intended destination of the victim cache line;
in response to a determination that the mode is not set in the first processing unit, the first processing unit issuing on the interconnect fabric a castout command with an alternative intended destination; and
in response to a coherence response to the LCO command indicating success of the LCO command, removing the victim cache line from the lower level cache of the first processing unit and holding the victim cache line elsewhere in the data processing system.
1 Assignment
0 Petitions
Accused Products
Abstract
In response to a data request of a first of a plurality of processing units, the first processing unit selects a victim cache line to be castout from the lower level cache of the first processing unit and determines whether a mode is set. If not, the first processing unit issues on the interconnect fabric an LCO command identifying the victim cache line and indicating that a lower level cache is the intended destination. If the mode is set, the first processing unit issues a castout command with an alternative intended destination. In response to a coherence response to the LCO command indicating success of the LCO command, the first processing unit removes the victim cache line from its lower level cache, and the victim cache line is held elsewhere in the data processing system. The mode can be set to inhibit castouts to system memory, for example, for testing.
117 Citations
20 Claims
-
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 the lower level cache of the first processing unit; determining whether a mode is set for the first processing unit; in response to a determination that the mode is set, 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 lower level cache of the first processing unit and indicates that a lower level cache is the intended destination of the victim cache line; in response to a determination that the mode is not set in the first processing unit, the first processing unit issuing on the interconnect fabric a castout command with an alternative intended destination; and in response to a coherence response to the LCO command indicating success of the LCO command, removing the victim cache line from the lower level cache of the first processing unit and holding the victim cache line elsewhere in the data processing system. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A data processing system, comprising:
-
an interconnect fabric; and a plurality of processing units coupled to the interconnect fabric, the plurality of processing units each including a respective processor core and associated upper and lower level caches, wherein the plurality of processing units includes at least first, second and third processing units; wherein the first processing unit, responsive to a data request, selects a victim cache line to be castout from its lower level cache and determines whether a mode is set for the first processing unit; wherein the first processing unit, responsive to determining that the mode is set, issues a lateral castout (LCO) command on the interconnect fabric, the LCO command identifying the victim cache line to be castout from the lower level cache of the first processing unit and indicating that a lower level cache is the intended destination of the victim cache line; wherein, responsive to a determination that the mode is not set in the first processing unit, the first processing unit issues on the interconnect fabric a castout command with an alternative intended destination; and wherein responsive to a coherence response to the LCO command indicating success of the LCO command, the first processing unit removes the victim cache line from its lower level cache and the victim cache line is held elsewhere in the data processing system. - View Dependent Claims (9, 10, 11, 12, 13, 14)
-
-
15. A processing unit for a data processing system including a plurality of processing units coupled by an interconnect fabric, the plurality of processing units including the processing unit as a first processing unit and additional second and third processing units, said first processing unit comprising:
-
a processor core and associated upper and lower level caches; wherein the first processing unit, responsive to a data request, selects a victim cache line to be castout from its lower level cache and determines whether a mode is set for the first processing unit; wherein the first processing unit, responsive to determining that the mode is set, issues a lateral castout (LCO) command on the interconnect fabric, the LCO command identifying the victim cache line to be castout from the lower level cache of the first processing unit and indicating that a lower level cache is the intended destination of the victim cache line; wherein, responsive to a determination that the mode is not set in the first processing unit, the first processing unit issues on the interconnect fabric a castout command with an alternative intended destination; and wherein responsive to a coherence response to the LCO command indicating success of the LCO command, the first processing unit removes the victim cache line from its lower level cache and the victim cache line is held elsewhere in the data processing system. - View Dependent Claims (16, 17, 18, 19, 20)
-
Specification