US6988168B2 - Cache programmable to partition ways to agents and/or local/remote blocks - Google Patents

Cache programmable to partition ways to agents and/or local/remote blocks Download PDF

Info

Publication number
US6988168B2
US6988168B2 US10/413,917 US41391703A US6988168B2 US 6988168 B2 US6988168 B2 US 6988168B2 US 41391703 A US41391703 A US 41391703A US 6988168 B2 US6988168 B2 US 6988168B2
Authority
US
United States
Prior art keywords
cache
way
subset
entries
circuit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related, expires
Application number
US10/413,917
Other versions
US20030217229A1 (en
Inventor
Joseph B. Rowlands
Rohini Krishna Kaza
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Avago Technologies International Sales Pte Ltd
Original Assignee
Broadcom Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Broadcom Corp filed Critical Broadcom Corp
Assigned to BROADCOM CORPORATION reassignment BROADCOM CORPORATION ASSIGNMENT OF ASSIGNORS INTEREST (SEE DOCUMENT FOR DETAILS). Assignors: KAZA, ROHINI KRISHNA, ROWLANDS, JOSEPH B.
Priority to US10/413,917 priority Critical patent/US6988168B2/en
Priority to DE60304930T priority patent/DE60304930T2/en
Priority to EP03010901A priority patent/EP1363193B1/en
Publication of US20030217229A1 publication Critical patent/US20030217229A1/en
Publication of US6988168B2 publication Critical patent/US6988168B2/en
Application granted granted Critical
Assigned to BANK OF AMERICA, N.A., AS COLLATERAL AGENT reassignment BANK OF AMERICA, N.A., AS COLLATERAL AGENT PATENT SECURITY AGREEMENT Assignors: BROADCOM CORPORATION
Assigned to AVAGO TECHNOLOGIES GENERAL IP (SINGAPORE) PTE. LTD. reassignment AVAGO TECHNOLOGIES GENERAL IP (SINGAPORE) PTE. LTD. ASSIGNMENT OF ASSIGNORS INTEREST (SEE DOCUMENT FOR DETAILS). Assignors: BROADCOM CORPORATION
Assigned to BROADCOM CORPORATION reassignment BROADCOM CORPORATION TERMINATION AND RELEASE OF SECURITY INTEREST IN PATENTS Assignors: BANK OF AMERICA, N.A., AS COLLATERAL AGENT
Adjusted expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/40Bus structure
    • G06F13/4004Coupling between buses
    • G06F13/4027Coupling between buses using bus bridges
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F12/00Accessing, addressing or allocating within memory systems or architectures
    • G06F12/02Addressing or allocation; Relocation
    • G06F12/08Addressing or allocation; Relocation in hierarchically structured memory systems, e.g. virtual memory systems
    • G06F12/0802Addressing of a memory level in which the access to the desired data or data block requires associative addressing means, e.g. caches
    • G06F12/0806Multiuser, multiprocessor or multiprocessing cache systems
    • G06F12/0815Cache consistency protocols
    • G06F12/0817Cache consistency protocols using directory methods
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F12/00Accessing, addressing or allocating within memory systems or architectures
    • G06F12/02Addressing or allocation; Relocation
    • G06F12/08Addressing or allocation; Relocation in hierarchically structured memory systems, e.g. virtual memory systems
    • G06F12/0802Addressing of a memory level in which the access to the desired data or data block requires associative addressing means, e.g. caches
    • G06F12/0806Multiuser, multiprocessor or multiprocessing cache systems
    • G06F12/0815Cache consistency protocols
    • G06F12/0817Cache consistency protocols using directory methods
    • G06F12/082Associative directories
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/30Arrangements for executing machine instructions, e.g. instruction decode
    • G06F9/30003Arrangements for executing specific machine instructions
    • G06F9/3004Arrangements for executing specific machine instructions to perform operations on memory
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/30Arrangements for executing machine instructions, e.g. instruction decode
    • G06F9/30003Arrangements for executing specific machine instructions
    • G06F9/30072Arrangements for executing specific machine instructions to perform conditional operations, e.g. using predicates or guards
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/30Arrangements for executing machine instructions, e.g. instruction decode
    • G06F9/30003Arrangements for executing specific machine instructions
    • G06F9/30076Arrangements for executing specific machine instructions to perform miscellaneous control operations, e.g. NOP
    • G06F9/30087Synchronisation or serialisation instructions
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2212/00Indexing scheme relating to accessing, addressing or allocation within memory systems or architectures
    • G06F2212/10Providing a specific technical effect
    • G06F2212/1048Scalability
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2212/00Indexing scheme relating to accessing, addressing or allocation within memory systems or architectures
    • G06F2212/25Using a specific main memory architecture
    • G06F2212/254Distributed memory
    • G06F2212/2542Non-uniform memory access [NUMA] architecture

Definitions

  • This invention is related to the field of caches and, more particularly, to replacement mechanisms in caches.
  • Processors typically provide a set of registers which may be used by programs as a high speed, private storage for operands.
  • the operands stored in registers may be frequently accessed variables, or may be intermediate results in a complex, multi-instruction calculation.
  • the number of registers provided in the processor may be too few to hold all of the operands of interest. In such cases, many of the frequently accessed variables and/or intermediate results are written to and read from memory locations during execution of the program.
  • the memory may have a significantly higher latency than the registers, limiting the speed at which the program may be executed as compared to the speed that may be achieved if all operands were in registers.
  • Processors and/or the computer systems including the processors may provide caches to alleviate the memory latency.
  • a cache is a relatively small, high speed memory which may store copies of data corresponding to various recently-accessed memory locations.
  • cache storage is allocated and deallocated in units of cache blocks (a group of bytes from contiguous memory locations).
  • the cache may include multiple entries, and each entry may include storage for a cache block of bytes. If requested data for an access is not in the cache (a “miss”), an entry is allocated for the cache block including the requested data and the cache block is filled into the allocated entry.
  • Caches are a finite resource, and thus may be susceptible to “cache thrashing” or “cache pollution” effects. These effects generally refer to frequently replacing the same data in the cache due to the access patterns to the cache. For example, if the amount of data being accessed by a given process exceeds the size of the cache (or maps to a subset of the cache that is smaller, in size, than the amount of data), accessing a first portion of the data may cause a second portion to be replaced in the cache. Subsequently accessing the second portion may cause the first portion to be replaced, and so on.
  • cache blocks accessed by one processor may cause cache blocks accessed by another processor to be replaced. Both processors may be accessing data sets that might otherwise remain in the cache, but the interference between the processors may cause the amount of data retained in cache to be less than optimal.
  • multiple nodes may form a distributed memory system.
  • Memory attached to a given node may be local to that node, while memory attached to other nodes may be remote to the given node.
  • Latency for accessing remote memory in the given node may be higher than accessing the local memory, in general, due to the communication needed with the other nodes (e.g. cache-coherent nonuniform memory access (CC-NUMA) systems may be employed). If data from the remote memory is cached in the cache, that data is subject to replacement by local data that is subsequently accessed. If the remote data is subsequently accessed again in the node, the higher latency to access the remote memory may be experienced.
  • CC-NUMA cache-coherent nonuniform memory access
  • a cache comprises a memory including a plurality of entries and a circuit. Each entry of the plurality of entries is configured to store a cache block. The circuit is configured to select a first entry of the plurality of entries to store a first cache block corresponding to a first transaction initiated by a first agent, wherein the first entry is selected from a first subset of the plurality of entries indicated as selectable for the first agent.
  • a cache comprises the memory and the circuit.
  • the circuit is configured to select a first entry of the plurality of entries to store a first cache block, wherein the first entry is selected in response to whether the first cache block is a remote cache block or a local cache block.
  • a local cache block has a first home node that includes the cache, while a remote cache block has a second home node other than the first home node.
  • the circuit may be configured to handle a combination of the subset indicated as selectable for the first agent and selecting an entry based on whether the cache block is local or remote.
  • FIG. 1 is a block diagram of one embodiment of a node including a cache.
  • FIG. 2 is a block diagram of one embodiment of the cache shown in FIG. 1 .
  • FIG. 3 is a block diagram of one embodiment of a replacement circuit shown in FIG. 2 .
  • FIG. 4 is a block diagram illustrating a portion of the replacement circuit in greater detail.
  • FIG. 5 is a flowchart illustrating operation of one embodiment of a control circuit shown in FIG. 4 .
  • FIG. 6 is a block diagram illustrating several examples of replacement selection.
  • FIG. 7 is a block diagram of a computer accessible medium.
  • the node 10 includes one or more processors 12 A– 12 N, a memory controller 14 , a switch 18 , a set of interface circuits 20 A– 20 C, a memory bridge 32 , and an L2 cache 36 .
  • the memory bridge 32 includes a remote line directory 34 .
  • the node 10 includes an interconnect 22 to which the processors 12 A– 12 N, the memory controller 14 , the L2 cache 36 , the memory bridge 32 , and the remote line directory 34 are coupled.
  • the node 10 is coupled, through the memory controller 14 , to a memory 24 .
  • the interface circuits 20 A– 20 C each include a receive (Rx) circuit 26 A– 26 C and a transmit (Tx) circuit 28 A– 28 C.
  • the node 10 is coupled to a set of interfaces 30 A– 30 C through respective interface circuits 20 A– 20 C.
  • the interface circuits 20 A– 20 C are coupled to the switch 18 , which is further coupled to the memory bridge 32 .
  • a configuration register 38 is also illustrated in FIG. 1 , which stores a node number (Node #) for the node 10 .
  • the configuration register 38 is coupled to the L2 cache 36 , the memory controller 14 , the memory bridge 32 , and the interface circuits 20 A– 20 C in the embodiment of FIG. 1 .
  • the processors 12 A– 12 N may be coupled to receive the node number from the configuration register 38 .
  • the node 10 may support intranode coherency for transactions on the interconnect 22 . Additionally, the node 10 may support internode coherency with other nodes (e.g. a CC-NUMA coherency, in one embodiment). Generally, as used herein, a memory bridge includes circuitry designed to handle internode coherency functions within a node. Particularly, in one embodiment, if a transaction on the interconnect 22 (e.g. a transaction issued by the processors 12 A– 12 N) accesses a cache block that is remote to the node 10 (i.e.
  • the memory bridge 32 may issue one or more coherency commands to the other nodes to obtain the ownership (and a copy of the cache block, in some cases). Similarly, if the transaction access a local cache block but one or more other nodes have a copy of the cache block, the memory bridge 32 may issue coherency commands to other nodes. Still further, the memory bridge 32 may receive coherency commands from other nodes, and may perform transactions on the interconnect 22 to effect the coherency commands.
  • a node such as node 10 may have memory coupled thereto (e.g. memory 24 ).
  • the node may be responsible for tracking the state, in other nodes, of each cache block from the memory in that node.
  • a node is referred to as the “home node” for cache blocks from the memory assigned to that node.
  • a node is referred to as a “remote node” for a cache block if the node is not the home node for that cache block.
  • a cache block is referred to as a local cache block in the home node for that cache block and as a remote cache block in other nodes.
  • a remote node may begin the coherency process by requesting a copy of a cache block from the home node of that cache block using a coherency command.
  • the memory bridge 32 in the remote node may detect a transaction on the interconnect 22 that accesses the cache block and may detect that the remote node does not have sufficient ownership of the cache block to complete the transaction (e.g. it may not have a copy of the cache block at all, or may have a shared copy and may require exclusive ownership to complete the transaction).
  • the memory bridge 32 in the remote node may generate and transmit the coherency command to the home node to obtain the copy or to obtain sufficient ownership.
  • the memory bridge 32 in the home node may determine if any state changes in other nodes are to be performed to grant the requested ownership to the remote node, and may transmit coherency commands (e.g. probe commands) to effect the state changes.
  • coherency commands e.g. probe commands
  • the memory bridge 32 in each node receiving the probe commands may effect the state changes and respond to the probe commands.
  • the memory bridge 32 in the home node may respond to the remote node (e.g. with a fill command including the cache block).
  • the remote line directory 34 may be used in the home node to track the state of the local cache blocks in the remote nodes.
  • the remote line directory 34 is updated each time a cache block is transmitted to a remote node, the remote node returns the cache block to the home node, or the cache block is invalidated via probes.
  • the “state” of a cache block in a given node refers to an indication of the ownership that the given node has for the cache block according to the coherency protocol implemented by the nodes. Certain levels of ownership may permit no access, read-only access, or read-write access to the cache block. For example, in one embodiment, the modified, shared, and invalid states are supported in the internode coherency protocol.
  • the node may read and write the cache block and the node is responsible for returning the block to the home node if evicted from the node.
  • the node may read the cache block but not write the cache block without transmitting a coherency command to the home node to obtain modified state for the cache block.
  • the node may not read or write the cache block (i.e. the node does not have a valid copy of the cache block).
  • Other embodiments may use other coherency protocols (e.g.
  • agents within the node may implement the MESI protocol for intranode coherency.
  • the node may be viewed as having a state in the internode coherency and individual agents may have a state in the intranode coherency (consistent with the internode coherency state for the node containing the agent).
  • Coherency commands are transmitted and received on one of the interfaces 30 A– 30 C by the corresponding interface circuit 20 A– 20 C.
  • the interface circuits 20 A– 20 C receive coherency commands for transmission from the memory bridge 32 and transmit coherency commands received from the interfaces 30 A– 30 C to the memory bridge 32 for processing, if the coherency commands require processing in the node 10 .
  • a coherency command may be received that is passing through the node 10 to another node, and does not require processing in the node 10 .
  • the interface circuits 20 A– 20 C may be configured to detect such commands and retransmit them (through another interface circuit 20 A– 20 C) without involving the memory bridge 32 .
  • the interface circuits 20 A– 20 C are coupled to the memory bridge 32 through the switch 18 (although in other embodiments, the interface circuits 20 A– 20 C may have direct paths to the memory bridge 32 ).
  • the switch 18 may selectively couple the interface circuits 20 A– 20 C (and particularly the Rx circuits 26 A– 26 C in the illustrated embodiment) to other interface circuits 20 A– 20 C (and particularly the Tx circuits 28 A– 28 C in the illustrated embodiment) or to the memory bridge 32 to transfer received coherency commands.
  • the switch 18 may also selectively couple the memory bridge 32 to the interface circuits 20 A– 20 C (and particularly to the Tx circuits 28 A– 28 C in the illustrated embodiment) to transfer coherency commands generated by the memory bridge 32 from the memory bridge 32 to the interface circuits 20 A– 20 C for transmission on the corresponding interface 30 A– 30 C.
  • the switch 18 may have request/grant interfaces to each of the interface circuits 20 A– 20 C and the memory bridge 32 for requesting transfers and granting those transfers.
  • the switch 18 may have an input path from each source (the Rx circuits 26 A– 26 C and the memory bridge 32 ) and an output path to each destination (the Tx circuits 28 A– 28 C and the memory bridge 32 ), and may couple a granted input path to a granted output path for transmission of a coherency command (or a portion thereof, if coherency commands are larger than one transfer through the switch 18 ). The couplings may then be changed to the next granted input path and granted output path. Multiple independent input path/output path grants may occur concurrently.
  • the interfaces 30 A– 30 C may support a set of virtual channels in which commands are transmitted. Each virtual channel is defined to flow independent of the other virtual channels, even though the virtual channels may share certain physical resources (e.g. the interface 30 A– 30 C on which the commands are flowing). These virtual channels may be mapped to internal virtual channels (referred to as switch virtual channels herein).
  • the switch 18 may be virtual-channel aware. That is, the switch 18 may grant a coupling between a source and a destination based not only on the ability of the source to transfer data and the destination to receive data, but also on the ability of the source to transfer data in a particular switch virtual channel and the destination to receive data on that switch virtual channel. Thus, requests from sources may indicate the destination and the virtual channel on which data is to be transferred, and requests from destinations may indicate the virtual channel on which data may be received.
  • a node may include one or more coherent agents (dotted enclosure 16 in FIG. 1 ).
  • the processors 12 A– 12 N, the L2 cache 36 , and the memory controller 14 may be examples of coherent agents 16 .
  • the memory bridge 32 may be a coherent agent (on behalf of other nodes).
  • other embodiments may include other coherent agents as well, such as a bridge to one or more I/O interface circuits, or the I/O interface circuits themselves.
  • an agent includes any circuit which participates in transactions on an interconnect.
  • a coherent agent is an agent that is capable of performing coherent transactions and operating in a coherent fashion with regard to transactions.
  • a transaction is a communication on an interconnect.
  • the transaction is sourced by one agent on the interconnect, and may have one or more agents as a target of the transaction.
  • Read transactions specify a transfer of data from a target to the source, while write transactions specify a transfer of data from the source to the target.
  • Other transactions may be used to communicate between agents without transfer of data, in some embodiments.
  • Each of the interface circuits 20 A– 20 C are configured to receive and transmit on the respective interfaces 30 A– 30 C to which they are connected.
  • the Rx circuits 26 A– 26 C handle the receiving of communications from the interfaces 30 A– 30 C
  • the Tx circuits 28 A– 28 C handle the transmitting of communications on the interfaces 30 A– 30 C.
  • Each of the interfaces 30 A– 30 C used for coherent communications are defined to be capable of transmitting and receiving coherency commands. Particularly, in the embodiment of FIG. 1 , those interfaces 30 A– 30 C may be defined to receive/transmit coherency commands to and from the node 10 from other nodes. Additionally, other types of commands may be carried.
  • each interface 30 A– 30 C may be a HyperTransportTM (HT) interface, including an extension to the HT interface to include coherency commands (HTcc). Additionally, in some embodiments, an extension to the HyperTransport interface to carry packet data (Packet over HyperTransport, or PoHT) may be supported.
  • coherency commands include any communications between nodes that are used to maintain coherency between nodes.
  • the commands may include read or write requests initiated by a node to fetch or update a cache block belonging to another node, probes to invalidate cached copies of cache blocks in remote nodes (and possibly to return a modified copy of the cache block to the home node), responses to probe commands, fills which transfer data, etc.
  • one or more of the interface circuits 20 A– 20 C may not be used for coherency management and may be defined as packet interfaces.
  • Such interfaces 30 A– 30 C may be HT interfaces.
  • Such interfaces 30 A– 30 C may be system packet interfaces (SPI) according to any level of the SPI specification set forth by the Optical Internetworking Forum (e.g. level 3, level 4, or level 5).
  • the interfaces may be SPI-4 phase 2 interfaces.
  • each interface circuit 20 A– 20 C may be configurable to communicate on either the SPI-4 interface or the HT interface.
  • Each interface circuit 20 A– 20 C may be individually programmable, permitting various combinations of the HT and SPI-4 interfaces as interfaces 30 A– 30 C.
  • the programming may be performed in any fashion (e.g. sampling certain signals during reset, shifting values into configuration registers (not shown) during reset, programming the interfaces with configuration space commands after reset, pins that are tied up or down externally to indicate the desired programming, etc.).
  • Other embodiments may employ any interface capable of carrying packet data (e.g. the Media Independent Interface (MII) or the Gigabit MII (GMII) interfaces, X.25, Frame Relay, Asynchronous Transfer Mode (ATM), etc.).
  • the packet interfaces may carry packet data directly (e.g. transmitting the packet data with various control information indicating the start of packet, end of packet, etc.) or indirectly (e.g. transmitting the packet data as a payload of a command, such as PoHT).
  • the node 10 may also include a packet direct memory access (DMA) circuit configured to transfer packets to and from the memory 24 on behalf of the interface circuits 20 A– 20 C.
  • the switch 18 may be used to transmit packet data from the interface circuits 20 A– 20 C to the packet DMA circuit and from the packet DMA circuit to the interface circuits 20 A– 20 C. Additionally, packets may be routed from an Rx circuit 26 A– 26 C to a Tx circuit 28 A– 28 C through the switch 18 , in some embodiments.
  • DMA packet direct memory access
  • the processors 12 A– 12 N may be designed to any instruction set architecture, and may execute programs written to that instruction set architecture.
  • Exemplary instruction set architectures may include the MIPS instruction set architecture (including the MIPS-3D and MIPS MDMX application specific extensions), the IA-32 or IA-64 instruction set architectures developed by Intel Corp., the PowerPC instruction set architecture, the Alpha instruction set architecture, the ARM instruction set architecture, or any other instruction set architecture.
  • the node 10 may include any number of processors (e.g. as few as one processor, two processors, four processors, etc.).
  • the L2 cache 36 may be any type and capacity of cache memory, employing any organization (e.g. set associative, direct mapped, fully associative, etc.). In one embodiment, the L2 cache 36 may be an 8 way, set associative, 1 MB cache.
  • the L2 cache 36 is referred to as L2 herein because the processors 12 A– 12 N may include internal (L1) caches. In other embodiments the L2 cache 36 may be an L1 cache, an L3 cache, or any other level as desired.
  • the memory controller 14 is configured to access the memory 24 in response to read and write transactions received on the interconnect 22 .
  • the memory controller 14 may receive a hit signal from the L2 cache, and if a hit is detected in the L2 cache for a given read/write transaction, the memory controller 14 may not respond to that transaction.
  • the memory controller 14 may be designed to access any of a variety of types of memory.
  • the memory controller 14 may be designed for synchronous dynamic random access memory (SDRAM), and more particularly double data rate (DDR) SDRAM.
  • SDRAM synchronous dynamic random access memory
  • DDR double data rate
  • the memory controller 16 may be designed for DRAM, DDR synchronous graphics RAM (SGRAM), DDR fast cycle RAM (FCRAM), DDR-II SDRAM, Rambus DRAM (RDRAM), SRAM, or any other suitable memory device or combinations of the above mentioned memory devices.
  • SGRAM DDR synchronous graphics RAM
  • FCRAM DDR fast cycle RAM
  • RDRAM Rambus DRAM
  • SRAM SRAM
  • the interconnect 22 may be any form of communication medium between the devices coupled to the interconnect.
  • the interconnect 22 may include shared buses, crossbar connections, point-to-point connections in a ring, star, or any other topology, meshes, cubes, etc.
  • the interconnect 22 may also include storage, in some embodiments.
  • the interconnect 22 may comprise a bus.
  • the bus may be a split transaction bus, in one embodiment (i.e. having separate address and data phases). The data phases of various transactions on the bus may proceed out of order with the address phases.
  • the bus may also support coherency and thus may include a response phase to transmit coherency response information.
  • the bus may employ a distributed arbitration scheme, in one embodiment.
  • the bus may be pipelined.
  • the bus may employ any suitable signaling technique.
  • differential signaling may be used for high speed signal transmission.
  • Other embodiments may employ any other signaling technique (e.g. TTL, CMOS, GTL, HSTL, etc.).
  • Other embodiments may employ non-split transaction buses arbitrated with a single arbitration for address and data and/or a split transaction bus in which the data bus is not explicitly arbitrated. Either a central arbitration scheme or a distributed arbitration scheme may be used, according to design choice.
  • the bus may not be pipelined, if desired.
  • the node 10 may include additional circuitry, not shown in FIG. 1 .
  • the node 10 may include various I/O devices and/or interfaces.
  • Exemplary I/O may include one or more PCI interfaces, one or more serial interfaces, Personal Computer Memory Card International Association (PCMCIA) interfaces, etc. Such interfaces may be directly coupled to the interconnect 22 or may be coupled through one or more I/O bridge circuits.
  • PCMCIA Personal Computer Memory Card International Association
  • the node 10 (and more particularly the processors 12 A– 12 N, the memory controller 14 , the L2 cache 36 , the interface circuits 20 A– 20 C, the memory bridge 32 including the remote line directory 34 , the switch 18 , the configuration register 38 , and the interconnect 22 ) may be integrated onto a single integrated circuit as a system on a chip configuration.
  • the additional circuitry mentioned above may also be integrated.
  • other embodiments may implement one or more of the devices as separate integrated circuits.
  • the memory 24 may be integrated as well.
  • one or more of the components may be implemented as separate integrated circuits, or all components may be separate integrated circuits, as desired. Any level of integration may be used.
  • an interface circuit includes any circuitry configured to communicate on an interface according to the protocol defined for the interface.
  • the interface circuit may include receive circuitry configured to receive communications on the interface and transmit the received communications to other circuitry internal to the system that includes the interface circuit.
  • the interface circuit may also include transmit circuitry configured to receive communications from the other circuitry internal to the system and configured to transmit the communications on the interface.
  • the L2 cache 36 may be shared among the agents in the node 10 (e.g. the processors 12 A– 12 N and other agents, not shown), caching cache blocks accessed by the agents. Additionally, the L2 cache 36 may store remote cache blocks transferred into the node 10 in response to transactions to the remote cache blocks by the agents. In one embodiment, the L2 cache 36 may retain the state of the remote cache blocks within the node 10 . Other agents in the node 10 may have the block in various states that are consistent with the node state maintained in the L2 cache 36 .
  • the L2 cache 36 may be programmable to be partitioned among the various agents. That is, the L2 cache 36 may be programmable with indications of various subsets of the L2 cache that may be used for various agents. Cache blocks accessed by a given agent may be stored into the subset of the L2 cache 36 assigned to that agent.
  • the L2 cache 36 may implement a replacement algorithm used when a cache miss occurs, to select a cache entry in the L2 cache 36 to store the missing cache block.
  • the replacement algorithm may be programmable to cause a cache block that misses in the L2 cache 36 to be stored in the subset of the cache entries that are assigned to the agent that initiated the transaction to that cache block.
  • cache blocks accessed by one agent may not cause the cache blocks accessed by another agent to be evicted from the L2 cache 36 .
  • Cache pollution/thrashing effects due to interference between cache accesses by different agents may be mitigated, in some embodiments.
  • the L2 cache 36 may be programmable to be partitioned between remote and local cache blocks. That is, the L2 cache 36 may be programmable with indications of a first subset of the L2 cache 36 to be used to store remote cache blocks and a second subset to be used to store local cache blocks. In a manner similar to the embodiment described above for agent partitioning, the L2 cache 36 may implement a replacement algorithm that causes a missing cache block to be stored in either the local or remote subset, depending on whether the missing cache block is local or remote. The replacement of remote cache blocks (which may have higher latencies for retrieval from the remote memory, as compared to local memory) by local cache blocks may thus be preventable.
  • the mechanisms for partitioning the L2 cache 36 into subsets on an agent basis and on a local versus remote basis may be used in combination, in some embodiments. Other embodiments are contemplated in which only the partitioning on an agent basis is implemented, or only the partitioning on a local versus remote basis is implemented. In some embodiments, the various subsets assigned to agents (or to remote versus local cache blocks) may overlap. That is, a cache entry may be included in more than one of the subsets.
  • a transaction may be detected as hitting in any cache entry in the L2 cache 36 . That is, a hit may be detected in a cache entry independent of which agent initiated the transaction and independent of whether the transaction is to a local cache block or remote cache block.
  • FIGS. 2–6 illustrate a set associative embodiment of the L2 cache 36 in which each way of the set associative cache may be included or excluded in various subsets by programming configuration registers in the L2 cache 36 . That is, the cache entries included in the way may be included or excluded from a subset as a group.
  • the description below may describe enabling or disabling ways for an agent, local cache block, or remote cache block. If a way is enabled for the agent, local cache block, or remote cache block, then the way is included in the subset of cache entries that are selectable in response to a cache miss for that agent, local cache block, or remote cache block. If a way is disabled for an agent, local cache block, or remote cache block, then the way is excluded from the subset.
  • inventions may implement a fully associative L2 cache 36 , in which each cache entry may be included or excluded from a subset individually.
  • fully associative embodiments may group cache entries for purposes of programming which subsets the cache entries are used in, but may operate in a fully associative configuration otherwise.
  • the L2 cache 36 includes a tags memory 40 , a data memory 42 , a set of comparators 44 A– 44 N, a control circuit 46 , and a replacement circuit 50 .
  • the tags memory 40 and the data memory 42 are each coupled to receive an index portion of an address of a transaction (the address of the transaction may be referred to more briefly herein as an “input address” to the L2 cache 36 ).
  • the data memory 42 is coupled to receive and provide data corresponding to the transaction.
  • the tags memory 40 is further coupled to receive a tag portion of the input address, and is coupled to the comparators 44 A– 44 N.
  • the comparators 44 A– 44 N are further coupled to receive the tag portion of the input address and are coupled to the control circuit 46 .
  • the control circuit 46 is coupled to receive control information corresponding to the transaction and is further coupled to the replacement circuit 50 and to provide a hit signal output from the L2 cache 36 (e.g. to the memory controller 14 , in the illustrated embodiment).
  • the control circuit 46 is further coupled to provide a way selection and control signals to the tags memory 40 and the data memory 42 .
  • the replacement circuit 50 is coupled to receive a portion of the input address, a transaction identifier (TID) for the transaction, and the node number from the configuration register 38 .
  • TID transaction identifier
  • the replacement circuit 50 selects the replacement way for a cache miss.
  • a random replacement algorithm may be used and thus the replacement circuit 50 may include a random number generator circuit which generates an indication of the replacement way.
  • the replacement way is the way from which a cache block is evicted to provide space for the cache block corresponding to a cache miss.
  • the control circuit 46 may cause the cache block in the replacement way to be evicted (invalidating the tag and writing the evicted cache block back to the memory 24 , if dirty).
  • the replacement circuit 50 includes one or more registers (the way configuration, or way config., registers 48 ) that may be programmed to partition the L2 cache 36 .
  • the partitioning may be on an agent-by-agent basis, or a remote cache block versus local cache block basis, or combinations thereof.
  • the way configuration registers 48 may further be programmable to enable certain ways for the replacement algorithm and disable others.
  • the disabled ways may be used, e.g., as a private, low-latency random access memory (RAM).
  • the RAM may be addressed using addresses not mapped to the memory 24 , for example.
  • a certain portion of the address space may be defined as a direct access space.
  • Way enable/disable may be used in combination with the local versus remote and agent-by-agent mechanisms, in some embodiments. Additional details for one embodiment of the way configuration registers 48 and the replacement circuit 50 are provided below with regard to FIGS. 3–6 .
  • the tags memory 40 stores the tag information for each entry in L2 cache 36
  • the data memory 42 stores the cache block of data for each entry in L2 cache 36
  • an entry of L2 cache 36 comprises a tag memory storage location and a data memory storage location.
  • the tag memory storage location stores the tag for the entry (and possibly other information, such as validity and dirty information).
  • a tag for an entry includes the tag portion of the address (e.g. bits 39:17 in the illustrated embodiment), a valid bit indicating the validity or lack of validity of the entry, and a dirty bit indicating the dirty or clean state of the cache block.
  • a cache block is dirty if at least one byte of the cache block has been modified in L2 cache 36 and the modification has not been written to memory.
  • the data memory storage location stores the cache block of data in the entry.
  • the index portion of the input address (e.g. bits 16:5 in the illustrated embodiment) is provided to the tags memory 40 and the data memory 42 .
  • Each memory selects a set of storage locations in response to the index.
  • Tags memory 40 outputs the tag from each selected storage location to the comparators 44 A– 44 N, which compare the tags to the tag portion of the input address. If the tag compares equally, and the entry is valid, the corresponding comparator 44 A– 44 N may signal a hit to the control circuit 46 .
  • the control circuit 46 may assert the hit signal to the memory controller 14 if any of the comparators 44 A– 44 N indicates a hit, and may determine a way selection from the output of the comparators 44 A– 44 N as well.
  • Each comparator 44 A– 44 N is comparing the tag from a different way of the L2 cache 36 , and thus the comparator output indicating a hit is an indication of the hitting way.
  • the control circuit 46 provides the way selection to the tags memory 40 and the data memory 42 . In the case of a miss, the control circuit 46 provides the replacement way selection to the tags memory 40 and the data memory 42 during the read used to evict the cache line.
  • the data memory 42 provides data from the storage location at the selected index and way, or receives data into that storage location, depending upon whether the transaction is a read or write.
  • the control circuit 46 receives the control information corresponding to the transaction, and generates control signals for the data memory 42 and the tags memory 40 .
  • the control signals may include, for example, an enable signal and a read/write signal to indicate whether the memory is to read or write.
  • the tags memory 40 may be updated in response to the transaction as well. For example, if the transaction is a write, the dirty bit in the hitting entry may be updated. Additionally, if the transaction is a miss in the L2 cache 36 and is cacheable, the tags memory 40 may be updated to invalidate the evicted cache line indicated by the replacement way, as mentioned above. It is noted that tag updates and evictions may not occur in the same clock cycle that the L2 cache 36 is accessed to determine the hit/miss of the input address, in some embodiments.
  • FIG. 2 shows various exemplary address bit ranges for a particular implementation of the L2 cache (e.g. 8 way set associative, 1 Megabyte, with 32 byte cache lines) and the size of the addresses provided on the interconnect 22 .
  • Other embodiments may vary any of these features and the bit ranges may be updated accordingly. For example, if the size of the cache is increased and the number of ways remains the same, the index bit range may be expanded (and the tag range reduced).
  • the size of the address (40 bits in the illustrated embodiment) may be varied, affecting the bit ranges appropriately as well.
  • the bit ranges may be selected differently in different implementations, according to design choice.
  • tags memory 40 and the data memory 42 are illustrated separately in FIG. 2 , these memories may be integrated if desired.
  • the tags memory 40 and the data memory 42 may form a memory for storing tags and corresponding cache lines of data, whether the memory is divided into portions as illustrated or is a single integrated memory.
  • FIG. 2 illustrates address, data, and control signals being supplied to the L2 cache circuitry.
  • the L2 cache 36 may include buffers or queues (not shown) to capture address and data portions of transactions.
  • the supplied address, data, and control signals may correspond to the transaction selected by the L2 cache 36 for processing.
  • the replacement circuit 50 includes the way configuration registers 48 , a linear feedback shift register (LFSR) 60 , a set of way select circuits 62 A– 62 N, a multiplexor (mux) 64 , a way mapping circuit 66 , and a way enable circuit 68 .
  • the LFSR 60 is coupled to each of the way select circuits 62 A– 62 N, which are further coupled to the mux 64 .
  • the mux 64 is coupled to receive an indication of the number of ways enabled from the way enable circuit 68 , and is coupled to the way mapping circuit 66 .
  • the way mapping circuit 68 is coupled to receive a way vector from the way enable circuit 68 , and is coupled to provide an indication of the replacement way to the control circuit 46 (shown in FIG. 2 ).
  • the way enable circuit 68 is coupled to the way configuration registers 48 , and to receive a portion of the address (A[39:36]), the TID, and the node number.
  • the replacement circuit 50 implements a random replacement algorithm based, at least in part, on the contents of the LFSR 60 .
  • the LFSR 60 stores a set of bits, and generates a feedback input based on some combination of the bits.
  • the feedback input is shifted into the LFSR 60 , and one of the previously stored bits is shifted out.
  • the feedback function is designed to generate pseudo-random sequences of bit patterns in the LFSR 60 .
  • the way select circuits 62 A– 62 N each generate a way selection within a different number of possible ways, based on the contents of the LFSR 60 . For example, 2 way select circuit 62 A generates a selection of one of two ways. Similarly, 3 way select circuit 62 B generates a selection of one of three ways, etc., up through N way select circuit 62 N, which generates a selection of one of N ways, where N is the number of ways in the L2 cache 36 .
  • One of the way selections is selected based on the number of ways that are enabled for use for the particular transaction (that is, the number of ways in the subset of the L2 cache 36 that may be used for the particular transaction). The number of ways may be based on one or more of the initiating agent, whether the transaction is to a local or remote cache block, and/or general way enable indications.
  • the selected way selection is provided to the way mapping circuit 66 .
  • the way mapping circuit 66 maps the way selection to the available ways, as indicated in the way vector from the way enable circuit, to output the replacement way selection. For example, if a total of three ways are available for a transaction, the output of the 3 way select circuit 62 B may be selected. In an 8 way set associative cache, if ways 1, 4, and 6 are available for the transaction, the selection from the 3 way select circuit 62 B is mapped to ways 1, 4, and 6.
  • an indication of way 0 from the 3 way select circuit 62 B is mapped to way 1 of the 8 ways; an indication of way 1 from the 3 way select circuit 62 B is mapped to way 4 of the 8 ways; and an indication of way 2 from the 3 way select circuit 62 B is mapped to way 6 of the 8 ways for this example.
  • each of the way select circuits 62 A– 62 N outputs a one hot vector, with each bit corresponding to one of the ways that the way select circuit 62 A– 62 N is configured to select (i.e. the 2 way select circuit 62 A outputs a two-bit one-hot vector; the 3 way select circuit 62 B outputs a three-bit one-hot vector; etc.).
  • the set bit in the one hot vector indicates the selected way.
  • the way mapping circuit 66 stretches and shifts the selected one hot vector to N bits, mapping each bit of the one hot vector to an enabled way indicated in the way vector.
  • the resulting N-bit one-hot vector indicates the selected way.
  • Other embodiments may encode the way selections or use any other representation of the way selection.
  • way select circuits which are not a power of 2 may employ other sources of data for generating a way selection, in addition to the LFSR 60 .
  • Way select circuits which are a power of 2 may directly generate a way selection from the LFSR 60 by logically combining bits in the LFSR 60 .
  • Way select circuits which are not a power of 2 may generate a way selection for the next higher power of two, and may distribute unused way selections over the possible ways in some manner.
  • a counter may be used which counts from zero to the number of possible ways, and the counter output may be selected if the way selection based on the next higher power of two is not one of the possible ways.
  • a 6 way select circuit may generate an 8 way selection (e.g.
  • Ways 0 to 5 of the 8 way selection may be directly mapped to one of the 6 ways.
  • Ways 6 and 7 of the 8 way selection when generated, may be replaced by the value from a counter that counts from 0 to 5 (and the counter may be incremented).
  • the counter may be represented in any fashion (e.g. encodings from 0 to 5, a 6-bit one-hot vector in which an increment is implemented as a rotation of the one hot vector, etc.).
  • the way select circuits 62 A– 62 N, the mux 64 , and the way mapping circuit 66 are merely one implementation of circuitry to generate the way selection. Other embodiments may be implemented. Generally, the circuitry may receive at least an indication of the ways which may be selected as the replacement way for a given transaction (e.g. the way vector), and may select one of the eligible ways. While a random replacement algorithm is used in the illustrated embodiment, other embodiments may use other algorithms (e.g. first-in, first-out (FIFO), least recently used (LRU) or hybrids thereof, etc.).
  • FIFO first-in, first-out
  • LRU least recently used
  • the way enable circuit 68 is configured to generate the way vector (and the number of ways, in the illustrated embodiment) responsive to the contents of the way configuration registers 48 and the other inputs to the replacement circuit 50 shown in FIG. 3 .
  • An example illustrating one embodiment of the way enable circuit 68 and the way configuration registers 48 is shown in more detail in FIG. 4 .
  • FIG. 4 illustrates a number of way configuration registers 48 , including agent way enable registers 48 A– 48 C, a remote way enable register 48 D, a local way enable register 48 E, and a way enable register 48 F.
  • the way enable circuit 68 may include muxes 68 A– 68 B, a comparator 68 C, and a control circuit 68 D.
  • the agent way enable registers 48 A– 48 C are coupled to the mux 68 A, which is coupled to receive the TID as a selection control.
  • the output of the mux 68 A (Agent Way enable) is supplied to the control circuit 68 D.
  • the remote way enable register 48 D and the local way enable register 48 E are coupled to the mux 68 B, which receives a selection control from the comparator 68 C.
  • the comparator 68 C is coupled to receive the most significant bits of the address of the transaction (A[39:36]) and the node number from the configuration register 38 .
  • the way enable register 48 F is coupled to the control circuit 68 D, which generates the number of ways and the way vector output of the way enable circuit 68 .
  • the way configuration registers may comprise an agent way enable register 48 A– 48 C for each agent on the interconnect 22 that may initiate a transaction.
  • the agent way enable register 48 A– 48 C that corresponds to a given agent stores a way enable indication.
  • the way enable indication indicates which ways are enabled for selection in response to a cache miss for a transaction initiated by the given agent. That is, the way enable indication identifies the subset of ways that may be selected for replacement in response to the cache miss. For example, in one embodiment, a vector of bits may be stored (one bit for each way). If the bit is set, the corresponding way is enabled for selection for that agent. If the bit is clear, the corresponding way is not enabled for selection for that agent. Other embodiments may employ the opposite meanings for the set and clear states of the bits, or any other indication.
  • Each transaction on the interconnect 22 may include a TID that identifies the initiating agent (and may also include a sequence number that identifies the transaction among a plurality of transactions that may be outstanding from the initiating agent).
  • the portion of the TID that identifies the agent may be used by the mux 68 A to select the way enable indication from the agent way enable register 48 A– 48 C that corresponds to the initiating agent.
  • the TID may be used directly as a selection control, or a logic circuit may be included to decode the TID to generate the selection control.
  • the remote way enable register 48 D may store a way enable indication indicative of which ways are enabled for remote cache blocks (that is, which ways are in the subset of ways that may be selected for replacement in response to a miss for a remote cache block).
  • the local way enable register 48 E may store a way indication of which ways are enabled for local cache blocks. Similar to the agent way enable registers, in one embodiment, the remote way enable registers 48 D and the local way enable register 48 E may each store a vector of bits (one bit for each way).
  • the mux 68 B selects the way enable indication from either the remote way enable register 48 D or the local way enable register 48 E responsive to the output of the comparator 68 C. That is, the comparator 68 C may determine if the transaction is to a local cache block or a remote cache block for this embodiment.
  • a cache block may be local if the most significant bits of the address match the node number for the node 10 . That is, the address space implemented by a plurality of nodes including the node 10 may be mapped to each node using the most significant bits of the addresses. Additionally, in some embodiments, the cache block may be local if the most significant bits of the address are zero.
  • the comparator 68 C may detect these two conditions and may select the way enable indication from the local way enable register 48 E. Otherwise, the way enable indication from the remote way enable register 48 D may be selected.
  • Other embodiments may identify local versus remote cache blocks in other ways, and other circuitry may be used to select one of the local way enable register 48 E or the remote way enable register 48 D in response.
  • the selected way enable is supplied by the mux 68 B to the control circuit 68 D as the local/remote (L/R) way enable.
  • the control circuit 68 D may combine the agent way enable indication, the L/R way enable indication, and the way enable indication from way enable register 48 F to generate the number of ways enabled and the way vector.
  • the combined way enable indication may indicate that a given way is enabled if that given way is enabled in each of the input way enable indications.
  • the combination may be performed in a variety of fashions, based on the form of the way enable indications. For example, if the way enable indications are bit vectors (with a set bit indicating that the way is enabled), the control circuit 68 D may bitwise AND the vectors to generate the way vector (and may count the set bits to generate the number of ways). If the way enable indications are bit vectors with a clear bit indicating that a way is enabled, the control circuit 68 D may bitwise OR the vectors.
  • the combining of the agent way enable indication, the L/R way enable indication, and the way enable indication from the way enable register 48 F may result in a combined indication that no ways are enabled (e.g. a logical AND may result in a zero way vector). In some embodiments, such a result may be considered a programming error.
  • the control circuit 68 D may implement a default selection in such cases. For example, the control circuit 68 D may randomly select any way or may select a predetermined way. The control circuit 68 D may rotate through selecting each way for consecutive cases of the combined indication indicating that no ways are enabled. In one particular embodiment, the control circuit 68 D may apply a priority scheme to the input way enable indications.
  • the way enable indication from way enable register 48 F may be given highest priority, the L/R way enable indication may be given next highest priority, and the agent way enable indication may be given lowest priority.
  • the control circuit 68 D may combine the L/R way enable indication and the way enable indication from the way enable register 48 F. If the combination of the L/R way enable indication and the way enable indication from the way enable register 48 F leads to no ways being enabled, only the way enable indication from the way enable register 48 F may be used.
  • Other embodiments may set the priorities of the way enable indications differently, as desired.
  • any combination of the way enabling features may be used. For example, only local versus remote way enabling may be used by programming the agent way enable registers 48 A– 48 C and the way enable register 48 F to indicate all ways enabled. Similarly, only the way enable register 48 F or the agent way enabling may be used by programming the other way enable registers to indicate all ways enabled. Other embodiments are contemplated in which only the local versus remote way enabling is implemented, only the agent way enabling is implemented, or any combination of the way enabling mechanisms illustrated in FIG. 4 may be implemented. In one embodiment, the way configuration registers 48 are initially set to all ways enabled in response to reset of the node 10 .
  • the way configuration registers 48 may be read and written by software (e.g. instructions executing on the processors 12 A– 12 N) in any desired fashion. For example, special instructions may be used to read and write the registers. Alternatively, a portion of the address space of the node 10 may be used to read and write the way configuration registers 48 (and other configuration registers in the node 10 ) using load/store instructions.
  • software e.g. instructions executing on the processors 12 A– 12 N
  • special instructions may be used to read and write the registers.
  • a portion of the address space of the node 10 may be used to read and write the way configuration registers 48 (and other configuration registers in the node 10 ) using load/store instructions.
  • a remote/local way enable register may be employed in place of the local way enable register 48 E and the remote way enable register 48 D.
  • the remote/local way enable register may define which ways are enabled for remote cache blocks and which ways are enabled for local cache blocks. For example, a vector of bits (one for each way) may be implemented. One state of each bit (set or clear) may indicate that the way is enabled for remote cache blocks and the other state of each bit may indicate that the way is enabled for local cache blocks.
  • the vector of bits may be bitwise inverted to generate the vector for one of the cache block types, and may be used unmodified as the vector for the other cache block type.
  • an encoded way value may be used to divide the cache into two sections, one partition for remote cache blocks and the other partition for local cache blocks.
  • way enable indication may be set for local and global cache blocks on an agent-by-agent basis, if desired, using a set of remote and local way enable registers for each agent.
  • register 48 A– 48 F may be implemented as multiple registers, where the multiple registers may be readable and writeable independently by software, as desired.
  • register refers to any clocked storage device.
  • a register may be a flip-flop (or “flop”), a latch, a series of latches, a clocked random access memory (RAM) cell, or any other desirable storage.
  • FIG. 5 a flowchart is shown illustrating operation of one embodiment of the way enable circuit 68 . While the blocks shown in FIG. 5 are illustrated in a particular order for ease of understanding, any order may be used. Furthermore, blocks may be performed in parallel by combinatorial logic circuitry in the way enable circuit 68 .
  • the way enable circuit 68 may select the agent way enable indication and the L/R way enable indication responsive to the TID and whether or not the transaction is to a local cache block or a remote cache block, respectively (block 70 ).
  • the way enable circuit 68 may combine the agent way enable indication, the L/R way enable indication, and the way enable indication from the way enable register 48 F (block 72 ). If the combined indications have at least one way enabled (decision block 74 , “yes” leg), the way enable circuit 68 may generate the number of ways from the combined way vector (which is transmitted as the way vector by the way enable circuit 68 ) (block 76 ). On the other hand, if the combined indications have no ways enabled (decision block 74 , “no” leg), the way enable circuit 68 may use a default number of ways and way vector (block 78 ).
  • FIG. 6 an example of the use of the way configuration registers 48 for two exemplary agents is shown.
  • an 8 way set associative cache is used and all ways are enabled in the way enable register 48 F.
  • the local and remote way enable registers 48 E and 48 F are shown with exemplary way enable indications, as well as agent 0 way enable register 48 A and agent 1 way enable register 48 B.
  • the bit on the left of each way enable indication may correspond to way 0 , and then each way in turn may be represented by consecutive bits until the right-most bit is encountered, corresponding to way 7 .
  • agent 0 is enabled for ways 0 , 1 , 6 , and 7 in this example.
  • agent 1 is enabled for ways 1 and 5 .
  • Local cache blocks are enabled for ways 0 through 5
  • remote cache blocks are enabled for ways 6 and 7 .
  • a local transaction initiated by agent 0 is shown (reference numeral 80 ).
  • the agent 0 way enable indication, the local way enable indication, and the way enable indication from the register 48 F are combined.
  • the resulting way enable vector indicates that ways 0 and 1 may be used if the transaction misses in the L2 cache 36 .
  • ways 6 and 7 are indicated as selectable by combining the agent 0 way enable indication, the remote way enable indication, and the way enable indication from the way enable register 48 F. In either case, one of the two indicated ways may be randomly selected for replacement.
  • agent 1 initiates a local transaction (reference numeral 84 )
  • the agent 1 way enable indication are used and thus ways 1 and 5 are indicated as selectable.
  • agent 1 initiates a remote transaction (reference numeral 86 )
  • none of the ways are indicated as selectable.
  • the L2 cache 36 resorts to the priority mechanism (arrow 88 ), and the combination of the remote way enable indication and the way enable indication from the way enable register 48 F results in ways 6 and 7 being indicated as selectable.
  • a computer accessible medium 300 including one or more data structures representative of the circuitry included in the node 10 is shown.
  • a computer accessible medium may include storage media such as magnetic or optical media, e.g., disk, CD-ROM, or DVD-ROM, volatile or non-volatile memory media such as RAM (e.g. SDRAM, RDRAM, SRAM, etc.), ROM, etc., as well as media accessible via transmission media or signals such as electrical, electromagnetic, or digital signals, conveyed via a communication medium such as a network and/or a wireless link.
  • the data structure(s) of the circuitry on the computer accessible medium 300 may be read by a program and used, directly or indirectly, to fabricate the hardware comprising the circuitry.
  • the data structure(s) may include one or more behavioral-level descriptions or register-transfer level (RTL) descriptions of the hardware functionality in a high level design language (HDL) such as Verilog or VHDL.
  • HDL high level design language
  • the description(s) may be read by a synthesis tool which may synthesize the description to produce one or more netlist(s) comprising lists of gates from a synthesis library.
  • the netlist(s) comprise a set of gates which also represent the functionality of the hardware comprising the circuitry.
  • the netlist(s) may then be placed and routed to produce one or more data set(s) describing geometric shapes to be applied to masks.
  • the masks may then be used in various semiconductor fabrication steps to produce a semiconductor circuit or circuits corresponding to the circuitry.
  • the data structure(s) on computer accessible medium 300 may be the netlist(s) (with or without the synthesis library) or the data set(s), as desired.
  • the data structures may comprise the output of a schematic program, or netlist(s) or data set(s) derived therefrom.
  • While computer accessible medium 300 includes a representation of the node 10 , other embodiments may include a representation of any portion of the node 10 (e.g. processors 12 A– 12 N, memory controller 14 , L2 cache 36 , interconnect 22 , memory bridge 32 (or portions thereof), remote line directory 34 , switch 18 , interface circuits 22 A– 22 C (or portions thereof), etc.).
  • processors 12 A– 12 N memory controller 14 , L2 cache 36 , interconnect 22 , memory bridge 32 (or portions thereof), remote line directory 34 , switch 18 , interface circuits 22 A– 22 C (or portions thereof), etc.

Abstract

A cache comprises a memory including a plurality of entries and a circuit. Each entry of the plurality of entries is configured to store a cache block. The circuit is configured to select a first entry of the plurality of entries to store a first cache block. In one implementation, the first cache block corresponds to a first transaction initiated by a first agent, wherein the first entry is selected from a first subset of the plurality of entries indicated as selectable for the first agent. In another implementation, the circuit is configured to select the first entry of the plurality of entries in response to whether the first cache block is a remote cache block or a local cache block. In other implementations, the circuit may be configured to handle a combination of the above.

Description

This application claims benefit of priority to U.S. Provisional Patent Application Ser. No. 60/380,740, filed May 15, 2002. This application is a continuation in part of U.S. patent application Ser. No. 10/270,028, filed on Oct. 11, 2002.
BACKGROUND OF THE INVENTION
1. Field of the Invention
This invention is related to the field of caches and, more particularly, to replacement mechanisms in caches.
2. Description of the Related Art
Processors typically provide a set of registers which may be used by programs as a high speed, private storage for operands. The operands stored in registers may be frequently accessed variables, or may be intermediate results in a complex, multi-instruction calculation. Unfortunately, for many tasks, the number of registers provided in the processor may be too few to hold all of the operands of interest. In such cases, many of the frequently accessed variables and/or intermediate results are written to and read from memory locations during execution of the program.
The memory may have a significantly higher latency than the registers, limiting the speed at which the program may be executed as compared to the speed that may be achieved if all operands were in registers. Processors and/or the computer systems including the processors may provide caches to alleviate the memory latency. Generally, a cache is a relatively small, high speed memory which may store copies of data corresponding to various recently-accessed memory locations. Generally, cache storage is allocated and deallocated in units of cache blocks (a group of bytes from contiguous memory locations). In other words, the cache may include multiple entries, and each entry may include storage for a cache block of bytes. If requested data for an access is not in the cache (a “miss”), an entry is allocated for the cache block including the requested data and the cache block is filled into the allocated entry.
Caches are a finite resource, and thus may be susceptible to “cache thrashing” or “cache pollution” effects. These effects generally refer to frequently replacing the same data in the cache due to the access patterns to the cache. For example, if the amount of data being accessed by a given process exceeds the size of the cache (or maps to a subset of the cache that is smaller, in size, than the amount of data), accessing a first portion of the data may cause a second portion to be replaced in the cache. Subsequently accessing the second portion may cause the first portion to be replaced, and so on.
If multiple processors (executing different processes) access a given cache, then cache blocks accessed by one processor may cause cache blocks accessed by another processor to be replaced. Both processors may be accessing data sets that might otherwise remain in the cache, but the interference between the processors may cause the amount of data retained in cache to be less than optimal.
In some systems, multiple nodes (each including processors and caches) may form a distributed memory system. Memory attached to a given node may be local to that node, while memory attached to other nodes may be remote to the given node. Latency for accessing remote memory in the given node may be higher than accessing the local memory, in general, due to the communication needed with the other nodes (e.g. cache-coherent nonuniform memory access (CC-NUMA) systems may be employed). If data from the remote memory is cached in the cache, that data is subject to replacement by local data that is subsequently accessed. If the remote data is subsequently accessed again in the node, the higher latency to access the remote memory may be experienced.
SUMMARY OF THE INVENTION
In one implementation, a cache comprises a memory including a plurality of entries and a circuit. Each entry of the plurality of entries is configured to store a cache block. The circuit is configured to select a first entry of the plurality of entries to store a first cache block corresponding to a first transaction initiated by a first agent, wherein the first entry is selected from a first subset of the plurality of entries indicated as selectable for the first agent.
In another implementation, a cache comprises the memory and the circuit. The circuit is configured to select a first entry of the plurality of entries to store a first cache block, wherein the first entry is selected in response to whether the first cache block is a remote cache block or a local cache block. A local cache block has a first home node that includes the cache, while a remote cache block has a second home node other than the first home node. In other implementations, the circuit may be configured to handle a combination of the subset indicated as selectable for the first agent and selecting an entry based on whether the cache block is local or remote.
BRIEF DESCRIPTION OF THE DRAWINGS
The following detailed description makes reference to the accompanying drawings, which are now briefly described.
FIG. 1 is a block diagram of one embodiment of a node including a cache.
FIG. 2 is a block diagram of one embodiment of the cache shown in FIG. 1.
FIG. 3 is a block diagram of one embodiment of a replacement circuit shown in FIG. 2.
FIG. 4 is a block diagram illustrating a portion of the replacement circuit in greater detail.
FIG. 5 is a flowchart illustrating operation of one embodiment of a control circuit shown in FIG. 4.
FIG. 6 is a block diagram illustrating several examples of replacement selection.
FIG. 7 is a block diagram of a computer accessible medium.
While the invention is susceptible to various modifications and alternative forms, specific embodiments thereof are shown by way of example in the drawings and will herein be described in detail. It should be understood, however, that the drawings and detailed description thereto are not intended to limit the invention to the particular form disclosed, but on the contrary, the intention is to cover all modifications, equivalents and alternatives falling within the spirit and scope of the present invention as defined by the appended claims.
DETAILED DESCRIPTION OF EMBODIMENTS
Node Overview
Turning now to FIG. 1, a block diagram of one embodiment of a node 10 is shown. In the embodiment of FIG. 1, the node 10 includes one or more processors 12A–12N, a memory controller 14, a switch 18, a set of interface circuits 20A–20C, a memory bridge 32, and an L2 cache 36. The memory bridge 32 includes a remote line directory 34. The node 10 includes an interconnect 22 to which the processors 12A–12N, the memory controller 14, the L2 cache 36, the memory bridge 32, and the remote line directory 34 are coupled. The node 10 is coupled, through the memory controller 14, to a memory 24. The interface circuits 20A–20C each include a receive (Rx) circuit 26A–26C and a transmit (Tx) circuit 28A–28C. The node 10 is coupled to a set of interfaces 30A–30C through respective interface circuits 20A–20C. The interface circuits 20A–20C are coupled to the switch 18, which is further coupled to the memory bridge 32. A configuration register 38 is also illustrated in FIG. 1, which stores a node number (Node #) for the node 10. The configuration register 38 is coupled to the L2 cache 36, the memory controller 14, the memory bridge 32, and the interface circuits 20A–20C in the embodiment of FIG. 1. Additionally, the processors 12A–12N may be coupled to receive the node number from the configuration register 38.
The node 10 may support intranode coherency for transactions on the interconnect 22. Additionally, the node 10 may support internode coherency with other nodes (e.g. a CC-NUMA coherency, in one embodiment). Generally, as used herein, a memory bridge includes circuitry designed to handle internode coherency functions within a node. Particularly, in one embodiment, if a transaction on the interconnect 22 (e.g. a transaction issued by the processors 12A–12N) accesses a cache block that is remote to the node 10 (i.e. the cache block is part of the memory coupled to a different node) and the node 10 does not have sufficient ownership to perform the transaction, the memory bridge 32 may issue one or more coherency commands to the other nodes to obtain the ownership (and a copy of the cache block, in some cases). Similarly, if the transaction access a local cache block but one or more other nodes have a copy of the cache block, the memory bridge 32 may issue coherency commands to other nodes. Still further, the memory bridge 32 may receive coherency commands from other nodes, and may perform transactions on the interconnect 22 to effect the coherency commands.
In one embodiment, a node such as node 10 may have memory coupled thereto (e.g. memory 24). The node may be responsible for tracking the state, in other nodes, of each cache block from the memory in that node. A node is referred to as the “home node” for cache blocks from the memory assigned to that node. A node is referred to as a “remote node” for a cache block if the node is not the home node for that cache block. Similarly, a cache block is referred to as a local cache block in the home node for that cache block and as a remote cache block in other nodes.
Generally, a remote node may begin the coherency process by requesting a copy of a cache block from the home node of that cache block using a coherency command. The memory bridge 32 in the remote node, for example, may detect a transaction on the interconnect 22 that accesses the cache block and may detect that the remote node does not have sufficient ownership of the cache block to complete the transaction (e.g. it may not have a copy of the cache block at all, or may have a shared copy and may require exclusive ownership to complete the transaction). The memory bridge 32 in the remote node may generate and transmit the coherency command to the home node to obtain the copy or to obtain sufficient ownership. The memory bridge 32 in the home node may determine if any state changes in other nodes are to be performed to grant the requested ownership to the remote node, and may transmit coherency commands (e.g. probe commands) to effect the state changes. The memory bridge 32 in each node receiving the probe commands may effect the state changes and respond to the probe commands. Once the responses have been received, the memory bridge 32 in the home node may respond to the remote node (e.g. with a fill command including the cache block).
The remote line directory 34 may be used in the home node to track the state of the local cache blocks in the remote nodes. The remote line directory 34 is updated each time a cache block is transmitted to a remote node, the remote node returns the cache block to the home node, or the cache block is invalidated via probes. As used herein, the “state” of a cache block in a given node refers to an indication of the ownership that the given node has for the cache block according to the coherency protocol implemented by the nodes. Certain levels of ownership may permit no access, read-only access, or read-write access to the cache block. For example, in one embodiment, the modified, shared, and invalid states are supported in the internode coherency protocol. In the modified state, the node may read and write the cache block and the node is responsible for returning the block to the home node if evicted from the node. In the shared state, the node may read the cache block but not write the cache block without transmitting a coherency command to the home node to obtain modified state for the cache block. In the invalid state, the node may not read or write the cache block (i.e. the node does not have a valid copy of the cache block). Other embodiments may use other coherency protocols (e.g. the MESI protocol, which includes the modified, shared, and invalid states and an exclusive state in which the cache block has not yet been updated but the node is permitted to read and write the cache block, or the MOESI protocol which includes the modified, exclusive, shared, and invalid states and an owned state which indicates that there may be shared copies of the block but the copy in main memory is stale). In one embodiment, agents within the node may implement the MESI protocol for intranode coherency. Thus, the node may be viewed as having a state in the internode coherency and individual agents may have a state in the intranode coherency (consistent with the internode coherency state for the node containing the agent).
Coherency commands are transmitted and received on one of the interfaces 30A–30C by the corresponding interface circuit 20A–20C. The interface circuits 20A–20C receive coherency commands for transmission from the memory bridge 32 and transmit coherency commands received from the interfaces 30A–30C to the memory bridge 32 for processing, if the coherency commands require processing in the node 10. In some embodiments, a coherency command may be received that is passing through the node 10 to another node, and does not require processing in the node 10. The interface circuits 20A–20C may be configured to detect such commands and retransmit them (through another interface circuit 20A–20C) without involving the memory bridge 32.
In the illustrated embodiment, the interface circuits 20A–20C are coupled to the memory bridge 32 through the switch 18 (although in other embodiments, the interface circuits 20A–20C may have direct paths to the memory bridge 32). The switch 18 may selectively couple the interface circuits 20A–20C (and particularly the Rx circuits 26A–26C in the illustrated embodiment) to other interface circuits 20A–20C (and particularly the Tx circuits 28A–28C in the illustrated embodiment) or to the memory bridge 32 to transfer received coherency commands. The switch 18 may also selectively couple the memory bridge 32 to the interface circuits 20A–20C (and particularly to the Tx circuits 28A–28C in the illustrated embodiment) to transfer coherency commands generated by the memory bridge 32 from the memory bridge 32 to the interface circuits 20A–20C for transmission on the corresponding interface 30A–30C. The switch 18 may have request/grant interfaces to each of the interface circuits 20A–20C and the memory bridge 32 for requesting transfers and granting those transfers. The switch 18 may have an input path from each source (the Rx circuits 26A–26C and the memory bridge 32) and an output path to each destination (the Tx circuits 28A–28C and the memory bridge 32), and may couple a granted input path to a granted output path for transmission of a coherency command (or a portion thereof, if coherency commands are larger than one transfer through the switch 18). The couplings may then be changed to the next granted input path and granted output path. Multiple independent input path/output path grants may occur concurrently.
In one embodiment, the interfaces 30A–30C may support a set of virtual channels in which commands are transmitted. Each virtual channel is defined to flow independent of the other virtual channels, even though the virtual channels may share certain physical resources (e.g. the interface 30A–30C on which the commands are flowing). These virtual channels may be mapped to internal virtual channels (referred to as switch virtual channels herein). The switch 18 may be virtual-channel aware. That is, the switch 18 may grant a coupling between a source and a destination based not only on the ability of the source to transfer data and the destination to receive data, but also on the ability of the source to transfer data in a particular switch virtual channel and the destination to receive data on that switch virtual channel. Thus, requests from sources may indicate the destination and the virtual channel on which data is to be transferred, and requests from destinations may indicate the virtual channel on which data may be received.
Generally speaking, a node may include one or more coherent agents (dotted enclosure 16 in FIG. 1). In the embodiment of FIG. 1, the processors 12A–12N, the L2 cache 36, and the memory controller 14 may be examples of coherent agents 16. Additionally, the memory bridge 32 may be a coherent agent (on behalf of other nodes). However, other embodiments may include other coherent agents as well, such as a bridge to one or more I/O interface circuits, or the I/O interface circuits themselves. Generally, an agent includes any circuit which participates in transactions on an interconnect. A coherent agent is an agent that is capable of performing coherent transactions and operating in a coherent fashion with regard to transactions. A transaction is a communication on an interconnect. The transaction is sourced by one agent on the interconnect, and may have one or more agents as a target of the transaction. Read transactions specify a transfer of data from a target to the source, while write transactions specify a transfer of data from the source to the target. Other transactions may be used to communicate between agents without transfer of data, in some embodiments.
Each of the interface circuits 20A–20C are configured to receive and transmit on the respective interfaces 30A–30C to which they are connected. The Rx circuits 26A–26C handle the receiving of communications from the interfaces 30A–30C, and the Tx circuits 28A–28C handle the transmitting of communications on the interfaces 30A–30C.
Each of the interfaces 30A–30C used for coherent communications are defined to be capable of transmitting and receiving coherency commands. Particularly, in the embodiment of FIG. 1, those interfaces 30A–30C may be defined to receive/transmit coherency commands to and from the node 10 from other nodes. Additionally, other types of commands may be carried. In one embodiment, each interface 30A–30C may be a HyperTransport™ (HT) interface, including an extension to the HT interface to include coherency commands (HTcc). Additionally, in some embodiments, an extension to the HyperTransport interface to carry packet data (Packet over HyperTransport, or PoHT) may be supported. As used herein, coherency commands include any communications between nodes that are used to maintain coherency between nodes. The commands may include read or write requests initiated by a node to fetch or update a cache block belonging to another node, probes to invalidate cached copies of cache blocks in remote nodes (and possibly to return a modified copy of the cache block to the home node), responses to probe commands, fills which transfer data, etc.
In some embodiments, one or more of the interface circuits 20A–20C may not be used for coherency management and may be defined as packet interfaces. Such interfaces 30A–30C may be HT interfaces. Alternative, such interfaces 30A–30C may be system packet interfaces (SPI) according to any level of the SPI specification set forth by the Optical Internetworking Forum (e.g. level 3, level 4, or level 5). In one particular embodiment, the interfaces may be SPI-4 phase 2 interfaces. In the illustrated embodiment, each interface circuit 20A–20C may be configurable to communicate on either the SPI-4 interface or the HT interface. Each interface circuit 20A–20C may be individually programmable, permitting various combinations of the HT and SPI-4 interfaces as interfaces 30A–30C. The programming may be performed in any fashion (e.g. sampling certain signals during reset, shifting values into configuration registers (not shown) during reset, programming the interfaces with configuration space commands after reset, pins that are tied up or down externally to indicate the desired programming, etc.). Other embodiments may employ any interface capable of carrying packet data (e.g. the Media Independent Interface (MII) or the Gigabit MII (GMII) interfaces, X.25, Frame Relay, Asynchronous Transfer Mode (ATM), etc.). The packet interfaces may carry packet data directly (e.g. transmitting the packet data with various control information indicating the start of packet, end of packet, etc.) or indirectly (e.g. transmitting the packet data as a payload of a command, such as PoHT).
In embodiments which also support packet traffic, the node 10 may also include a packet direct memory access (DMA) circuit configured to transfer packets to and from the memory 24 on behalf of the interface circuits 20A–20C. The switch 18 may be used to transmit packet data from the interface circuits 20A–20C to the packet DMA circuit and from the packet DMA circuit to the interface circuits 20A–20C. Additionally, packets may be routed from an Rx circuit 26A–26C to a Tx circuit 28A–28C through the switch 18, in some embodiments.
The processors 12A–12N may be designed to any instruction set architecture, and may execute programs written to that instruction set architecture. Exemplary instruction set architectures may include the MIPS instruction set architecture (including the MIPS-3D and MIPS MDMX application specific extensions), the IA-32 or IA-64 instruction set architectures developed by Intel Corp., the PowerPC instruction set architecture, the Alpha instruction set architecture, the ARM instruction set architecture, or any other instruction set architecture. The node 10 may include any number of processors (e.g. as few as one processor, two processors, four processors, etc.).
The L2 cache 36 may be any type and capacity of cache memory, employing any organization (e.g. set associative, direct mapped, fully associative, etc.). In one embodiment, the L2 cache 36 may be an 8 way, set associative, 1 MB cache. The L2 cache 36 is referred to as L2 herein because the processors 12A–12N may include internal (L1) caches. In other embodiments the L2 cache 36 may be an L1 cache, an L3 cache, or any other level as desired.
The memory controller 14 is configured to access the memory 24 in response to read and write transactions received on the interconnect 22. The memory controller 14 may receive a hit signal from the L2 cache, and if a hit is detected in the L2 cache for a given read/write transaction, the memory controller 14 may not respond to that transaction. The memory controller 14 may be designed to access any of a variety of types of memory. For example, the memory controller 14 may be designed for synchronous dynamic random access memory (SDRAM), and more particularly double data rate (DDR) SDRAM. Alternatively, the memory controller 16 may be designed for DRAM, DDR synchronous graphics RAM (SGRAM), DDR fast cycle RAM (FCRAM), DDR-II SDRAM, Rambus DRAM (RDRAM), SRAM, or any other suitable memory device or combinations of the above mentioned memory devices.
The interconnect 22 may be any form of communication medium between the devices coupled to the interconnect. For example, in various embodiments, the interconnect 22 may include shared buses, crossbar connections, point-to-point connections in a ring, star, or any other topology, meshes, cubes, etc. The interconnect 22 may also include storage, in some embodiments. In one particular embodiment, the interconnect 22 may comprise a bus. The bus may be a split transaction bus, in one embodiment (i.e. having separate address and data phases). The data phases of various transactions on the bus may proceed out of order with the address phases. The bus may also support coherency and thus may include a response phase to transmit coherency response information. The bus may employ a distributed arbitration scheme, in one embodiment. In one embodiment, the bus may be pipelined. The bus may employ any suitable signaling technique. For example, in one embodiment, differential signaling may be used for high speed signal transmission. Other embodiments may employ any other signaling technique (e.g. TTL, CMOS, GTL, HSTL, etc.). Other embodiments may employ non-split transaction buses arbitrated with a single arbitration for address and data and/or a split transaction bus in which the data bus is not explicitly arbitrated. Either a central arbitration scheme or a distributed arbitration scheme may be used, according to design choice. Furthermore, the bus may not be pipelined, if desired.
Various embodiments of the node 10 may include additional circuitry, not shown in FIG. 1. For example, the node 10 may include various I/O devices and/or interfaces. Exemplary I/O may include one or more PCI interfaces, one or more serial interfaces, Personal Computer Memory Card International Association (PCMCIA) interfaces, etc. Such interfaces may be directly coupled to the interconnect 22 or may be coupled through one or more I/O bridge circuits.
In one embodiment, the node 10 (and more particularly the processors 12A–12N, the memory controller 14, the L2 cache 36, the interface circuits 20A–20C, the memory bridge 32 including the remote line directory 34, the switch 18, the configuration register 38, and the interconnect 22) may be integrated onto a single integrated circuit as a system on a chip configuration. The additional circuitry mentioned above may also be integrated. Alternatively, other embodiments may implement one or more of the devices as separate integrated circuits. In another configuration, the memory 24 may be integrated as well. Alternatively, one or more of the components may be implemented as separate integrated circuits, or all components may be separate integrated circuits, as desired. Any level of integration may be used.
It is noted that, while three interface circuits 20A–20C are illustrated in FIG. 1, one or more interface circuits may be implemented in various embodiments. As used herein, an interface circuit includes any circuitry configured to communicate on an interface according to the protocol defined for the interface. The interface circuit may include receive circuitry configured to receive communications on the interface and transmit the received communications to other circuitry internal to the system that includes the interface circuit. The interface circuit may also include transmit circuitry configured to receive communications from the other circuitry internal to the system and configured to transmit the communications on the interface.
L2 Cache
The L2 cache 36 may be shared among the agents in the node 10 (e.g. the processors 12A–12N and other agents, not shown), caching cache blocks accessed by the agents. Additionally, the L2 cache 36 may store remote cache blocks transferred into the node 10 in response to transactions to the remote cache blocks by the agents. In one embodiment, the L2 cache 36 may retain the state of the remote cache blocks within the node 10. Other agents in the node 10 may have the block in various states that are consistent with the node state maintained in the L2 cache 36.
The L2 cache 36 may be programmable to be partitioned among the various agents. That is, the L2 cache 36 may be programmable with indications of various subsets of the L2 cache that may be used for various agents. Cache blocks accessed by a given agent may be stored into the subset of the L2 cache 36 assigned to that agent. In particular, in one embodiment, the L2 cache 36 may implement a replacement algorithm used when a cache miss occurs, to select a cache entry in the L2 cache 36 to store the missing cache block. The replacement algorithm may be programmable to cause a cache block that misses in the L2 cache 36 to be stored in the subset of the cache entries that are assigned to the agent that initiated the transaction to that cache block. In this fashion, cache blocks accessed by one agent may not cause the cache blocks accessed by another agent to be evicted from the L2 cache 36. Cache pollution/thrashing effects due to interference between cache accesses by different agents may be mitigated, in some embodiments.
The L2 cache 36 may be programmable to be partitioned between remote and local cache blocks. That is, the L2 cache 36 may be programmable with indications of a first subset of the L2 cache 36 to be used to store remote cache blocks and a second subset to be used to store local cache blocks. In a manner similar to the embodiment described above for agent partitioning, the L2 cache 36 may implement a replacement algorithm that causes a missing cache block to be stored in either the local or remote subset, depending on whether the missing cache block is local or remote. The replacement of remote cache blocks (which may have higher latencies for retrieval from the remote memory, as compared to local memory) by local cache blocks may thus be preventable.
The mechanisms for partitioning the L2 cache 36 into subsets on an agent basis and on a local versus remote basis may be used in combination, in some embodiments. Other embodiments are contemplated in which only the partitioning on an agent basis is implemented, or only the partitioning on a local versus remote basis is implemented. In some embodiments, the various subsets assigned to agents (or to remote versus local cache blocks) may overlap. That is, a cache entry may be included in more than one of the subsets.
It is noted that the above described embodiments control the replacement of cache blocks in the L2 cache 36. In such embodiments, a transaction may be detected as hitting in any cache entry in the L2 cache 36. That is, a hit may be detected in a cache entry independent of which agent initiated the transaction and independent of whether the transaction is to a local cache block or remote cache block.
FIGS. 2–6 illustrate a set associative embodiment of the L2 cache 36 in which each way of the set associative cache may be included or excluded in various subsets by programming configuration registers in the L2 cache 36. That is, the cache entries included in the way may be included or excluded from a subset as a group. The description below may describe enabling or disabling ways for an agent, local cache block, or remote cache block. If a way is enabled for the agent, local cache block, or remote cache block, then the way is included in the subset of cache entries that are selectable in response to a cache miss for that agent, local cache block, or remote cache block. If a way is disabled for an agent, local cache block, or remote cache block, then the way is excluded from the subset. Other embodiments may implement a fully associative L2 cache 36, in which each cache entry may be included or excluded from a subset individually. Alternatively, fully associative embodiments may group cache entries for purposes of programming which subsets the cache entries are used in, but may operate in a fully associative configuration otherwise.
Turning now to FIG. 2, a block diagram of one embodiment of the L2 cache 36 is shown. In the embodiment of FIG. 2, the L2 cache 36 includes a tags memory 40, a data memory 42, a set of comparators 44A–44N, a control circuit 46, and a replacement circuit 50. The tags memory 40 and the data memory 42 are each coupled to receive an index portion of an address of a transaction (the address of the transaction may be referred to more briefly herein as an “input address” to the L2 cache 36). The data memory 42 is coupled to receive and provide data corresponding to the transaction. The tags memory 40 is further coupled to receive a tag portion of the input address, and is coupled to the comparators 44A–44N. The comparators 44A–44N are further coupled to receive the tag portion of the input address and are coupled to the control circuit 46. The control circuit 46 is coupled to receive control information corresponding to the transaction and is further coupled to the replacement circuit 50 and to provide a hit signal output from the L2 cache 36 (e.g. to the memory controller 14, in the illustrated embodiment). The control circuit 46 is further coupled to provide a way selection and control signals to the tags memory 40 and the data memory 42. The replacement circuit 50 is coupled to receive a portion of the input address, a transaction identifier (TID) for the transaction, and the node number from the configuration register 38.
The replacement circuit 50 selects the replacement way for a cache miss. In one embodiment, a random replacement algorithm may be used and thus the replacement circuit 50 may include a random number generator circuit which generates an indication of the replacement way. The replacement way is the way from which a cache block is evicted to provide space for the cache block corresponding to a cache miss. The control circuit 46 may cause the cache block in the replacement way to be evicted (invalidating the tag and writing the evicted cache block back to the memory 24, if dirty).
The replacement circuit 50 includes one or more registers (the way configuration, or way config., registers 48) that may be programmed to partition the L2 cache 36. For example, the partitioning may be on an agent-by-agent basis, or a remote cache block versus local cache block basis, or combinations thereof. In some embodiments, the way configuration registers 48 may further be programmable to enable certain ways for the replacement algorithm and disable others. The disabled ways may be used, e.g., as a private, low-latency random access memory (RAM). The RAM may be addressed using addresses not mapped to the memory 24, for example. In one specific embodiment, a certain portion of the address space may be defined as a direct access space. Addresses in the space directly select a cache entry in the L2 cache 36. Way enable/disable may be used in combination with the local versus remote and agent-by-agent mechanisms, in some embodiments. Additional details for one embodiment of the way configuration registers 48 and the replacement circuit 50 are provided below with regard to FIGS. 3–6.
Generally, the tags memory 40 stores the tag information for each entry in L2 cache 36, and the data memory 42 stores the cache block of data for each entry in L2 cache 36. Thus, an entry of L2 cache 36 comprises a tag memory storage location and a data memory storage location. The tag memory storage location stores the tag for the entry (and possibly other information, such as validity and dirty information). For example, in one implementation, a tag for an entry includes the tag portion of the address (e.g. bits 39:17 in the illustrated embodiment), a valid bit indicating the validity or lack of validity of the entry, and a dirty bit indicating the dirty or clean state of the cache block. A cache block is dirty if at least one byte of the cache block has been modified in L2 cache 36 and the modification has not been written to memory. The data memory storage location stores the cache block of data in the entry.
During a transaction, the index portion of the input address (e.g. bits 16:5 in the illustrated embodiment) is provided to the tags memory 40 and the data memory 42. Each memory selects a set of storage locations in response to the index. Tags memory 40 outputs the tag from each selected storage location to the comparators 44A–44N, which compare the tags to the tag portion of the input address. If the tag compares equally, and the entry is valid, the corresponding comparator 44A–44N may signal a hit to the control circuit 46. The control circuit 46 may assert the hit signal to the memory controller 14 if any of the comparators 44A–44N indicates a hit, and may determine a way selection from the output of the comparators 44A–44N as well. Each comparator 44A–44N is comparing the tag from a different way of the L2 cache 36, and thus the comparator output indicating a hit is an indication of the hitting way. The control circuit 46 provides the way selection to the tags memory 40 and the data memory 42. In the case of a miss, the control circuit 46 provides the replacement way selection to the tags memory 40 and the data memory 42 during the read used to evict the cache line.
The data memory 42 provides data from the storage location at the selected index and way, or receives data into that storage location, depending upon whether the transaction is a read or write. The control circuit 46 receives the control information corresponding to the transaction, and generates control signals for the data memory 42 and the tags memory 40. The control signals may include, for example, an enable signal and a read/write signal to indicate whether the memory is to read or write.
The tags memory 40 may be updated in response to the transaction as well. For example, if the transaction is a write, the dirty bit in the hitting entry may be updated. Additionally, if the transaction is a miss in the L2 cache 36 and is cacheable, the tags memory 40 may be updated to invalidate the evicted cache line indicated by the replacement way, as mentioned above. It is noted that tag updates and evictions may not occur in the same clock cycle that the L2 cache 36 is accessed to determine the hit/miss of the input address, in some embodiments.
It is noted that the embodiment illustrated in FIG. 2 shows various exemplary address bit ranges for a particular implementation of the L2 cache (e.g. 8 way set associative, 1 Megabyte, with 32 byte cache lines) and the size of the addresses provided on the interconnect 22. Other embodiments may vary any of these features and the bit ranges may be updated accordingly. For example, if the size of the cache is increased and the number of ways remains the same, the index bit range may be expanded (and the tag range reduced). The size of the address (40 bits in the illustrated embodiment) may be varied, affecting the bit ranges appropriately as well. Furthermore, the bit ranges may be selected differently in different implementations, according to design choice.
It is noted that, while the tags memory 40 and the data memory 42 are illustrated separately in FIG. 2, these memories may be integrated if desired. Generally, the tags memory 40 and the data memory 42 may form a memory for storing tags and corresponding cache lines of data, whether the memory is divided into portions as illustrated or is a single integrated memory.
It is noted that FIG. 2 illustrates address, data, and control signals being supplied to the L2 cache circuitry. The L2 cache 36 may include buffers or queues (not shown) to capture address and data portions of transactions. The supplied address, data, and control signals may correspond to the transaction selected by the L2 cache 36 for processing.
Turning now to FIG. 3, a block diagram of one embodiment of the replacement circuit 50 is shown. In the embodiment of FIG. 3, the replacement circuit 50 includes the way configuration registers 48, a linear feedback shift register (LFSR) 60, a set of way select circuits 62A–62N, a multiplexor (mux) 64, a way mapping circuit 66, and a way enable circuit 68. The LFSR 60 is coupled to each of the way select circuits 62A–62N, which are further coupled to the mux 64. The mux 64 is coupled to receive an indication of the number of ways enabled from the way enable circuit 68, and is coupled to the way mapping circuit 66. The way mapping circuit 68 is coupled to receive a way vector from the way enable circuit 68, and is coupled to provide an indication of the replacement way to the control circuit 46 (shown in FIG. 2). The way enable circuit 68 is coupled to the way configuration registers 48, and to receive a portion of the address (A[39:36]), the TID, and the node number.
In the illustrated embodiment, the replacement circuit 50 implements a random replacement algorithm based, at least in part, on the contents of the LFSR 60. Generally, the LFSR 60 stores a set of bits, and generates a feedback input based on some combination of the bits. The feedback input is shifted into the LFSR 60, and one of the previously stored bits is shifted out. The feedback function is designed to generate pseudo-random sequences of bit patterns in the LFSR 60.
The way select circuits 62A–62N each generate a way selection within a different number of possible ways, based on the contents of the LFSR 60. For example, 2 way select circuit 62A generates a selection of one of two ways. Similarly, 3 way select circuit 62B generates a selection of one of three ways, etc., up through N way select circuit 62N, which generates a selection of one of N ways, where N is the number of ways in the L2 cache 36. One of the way selections is selected based on the number of ways that are enabled for use for the particular transaction (that is, the number of ways in the subset of the L2 cache 36 that may be used for the particular transaction). The number of ways may be based on one or more of the initiating agent, whether the transaction is to a local or remote cache block, and/or general way enable indications. The selected way selection is provided to the way mapping circuit 66.
The way mapping circuit 66 maps the way selection to the available ways, as indicated in the way vector from the way enable circuit, to output the replacement way selection. For example, if a total of three ways are available for a transaction, the output of the 3 way select circuit 62B may be selected. In an 8 way set associative cache, if ways 1, 4, and 6 are available for the transaction, the selection from the 3 way select circuit 62B is mapped to ways 1, 4, and 6. That is, an indication of way 0 from the 3 way select circuit 62B is mapped to way 1 of the 8 ways; an indication of way 1 from the 3 way select circuit 62B is mapped to way 4 of the 8 ways; and an indication of way 2 from the 3 way select circuit 62B is mapped to way 6 of the 8 ways for this example.
In one embodiment, each of the way select circuits 62A–62N outputs a one hot vector, with each bit corresponding to one of the ways that the way select circuit 62A–62N is configured to select (i.e. the 2 way select circuit 62A outputs a two-bit one-hot vector; the 3 way select circuit 62B outputs a three-bit one-hot vector; etc.). The set bit in the one hot vector indicates the selected way. The way mapping circuit 66 stretches and shifts the selected one hot vector to N bits, mapping each bit of the one hot vector to an enabled way indicated in the way vector. The resulting N-bit one-hot vector indicates the selected way. Other embodiments may encode the way selections or use any other representation of the way selection.
It is noted that way select circuits which are not a power of 2 may employ other sources of data for generating a way selection, in addition to the LFSR 60. Way select circuits which are a power of 2 may directly generate a way selection from the LFSR 60 by logically combining bits in the LFSR 60. Way select circuits which are not a power of 2 may generate a way selection for the next higher power of two, and may distribute unused way selections over the possible ways in some manner. For example, a counter may be used which counts from zero to the number of possible ways, and the counter output may be selected if the way selection based on the next higher power of two is not one of the possible ways. For example, a 6 way select circuit may generate an 8 way selection (e.g. one of ways 0 to 7) based on the contents of the LFSR 60. Ways 0 to 5 of the 8 way selection may be directly mapped to one of the 6 ways. Ways 6 and 7 of the 8 way selection, when generated, may be replaced by the value from a counter that counts from 0 to 5 (and the counter may be incremented). The counter may be represented in any fashion (e.g. encodings from 0 to 5, a 6-bit one-hot vector in which an increment is implemented as a rotation of the one hot vector, etc.).
It is noted that the way select circuits 62A–62N, the mux 64, and the way mapping circuit 66 are merely one implementation of circuitry to generate the way selection. Other embodiments may be implemented. Generally, the circuitry may receive at least an indication of the ways which may be selected as the replacement way for a given transaction (e.g. the way vector), and may select one of the eligible ways. While a random replacement algorithm is used in the illustrated embodiment, other embodiments may use other algorithms (e.g. first-in, first-out (FIFO), least recently used (LRU) or hybrids thereof, etc.).
The way enable circuit 68 is configured to generate the way vector (and the number of ways, in the illustrated embodiment) responsive to the contents of the way configuration registers 48 and the other inputs to the replacement circuit 50 shown in FIG. 3. An example illustrating one embodiment of the way enable circuit 68 and the way configuration registers 48 is shown in more detail in FIG. 4. In particular, FIG. 4 illustrates a number of way configuration registers 48, including agent way enable registers 48A–48C, a remote way enable register 48D, a local way enable register 48E, and a way enable register 48F. The way enable circuit 68 may include muxes 68A–68B, a comparator 68C, and a control circuit 68D. The agent way enable registers 48A–48C are coupled to the mux 68A, which is coupled to receive the TID as a selection control. The output of the mux 68A (Agent Way enable) is supplied to the control circuit 68D. The remote way enable register 48D and the local way enable register 48E are coupled to the mux 68B, which receives a selection control from the comparator 68C. The comparator 68C is coupled to receive the most significant bits of the address of the transaction (A[39:36]) and the node number from the configuration register 38. The way enable register 48F is coupled to the control circuit 68D, which generates the number of ways and the way vector output of the way enable circuit 68.
The way configuration registers may comprise an agent way enable register 48A–48C for each agent on the interconnect 22 that may initiate a transaction. The agent way enable register 48A–48C that corresponds to a given agent stores a way enable indication. The way enable indication indicates which ways are enabled for selection in response to a cache miss for a transaction initiated by the given agent. That is, the way enable indication identifies the subset of ways that may be selected for replacement in response to the cache miss. For example, in one embodiment, a vector of bits may be stored (one bit for each way). If the bit is set, the corresponding way is enabled for selection for that agent. If the bit is clear, the corresponding way is not enabled for selection for that agent. Other embodiments may employ the opposite meanings for the set and clear states of the bits, or any other indication.
Each transaction on the interconnect 22 may include a TID that identifies the initiating agent (and may also include a sequence number that identifies the transaction among a plurality of transactions that may be outstanding from the initiating agent). The portion of the TID that identifies the agent may be used by the mux 68A to select the way enable indication from the agent way enable register 48A–48C that corresponds to the initiating agent. The TID may be used directly as a selection control, or a logic circuit may be included to decode the TID to generate the selection control.
The remote way enable register 48D may store a way enable indication indicative of which ways are enabled for remote cache blocks (that is, which ways are in the subset of ways that may be selected for replacement in response to a miss for a remote cache block). Similarly, the local way enable register 48E may store a way indication of which ways are enabled for local cache blocks. Similar to the agent way enable registers, in one embodiment, the remote way enable registers 48D and the local way enable register 48E may each store a vector of bits (one bit for each way).
In the illustrated embodiment, the mux 68B selects the way enable indication from either the remote way enable register 48D or the local way enable register 48E responsive to the output of the comparator 68C. That is, the comparator 68C may determine if the transaction is to a local cache block or a remote cache block for this embodiment. In this embodiment, a cache block may be local if the most significant bits of the address match the node number for the node 10. That is, the address space implemented by a plurality of nodes including the node 10 may be mapped to each node using the most significant bits of the addresses. Additionally, in some embodiments, the cache block may be local if the most significant bits of the address are zero. The comparator 68C may detect these two conditions and may select the way enable indication from the local way enable register 48E. Otherwise, the way enable indication from the remote way enable register 48D may be selected. Other embodiments may identify local versus remote cache blocks in other ways, and other circuitry may be used to select one of the local way enable register 48E or the remote way enable register 48D in response. The selected way enable is supplied by the mux 68B to the control circuit 68D as the local/remote (L/R) way enable.
The control circuit 68D may combine the agent way enable indication, the L/R way enable indication, and the way enable indication from way enable register 48F to generate the number of ways enabled and the way vector. The combined way enable indication may indicate that a given way is enabled if that given way is enabled in each of the input way enable indications. Generally, the combination may be performed in a variety of fashions, based on the form of the way enable indications. For example, if the way enable indications are bit vectors (with a set bit indicating that the way is enabled), the control circuit 68D may bitwise AND the vectors to generate the way vector (and may count the set bits to generate the number of ways). If the way enable indications are bit vectors with a clear bit indicating that a way is enabled, the control circuit 68D may bitwise OR the vectors.
In some cases, the combining of the agent way enable indication, the L/R way enable indication, and the way enable indication from the way enable register 48F may result in a combined indication that no ways are enabled (e.g. a logical AND may result in a zero way vector). In some embodiments, such a result may be considered a programming error. The control circuit 68D may implement a default selection in such cases. For example, the control circuit 68D may randomly select any way or may select a predetermined way. The control circuit 68D may rotate through selecting each way for consecutive cases of the combined indication indicating that no ways are enabled. In one particular embodiment, the control circuit 68D may apply a priority scheme to the input way enable indications. For example, the way enable indication from way enable register 48F may be given highest priority, the L/R way enable indication may be given next highest priority, and the agent way enable indication may be given lowest priority. Thus, if the combination of the three way enable indications leads to no ways being enabled, the control circuit 68D may combine the L/R way enable indication and the way enable indication from the way enable register 48F. If the combination of the L/R way enable indication and the way enable indication from the way enable register 48F leads to no ways being enabled, only the way enable indication from the way enable register 48F may be used. Other embodiments may set the priorities of the way enable indications differently, as desired.
By programming the way configuration registers 48 in various fashions, any combination of the way enabling features may be used. For example, only local versus remote way enabling may be used by programming the agent way enable registers 48A–48C and the way enable register 48F to indicate all ways enabled. Similarly, only the way enable register 48F or the agent way enabling may be used by programming the other way enable registers to indicate all ways enabled. Other embodiments are contemplated in which only the local versus remote way enabling is implemented, only the agent way enabling is implemented, or any combination of the way enabling mechanisms illustrated in FIG. 4 may be implemented. In one embodiment, the way configuration registers 48 are initially set to all ways enabled in response to reset of the node 10.
The way configuration registers 48 may be read and written by software (e.g. instructions executing on the processors 12A–12N) in any desired fashion. For example, special instructions may be used to read and write the registers. Alternatively, a portion of the address space of the node 10 may be used to read and write the way configuration registers 48 (and other configuration registers in the node 10) using load/store instructions.
It is noted that, in other embodiments, a remote/local way enable register may be employed in place of the local way enable register 48E and the remote way enable register 48D. The remote/local way enable register may define which ways are enabled for remote cache blocks and which ways are enabled for local cache blocks. For example, a vector of bits (one for each way) may be implemented. One state of each bit (set or clear) may indicate that the way is enabled for remote cache blocks and the other state of each bit may indicate that the way is enabled for local cache blocks. The vector of bits may be bitwise inverted to generate the vector for one of the cache block types, and may be used unmodified as the vector for the other cache block type. Alternatively, an encoded way value may be used to divide the cache into two sections, one partition for remote cache blocks and the other partition for local cache blocks. In still other embodiments, way enable indication may be set for local and global cache blocks on an agent-by-agent basis, if desired, using a set of remote and local way enable registers for each agent.
It is noted that each way enable register 48A–48F may be implemented as multiple registers, where the multiple registers may be readable and writeable independently by software, as desired. As used herein, the term “register” refers to any clocked storage device. For example, a register may be a flip-flop (or “flop”), a latch, a series of latches, a clocked random access memory (RAM) cell, or any other desirable storage.
Turning next to FIG. 5, a flowchart is shown illustrating operation of one embodiment of the way enable circuit 68. While the blocks shown in FIG. 5 are illustrated in a particular order for ease of understanding, any order may be used. Furthermore, blocks may be performed in parallel by combinatorial logic circuitry in the way enable circuit 68.
The way enable circuit 68 may select the agent way enable indication and the L/R way enable indication responsive to the TID and whether or not the transaction is to a local cache block or a remote cache block, respectively (block 70). The way enable circuit 68 may combine the agent way enable indication, the L/R way enable indication, and the way enable indication from the way enable register 48F (block 72). If the combined indications have at least one way enabled (decision block 74, “yes” leg), the way enable circuit 68 may generate the number of ways from the combined way vector (which is transmitted as the way vector by the way enable circuit 68) (block 76). On the other hand, if the combined indications have no ways enabled (decision block 74, “no” leg), the way enable circuit 68 may use a default number of ways and way vector (block 78).
Turning next to FIG. 6, an example of the use of the way configuration registers 48 for two exemplary agents is shown. In this example, an 8 way set associative cache is used and all ways are enabled in the way enable register 48F. The local and remote way enable registers 48E and 48F are shown with exemplary way enable indications, as well as agent 0 way enable register 48A and agent 1 way enable register 48B. For the example of FIG. 6, the bit on the left of each way enable indication may correspond to way 0, and then each way in turn may be represented by consecutive bits until the right-most bit is encountered, corresponding to way 7. Thus, agent 0 is enabled for ways 0, 1, 6, and 7 in this example. Similarly, agent 1 is enabled for ways 1 and 5. Local cache blocks are enabled for ways 0 through 5, and remote cache blocks are enabled for ways 6 and 7.
Below the way configuration registers 48 are examples for different transactions. First, a local transaction initiated by agent 0 is shown (reference numeral 80). Thus, the agent 0 way enable indication, the local way enable indication, and the way enable indication from the register 48F are combined. The resulting way enable vector indicates that ways 0 and 1 may be used if the transaction misses in the L2 cache 36. On the other hand, for a remote transaction initiated by agent 0 (reference numeral 82 in FIG. 6), ways 6 and 7 are indicated as selectable by combining the agent 0 way enable indication, the remote way enable indication, and the way enable indication from the way enable register 48F. In either case, one of the two indicated ways may be randomly selected for replacement.
If agent 1 initiates a local transaction (reference numeral 84), the agent 1 way enable indication are used and thus ways 1 and 5 are indicated as selectable. However, if agent 1 initiates a remote transaction (reference numeral 86), none of the ways are indicated as selectable. In this case, the L2 cache 36 resorts to the priority mechanism (arrow 88), and the combination of the remote way enable indication and the way enable indication from the way enable register 48F results in ways 6 and 7 being indicated as selectable.
Computer Accessible Medium
Turning next to FIG. 7, a block diagram of a computer accessible medium 300 including one or more data structures representative of the circuitry included in the node 10 is shown. Generally speaking, a computer accessible medium may include storage media such as magnetic or optical media, e.g., disk, CD-ROM, or DVD-ROM, volatile or non-volatile memory media such as RAM (e.g. SDRAM, RDRAM, SRAM, etc.), ROM, etc., as well as media accessible via transmission media or signals such as electrical, electromagnetic, or digital signals, conveyed via a communication medium such as a network and/or a wireless link.
Generally, the data structure(s) of the circuitry on the computer accessible medium 300 may be read by a program and used, directly or indirectly, to fabricate the hardware comprising the circuitry. For example, the data structure(s) may include one or more behavioral-level descriptions or register-transfer level (RTL) descriptions of the hardware functionality in a high level design language (HDL) such as Verilog or VHDL. The description(s) may be read by a synthesis tool which may synthesize the description to produce one or more netlist(s) comprising lists of gates from a synthesis library. The netlist(s) comprise a set of gates which also represent the functionality of the hardware comprising the circuitry. The netlist(s) may then be placed and routed to produce one or more data set(s) describing geometric shapes to be applied to masks. The masks may then be used in various semiconductor fabrication steps to produce a semiconductor circuit or circuits corresponding to the circuitry. Alternatively, the data structure(s) on computer accessible medium 300 may be the netlist(s) (with or without the synthesis library) or the data set(s), as desired. In yet another alternative, the data structures may comprise the output of a schematic program, or netlist(s) or data set(s) derived therefrom.
While computer accessible medium 300 includes a representation of the node 10, other embodiments may include a representation of any portion of the node 10 (e.g. processors 12A–12N, memory controller 14, L2 cache 36, interconnect 22, memory bridge 32 (or portions thereof), remote line directory 34, switch 18, interface circuits 22A–22C (or portions thereof), etc.).
Numerous variations and modifications will become apparent to those skilled in the art once the above disclosure is fully appreciated. It is intended that the following claims be interpreted to embrace all such variations and modifications.

Claims (9)

1. A cache comprising:
a memory including a plurality of entries, wherein each entry of the plurality of entries is configured to store a cache block; and
a circuit having one or more first registers programmable to indicate a first subset of entries selectable for a first agent to store a first cache block corresponding to a first transaction initiated by the first agent and a second subset of entries selectable for a second agent to store a second cache block corresponding to a second transaction initiated by the second agent, the circuit also including one or more second registers programmable to indicate a third subset of the plurality of entries selectable to store local cache blocks and a fourth subset of the plurality of entries selectable to store remote cache blocks, and the circuit to combine indications of the first subset and the third subset to select the first entry for the first transaction if the first transaction is to a local cache block and to combine indications of the first subset and the fourth subset to select the first entry for the first transaction if the first transaction is to a remote cache block.
2. The cache as recited in claim 1 wherein the first subset and the second subset overlap.
3. The cache as recited in claim 1 wherein the one or more first registers are programmable to identify subsets of the plurality of entries for each of a plurality of agents that are configured to initiate transactions.
4. The cache as recited in claim 1 wherein, if a combination of the indications results in no entries of the plurality of entries being identified, the circuit is configured to use a default selection.
5. The cache as recited in claim 4 wherein the default selection includes prioritizing the third or fourth subset over the first subset.
6. The cache as recited in claim 5 further comprising one or more third registers programmable to indicate a fifth subset of the plurality of entries that are enabled for use, wherein the circuit is configured to combine indications of the fifth subset, the first subset, and the third or fourth subset to select the first entry, and wherein the default selection includes prioritizing the fifth subset over the third or fourth subset.
7. A method comprising:
receiving a first transaction in a cache; and
selecting a first entry of a plurality of entries in the cache to store a first cache block corresponding to the first transaction, wherein the first entry is selected from a first subset of the plurality of entries indicated as selectable for a first agent that initiated the transaction;
selecting a second entry of the plurality of entries to store a second cache block corresponding to a second transaction initiated by a second agent, wherein the second entry is selected from a second subset of the plurality of entries indicated as selectable for the second agent; and
combining a first indication of the first subset and a second indication of a third subset of the plurality of entries, the third subset useable to store local cache blocks, wherein the first entry is in both the first subset and the third subset if the first cache block is a local cache block.
8. The method as recited in claim 7 wherein the first subset and the second subset overlap.
9. The method as recited in claim 7 further comprising combining a first indication of the first subset and a third indication of a fourth subset of the plurality of entries, the fourth subset useable to store remote cache blocks, wherein the first entry is in both the first subset and the fourth subset if the first cache block is a remote cache block.
US10/413,917 2002-05-15 2003-04-15 Cache programmable to partition ways to agents and/or local/remote blocks Expired - Fee Related US6988168B2 (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
US10/413,917 US6988168B2 (en) 2002-05-15 2003-04-15 Cache programmable to partition ways to agents and/or local/remote blocks
DE60304930T DE60304930T2 (en) 2002-05-15 2003-05-15 Programmable cache for partitioning local and remote cache blocks
EP03010901A EP1363193B1 (en) 2002-05-15 2003-05-15 Programmable cache for the partitioning of local and remote cache blocks

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
US38074002P 2002-05-15 2002-05-15
US10/270,028 US7266587B2 (en) 2002-05-15 2002-10-11 System having interfaces, switch, and memory bridge for CC-NUMA operation
US10/413,917 US6988168B2 (en) 2002-05-15 2003-04-15 Cache programmable to partition ways to agents and/or local/remote blocks

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
US10/270,028 Continuation-In-Part US7266587B2 (en) 2002-05-15 2002-10-11 System having interfaces, switch, and memory bridge for CC-NUMA operation

Publications (2)

Publication Number Publication Date
US20030217229A1 US20030217229A1 (en) 2003-11-20
US6988168B2 true US6988168B2 (en) 2006-01-17

Family

ID=29272888

Family Applications (7)

Application Number Title Priority Date Filing Date
US10/270,028 Expired - Fee Related US7266587B2 (en) 2002-05-15 2002-10-11 System having interfaces, switch, and memory bridge for CC-NUMA operation
US10/413,917 Expired - Fee Related US6988168B2 (en) 2002-05-15 2003-04-15 Cache programmable to partition ways to agents and/or local/remote blocks
US10/414,363 Expired - Lifetime US6948035B2 (en) 2002-05-15 2003-04-15 Data pend mechanism
US10/413,916 Abandoned US20030229676A1 (en) 2002-05-15 2003-04-15 Command to transfer data from node state agent to memory bridge
US10/435,189 Expired - Fee Related US7343456B2 (en) 2002-05-15 2003-05-09 Load-linked/store conditional mechanism in a CC-NUMA system
US10/439,343 Expired - Fee Related US7340546B2 (en) 2002-05-15 2003-05-15 Addressing scheme supporting fixed local addressing and variable global addressing
US11/891,954 Expired - Fee Related US7469275B2 (en) 2002-05-15 2007-08-14 System having interfaces, switch, and memory bridge for CC-NUMA operation

Family Applications Before (1)

Application Number Title Priority Date Filing Date
US10/270,028 Expired - Fee Related US7266587B2 (en) 2002-05-15 2002-10-11 System having interfaces, switch, and memory bridge for CC-NUMA operation

Family Applications After (5)

Application Number Title Priority Date Filing Date
US10/414,363 Expired - Lifetime US6948035B2 (en) 2002-05-15 2003-04-15 Data pend mechanism
US10/413,916 Abandoned US20030229676A1 (en) 2002-05-15 2003-04-15 Command to transfer data from node state agent to memory bridge
US10/435,189 Expired - Fee Related US7343456B2 (en) 2002-05-15 2003-05-09 Load-linked/store conditional mechanism in a CC-NUMA system
US10/439,343 Expired - Fee Related US7340546B2 (en) 2002-05-15 2003-05-15 Addressing scheme supporting fixed local addressing and variable global addressing
US11/891,954 Expired - Fee Related US7469275B2 (en) 2002-05-15 2007-08-14 System having interfaces, switch, and memory bridge for CC-NUMA operation

Country Status (4)

Country Link
US (7) US7266587B2 (en)
EP (1) EP1363196B1 (en)
AT (1) ATE309574T1 (en)
DE (1) DE60207210T2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050193176A1 (en) * 2003-01-07 2005-09-01 Edirisooriya Samantha J. Cache memory to support a processor's power mode of operation
US8316212B2 (en) 2009-05-29 2012-11-20 Apple Inc. Translation lookaside buffer (TLB) with reserved areas for specific sources

Families Citing this family (85)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7752281B2 (en) * 2001-11-20 2010-07-06 Broadcom Corporation Bridges performing remote reads and writes as uncacheable coherent operations
US7266587B2 (en) * 2002-05-15 2007-09-04 Broadcom Corporation System having interfaces, switch, and memory bridge for CC-NUMA operation
US8244990B2 (en) * 2002-07-16 2012-08-14 Oracle America, Inc. Obstruction-free synchronization for shared data structures
US7293143B1 (en) 2002-09-24 2007-11-06 Sun Microsystems, Inc. Efficient non-blocking k-compare-single-swap operation
GB2416416B (en) * 2003-04-11 2006-11-22 Sun Microsystems Inc Multi-node computer system implementing global access state dependent transactions
US20050010615A1 (en) * 2003-04-11 2005-01-13 Sun Microsystems, Inc. Multi-node computer system implementing memory-correctable speculative proxy transactions
WO2004092968A2 (en) * 2003-04-11 2004-10-28 Sun Microsystems, Inc. Multi-node system with global access states
US7610305B2 (en) * 2003-04-24 2009-10-27 Sun Microsystems, Inc. Simultaneous global transaction and local transaction management in an application server
US7398359B1 (en) * 2003-04-30 2008-07-08 Silicon Graphics, Inc. System and method for performing memory operations in a computing system
US7114042B2 (en) * 2003-05-22 2006-09-26 International Business Machines Corporation Method to provide atomic update primitives in an asymmetric heterogeneous multiprocessor environment
US20040267919A1 (en) * 2003-06-30 2004-12-30 International Business Machines Corporation Method and system for providing server management peripheral caching using a shared bus
US7739252B2 (en) * 2003-07-14 2010-06-15 Oracle America, Inc. Read/write lock transaction manager freezing
US7107367B1 (en) * 2003-08-12 2006-09-12 Advanced Micro Devices, Inc. Method for efficient buffer tag allocation
US7539190B2 (en) * 2004-01-05 2009-05-26 Topside Research, Llc Multicasting in a shared address space
US20050154786A1 (en) * 2004-01-09 2005-07-14 International Business Machines Corporation Ordering updates in remote copying of data
US7478211B2 (en) * 2004-01-09 2009-01-13 International Business Machines Corporation Maintaining consistency for remote copy using virtualization
US9477233B2 (en) * 2004-07-02 2016-10-25 The University Of Chicago Microfluidic system with a plurality of sequential T-junctions for performing reactions in microdroplets
US7257679B2 (en) * 2004-10-01 2007-08-14 Advanced Micro Devices, Inc. Sharing monitored cache lines across multiple cores
US7970980B2 (en) * 2004-12-15 2011-06-28 International Business Machines Corporation Method and apparatus for accessing memory in a computer system architecture supporting heterogeneous configurations of memory structures
US20060161919A1 (en) * 2004-12-23 2006-07-20 Onufryk Peter Z Implementation of load linked and store conditional operations
US7624236B2 (en) * 2004-12-27 2009-11-24 Intel Corporation Predictive early write-back of owned cache blocks in a shared memory computer system
US7258628B2 (en) * 2005-01-10 2007-08-21 Nelson Precision Casting Co., Ltd. Intensified structure for connecting a golf club head body with a striking plate
US7474658B2 (en) * 2005-02-10 2009-01-06 International Business Machines Corporation Data processing system, method and interconnect fabric supporting concurrent operations of varying broadcast scope
US20060179253A1 (en) * 2005-02-10 2006-08-10 International Business Machines Corporation Data processing system, method and interconnect fabric that protect ownership transfer with a protection window extension
US7483428B2 (en) * 2005-02-10 2009-01-27 International Business Machines Corporation Data processing system, method and interconnect fabric supporting a node-only broadcast
US7496710B1 (en) 2005-04-01 2009-02-24 Sun Microsystems, Inc. Reducing resource consumption by ineffective write operations
JP4362454B2 (en) * 2005-04-07 2009-11-11 富士通株式会社 Cache coherence management device and cache coherence management method
US7366848B1 (en) * 2005-06-02 2008-04-29 Sun Microsystems, Inc. Reducing resource consumption by ineffective write operations in a shared memory system
US7680989B2 (en) * 2005-08-17 2010-03-16 Sun Microsystems, Inc. Instruction set architecture employing conditional multistore synchronization
US7480771B2 (en) 2005-08-17 2009-01-20 Sun Microsystems, Inc. Conditional synchronization mechanisms allowing multiple store operations to become visible while a flagged memory location is owned and remains unchanged
US7805560B2 (en) * 2005-08-31 2010-09-28 Ati Technologies Inc. Methods and apparatus for translating messages in a computing system
US7707361B2 (en) * 2005-11-17 2010-04-27 Apple Inc. Data cache block zero implementation
US7756943B1 (en) 2006-01-26 2010-07-13 Symantec Operating Corporation Efficient data transfer between computers in a virtual NUMA system using RDMA
US7702743B1 (en) * 2006-01-26 2010-04-20 Symantec Operating Corporation Supporting a weak ordering memory model for a virtual physical address space that spans multiple nodes
US7434124B2 (en) * 2006-03-28 2008-10-07 National Instruments Corporation Reduced pattern memory in digital test equipment
JP5137171B2 (en) * 2006-07-24 2013-02-06 ルネサスエレクトロニクス株式会社 Data processing device
US8205024B2 (en) * 2006-11-16 2012-06-19 International Business Machines Corporation Protecting ownership transfer with non-uniform protection windows
US8255577B2 (en) * 2007-04-26 2012-08-28 Hewlett-Packard Development Company, L.P. I/O forwarding technique for multi-interrupt capable devices
US7882327B2 (en) * 2007-07-31 2011-02-01 Advanced Micro Devices, Inc. Communicating between partitions in a statically partitioned multiprocessing system
US20090320036A1 (en) * 2008-06-19 2009-12-24 Joan Marie Ries File System Object Node Management
US8019920B2 (en) * 2008-10-01 2011-09-13 Hewlett-Packard Development Company, L.P. Method to improve operating performance of a computing device
US20100106874A1 (en) * 2008-10-28 2010-04-29 Charles Dominguez Packet Filter Optimization For Network Interfaces
US7970976B2 (en) * 2009-03-01 2011-06-28 Qualcomm Incorporated Remote memory access using reversible host/client interface
US20100332763A1 (en) * 2009-06-30 2010-12-30 International Business Machines Corporation Apparatus, system, and method for cache coherency elimination
US8510512B2 (en) * 2009-08-21 2013-08-13 International Business Machines Corporation Memory coherence directory supporting remotely sourced requests of nodal scope
US8601242B2 (en) * 2009-12-18 2013-12-03 Intel Corporation Adaptive optimized compare-exchange operation
JP5481669B2 (en) * 2010-08-02 2014-04-23 株式会社日立製作所 Cache control method, node device, manager device, and computer system
US20120166739A1 (en) * 2010-12-22 2012-06-28 Andes Technology Corporation Memory module and method for atomic operations in a multi-level memory structure
US10360150B2 (en) 2011-02-14 2019-07-23 Suse Llc Techniques for managing memory in a multiprocessor architecture
JP2012252558A (en) * 2011-06-03 2012-12-20 Sony Corp Nonvolatile memory, memory controller, nonvolatile memory accessing method, and program
US8868843B2 (en) 2011-11-30 2014-10-21 Advanced Micro Devices, Inc. Hardware filter for tracking block presence in large caches
US10229221B1 (en) * 2012-03-01 2019-03-12 EMC IP Holding Company LLC Techniques for cache updates based on quality of service
US9238770B2 (en) 2012-03-29 2016-01-19 Kraton Polymers U.S. Llc Low viscosity synthetic cement
US9135174B2 (en) * 2012-11-27 2015-09-15 International Business Machines Corporation Coherent attached processor proxy supporting master parking
US9069674B2 (en) 2012-11-27 2015-06-30 International Business Machines Corporation Coherent proxy for attached processor
US9442852B2 (en) 2012-11-27 2016-09-13 International Business Machines Corporation Programmable coherent proxy for attached processor
US9021211B2 (en) 2013-01-11 2015-04-28 International Business Machines Corporation Epoch-based recovery for coherent attached processor proxy
US8990513B2 (en) 2013-01-11 2015-03-24 International Business Machines Corporation Accelerated recovery for snooped addresses in a coherent attached processor proxy
US8938587B2 (en) 2013-01-11 2015-01-20 International Business Machines Corporation Data recovery for coherent attached processor proxy
US9606922B2 (en) 2013-03-01 2017-03-28 International Business Machines Corporation Selection of post-request action based on combined response and input from the request source
US9323676B2 (en) * 2013-03-05 2016-04-26 International Business Machines Corporation Non-data inclusive coherent (NIC) directory for cache
US9053035B1 (en) * 2013-11-25 2015-06-09 Freescale Semiconductor, Inc. Multi-threaded system for performing atomic binary translations
US20160055100A1 (en) * 2014-08-19 2016-02-25 Advanced Micro Devices, Inc. System and method for reverse inclusion in multilevel cache hierarchy
JP6207766B2 (en) * 2014-12-14 2017-10-04 ヴィア アライアンス セミコンダクター カンパニー リミテッド Set associative cache memory with heterogeneous replacement policy
EP3055775B1 (en) * 2014-12-14 2019-08-21 VIA Alliance Semiconductor Co., Ltd. Cache replacement policy that considers memory access type
EP3230874B1 (en) * 2014-12-14 2021-04-28 VIA Alliance Semiconductor Co., Ltd. Fully associative cache memory budgeted by memory access type
WO2016097812A1 (en) * 2014-12-14 2016-06-23 Via Alliance Semiconductor Co., Ltd. Cache memory budgeted by chunks based on memory access type
US9910785B2 (en) 2014-12-14 2018-03-06 Via Alliance Semiconductor Co., Ltd Cache memory budgeted by ways based on memory access type
US9639276B2 (en) * 2015-03-27 2017-05-02 Intel Corporation Implied directory state updates
US9626310B2 (en) * 2015-08-25 2017-04-18 Atmel Corporation Microcontroller architecture with access stealing
US20170083331A1 (en) * 2015-09-19 2017-03-23 Microsoft Technology Licensing, Llc Memory synchronization in block-based processors
US9852084B1 (en) 2016-02-05 2017-12-26 Apple Inc. Access permissions modification
US10963409B2 (en) * 2016-08-19 2021-03-30 Arm Limited Interconnect circuitry and a method of operating such interconnect circuitry
US10613979B2 (en) * 2017-11-30 2020-04-07 International Business Machines Corporation Accelerator memory coherency with single state machine
EP3531293A1 (en) * 2018-02-27 2019-08-28 BAE SYSTEMS plc Computing system operating a reflective memory network
US20210141725A1 (en) * 2018-02-27 2021-05-13 Bae Systems Plc Computing system operating a reflective memory network
US10503643B1 (en) * 2018-07-11 2019-12-10 Qualcomm Incorporated Cache coherence with functional address apertures
US11068407B2 (en) 2018-10-26 2021-07-20 International Business Machines Corporation Synchronized access to data in shared memory by protecting the load target address of a load-reserve instruction
US10884740B2 (en) 2018-11-08 2021-01-05 International Business Machines Corporation Synchronized access to data in shared memory by resolving conflicting accesses by co-located hardware threads
US11200168B2 (en) 2018-12-10 2021-12-14 International Business Machines Corporation Caching data from remote memories
US11119781B2 (en) 2018-12-11 2021-09-14 International Business Machines Corporation Synchronized access to data in shared memory by protecting the load target address of a fronting load
US11016913B1 (en) * 2020-03-30 2021-05-25 Apple Inc. Inter cluster snoop latency reduction
US11106608B1 (en) 2020-06-22 2021-08-31 International Business Machines Corporation Synchronizing access to shared memory by extending protection for a target address of a store-conditional request
US11693776B2 (en) 2021-06-18 2023-07-04 International Business Machines Corporation Variable protection window extension for a target address of a store-conditional request
US20230333856A1 (en) * 2022-04-18 2023-10-19 Cadence Design Systems, Inc Load-Store Unit Dual Tags and Replays

Citations (99)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US3693165A (en) 1971-06-29 1972-09-19 Ibm Parallel addressing of a storage hierarchy in a data processing system using virtual addressing
US4044338A (en) 1975-02-10 1977-08-23 Siemens Aktiengesellschaft Associative memory having separately associable zones
EP0061570A2 (en) 1981-03-23 1982-10-06 International Business Machines Corporation Store-in-cache multiprocessor system with checkpoint feature
US4371929A (en) * 1980-05-05 1983-02-01 Ibm Corporation Multiprocessor system with high density memory set architecture including partitionable cache store interface to shared disk drive memory
US4453212A (en) 1981-07-13 1984-06-05 Burroughs Corporation Extended address generating apparatus and method
US4511994A (en) 1982-09-27 1985-04-16 Control Data Corporation Multi-group LRU resolver
US4575792A (en) 1982-03-31 1986-03-11 Honeywell Information Systems Inc. Shared interface apparatus for testing the memory sections of a cache unit
US4633440A (en) 1984-12-31 1986-12-30 International Business Machines Multi-port memory chip in a hierarchical memory
US4654778A (en) 1984-06-27 1987-03-31 International Business Machines Corporation Direct parallel path for storage accesses unloading common system path
EP0259095A2 (en) 1986-08-27 1988-03-09 Amdahl Corporation Cache storage queue
US4807115A (en) 1983-10-07 1989-02-21 Cornell Research Foundation, Inc. Instruction issuing mechanism for processors with multiple functional units
US4833642A (en) 1987-03-31 1989-05-23 Nec Corporation Cache controller giving versatility to cache memory structure
EP0325420A2 (en) 1988-01-20 1989-07-26 Advanced Micro Devices, Inc. Organization of an integrated cache unit for flexible usage in cache system design
US4858105A (en) 1986-03-26 1989-08-15 Hitachi, Ltd. Pipelined data processor capable of decoding and executing plural instructions in parallel
GB2214336A (en) 1988-01-21 1989-08-31 Mitsubishi Electric Corp Cache memory apparatus
US4907278A (en) 1987-06-25 1990-03-06 Presidenza Dei Consiglio Dei Ministri Del Ministro Per Il Coordinamento Delle Iniziative Per La Ricerca Scientifica E Tecnologica, Dello Stato Italiano Integrated processing unit, particularly for connected speech recognition systems
EP0381471A2 (en) 1989-02-03 1990-08-08 Digital Equipment Corporation Method and apparatus for preprocessing multiple instructions in a pipeline processor
US4996641A (en) 1988-04-15 1991-02-26 Motorola, Inc. Diagnostic mode for a cache
EP0436092A2 (en) 1989-12-26 1991-07-10 International Business Machines Corporation Out-of-sequence fetch controls for a data processing system
EP0459232A2 (en) 1990-05-29 1991-12-04 National Semiconductor Corporation Partially decoded instruction cache
EP0459233A2 (en) 1990-05-29 1991-12-04 National Semiconductor Corporation Selectively locking memory locations within a microprocessor's on-chip cache
US5113514A (en) 1989-08-22 1992-05-12 Prime Computer, Inc. System bus for multiprocessor computer system
US5125083A (en) 1989-02-03 1992-06-23 Digital Equipment Corporation Method and apparatus for resolving a variable number of potential memory access conflicts in a pipelined computer system
US5163142A (en) 1988-10-28 1992-11-10 Hewlett-Packard Company Efficient cache write technique through deferred tag modification
US5193163A (en) 1990-10-01 1993-03-09 Digital Equipment Corporation Two-level protocol for multi-component bus ownership, and implementation in a multi-processor cache write back protocol
US5226130A (en) 1990-02-26 1993-07-06 Nexgen Microsystems Method and apparatus for store-into-instruction-stream detection and maintaining branch prediction cache consistency
US5226126A (en) 1989-02-24 1993-07-06 Nexgen Microsystems Processor having plurality of functional units for orderly retiring outstanding operations based upon its associated tags
GB2263987A (en) 1992-02-06 1993-08-11 Intel Corp End bit markers for instruction decode.
GB2263985A (en) 1992-02-06 1993-08-11 Intel Corp Deriving variable length instructions from a stream of instructions
US5241663A (en) 1990-05-31 1993-08-31 Sony Corporation Hierarchically pairing memory blocks based upon relative storage capacities and simultaneously accessing each memory block within the paired memory blocks
EP0569221A2 (en) 1992-05-05 1993-11-10 Xerox Corporation Integrated ultra low leakage high voltage protection circuit
US5303362A (en) 1991-03-20 1994-04-12 Digital Equipment Corporation Coupled memory multiprocessor computer system including cache coherency management protocols
US5317716A (en) 1988-08-16 1994-05-31 International Business Machines Corporation Multiple caches using state information indicating if cache line was previously modified and type of access rights granted to assign access rights to cache line
US5325504A (en) 1991-08-30 1994-06-28 Compaq Computer Corporation Method and apparatus for incorporating cache line replacement and cache write policy information into tag directories in a cache system
US5353425A (en) 1992-04-29 1994-10-04 Sun Microsystems, Inc. Methods and apparatus for implementing a pseudo-LRU cache memory replacement scheme with a locking feature
US5369753A (en) 1990-06-15 1994-11-29 Compaq Computer Corporation Method and apparatus for achieving multilevel inclusion in multilevel cache hierarchies
US5377345A (en) 1992-04-29 1994-12-27 Sun Microsystems, Inc. Methods and apparatus for providing multiple pending operations in a cache consistent multiple processor computer system
GB2281422A (en) 1993-08-26 1995-03-01 Intel Corp Processor ordering consistency for a processor performing out-of-order instruction execution
US5410669A (en) 1993-04-05 1995-04-25 Motorola, Inc. Data processor having a cache memory capable of being used as a linear ram bank
US5416783A (en) 1993-08-09 1995-05-16 Motorola, Inc. Method and apparatus for generating pseudorandom numbers or for performing data compression in a data processor
US5432918A (en) 1990-06-29 1995-07-11 Digital Equipment Corporation Method and apparatus for ordering read and write operations using conflict bits in a write queue
US5450551A (en) 1993-05-28 1995-09-12 International Business Machines Corporation System direct memory access (DMA) support logic for PCI based computer system
US5471598A (en) 1993-10-18 1995-11-28 Cyrix Corporation Data dependency detection and handling in a microprocessor with write buffer
EP0687979A1 (en) 1994-06-14 1995-12-20 Kabushiki Kaisha Toshiba Cache memory having lockable entries
US5487162A (en) 1992-02-25 1996-01-23 Matsushita Electric Industrial Co., Ltd. Cache lock information feeding system using an address translator
US5493667A (en) 1993-02-09 1996-02-20 Intel Corporation Apparatus and method for an instruction cache locking scheme
US5510934A (en) 1993-12-15 1996-04-23 Silicon Graphics, Inc. Memory system including local and global caches for storing floating point and integer data
US5526510A (en) 1994-02-28 1996-06-11 Intel Corporation Method and apparatus for implementing a single clock cycle line replacement in a data cache unit
US5539878A (en) 1995-06-16 1996-07-23 Elonex Technologies, Inc. Parallel testing of CPU cache and instruction units
US5551001A (en) 1994-06-29 1996-08-27 Exponential Technology, Inc. Master-slave cache system for instruction and data cache memories
US5557763A (en) 1992-09-29 1996-09-17 Seiko Epson Corporation System for handling load and/or store operations in a superscalar microprocessor
US5564034A (en) 1992-09-24 1996-10-08 Matsushita Electric Industrial Co., Ltd. Cache memory with a write buffer indicating way selection
US5584014A (en) 1994-12-20 1996-12-10 Sun Microsystems, Inc. Apparatus and method to preserve data in a set associative memory device
US5586253A (en) 1994-12-15 1996-12-17 Stratus Computer Method and apparatus for validating I/O addresses in a fault-tolerant computer system
US5588126A (en) 1993-12-30 1996-12-24 Intel Corporation Methods and apparatus for fordwarding buffered store data on an out-of-order execution computer system
US5592679A (en) 1994-11-14 1997-01-07 Sun Microsystems, Inc. Apparatus and method for distributed control in a processor architecture
US5638537A (en) 1993-01-29 1997-06-10 Mitsubishi Denki Kabushiki Kaisha Cache system with access mode determination for prioritizing accesses to cache memory
US5644752A (en) 1994-06-29 1997-07-01 Exponential Technology, Inc. Combined store queue for a master-slave cache system
US5668815A (en) 1996-08-14 1997-09-16 Advanced Micro Devices, Inc. Method for testing integrated memory using an integrated DMA controller
US5668972A (en) 1994-10-05 1997-09-16 International Business Machines Corporation Method and system for efficient miss sequence cache line allocation utilizing an allocation control cell state to enable a selected match line
US5671444A (en) 1994-02-28 1997-09-23 Intel Corporaiton Methods and apparatus for caching data in a non-blocking manner using a plurality of fill buffers
US5748640A (en) 1996-09-12 1998-05-05 Advanced Micro Devices Technique for incorporating a built-in self-test (BIST) of a DRAM block with existing functional test vectors for a microprocessor
US5752261A (en) 1996-11-07 1998-05-12 Ncr Corporation Method and apparatus for detecting thrashing in a cache memory
US5761712A (en) 1995-06-07 1998-06-02 Advanced Micro Devices Data memory unit and method for storing data into a lockable cache in one clock cycle by previewing the tag array
US5768555A (en) 1997-02-20 1998-06-16 Advanced Micro Devices, Inc. Reorder buffer employing last in buffer and last in line bits
US5778429A (en) * 1994-07-04 1998-07-07 Hitachi, Ltd. Parallel processor system including a cache memory subsystem that has independently addressable local and remote data areas
US5784588A (en) 1997-06-20 1998-07-21 Sun Microsystems, Inc. Dependency checking apparatus employing a scoreboard for a pair of register sets having different precisions
US5787490A (en) 1995-10-06 1998-07-28 Fujitsu Limited Multiprocess execution system that designates cache use priority based on process priority
US5802338A (en) 1996-10-01 1998-09-01 International Business Machines Corporation Method of self-parallelizing and self-parallelizing multiprocessor using the method
US5809528A (en) 1996-12-24 1998-09-15 International Business Machines Corporation Method and circuit for a least recently used replacement mechanism and invalidated address handling in a fully associative many-way cache memory
US5809531A (en) 1992-09-21 1998-09-15 Intel Corporation Computer system for executing programs using an internal cache without accessing external RAM
US5875465A (en) 1996-04-03 1999-02-23 Arm Limited Cache control circuit having a pseudo random address generator
US5897651A (en) 1995-11-13 1999-04-27 International Business Machines Corporation Information handling system including a direct access set associative cache and method for accessing same
US5898849A (en) * 1997-04-04 1999-04-27 Advanced Micro Devices, Inc. Microprocessor employing local caches for functional units to store memory operands used by the functional units
US5913224A (en) 1997-02-26 1999-06-15 Advanced Micro Devices, Inc. Programmable cache including a non-lockable data way and a lockable data way configured to lock real-time data
US5937431A (en) * 1996-07-12 1999-08-10 Samsung Electronics Co., Ltd. Multi- node, multi-level cache- only memory architecture with relaxed inclusion
US5974508A (en) 1992-07-31 1999-10-26 Fujitsu Limited Cache memory system and method for automatically locking cache entries to prevent selected memory items from being replaced
US5974507A (en) 1997-04-14 1999-10-26 International Business Machines Corporation Optimizing a cache eviction mechanism by selectively introducing different levels of randomness into a replacement algorithm
US5983321A (en) 1997-03-12 1999-11-09 Advanced Micro Devices, Inc. Cache holding register for receiving instruction packets and for providing the instruction packets to a predecode unit and instruction cache
US6026461A (en) 1995-08-14 2000-02-15 Data General Corporation Bus arbitration system for multiprocessor architecture
EP0997821A1 (en) 1998-10-30 2000-05-03 Nec Corporation Cache memory having a freeze function
US6115792A (en) 1997-12-16 2000-09-05 Advanced Micro Devices, Inc. Way prediction logic for cache array
US6148370A (en) 1996-06-05 2000-11-14 Kabushiki Kaisha Toshiba Semiconductor memory device including cache memory used as a RAM
US6161167A (en) 1997-06-27 2000-12-12 Advanced Micro Devices, Inc. Fully associate cache employing LRU groups for cache replacement and mechanism for selecting an LRU group
US6185657B1 (en) 1998-04-20 2001-02-06 Motorola Inc. Multi-way cache apparatus and method
US6185703B1 (en) 1997-10-10 2001-02-06 Intel Corporation Method and apparatus for direct access test of embedded memory
US6240432B1 (en) 1998-12-28 2001-05-29 Vanguard International Semiconductor Corporation Enhanced random number generator
US6240532B1 (en) 1998-04-06 2001-05-29 Rise Technology Company Programmable hit and write policy for cache memory test
US6263082B1 (en) 1997-01-16 2001-07-17 Nec Corporation Pseudorandom number generation circuit and data communication system employing the same
US6266743B1 (en) * 1999-02-26 2001-07-24 International Business Machines Corporation Method and system for providing an eviction protocol within a non-uniform memory access system
US6269427B1 (en) 1999-03-18 2001-07-31 International Business Machines Corporation Multiple load miss handling in a cache memory system
US6279083B1 (en) 1998-03-27 2001-08-21 Motorola, Inc. Circuit and method of controlling cache memory
US6295584B1 (en) * 1997-08-29 2001-09-25 International Business Machines Corporation Multiprocessor computer system with memory map translation
US6295608B1 (en) 1998-02-17 2001-09-25 Microsoft Corporation Optimized allocation of data elements among cache lines
US6351789B1 (en) 1998-05-29 2002-02-26 Via-Cyrix, Inc. Built-in self-test circuit and method for validating an associative data array
US6405287B1 (en) 1999-11-17 2002-06-11 Hewlett-Packard Company Cache line replacement using cache status to bias way selection
US6430655B1 (en) 2000-01-31 2002-08-06 Mips Technologies, Inc. Scratchpad RAM memory accessible in parallel to a primary cache
US6519690B1 (en) * 1999-08-23 2003-02-11 Advanced Micro Devices, Inc. Flexible address programming with wrap blocking
EP1363193A1 (en) 2002-05-15 2003-11-19 Broadcom Corporation Programmable cache for the partitioning of local and remote cache blocks

Family Cites Families (92)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4463424A (en) 1981-02-19 1984-07-31 International Business Machines Corporation Method for dynamically allocating LRU/MRU managed memory among concurrent sequential processes
US4433378A (en) 1981-09-28 1984-02-21 Western Digital Chip topography for MOS packet network interface circuit
US4760571A (en) 1984-07-25 1988-07-26 Siegfried Schwarz Ring network for communication between one chip processors
CH670715A5 (en) 1986-10-03 1989-06-30 Bbc Brown Boveri & Cie
DE69022716T2 (en) * 1990-03-19 1996-03-14 Bull Hn Information Syst Multi-computer system with distributed common resources and dynamic and selective duplication of global data and procedures for it.
US5416907A (en) * 1990-06-15 1995-05-16 Digital Equipment Corporation Method and apparatus for transferring data processing data transfer sizes
US5963745A (en) * 1990-11-13 1999-10-05 International Business Machines Corporation APAP I/O programmable router
US5765011A (en) * 1990-11-13 1998-06-09 International Business Machines Corporation Parallel processing system having a synchronous SIMD processing with processing elements emulating SIMD operation using individual instruction streams
JPH0619785A (en) * 1992-03-27 1994-01-28 Matsushita Electric Ind Co Ltd Distributed shared virtual memory and its constitution method
US5887187A (en) 1993-10-20 1999-03-23 Lsi Logic Corporation Single chip network adapter apparatus
US5640399A (en) * 1993-10-20 1997-06-17 Lsi Logic Corporation Single chip network router
US5914955A (en) 1993-10-20 1999-06-22 Lsi Logic Corporation Switched network hub on a chip
US5802287A (en) 1993-10-20 1998-09-01 Lsi Logic Corporation Single chip universal protocol multi-function ATM network interface
US5668809A (en) 1993-10-20 1997-09-16 Lsi Logic Corporation Single chip network hub with dynamic window filter
US5634004A (en) * 1994-05-16 1997-05-27 Network Programs, Inc. Directly programmable distribution element
US5546546A (en) 1994-05-20 1996-08-13 Intel Corporation Method and apparatus for maintaining transaction ordering and arbitrating in a bus bridge
DE69616402T2 (en) * 1995-03-31 2002-07-18 Sun Microsystems Inc Fast two-port cache control circuit for data processors in a packet-switched cache-coherent multiprocessor system
US5603047A (en) 1995-10-06 1997-02-11 Lsi Logic Corporation Superscalar microprocessor architecture
US5805920A (en) 1995-11-13 1998-09-08 Tandem Computers Incorporated Direct bulk data transfers
US5778438A (en) * 1995-12-06 1998-07-07 Intel Corporation Method and apparatus for maintaining cache coherency in a computer system with a highly pipelined bus and multiple conflicting snoop requests
US5710907A (en) * 1995-12-22 1998-01-20 Sun Microsystems, Inc. Hybrid NUMA COMA caching system and methods for selecting between the caching modes
US6373846B1 (en) 1996-03-07 2002-04-16 Lsi Logic Corporation Single chip networking device with enhanced memory access co-processor
US6038644A (en) * 1996-03-19 2000-03-14 Hitachi, Ltd. Multiprocessor system with partial broadcast capability of a cache coherent processing request
US5778414A (en) 1996-06-13 1998-07-07 Racal-Datacom, Inc. Performance enhancing memory interleaver for data frame processing
US5893150A (en) * 1996-07-01 1999-04-06 Sun Microsystems, Inc. Efficient allocation of cache memory space in a computer system
US5887138A (en) * 1996-07-01 1999-03-23 Sun Microsystems, Inc. Multiprocessing computer system employing local and global address spaces and COMA and NUMA access modes
US5878268A (en) * 1996-07-01 1999-03-02 Sun Microsystems, Inc. Multiprocessing system configured to store coherency state within multiple subnodes of a processing node
US5813029A (en) * 1996-07-09 1998-09-22 Micron Electronics, Inc. Upgradeable cache circuit using high speed multiplexer
US5991817A (en) 1996-09-06 1999-11-23 Cisco Systems, Inc. Apparatus and method for a network router
US5961623A (en) * 1996-08-29 1999-10-05 Apple Computer, Inc. Method and system for avoiding starvation and deadlocks in a split-response interconnect of a computer system
US6209020B1 (en) 1996-09-20 2001-03-27 Nortel Networks Limited Distributed pipeline memory architecture for a computer system with even and odd pids
JPH10154100A (en) * 1996-11-25 1998-06-09 Canon Inc Information processing system, device and its controlling method
US6202125B1 (en) 1996-11-25 2001-03-13 Intel Corporation Processor-cache protocol using simple commands to implement a range of cache configurations
US5829025A (en) * 1996-12-17 1998-10-27 Intel Corporation Computer system and method of allocating cache memories in a multilevel cache hierarchy utilizing a locality hint within an instruction
US6111859A (en) 1997-01-16 2000-08-29 Advanced Micro Devices, Inc. Data transfer network on a computer chip utilizing combined bus and ring topologies
US5908468A (en) 1997-10-24 1999-06-01 Advanced Micro Devices, Inc. Data transfer network on a chip utilizing a multiple traffic circle topology
US6266797B1 (en) * 1997-01-16 2001-07-24 Advanced Micro Devices, Inc. Data transfer network on a computer chip using a re-configurable path multiple ring topology
US5991305A (en) * 1997-02-14 1999-11-23 Advanced Micro Devices, Inc. Integrated multiport switch having independently resettable management information base (MIB)
JP3904282B2 (en) * 1997-03-31 2007-04-11 株式会社ルネサステクノロジ Semiconductor integrated circuit device
US6105119A (en) * 1997-04-04 2000-08-15 Texas Instruments Incorporated Data transfer circuitry, DSP wrapper circuitry and improved processor devices, methods and systems
US6298370B1 (en) * 1997-04-04 2001-10-02 Texas Instruments Incorporated Computer operating process allocating tasks between first and second processors at run time based upon current processor load
US6182201B1 (en) * 1997-04-14 2001-01-30 International Business Machines Corporation Demand-based issuance of cache operations to a system bus
FR2762418B1 (en) * 1997-04-17 1999-06-11 Alsthom Cge Alcatel METHOD FOR MANAGING A SHARED MEMORY
US6018763A (en) * 1997-05-28 2000-01-25 3Com Corporation High performance shared memory for a bridge router supporting cache coherency
JP3524337B2 (en) 1997-07-25 2004-05-10 キヤノン株式会社 Bus management device and control device for multifunction device having the same
WO1999012103A2 (en) * 1997-09-05 1999-03-11 Sun Microsystems, Inc. Scalable shared memory multiprocessor system
US6128677A (en) * 1997-10-15 2000-10-03 Intel Corporation System and method for improved transfer of data between multiple processors and I/O bridges
US6085294A (en) * 1997-10-24 2000-07-04 Compaq Computer Corporation Distributed data dependency stall mechanism
US6101420A (en) * 1997-10-24 2000-08-08 Compaq Computer Corporation Method and apparatus for disambiguating change-to-dirty commands in a switch based multi-processing system with coarse directories
US6209065B1 (en) * 1997-10-24 2001-03-27 Compaq Computer Corporation Mechanism for optimizing generation of commit-signals in a distributed shared-memory system
US6108752A (en) * 1997-10-24 2000-08-22 Compaq Computer Corporation Method and apparatus for delaying victim writes in a switch-based multi-processor system to maintain data coherency
US6032228A (en) * 1997-11-26 2000-02-29 International Business Machines Corporation Flexible cache-coherency mechanism
US6092137A (en) * 1997-11-26 2000-07-18 Industrial Technology Research Institute Fair data bus arbitration system which assigns adjustable priority values to competing sources
US6151662A (en) * 1997-12-02 2000-11-21 Advanced Micro Devices, Inc. Data transaction typing for improved caching and prefetching characteristics
US6065077A (en) * 1997-12-07 2000-05-16 Hotrail, Inc. Apparatus and method for a cache coherent shared memory multiprocessing system
US6279087B1 (en) 1997-12-22 2001-08-21 Compaq Computer Corporation System and method for maintaining coherency and improving performance in a bus bridge supporting write posting operations
US6128706A (en) 1998-02-03 2000-10-03 Institute For The Development Of Emerging Architectures, L.L.C. Apparatus and method for a load bias--load with intent to semaphore
US6141733A (en) 1998-02-17 2000-10-31 International Business Machines Corporation Cache coherency protocol with independent implementation of optimized cache operations
US6289419B1 (en) 1998-03-06 2001-09-11 Sharp Kabushiki Kaisha Consistency control device merging updated memory blocks
US6631448B2 (en) * 1998-03-12 2003-10-07 Fujitsu Limited Cache coherence unit for interconnecting multiprocessor nodes having pipelined snoopy protocol
US6070215A (en) * 1998-03-13 2000-05-30 Compaq Computer Corporation Computer system with improved transition to low power operation
GB9806184D0 (en) 1998-03-23 1998-05-20 Sgs Thomson Microelectronics A cache coherency mechanism
GB2335762C (en) * 1998-03-25 2008-01-10 Advanced Risc Mach Ltd Write buffering in a data processing apparatus
US6202129B1 (en) * 1998-03-31 2001-03-13 Intel Corporation Shared cache structure for temporal and non-temporal information using indicative bits
GB2341460B (en) 1998-05-19 2003-02-19 Lsi Logic Corp Method and apparatus for arbitrating between requests for access to a shared resource
US6098064A (en) * 1998-05-22 2000-08-01 Xerox Corporation Prefetching and caching documents according to probability ranked need S list
US6003106A (en) * 1998-05-27 1999-12-14 International Business Machines Corporation DMA cache control logic
US6195739B1 (en) * 1998-06-29 2001-02-27 Cisco Technology, Inc. Method and apparatus for passing data among processor complex stages of a pipelined processing engine
US6215497B1 (en) 1998-08-12 2001-04-10 Monolithic System Technology, Inc. Method and apparatus for maximizing the random access bandwidth of a multi-bank DRAM in a computer graphics system
US6266731B1 (en) * 1998-09-03 2001-07-24 Compaq Computer Corporation High speed peripheral interconnect apparatus, method and system
US6378048B1 (en) * 1998-11-12 2002-04-23 Intel Corporation “SLIME” cache coherency system for agents with multi-layer caches
US6272522B1 (en) 1998-11-17 2001-08-07 Sun Microsystems, Incorporated Computer data packet switching and load balancing system using a general-purpose multiprocessor architecture
US6338122B1 (en) * 1998-12-15 2002-01-08 International Business Machines Corporation Non-uniform memory access (NUMA) data processing system that speculatively forwards a read request to a remote processing node
US6631401B1 (en) 1998-12-21 2003-10-07 Advanced Micro Devices, Inc. Flexible probe/probe response routing for maintaining coherency
US6425060B1 (en) 1999-01-05 2002-07-23 International Business Machines Corporation Circuit arrangement and method with state-based transaction scheduling
JP2000222280A (en) * 1999-01-19 2000-08-11 Texas Instr Inc <Ti> Post-write buffer for double clock system
US6192452B1 (en) * 1999-02-26 2001-02-20 International Business Machines Corporation Method and system for avoiding data loss due to cancelled transactions within a non-uniform memory access system
US6480489B1 (en) 1999-03-01 2002-11-12 Sun Microsystems, Inc. Method and apparatus for data re-assembly with a high performance network interface
US6249843B1 (en) 1999-08-05 2001-06-19 International Business Machines Corporation Store instruction having horizontal memory hierarchy control bits
US6332179B1 (en) * 1999-08-19 2001-12-18 International Business Machines Corporation Allocation for back-to-back misses in a directory based cache
US6349365B1 (en) 1999-10-08 2002-02-19 Advanced Micro Devices, Inc. User-prioritized cache replacement
US6438651B1 (en) 1999-11-01 2002-08-20 International Business Machines Corporation Method, system, and program for managing requests to a cache using flags to queue and dequeue data in a buffer
US6262594B1 (en) 1999-11-05 2001-07-17 Ati International, Srl Apparatus and method for configurable use of groups of pads of a system on chip
US6519685B1 (en) * 1999-12-22 2003-02-11 Intel Corporation Cache states for multiprocessor cache coherency protocols
US20010052053A1 (en) 2000-02-08 2001-12-13 Mario Nemirovsky Stream processing unit for a multi-streaming processor
US6681293B1 (en) * 2000-08-25 2004-01-20 Silicon Graphics, Inc. Method and cache-coherence system allowing purging of mid-level cache entries without purging lower-level cache entries
US6460124B1 (en) * 2000-10-20 2002-10-01 Wisconsin Alumni Research Foundation Method of using delays to speed processing of inferred critical program portions
US6748501B2 (en) * 2000-12-30 2004-06-08 International Business Machines Corporation Microprocessor reservation mechanism for a hashed address system
US6574708B2 (en) 2001-05-18 2003-06-03 Broadcom Corporation Source controlled cache allocation
US6801986B2 (en) * 2001-08-20 2004-10-05 Hewlett-Packard Development Company, L.P. Livelock prevention by delaying surrender of ownership upon intervening ownership request during load locked / store conditional atomic memory operation
US6799236B1 (en) * 2001-11-20 2004-09-28 Sun Microsystems, Inc. Methods and apparatus for executing code while avoiding interference
US7266587B2 (en) * 2002-05-15 2007-09-04 Broadcom Corporation System having interfaces, switch, and memory bridge for CC-NUMA operation

Patent Citations (99)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US3693165A (en) 1971-06-29 1972-09-19 Ibm Parallel addressing of a storage hierarchy in a data processing system using virtual addressing
US4044338A (en) 1975-02-10 1977-08-23 Siemens Aktiengesellschaft Associative memory having separately associable zones
US4371929A (en) * 1980-05-05 1983-02-01 Ibm Corporation Multiprocessor system with high density memory set architecture including partitionable cache store interface to shared disk drive memory
EP0061570A2 (en) 1981-03-23 1982-10-06 International Business Machines Corporation Store-in-cache multiprocessor system with checkpoint feature
US4453212A (en) 1981-07-13 1984-06-05 Burroughs Corporation Extended address generating apparatus and method
US4575792A (en) 1982-03-31 1986-03-11 Honeywell Information Systems Inc. Shared interface apparatus for testing the memory sections of a cache unit
US4511994A (en) 1982-09-27 1985-04-16 Control Data Corporation Multi-group LRU resolver
US4807115A (en) 1983-10-07 1989-02-21 Cornell Research Foundation, Inc. Instruction issuing mechanism for processors with multiple functional units
US4654778A (en) 1984-06-27 1987-03-31 International Business Machines Corporation Direct parallel path for storage accesses unloading common system path
US4633440A (en) 1984-12-31 1986-12-30 International Business Machines Multi-port memory chip in a hierarchical memory
US4858105A (en) 1986-03-26 1989-08-15 Hitachi, Ltd. Pipelined data processor capable of decoding and executing plural instructions in parallel
EP0259095A2 (en) 1986-08-27 1988-03-09 Amdahl Corporation Cache storage queue
US4833642A (en) 1987-03-31 1989-05-23 Nec Corporation Cache controller giving versatility to cache memory structure
US4907278A (en) 1987-06-25 1990-03-06 Presidenza Dei Consiglio Dei Ministri Del Ministro Per Il Coordinamento Delle Iniziative Per La Ricerca Scientifica E Tecnologica, Dello Stato Italiano Integrated processing unit, particularly for connected speech recognition systems
EP0325420A2 (en) 1988-01-20 1989-07-26 Advanced Micro Devices, Inc. Organization of an integrated cache unit for flexible usage in cache system design
GB2214336A (en) 1988-01-21 1989-08-31 Mitsubishi Electric Corp Cache memory apparatus
US4996641A (en) 1988-04-15 1991-02-26 Motorola, Inc. Diagnostic mode for a cache
US5317716A (en) 1988-08-16 1994-05-31 International Business Machines Corporation Multiple caches using state information indicating if cache line was previously modified and type of access rights granted to assign access rights to cache line
US5163142A (en) 1988-10-28 1992-11-10 Hewlett-Packard Company Efficient cache write technique through deferred tag modification
EP0381471A2 (en) 1989-02-03 1990-08-08 Digital Equipment Corporation Method and apparatus for preprocessing multiple instructions in a pipeline processor
US5125083A (en) 1989-02-03 1992-06-23 Digital Equipment Corporation Method and apparatus for resolving a variable number of potential memory access conflicts in a pipelined computer system
US5226126A (en) 1989-02-24 1993-07-06 Nexgen Microsystems Processor having plurality of functional units for orderly retiring outstanding operations based upon its associated tags
US5113514A (en) 1989-08-22 1992-05-12 Prime Computer, Inc. System bus for multiprocessor computer system
EP0436092A2 (en) 1989-12-26 1991-07-10 International Business Machines Corporation Out-of-sequence fetch controls for a data processing system
US5226130A (en) 1990-02-26 1993-07-06 Nexgen Microsystems Method and apparatus for store-into-instruction-stream detection and maintaining branch prediction cache consistency
EP0459232A2 (en) 1990-05-29 1991-12-04 National Semiconductor Corporation Partially decoded instruction cache
EP0459233A2 (en) 1990-05-29 1991-12-04 National Semiconductor Corporation Selectively locking memory locations within a microprocessor's on-chip cache
US5241663A (en) 1990-05-31 1993-08-31 Sony Corporation Hierarchically pairing memory blocks based upon relative storage capacities and simultaneously accessing each memory block within the paired memory blocks
US5369753A (en) 1990-06-15 1994-11-29 Compaq Computer Corporation Method and apparatus for achieving multilevel inclusion in multilevel cache hierarchies
US5432918A (en) 1990-06-29 1995-07-11 Digital Equipment Corporation Method and apparatus for ordering read and write operations using conflict bits in a write queue
US5193163A (en) 1990-10-01 1993-03-09 Digital Equipment Corporation Two-level protocol for multi-component bus ownership, and implementation in a multi-processor cache write back protocol
US5303362A (en) 1991-03-20 1994-04-12 Digital Equipment Corporation Coupled memory multiprocessor computer system including cache coherency management protocols
US5325504A (en) 1991-08-30 1994-06-28 Compaq Computer Corporation Method and apparatus for incorporating cache line replacement and cache write policy information into tag directories in a cache system
GB2263985A (en) 1992-02-06 1993-08-11 Intel Corp Deriving variable length instructions from a stream of instructions
GB2263987A (en) 1992-02-06 1993-08-11 Intel Corp End bit markers for instruction decode.
US5487162A (en) 1992-02-25 1996-01-23 Matsushita Electric Industrial Co., Ltd. Cache lock information feeding system using an address translator
US5353425A (en) 1992-04-29 1994-10-04 Sun Microsystems, Inc. Methods and apparatus for implementing a pseudo-LRU cache memory replacement scheme with a locking feature
US5377345A (en) 1992-04-29 1994-12-27 Sun Microsystems, Inc. Methods and apparatus for providing multiple pending operations in a cache consistent multiple processor computer system
EP0569221A2 (en) 1992-05-05 1993-11-10 Xerox Corporation Integrated ultra low leakage high voltage protection circuit
US5974508A (en) 1992-07-31 1999-10-26 Fujitsu Limited Cache memory system and method for automatically locking cache entries to prevent selected memory items from being replaced
US5809531A (en) 1992-09-21 1998-09-15 Intel Corporation Computer system for executing programs using an internal cache without accessing external RAM
US5564034A (en) 1992-09-24 1996-10-08 Matsushita Electric Industrial Co., Ltd. Cache memory with a write buffer indicating way selection
US5557763A (en) 1992-09-29 1996-09-17 Seiko Epson Corporation System for handling load and/or store operations in a superscalar microprocessor
US5638537A (en) 1993-01-29 1997-06-10 Mitsubishi Denki Kabushiki Kaisha Cache system with access mode determination for prioritizing accesses to cache memory
US5493667A (en) 1993-02-09 1996-02-20 Intel Corporation Apparatus and method for an instruction cache locking scheme
US5410669A (en) 1993-04-05 1995-04-25 Motorola, Inc. Data processor having a cache memory capable of being used as a linear ram bank
US5450551A (en) 1993-05-28 1995-09-12 International Business Machines Corporation System direct memory access (DMA) support logic for PCI based computer system
US5416783A (en) 1993-08-09 1995-05-16 Motorola, Inc. Method and apparatus for generating pseudorandom numbers or for performing data compression in a data processor
GB2281422A (en) 1993-08-26 1995-03-01 Intel Corp Processor ordering consistency for a processor performing out-of-order instruction execution
US5471598A (en) 1993-10-18 1995-11-28 Cyrix Corporation Data dependency detection and handling in a microprocessor with write buffer
US5510934A (en) 1993-12-15 1996-04-23 Silicon Graphics, Inc. Memory system including local and global caches for storing floating point and integer data
US5588126A (en) 1993-12-30 1996-12-24 Intel Corporation Methods and apparatus for fordwarding buffered store data on an out-of-order execution computer system
US5526510A (en) 1994-02-28 1996-06-11 Intel Corporation Method and apparatus for implementing a single clock cycle line replacement in a data cache unit
US5671444A (en) 1994-02-28 1997-09-23 Intel Corporaiton Methods and apparatus for caching data in a non-blocking manner using a plurality of fill buffers
EP0687979A1 (en) 1994-06-14 1995-12-20 Kabushiki Kaisha Toshiba Cache memory having lockable entries
US5551001A (en) 1994-06-29 1996-08-27 Exponential Technology, Inc. Master-slave cache system for instruction and data cache memories
US5644752A (en) 1994-06-29 1997-07-01 Exponential Technology, Inc. Combined store queue for a master-slave cache system
US5778429A (en) * 1994-07-04 1998-07-07 Hitachi, Ltd. Parallel processor system including a cache memory subsystem that has independently addressable local and remote data areas
US5668972A (en) 1994-10-05 1997-09-16 International Business Machines Corporation Method and system for efficient miss sequence cache line allocation utilizing an allocation control cell state to enable a selected match line
US5592679A (en) 1994-11-14 1997-01-07 Sun Microsystems, Inc. Apparatus and method for distributed control in a processor architecture
US5586253A (en) 1994-12-15 1996-12-17 Stratus Computer Method and apparatus for validating I/O addresses in a fault-tolerant computer system
US5584014A (en) 1994-12-20 1996-12-10 Sun Microsystems, Inc. Apparatus and method to preserve data in a set associative memory device
US5761712A (en) 1995-06-07 1998-06-02 Advanced Micro Devices Data memory unit and method for storing data into a lockable cache in one clock cycle by previewing the tag array
US5539878A (en) 1995-06-16 1996-07-23 Elonex Technologies, Inc. Parallel testing of CPU cache and instruction units
US6026461A (en) 1995-08-14 2000-02-15 Data General Corporation Bus arbitration system for multiprocessor architecture
US5787490A (en) 1995-10-06 1998-07-28 Fujitsu Limited Multiprocess execution system that designates cache use priority based on process priority
US5897651A (en) 1995-11-13 1999-04-27 International Business Machines Corporation Information handling system including a direct access set associative cache and method for accessing same
US5875465A (en) 1996-04-03 1999-02-23 Arm Limited Cache control circuit having a pseudo random address generator
US6148370A (en) 1996-06-05 2000-11-14 Kabushiki Kaisha Toshiba Semiconductor memory device including cache memory used as a RAM
US5937431A (en) * 1996-07-12 1999-08-10 Samsung Electronics Co., Ltd. Multi- node, multi-level cache- only memory architecture with relaxed inclusion
US5668815A (en) 1996-08-14 1997-09-16 Advanced Micro Devices, Inc. Method for testing integrated memory using an integrated DMA controller
US5748640A (en) 1996-09-12 1998-05-05 Advanced Micro Devices Technique for incorporating a built-in self-test (BIST) of a DRAM block with existing functional test vectors for a microprocessor
US5802338A (en) 1996-10-01 1998-09-01 International Business Machines Corporation Method of self-parallelizing and self-parallelizing multiprocessor using the method
US5752261A (en) 1996-11-07 1998-05-12 Ncr Corporation Method and apparatus for detecting thrashing in a cache memory
US5809528A (en) 1996-12-24 1998-09-15 International Business Machines Corporation Method and circuit for a least recently used replacement mechanism and invalidated address handling in a fully associative many-way cache memory
US6263082B1 (en) 1997-01-16 2001-07-17 Nec Corporation Pseudorandom number generation circuit and data communication system employing the same
US5768555A (en) 1997-02-20 1998-06-16 Advanced Micro Devices, Inc. Reorder buffer employing last in buffer and last in line bits
US5913224A (en) 1997-02-26 1999-06-15 Advanced Micro Devices, Inc. Programmable cache including a non-lockable data way and a lockable data way configured to lock real-time data
US5983321A (en) 1997-03-12 1999-11-09 Advanced Micro Devices, Inc. Cache holding register for receiving instruction packets and for providing the instruction packets to a predecode unit and instruction cache
US5898849A (en) * 1997-04-04 1999-04-27 Advanced Micro Devices, Inc. Microprocessor employing local caches for functional units to store memory operands used by the functional units
US5974507A (en) 1997-04-14 1999-10-26 International Business Machines Corporation Optimizing a cache eviction mechanism by selectively introducing different levels of randomness into a replacement algorithm
US5784588A (en) 1997-06-20 1998-07-21 Sun Microsystems, Inc. Dependency checking apparatus employing a scoreboard for a pair of register sets having different precisions
US6161167A (en) 1997-06-27 2000-12-12 Advanced Micro Devices, Inc. Fully associate cache employing LRU groups for cache replacement and mechanism for selecting an LRU group
US6295584B1 (en) * 1997-08-29 2001-09-25 International Business Machines Corporation Multiprocessor computer system with memory map translation
US6185703B1 (en) 1997-10-10 2001-02-06 Intel Corporation Method and apparatus for direct access test of embedded memory
US6115792A (en) 1997-12-16 2000-09-05 Advanced Micro Devices, Inc. Way prediction logic for cache array
US6295608B1 (en) 1998-02-17 2001-09-25 Microsoft Corporation Optimized allocation of data elements among cache lines
US6279083B1 (en) 1998-03-27 2001-08-21 Motorola, Inc. Circuit and method of controlling cache memory
US6240532B1 (en) 1998-04-06 2001-05-29 Rise Technology Company Programmable hit and write policy for cache memory test
US6185657B1 (en) 1998-04-20 2001-02-06 Motorola Inc. Multi-way cache apparatus and method
US6351789B1 (en) 1998-05-29 2002-02-26 Via-Cyrix, Inc. Built-in self-test circuit and method for validating an associative data array
EP0997821A1 (en) 1998-10-30 2000-05-03 Nec Corporation Cache memory having a freeze function
US6240432B1 (en) 1998-12-28 2001-05-29 Vanguard International Semiconductor Corporation Enhanced random number generator
US6266743B1 (en) * 1999-02-26 2001-07-24 International Business Machines Corporation Method and system for providing an eviction protocol within a non-uniform memory access system
US6269427B1 (en) 1999-03-18 2001-07-31 International Business Machines Corporation Multiple load miss handling in a cache memory system
US6519690B1 (en) * 1999-08-23 2003-02-11 Advanced Micro Devices, Inc. Flexible address programming with wrap blocking
US6405287B1 (en) 1999-11-17 2002-06-11 Hewlett-Packard Company Cache line replacement using cache status to bias way selection
US6430655B1 (en) 2000-01-31 2002-08-06 Mips Technologies, Inc. Scratchpad RAM memory accessible in parallel to a primary cache
EP1363193A1 (en) 2002-05-15 2003-11-19 Broadcom Corporation Programmable cache for the partitioning of local and remote cache blocks

Non-Patent Citations (10)

* Cited by examiner, † Cited by third party
Title
"Handling Reservations in Multiple-Level Cache," IBM Technical Disclosure Bulletin, Dec. 1993, pp. 441-446.
"Memory Arbitration with Out of Order Execution in Conjunction with a RISC System," IBM Technical Disclosure Bulletin, Sep. 1992, pp. 62-64.
Cyrix(R) 5x86 Microprocessor, Jul. 1995, 8 pgs.
Cyrix(R) 6x86 Microprocessor, Aug. 1995, 6 pgs.
Dekker et al., "A Realistic Fault Model and Test Algorithms for Static Random Access Memories," IEEE Transactions on Computer-Aided Design, vol. 9, No. 6, Jun. 1990, pp. 567-572.
Gallup, et al., "Testability Features of the 68040," Motorola, Inc., 1990 International Test Conference, IEEE, pp. 749-757.
Halfhill et al., "SiByte Reveals 64-bit Core for NPUs," Microprocessor Report, Jun. 2000, pp. 45-48.
Hollenbeck, et al., "PA3700LC Integrates Cache for Cost/Performance," Hewlett Packard Company, IEEE, 1996, pp. 167-174.
Intel(R) StrongARM(R) SA-1100 Microprocessor, Developer's Manual, Aug. 1999, (C) Intel Corporation, Ch. 1, p. 6; Ch. 2, p. 2; Ch. 6, pp. 2-5; Ch. 7, p. 3.
Stepanian, SiByte, SiByte SB-1 MIPS64 CPU Core, Embedded Processor Forum 2000, Jun. 13, 2000, 15 pages.

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050193176A1 (en) * 2003-01-07 2005-09-01 Edirisooriya Samantha J. Cache memory to support a processor's power mode of operation
US20050204202A1 (en) * 2003-01-07 2005-09-15 Edirisooriya Samantha J. Cache memory to support a processor's power mode of operation
US7487299B2 (en) * 2003-01-07 2009-02-03 Intel Corporation Cache memory to support a processor's power mode of operation
US7685379B2 (en) 2003-01-07 2010-03-23 Intel Corporation Cache memory to support a processor's power mode of operation
US8316212B2 (en) 2009-05-29 2012-11-20 Apple Inc. Translation lookaside buffer (TLB) with reserved areas for specific sources

Also Published As

Publication number Publication date
US7469275B2 (en) 2008-12-23
EP1363196B1 (en) 2005-11-09
DE60207210D1 (en) 2005-12-15
US20030217229A1 (en) 2003-11-20
EP1363196A1 (en) 2003-11-19
US7340546B2 (en) 2008-03-04
ATE309574T1 (en) 2005-11-15
US20070282968A1 (en) 2007-12-06
US20030217216A1 (en) 2003-11-20
US20030217115A1 (en) 2003-11-20
US7343456B2 (en) 2008-03-11
US20030217238A1 (en) 2003-11-20
US7266587B2 (en) 2007-09-04
DE60207210T2 (en) 2006-07-27
US6948035B2 (en) 2005-09-20
US20030229676A1 (en) 2003-12-11
US20030233495A1 (en) 2003-12-18

Similar Documents

Publication Publication Date Title
US6988168B2 (en) Cache programmable to partition ways to agents and/or local/remote blocks
US6748479B2 (en) System having interfaces and switch that separates coherent and packet traffic
US7003631B2 (en) System having address-based intranode coherency and data-based internode coherency
US6993631B2 (en) L2 cache maintaining local ownership of remote coherency blocks
US7424561B2 (en) Systems using mix of packet, coherent, and noncoherent traffic to optimize transmission between systems
US7394823B2 (en) System having configurable interfaces for flexible system configurations
US7269695B2 (en) Ambiguous virtual channels
EP1363193B1 (en) Programmable cache for the partitioning of local and remote cache blocks
US6965973B2 (en) Remote line directory which covers subset of shareable CC-NUMA memory space
EP1363188B1 (en) Load-linked/store conditional mechanism in a cc-numa (cache-coherent nonuniform memory access) system

Legal Events

Date Code Title Description
AS Assignment

Owner name: BROADCOM CORPORATION, CALIFORNIA

Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNORS:ROWLANDS, JOSEPH B.;KAZA, ROHINI KRISHNA;REEL/FRAME:013978/0407

Effective date: 20030409

FPAY Fee payment

Year of fee payment: 4

FPAY Fee payment

Year of fee payment: 8

AS Assignment

Owner name: BANK OF AMERICA, N.A., AS COLLATERAL AGENT, NORTH CAROLINA

Free format text: PATENT SECURITY AGREEMENT;ASSIGNOR:BROADCOM CORPORATION;REEL/FRAME:037806/0001

Effective date: 20160201

Owner name: BANK OF AMERICA, N.A., AS COLLATERAL AGENT, NORTH

Free format text: PATENT SECURITY AGREEMENT;ASSIGNOR:BROADCOM CORPORATION;REEL/FRAME:037806/0001

Effective date: 20160201

AS Assignment

Owner name: AVAGO TECHNOLOGIES GENERAL IP (SINGAPORE) PTE. LTD., SINGAPORE

Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNOR:BROADCOM CORPORATION;REEL/FRAME:041706/0001

Effective date: 20170120

Owner name: AVAGO TECHNOLOGIES GENERAL IP (SINGAPORE) PTE. LTD

Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNOR:BROADCOM CORPORATION;REEL/FRAME:041706/0001

Effective date: 20170120

AS Assignment

Owner name: BROADCOM CORPORATION, CALIFORNIA

Free format text: TERMINATION AND RELEASE OF SECURITY INTEREST IN PATENTS;ASSIGNOR:BANK OF AMERICA, N.A., AS COLLATERAL AGENT;REEL/FRAME:041712/0001

Effective date: 20170119

FEPP Fee payment procedure

Free format text: MAINTENANCE FEE REMINDER MAILED (ORIGINAL EVENT CODE: REM.)

LAPS Lapse for failure to pay maintenance fees

Free format text: PATENT EXPIRED FOR FAILURE TO PAY MAINTENANCE FEES (ORIGINAL EVENT CODE: EXP.)

STCH Information on status: patent discontinuation

Free format text: PATENT EXPIRED DUE TO NONPAYMENT OF MAINTENANCE FEES UNDER 37 CFR 1.362

FP Lapsed due to failure to pay maintenance fee

Effective date: 20180117