WO2005041047A2 - Method and apparatus for efficient ordered stores over an interconnection network - Google Patents

Method and apparatus for efficient ordered stores over an interconnection network Download PDF

Info

Publication number
WO2005041047A2
WO2005041047A2 PCT/US2004/034147 US2004034147W WO2005041047A2 WO 2005041047 A2 WO2005041047 A2 WO 2005041047A2 US 2004034147 W US2004034147 W US 2004034147W WO 2005041047 A2 WO2005041047 A2 WO 2005041047A2
Authority
WO
WIPO (PCT)
Prior art keywords
cache memory
ordered
cache
ordered store
sequence
Prior art date
Application number
PCT/US2004/034147
Other languages
French (fr)
Other versions
WO2005041047A3 (en
Inventor
Mark Charney
Ravi Rajwar
Pritpal Ahuja
Matt Mattina
Original Assignee
Intel Corporation
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
Priority claimed from US10/691,716 external-priority patent/US7338424B2/en
Application filed by Intel Corporation filed Critical Intel Corporation
Priority to JP2006536679A priority Critical patent/JP4658064B2/en
Priority to DE112004001984T priority patent/DE112004001984T5/en
Publication of WO2005041047A2 publication Critical patent/WO2005041047A2/en
Publication of WO2005041047A3 publication Critical patent/WO2005041047A3/en

Links

Classifications

    • 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
    • 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F12/00Accessing, addressing or allocating within memory systems or architectures
    • 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/0811Multiuser, multiprocessor or multiprocessing cache systems with multilevel cache hierarchies
    • 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/0837Cache consistency protocols with software control, e.g. non-cacheable data
    • 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/084Multiuser, multiprocessor or multiprocessing cache systems with a shared cache

Definitions

  • the invention relates generally to cache memory management, and specifically to providing ordered stores to a shared distributed cache memory system over an unordered network.
  • a memory controller or cache controller either internal or external to the processor was used to provide cache management of the cache memory between the main memory and the processor.
  • Various cache memory management algorithms were introduced to maximize the use of the cache memory and reduce the number of misses into cache that required the processor to read data/instructions from the slow main memory or write data/instructions out to the slow main memory.
  • Cache coherence protocols were introduced to maintain coherency of data stored in cache memories by tracking the state of data blocks that may be shared. Other cache memory management algorithms have been introduced.
  • BRIEF DESCRIPTION OF THE DRAWINGS Figure 1 illustrates a block diagram of a typical computer system in which the invention may be utilized.
  • Figure 2A illustrates a block diagram of a central processing unit in which the invention may be utilized.
  • Figure 2B illustrates a block diagram of a multiprocessor central processing unit in which the invention may be utilized.
  • Figure 3A illustrates a block diagram of an embodiment of a multiprocessor system in which the invention may be utilized.
  • Figure 3B illustrates a block diagram of another embodiment of a multiprocessor system in which the invention may be utilized.
  • Figure 3C illustrates a block diagram of another embodiment of a multiprocessor system in which the invention may be utilized.
  • Figure 4 illustrates a block diagram of a logically shared physically distributed cache memory system.
  • Figure 5A illustrates a diagram of typical fields of a tagged ordered store request.
  • Figure 5B illustrates a diagram of typical fields of a CSA update .
  • Figure 6A illustrates a block diagram of a cache memory slice .
  • Figure 6B illustrates a block diagram of a cache sequence array (CSA) .
  • Figure 7 illustrates a block diagram with an exemplary sequence of in-order execution of an ordered store request.
  • Figure 8 illustrates a flow chart of control functions performed by the control logic of a requestor to support tagged ordered store requests .
  • Figure 9A illustrates a flow chart of control functions performed by the control logic of each cache memory slice to whether or not ordered store requests can be processed.
  • Figure 9B illustrates a flow chart of control functions performed by control logic of each cache memory slice for handling tag updates .
  • One embodiment of the invention addresses a system with a plurality of processors sharing a logically shared, but physically distributed cache.
  • the plurality of processors communicate to the physically distributed caches over an interconnection network.
  • the interconnection network is an unordered network that does not preserve the ordering of requests from one processor or cache (the "requestor") to the same or different caches.
  • the messages that one cache may send to another cache over the interconnection network are also not kept in-order by the network.
  • the messages may require execution in- order as they are sent out by a requestor. These messages may be referred to as ordered requests. Messages that do not require execution in-order may be referred to as non- ordered requests.
  • a store request issued by a requestor may be an ordered store request or a non-ordered store request.
  • a subset of ordered requests is an ordered store request.
  • An ordered store request described further below, is a store request of a requestor that requires execution in-order with respect to other ordered requests issued by the requestor. Earlier ordered store requests should be processed before a current ordered store request is processed.
  • a non-ordered store request is a store request of a requestor that can be executed out of order with respect to other ordered requests of the requestor.
  • the logically shared cache memory may be partitioned so that certain address blocks of cache memory are managed by different chunks of the physically distributed cache memory.
  • cache management of the logically shared cache addresses the ordering requirements that certain memory consistency models place on the processing of certain stores from a processor into main memory. Certain stores that require special in-order processing are referred to herein as "ordered stores" or "ordered store requests”.
  • stores may not require the special in-order processing and are referred to herein as "unordered stores", “unordered store requests”, or “non-ordered” store requests”.
  • These non-ordered store requests can be executed or processed out of order.
  • the processing of ordered store requests requires that earlier ordered store requests, issued before a current ordered store request, be completely processed before execution occurs of the current ordered store request.
  • a simple low-performance method of handling ordered store requests from one processor is to inhibit the processor from issuing new ordered store requests until all preceding ordered store requests from that processor have been processed by the cache memory system.
  • handling ordered store requests from a plurality of processors is not so simple.
  • the method of handling ordered store requests from a plurality of processors in a multiprocessor system is more complicated.
  • the simple low performance method of handling ordered store requests is improved upon to support a multiprocessor system adds a plurality of processors to leverage parallelism in a network of processor with a shared memory system by using a small amount of additional request tracking hardware.
  • the parallelism of the networked processors can handle multiple ordered store requests from one processor in the network at the same time or at overlapping time intervals. The one processor need not wait for earlier ordered stores to be completed fully before sending new ordered store requests over the unordered network to the cache system. Referring now to Figure 1, a block diagram of a typical computer system 100 in which the invention may be utilized is illustrated.
  • the computer system 100 includes a central processing unit (CPU) 101; input/output devices (I/O) 102 such as keyboard, modem, printer, external storage devices and the like; monitoring devices (M) 103, such as a CRT or graphics display; and memory 104 for storing information.
  • the monitoring devices (M) 103 provide computer information in a human intelligible format such as visual or audio formats.
  • the system 100 may be a number of different systems including a computer system or a network processing system such as a media access controller (MAC) .
  • MAC media access controller
  • the central processing unit 101A includes a microprocessor 201, a main memory 202 for storing program instructions, and a disk storage device 203 coupled together as shown and illustrated.
  • the microprocessor 201 includes one or more execution units 210, at least one cache memory 212, and a cache controller 214.
  • the microprocessor 201 may include a separate memory controller 216 to control accesses into the main memory 202. In this case, the memory controller interfaces the main memory 202 to the other elements of the microprocessor 201.
  • the execution unit 210 reads/writes data into the cache memory 212 without having to directly access the slower main memory 202. That is, it is desirable for the execution unit to avoid misses to the cache memory 212.
  • Disk storage device 203 may be a floppy disk, zip disk, DVD disk, hard disk, rewritable optical disk, flash memory or other non-volatile storage device.
  • the microprocessor 201 and the disk storage device 203 can both read and write information into memory 202 over a memory bus.
  • both the microprocessor 201 and the disk storage device 203 can alter memory locations within memory 202 during program execution.
  • the disk storage device 203 includes a disk controller with direct memory access, which can perform stores into memory and thereby modify code. Because the controller can directly access the memory it is an example of a Direct Memory Access (DMA) agent. Other devices having direct access to store information into memory are also DMA agents.
  • Memory 202 is typically a dynamic random access memory (DRAM) but may be other types of rewritable storage.
  • the microprocessor 201 Upon initial execution of a program stored in the disk storage device 203 or stored in some other source such as I/O devices 102, the microprocessor 201 reads program instructions and data stored in the disk storage device 203 or other source and writes them into memory 202. One or more pages or fractions thereof of the program instructions stored within memory 202 are read (i.e. "fetched") by the microprocessor 201 for storage into an instruction cache (not shown in Figure 3) . Some of the program instructions stored in the instruction cache may be read into an instruction pipeline (not shown) for execution by the microprocessor 201. One or more pages or fractions thereof of the data stored within memory 202 may be read (i.e. "fetched") by the microprocessor 201 for storage into a data cache.
  • both instructions and data may be stored into the same cache memory.
  • the multiprocessor system 101B may be a multiprocessor central processing unit.
  • the multiprocessor system 101B includes a plurality of processors 201A-201J.
  • Each of the plurality of processors 201A-201J includes one or more execution units 210A-201N.
  • An execution unit may also be referred to as a core.
  • Each of the plurality of processors 201A-201J may further include one or more levels of internal cache memory slices (CMS) 212A-212M to couple to the one or more execution units 210A- 210J.
  • CMS internal cache memory slices
  • the multiprocessor system 101B further includes one or more levels of external cache memory slices (CMS) 212A'- 2121/ coupled together through an interconnection network 250 and to the plurality of processors 201A-201J.
  • the multiprocessor system 101B may further include one or more main memories 202A-202K coupled to the interconnection network 250 and a disk storage device 203 coupled to the interconnection network 250.
  • the processors 202A-201J, the cache memory slices 212A'-212I/, and the disk storage device 203 may directly read and write information into the main memories 202A- 2002K. That is, the main memories 202A-2002K can be shared by the processors 202A-201J, the cache memory slices 212A'- 2121/, and the disk storage device 203. Additionally, messages may be communicated between the processors 202A-
  • the _ multiprocessor system 101C may include a primary interconnection network 300A, a plurality of processors
  • the multiprocessor system 101C may further include one or more main memories 302A, 302B, and/or 302C.
  • the main memory 302A may couple directly to the primary interconnection network 300A.
  • the main memory 302B may couple to the primary interconnection network 300A through the secondary interconnection network 300B.
  • the main memory 302C may couple to a lower level cache memory slice 312E and to the primary interconnection network 300A through the secondary interconnection network 300B.
  • the internal cache memory 312A, the one or more upper level cache memories 312B, the level of cache memory slices 312C, the level of cache memory slices 312D, and the level cache memory slices 312E may form an embodiment of a physically distributed multi-level cache memory system.
  • main memory 302A, 302B included with the cache memory slices an embodiment of a physically distributed multilevel memory system is provided.
  • the processors, the cache memory slices, and the main memory may be considered to be nodes of the interconnection network. Messages may flow across the interconnection network from one node to another or be broadcast from one node to all others.
  • the topology of the multiprocessor system 101C and the interconnection networks 300A and 300B may be a bus network topology, a tree network topology, a ring network topology, a grid or mesh network topology, a torus network topology, a hypercube network topology, a full connection topology or a combination thereof.
  • the interconnection networks 300A and 300B may be wire traces routed over an integrated circuit, busses routed on the same integrated circuit, and/or one or more switches between functional blocks of the same integrated circuit.
  • interconnection networks 300A and 300B may be wire traces routed between integrated circuits, busses between integrated circuits and/or one or more switches between integrated circuits.
  • a switch, bridge, or router may be used to interconnect the primary interconnection network 300A and the secondary interconnection network 300B so that message may be passed back and forth accordingly.
  • messages may experience different delays when being routed from node to node or from node to all nodes. These differing delays may cause an unordered sequence of message transfer. That is, the interconnection network is an unordered network when processing in-order storage requests.
  • Figure 3B a block diagram of a multiprocessor system 101C is illustrated.
  • Figure 3B illustrates how a majority of the system 101C of Figure 3A, including the primary interconnection network 300A, may be part of a single monolithic integrated circuit (IC) chip
  • FIG. 3C a block diagram of a multiprocessor system 101C ' is illustrated.
  • Figure 3C illustrates that the system 101C may be partitioned across integrated circuit boundaries with the primary interconnection network 300A being a part of a plurality of integrated circuit (IC) chips 360A-360B.
  • Elements of the system 101C may be integrated together onto a plurality of silicon chips.
  • elements of the multiprocessor system 101C ' may one or more printed circuit boards electrically coupled together such as through a common backplane or traces of a mother-board print circuit board (PCB) .
  • PCB mother-board print circuit board
  • the physically distributed cache memory system 400 includes address hash control logic 404 to generate hashed addresses and one or more cache memory slices 412A-412K to receive messages at a hashed address over the primary interconnection network 300A or the primary interconnection network 300A and the secondary interconnection network 300B.
  • Each of the one or more cache memory slices 412A-412K includes one or more blocks of memory cells 414A-414K.
  • the physically distributed cache memory system 400 is shared by requestors such as processors or cache memories.
  • the physically distributed cache memory system 400 may be partitioned in a number of ways such that one address block of memory cells is associated with one cache memory slice and the next address block of memory cells is associated with another cache memory slice.
  • the addresses 402 from a requestor are hashed by address hash logic 404 to select a cache memory slice and one or more blocks of memory cells therein.
  • one or more of the processors 301A-301J can request that an ordered store request be performed by the physically distributed cache memory system 400.
  • one or more cache memories 312A, 312B or cache memory slices at an upper level of the hierarchy of the distributed cache memory system 400 can request that an ordered store request be performed by other levels of the distributed cache memory system 400.
  • the cache memory slices making such requests are typically closer to the processors.
  • the cache memories making such requests may include the internal cache memories 312A of the processors or the upper level cache memories 312B.
  • Collectively, the processors, cache memories, and cache memory slices that request ordered stores may be referred to as requestors. Each requestor has control logic and other hardware elements to generate the ordered stored requests.
  • Nc represents the number of cache memory slices that make up the physically distributed cache
  • Np represents the number of requestors that share the distributed cache.
  • processor/cache requestor 701 at one level of the memory hierarchy is illustrated communicating with cache memory slices 702A and 702B at a different level of the memory hierarchy which are capable of in-order execution of an ordered store request.
  • Each processor/cache requestor 701 has a unique requestor identifier ("RID") 704 having a constant value of "j" and a single token register (“TR") 706 having a variable value of "t".
  • the unique requestor identifier may also be referred to as unique requestor identification.
  • the token register may also be referred to as a sequence token register and the token value "t" may also be referred to as a store sequence token or a store sequence number.
  • the value held by the token register may also be referred to as the requestor sequence token.
  • the token register can be incremented as ordered store requests are generated.
  • the token register can wrap around (i.e., roll-over) back to its initial value (typically zero) when it is incremented beyond its maximum value.
  • S is sufficiently large, as well as the number of bits "b", in proportion to the maximum Network Latency (i.e., maximum network delay) such that by the time the token register rolls-over, a processor would have processed everything.
  • the processor/requester with the TR register which is about to roll-over polls each cache memory slice to determine if each has processed all tagged memory requests and reached S-l. If all cache memory slices respond to the processor that they are finished, the processor can then allow its given TR register to roll-over.
  • the value "j" of the requestor identifier ("RID") 704 is unique. That is no two values of requestor identifiers are the same in the same multiprocessor system with a distributed cache memory system.
  • each requestor identifier (“RID") 704 With the value "j" of each requestor identifier ("RID") 704 being unique, the values "t" of the token registers in each requestor 701 can be made unique by appending "j" and “t” together. That is, we can "uniqify” the token register TR, by adding the requestor identifier to the token, before it is communicated over the interconnection network to the distributed cache memory system.
  • the cache sequence array (CSA) 712 is a table with "Np" entries, which are "b" bits wide.
  • the cache sequence array (CSA) 712 determines the identity of the next ordered store that can be processed by the given cache memory slice in the distributed cache system for each requestor identifier ("RID") 704. As there are Np requestors, there are Np entries in the cache sequence array (CSA) 712. Reference is now made to Figures 5A-5B.
  • Figure 5A illustrates a diagram of typical fields of a tagged ordered store request 500.
  • Figure 5B illustrates a diagram of typical fields of a CSA update 510.
  • TRU 504 represents the concatenation of the requestor id "j” and the value "t" of requestor j's token register TR.
  • TRU 504 can be denoted as "j.t” where j is the requestor identifier and "t" is the value of requestor j's token register TR.
  • the message identifier (MID) field 504 is a code to indicate either an ordered store request (OSR) 504A or a CSA update 504B. Other codes for the message identifier (MID) field 504 may be used to indicate other message types. If the message identifier field 504 indicates an ordered store request (OSR) code 504A of a tagged ordered store request 500, then and address field 505 and a data field 506 are included as part of the tagged ordered store request 500.
  • OSR ordered store request
  • the bit fields of the requestor identifier (RID) field 501 (the "j" value) and the token register value field 502 (the “t” value) are concatenated together and appended to the ordered store request code 504A which includes an address 505 and data 506 which is to be stored. In this manner, the tagged order store request 500 is formed. If the message identifier field 504 indicates a CSA update code 504B and not an ordered store request (OSR) code 504A, then the address field 505 and the data field 506 are not included in the message sent into the distributed cache memory system 400.
  • OSR ordered store request
  • the bit fields of the requestor identifier (RID) field 501 (the "j" value) and the token register value field 502 (the “t” value) are based upon the ordered store request that was processed and are appended to the CSA update code 504B.
  • the data bit fields of the tagged ordered store request 500 and the CSA update 510 may flow in packets over the interconnection network 300A, 300B from requestor to cache memory slices or from one cache memory slice to other cache memory slices.
  • the data bit fields of the tagged ordered store request 500 and the CSA update 510 may flow in parallel over a parallel interconnection bus of the interconnection network.
  • the data bit fields of the tagged ordered store request 500 and the CSA update 510 may flow serially over a serial interconnection of the interconnection network. In yet another embodiment, the data bit fields of the tagged ordered store request 500 and the CSA update 510 may flow by a combination of one or more of packets, parallel or serial over the interconnection network. In either case, the tagged ordered store requests 500 are generated and sent into the interconnection network by the requestor and the CSA updates 510 are generated and sent into the interconnection network by the cache memory slice that executed an ordered store request. Referring now to Figure 6A, a block diagram of a cache memory slice 602 is illustrated. The cache memory slice 602 illustrates a single instance of a cache memory slice.
  • the cache memory slice 602 includes a cache sequence array 604 and cache control logic 606 to support in-order execution of ordered store requests.
  • the cache control logic 606 can also provide the typical cache control functions associated with cache memories.
  • the cache memory slice 602 further includes a request buffer 608, cache tag bits 610, a cache data array 612, tag match logic 614, and a column select 616 coupled together as shown and illustrated in Figure 6A.
  • the request buffer 608 temporarily holds cache storage requests for processing in a queue.
  • the cache tag bits 610 are typically the upper address bits that help identify the contents of a cache line of memory cells along with the valid bits and other status bits.
  • the cache data array 612 is an array of rows and columns of memory cells for storing data.
  • the tag match logic 614 is to determine whether there is a hit or a miss to the given cache memory slice.
  • a hit indicates that the desired data is stored within the cache data array 612 of the given cache memory slice.
  • a miss indicates that the desired data is not stored within the cache data array 612 and that the request needs to be passed onto the next level of hierarchy in the distributed cache memory system.
  • the column select 616 is responsive to the indication of a hit and a miss as to whether or not a column of memory cells should be selected from the cache data array 612.
  • the cache sequence array 604 allows the cache memory slice 602 to execute ordered store requests in-order across a physically distributed cache memory system.
  • the cache sequence array 604 stores one or more store sequence tokens associated with one or more ordered store requests as cache sequence entries.
  • the cache sequence entry indicates the ordered store request that the cache memory slice 602 can currently execute for each requestor.
  • FIG. 6B a block diagram of a cache sequence array (CSA) 604 is illustrated.
  • the cache sequence array (CSA) 604 includes a cache sequence array (CSA) table 632.
  • the cache sequence array (CSA) table 632 stores the store sequence tokens t for each requestor j .
  • the requestor identifier j acts as an address into the cache sequence array (CSA) table 632 to send the data addressed thereby to the cache control logic 606.
  • Each cache sequence entry in the cache sequence array (CSA) table 632 indicates the current store sequence tag t that the given cache memory slice may execute in-order from a given requestor j .
  • the cache sequence array (CSA) table 632 within a cache memory slice maintains one ordered store request entry for each requestor. In this manner, each cache memory slice can maintain an order of the execution of ordered store requests for each requestor j .
  • FIG. 7 a block diagram illustrating an exemplary sequence of in-order execution of an ordered store request including generating a tagged ordered store request, executing the ordered store request, and issuing a cache sequence update message.
  • each processor/cache requestor each processor/cache requestor
  • Each processor/cache requestor 701 has a unique requestor identifier ("RID”) 704 having a value of "j” and a single token register (“TR") 706 having a value of "t” .
  • RID unique requestor identifier
  • TR single token register
  • Each processor/cache requestor 701 further includes a work queue 707 to store ordered store requests
  • each cache memory slice in the memory hierarchy of the distributed cache memory which is capable of in-order execution of an ordered store request has a cache sequence array (CSA) .
  • Figure 7 illustrates cache memory slice k 702A and cache memory slice m 702B having a cache sequence array (CSA) 712.
  • requestor j 701 generates a tagged ordered store request 500 using an address of one of the ordered store request found within the queue 707, appending the requestor ID j and the current token register value t.
  • the controller 708 of the requestor j 701 issues the tagged ordered store request 500.
  • the ordered store request is tagged with the value "j.t".
  • the tagged ordered store request for ST.REL A is sent to the cache slice k 702A as indicated by arrow 721.
  • the token register 706 is incremented to a value of (t+1) .
  • requestor j 701 has two ordered store requests denoted "ST.REL A" and "ST.REL B" that it is ready to tag and issue as tagged ordered store requests into the physically distributed cache memory system to different addresses "A" and "B” .
  • the ordered store request "ST.REL A” is older than the ordered store request “ST.REL B” and should be processed first to achieve in-order execution. However with the different addresses "A” and “B", the two ordered store requests “ST.REL A” and “ST.REL B” will be processed by different partitions, cache memory slice k 702A and cache memory slice m 702B of the physically distributed cache memory system.
  • Requestor j 701 first issues a tagged ordered store request to cache memory slice k 702A with the ordered store request "ST.REL A” being tagged with "j.t” as indicated by arrow 721. When cache memory slice k 702A processes this tagged ordered store request it performs the store and then an update.
  • the cache memory slice k 702A increments its own CSA[j] entry corresponding to the requestor j in order to perform the CSA update therein.
  • cache memory slice k 702A determines whether or not it can execute the tagged ordered store request in- order. To do so, the cache slice k 702A looks to its cache sequence array (CSA) 712 and the entry for requestor j 701.
  • a cache memory slice k 702A determines whether or not it can execute a tagged ordered store request in-order is described further below with reference to Figures 9A and 9B. Assuming the cache memory slice k 702A determines it can execute the tagged ordered store request in-order, it does so. After the cache memory slice k 702A has processed or executed the tagged ordered store request for ST.REL A, the value of t is incremented to (t+1) and appended with the requestor ID j to generate and issues a CSA update 510 with the value j.t+1 to all other cache memory slices. Arrows 722 indicate the CSA update being sent to all other cache memory slices including the cache memory slice m 702B.
  • Tagged ordered store requests can become out of order at a given cache memory slice for a variety of reasons .
  • a tagged ordered store requests can become out of order because a CSA update was not received in a timely manner at a given cache memory slice.
  • a tagged ordered store requests can become out of order because another tagged ordered store request was issued before the prior ordered store request was completely processed and a CSA update issued.
  • a tagged ordered store requests can become out of order because a latter tagged ordered store request is received before all CSA updates have been received from other cache memory slices for a given requestor j .
  • Requestor j issues the tagged ordered store request including the ordered store request "ST.REL B" tagged with "j . (t+1)" to cache memory slice m 702B as indicated by arrow 723.
  • the token register 706 is incremented to a value of (t+2) .
  • cache memory slice m 702B determines whether or not it can execute the tagged ordered store request in- order.
  • the cache slice m 702B looks to its cache sequence array (CSA) 712 and the entry for requestor j 701. The cache memory slice m 702B checks to see if its entry for CSA[j] for requestor j in the CSA 712 is equal to (t+1) . Assuming in this case that cache memory slice k 702A has already processed the ordered store request "ST.REL A" and cache memory slice 702B m received the corresponding CSA update, then cache memory slice 702B m (300) can process the "ST.REL B" as its entry for CSA[j] for requestor j is equal to (t+1) .
  • CSA cache sequence array
  • cache memory slice m 702B m holds on to the tagged ordered store request that includes "ST.REL B" in a network or local buffer until that CSA update with the token "j.x" arrives.
  • the CSA update is out of order and the cache memory slice has to appropriately handle the ordered store requests it has for processing. Assuming the cache memory slice m 702B determines it can execute the tagged ordered store request in-order, it does so.
  • all entries of the cache sequence array 712 in each cache memory slice are set to an initial starting value for "t", such as zero. This matches the starting token value "t" that each requestor j 701 has for its token register TR 706.
  • the control logic then goes to 904.
  • the control logic of each cache memory slice determines if it has received a tagged ordered store request 501 from a requestor. If not, the control logic loops back around to 904, essentially waiting for the receipt of a tagged ordered store request. If a tagged ordered store request has been received for processing, then the control logic goes to 906.
  • the TRU tag j.t is extracted from the tagged ordered store request to determine if the ordered store request can be processed by the given cache memory slice.
  • the cache memory slice For the value of the received requestor identifier "j", the cache memory slice reads the cache sequence entry for the processor that made the ordered store request value, the value CSA [j] where j takes on values from 0 through (S-l) , assuming a start value of zero. Recall that "S” represents the number of outstanding ordered stores that each processor supports.
  • the CSA[j] entry, the expected sequence number, for the requestor j is compared with the "t" part of the tag in the ordered store request. If CSA [j] matches the "t" part of the tag in the ordered store request, then the request can be processed. If CSA [j] does not equal the "t" part of the tag, the tag does not match, and the control logic goes to 913.
  • CSA [j] equals the "t" part of the tag, the tag does matches, and the control logic goes to 912.
  • the corresponding tagged ordered store request (including the tag) is stored in the cache's normal work queue for later processing.
  • the cache processes the ordered store request and then goes to 914.
  • the CSA [j] entry is incremented for the given requestor and then the control logic goes to 916.
  • a CSA update is issued to all other cache memory slices. The given cache memory slice that processed the tagged ordered store requests issues the token j .
  • cache memory slice 702B has tagged ordered store requests that require waiting for the CSA updates including the tag updates j . (t+1) and j.(t+2) but that it receives only one
  • a cache memory slice receives a tag update j.t+n without receiving the earlier updates, it is safe for a cache to process all ordered stores up to and including j.t+n upon receipt of the tag update j.t+n.
  • the addition operation of t+n is performed modulo 2 b , where b is the number of bits in the counter part of the tag. Due to the counter having a limited number of b bits, the addition operation may exceed the maximum counter value and rollover to a lower value. Care should be taken to avoid negative effects of a rollover condition.
  • cache memory slice k 702A receives a CSA update with a tag of j .2 b -2 but does not receive any other CSA update including those with a tag value from j.O through j.2 b ⁇ 3. Further assume that cache memory slice k 702A processes all of its ordered store requests and the sends out a CSA update with a tag update of j.2 b -l. The issuance of the CSA update with a tag update of j.2 b -l may trigger another cache memory slice, such as cache memory slice m 702B, to process a tagged ordered store request having j.2 b -l without waiting for any other CSA update.
  • control logic goes to 972.
  • the control logic updates the current entry into the cache sequence array table by setting CSA[j] equal to t.
  • the control logic causes the cache memory slice to process any pending ordered store requests with a tag of "j.t".
  • the control logic returns to 952 to wait and receive the next update.

Abstract

A physically distributed cache memory system includes an interconnection network, first level cache memory slices, and second level cache memory slices. The first level cache memory slices are coupled to the interconnection network to generate tagged ordered store requests. Each tagged ordered store requests has a tag including requestor identification and a store sequence token. The second level cache memory slices are coupled to the interconnection network to execute ordered store requests in-order across the physically distributed cache memory system in response to each tag of the tagged ordered store requests.

Description

METHOD AND APPARATUS FOR EFFICIENT ORDERED STORES OVER AN INTERCONNECTION NETWORK BACKGROUND OF THE INVENTION
1. Field of the Invention The invention relates generally to cache memory management, and specifically to providing ordered stores to a shared distributed cache memory system over an unordered network.
2. Background Information It is well known to use fast cache memory between a processor and slow main memory in order to improve the average access time into slow main memory. Using cache memory can improve the execution performance of a processor. The cache memory was initially separate from the processor but later became an integral part of the processor as technology improved. With the cache memory being an integral part of the processor, access times to the cache memory could be further reduced. Multiple levels of cache memory were introduced between the processor and the main memory. Typically, the speed of cache memory increased the closer the cache memory was to the processor but its sized decreased. Put differently, the size of cache memory typically increased and access time increased the further the cache memory was from the processor. However, multiple levels of cache memory complicated the cache management, particularly when instructions branched or jumped to another instruction or address into memory. A memory controller or cache controller either internal or external to the processor was used to provide cache management of the cache memory between the main memory and the processor. Various cache memory management algorithms were introduced to maximize the use of the cache memory and reduce the number of misses into cache that required the processor to read data/instructions from the slow main memory or write data/instructions out to the slow main memory. Cache coherence protocols were introduced to maintain coherency of data stored in cache memories by tracking the state of data blocks that may be shared. Other cache memory management algorithms have been introduced. BRIEF DESCRIPTION OF THE DRAWINGS Figure 1 illustrates a block diagram of a typical computer system in which the invention may be utilized. Figure 2A illustrates a block diagram of a central processing unit in which the invention may be utilized. Figure 2B illustrates a block diagram of a multiprocessor central processing unit in which the invention may be utilized. Figure 3A illustrates a block diagram of an embodiment of a multiprocessor system in which the invention may be utilized. Figure 3B illustrates a block diagram of another embodiment of a multiprocessor system in which the invention may be utilized. Figure 3C illustrates a block diagram of another embodiment of a multiprocessor system in which the invention may be utilized. Figure 4 illustrates a block diagram of a logically shared physically distributed cache memory system. Figure 5A illustrates a diagram of typical fields of a tagged ordered store request. Figure 5B illustrates a diagram of typical fields of a CSA update . Figure 6A illustrates a block diagram of a cache memory slice . Figure 6B illustrates a block diagram of a cache sequence array (CSA) . Figure 7 illustrates a block diagram with an exemplary sequence of in-order execution of an ordered store request. Figure 8 illustrates a flow chart of control functions performed by the control logic of a requestor to support tagged ordered store requests . Figure 9A illustrates a flow chart of control functions performed by the control logic of each cache memory slice to whether or not ordered store requests can be processed. Figure 9B illustrates a flow chart of control functions performed by control logic of each cache memory slice for handling tag updates .
DETAILED DESCRIPTION In the following detailed description of the invention, numerous specific details are set forth in order to provide a thorough understanding of the invention. However, it will be obvious to one skilled in the art that the invention may be practiced without these specific details. In other instances well known methods, procedures, components, and circuits have not been described in detail so as not to unnecessarily obscure aspects of the invention. One embodiment of the invention addresses a system with a plurality of processors sharing a logically shared, but physically distributed cache. The plurality of processors communicate to the physically distributed caches over an interconnection network. The interconnection network is an unordered network that does not preserve the ordering of requests from one processor or cache (the "requestor") to the same or different caches. Additionally, the messages that one cache may send to another cache over the interconnection network are also not kept in-order by the network. However, the messages may require execution in- order as they are sent out by a requestor. These messages may be referred to as ordered requests. Messages that do not require execution in-order may be referred to as non- ordered requests. A store request issued by a requestor may be an ordered store request or a non-ordered store request. A subset of ordered requests is an ordered store request. An ordered store request, described further below, is a store request of a requestor that requires execution in-order with respect to other ordered requests issued by the requestor. Earlier ordered store requests should be processed before a current ordered store request is processed. That is, the current ordered store request should be processed before later ordered store requests are processed. A non-ordered store request is a store request of a requestor that can be executed out of order with respect to other ordered requests of the requestor. The logically shared cache memory may be partitioned so that certain address blocks of cache memory are managed by different chunks of the physically distributed cache memory. In another embodiment, cache management of the logically shared cache addresses the ordering requirements that certain memory consistency models place on the processing of certain stores from a processor into main memory. Certain stores that require special in-order processing are referred to herein as "ordered stores" or "ordered store requests". In other cases, stores may not require the special in-order processing and are referred to herein as "unordered stores", "unordered store requests", or "non-ordered" store requests". These non-ordered store requests can be executed or processed out of order. The processing of ordered store requests requires that earlier ordered store requests, issued before a current ordered store request, be completely processed before execution occurs of the current ordered store request. A simple low-performance method of handling ordered store requests from one processor is to inhibit the processor from issuing new ordered store requests until all preceding ordered store requests from that processor have been processed by the cache memory system. However, in a multiprocessor system handling ordered store requests from a plurality of processors is not so simple. The method of handling ordered store requests from a plurality of processors in a multiprocessor system is more complicated. In embodiment of the invention, the simple low performance method of handling ordered store requests is improved upon to support a multiprocessor system adds a plurality of processors to leverage parallelism in a network of processor with a shared memory system by using a small amount of additional request tracking hardware. In another embodiment of the invention, the parallelism of the networked processors can handle multiple ordered store requests from one processor in the network at the same time or at overlapping time intervals. The one processor need not wait for earlier ordered stores to be completed fully before sending new ordered store requests over the unordered network to the cache system. Referring now to Figure 1, a block diagram of a typical computer system 100 in which the invention may be utilized is illustrated. The computer system 100 includes a central processing unit (CPU) 101; input/output devices (I/O) 102 such as keyboard, modem, printer, external storage devices and the like; monitoring devices (M) 103, such as a CRT or graphics display; and memory 104 for storing information. The monitoring devices (M) 103 provide computer information in a human intelligible format such as visual or audio formats. The system 100 may be a number of different systems including a computer system or a network processing system such as a media access controller (MAC) . Referring now to Figure 2A, a block diagram of a central processing unit 101A in which an embodiment of the invention may be utilized is illustrated. The central processing unit 101A includes a microprocessor 201, a main memory 202 for storing program instructions, and a disk storage device 203 coupled together as shown and illustrated. The microprocessor 201 includes one or more execution units 210, at least one cache memory 212, and a cache controller 214. The microprocessor 201 may include a separate memory controller 216 to control accesses into the main memory 202. In this case, the memory controller interfaces the main memory 202 to the other elements of the microprocessor 201. Ideally, the execution unit 210 reads/writes data into the cache memory 212 without having to directly access the slower main memory 202. That is, it is desirable for the execution unit to avoid misses to the cache memory 212. There are physical limits to the size of the cache memory 212. However, in a multiprocessor system, the system can be designed so that cache memories 212 internal within each processor may be logically shared. In another embodiment, in addition to the one or more internal cache memories within a processor, one or more external cache memories may be provided and logically shared by the plurality of processors over an interconnection network in a multiprocessor system. Disk storage device 203 may be a floppy disk, zip disk, DVD disk, hard disk, rewritable optical disk, flash memory or other non-volatile storage device. The microprocessor 201 and the disk storage device 203 can both read and write information into memory 202 over a memory bus. Thus, both the microprocessor 201 and the disk storage device 203 can alter memory locations within memory 202 during program execution. In order for the disk storage device 203 to do this directly, it includes a disk controller with direct memory access, which can perform stores into memory and thereby modify code. Because the controller can directly access the memory it is an example of a Direct Memory Access (DMA) agent. Other devices having direct access to store information into memory are also DMA agents. Memory 202 is typically a dynamic random access memory (DRAM) but may be other types of rewritable storage. Upon initial execution of a program stored in the disk storage device 203 or stored in some other source such as I/O devices 102, the microprocessor 201 reads program instructions and data stored in the disk storage device 203 or other source and writes them into memory 202. One or more pages or fractions thereof of the program instructions stored within memory 202 are read (i.e. "fetched") by the microprocessor 201 for storage into an instruction cache (not shown in Figure 3) . Some of the program instructions stored in the instruction cache may be read into an instruction pipeline (not shown) for execution by the microprocessor 201. One or more pages or fractions thereof of the data stored within memory 202 may be read (i.e. "fetched") by the microprocessor 201 for storage into a data cache. In another embodiment, both instructions and data may be stored into the same cache memory. Referring now to Figure 2B, a block diagram of a multiprocessor system 101B in which an embodiment of the invention may be utilized is illustrated. The multiprocessor system 101B may be a multiprocessor central processing unit. The multiprocessor system 101B includes a plurality of processors 201A-201J. Each of the plurality of processors 201A-201J includes one or more execution units 210A-201N. An execution unit may also be referred to as a core. Each of the plurality of processors 201A-201J may further include one or more levels of internal cache memory slices (CMS) 212A-212M to couple to the one or more execution units 210A- 210J. Each of the plurality of processors 201A-201J may couple to I/O devices and or monitoring devices. The multiprocessor system 101B further includes one or more levels of external cache memory slices (CMS) 212A'- 2121/ coupled together through an interconnection network 250 and to the plurality of processors 201A-201J. The multiprocessor system 101B may further include one or more main memories 202A-202K coupled to the interconnection network 250 and a disk storage device 203 coupled to the interconnection network 250. The processors 202A-201J, the cache memory slices 212A'-212I/, and the disk storage device 203 may directly read and write information into the main memories 202A- 2002K. That is, the main memories 202A-2002K can be shared by the processors 202A-201J, the cache memory slices 212A'- 2121/, and the disk storage device 203. Additionally, messages may be communicated between the processors 202A-
201J, the main memories 202A-2002K, the cache memory slices 212A' -2121/ , and the disk storage device 203 through the interconnection network 250. By using messaging over the interconnection network 250, in-order execution or processing of ordered store requests in the multiprocessor system 101B may be provided. Referring now to Figure 3A, a block diagram of a multiprocessor system 101C is illustrated. The _ multiprocessor system 101C may include a primary interconnection network 300A, a plurality of processors
301A-301J each having an internal cache memory 312A, one or more upper level cache memories 312B coupled between the plurality of processors 301A-301J and the interconnection network 300A, a level of cache memory slices 312C coupled to the interconnection network 300A, another level of cache memory slices 312D coupled to the interconnection network 300A, and yet another level of cache memory slices 312E coupled to the primary interconnection network 300A through a secondary interconnection network 300B. The multiprocessor system 101C may further include one or more main memories 302A, 302B, and/or 302C. The main memory 302A may couple directly to the primary interconnection network 300A. The main memory 302B may couple to the primary interconnection network 300A through the secondary interconnection network 300B. The main memory 302C may couple to a lower level cache memory slice 312E and to the primary interconnection network 300A through the secondary interconnection network 300B. The internal cache memory 312A, the one or more upper level cache memories 312B, the level of cache memory slices 312C, the level of cache memory slices 312D, and the level cache memory slices 312E may form an embodiment of a physically distributed multi-level cache memory system. With main memory 302A, 302B included with the cache memory slices, an embodiment of a physically distributed multilevel memory system is provided. The processors, the cache memory slices, and the main memory may be considered to be nodes of the interconnection network. Messages may flow across the interconnection network from one node to another or be broadcast from one node to all others. The topology of the multiprocessor system 101C and the interconnection networks 300A and 300B may be a bus network topology, a tree network topology, a ring network topology, a grid or mesh network topology, a torus network topology, a hypercube network topology, a full connection topology or a combination thereof. The interconnection networks 300A and 300B may be wire traces routed over an integrated circuit, busses routed on the same integrated circuit, and/or one or more switches between functional blocks of the same integrated circuit. Alternatively, interconnection networks 300A and 300B may be wire traces routed between integrated circuits, busses between integrated circuits and/or one or more switches between integrated circuits. A switch, bridge, or router (not shown)- may be used to interconnect the primary interconnection network 300A and the secondary interconnection network 300B so that message may be passed back and forth accordingly. As messages flow across the interconnection network, they may experience different delays when being routed from node to node or from node to all nodes. These differing delays may cause an unordered sequence of message transfer. That is, the interconnection network is an unordered network when processing in-order storage requests. Referring now to Figure 3B, a block diagram of a multiprocessor system 101C is illustrated. Figure 3B illustrates how a majority of the system 101C of Figure 3A, including the primary interconnection network 300A, may be part of a single monolithic integrated circuit (IC) chip
350. That is but for the main memory 302C, the elements of the system 101C may be integrated together onto a single silicon chip 350 as illustrated in the system 101C . Referring now to Figure 3C, a block diagram of a multiprocessor system 101C ' is illustrated. Figure 3C illustrates that the system 101C may be partitioned across integrated circuit boundaries with the primary interconnection network 300A being a part of a plurality of integrated circuit (IC) chips 360A-360B. Elements of the system 101C may be integrated together onto a plurality of silicon chips. Alternatively, elements of the multiprocessor system 101C ' may one or more printed circuit boards electrically coupled together such as through a common backplane or traces of a mother-board print circuit board (PCB) . Referring now to Figure 4, a logical view of a block diagram of a physically distributed cache memory system 400 is illustrated. The physically distributed cache memory system 400 includes address hash control logic 404 to generate hashed addresses and one or more cache memory slices 412A-412K to receive messages at a hashed address over the primary interconnection network 300A or the primary interconnection network 300A and the secondary interconnection network 300B. Each of the one or more cache memory slices 412A-412K includes one or more blocks of memory cells 414A-414K. The physically distributed cache memory system 400 is shared by requestors such as processors or cache memories. The physically distributed cache memory system 400 may be partitioned in a number of ways such that one address block of memory cells is associated with one cache memory slice and the next address block of memory cells is associated with another cache memory slice. The addresses 402 from a requestor are hashed by address hash logic 404 to select a cache memory slice and one or more blocks of memory cells therein. Referring now to Figures 3A and 4, one or more of the processors 301A-301J can request that an ordered store request be performed by the physically distributed cache memory system 400. Alternatively, one or more cache memories 312A, 312B or cache memory slices at an upper level of the hierarchy of the distributed cache memory system 400 can request that an ordered store request be performed by other levels of the distributed cache memory system 400. The cache memory slices making such requests are typically closer to the processors. The cache memories making such requests may include the internal cache memories 312A of the processors or the upper level cache memories 312B. Collectively, the processors, cache memories, and cache memory slices that request ordered stores may be referred to as requestors. Each requestor has control logic and other hardware elements to generate the ordered stored requests. In the discussions that follow below, "Nc" represents the number of cache memory slices that make up the physically distributed cache and "Np" represents the number of requestors that share the distributed cache. Referring momentarily to Figure 7, a processor/cache requestor 701 at one level of the memory hierarchy is illustrated communicating with cache memory slices 702A and 702B at a different level of the memory hierarchy which are capable of in-order execution of an ordered store request. Each processor/cache requestor 701 has a unique requestor identifier ("RID") 704 having a constant value of "j" and a single token register ("TR") 706 having a variable value of "t". The unique requestor identifier may also be referred to as unique requestor identification. The token register may also be referred to as a sequence token register and the token value "t" may also be referred to as a store sequence token or a store sequence number. The token register ("TR") 706 is "b" bits wide and can have 2b bit values depending upon the number of outstanding ordered store requests to be supported by the processor/requestor. Let "S" represent the number of outstanding ordered stores that each processor supports, then the number of bits in the token register can be determined from the equation of "b" = ceiling [log2 (S) ] . The value held by the token register may also be referred to as the requestor sequence token. The token register can be incremented as ordered store requests are generated. The token register can wrap around (i.e., roll-over) back to its initial value (typically zero) when it is incremented beyond its maximum value. However in one embodiment, S is sufficiently large, as well as the number of bits "b", in proportion to the maximum Network Latency (i.e., maximum network delay) such that by the time the token register rolls-over, a processor would have processed everything. In another embodiment, the processor/requester with the TR register which is about to roll-over polls each cache memory slice to determine if each has processed all tagged memory requests and reached S-l. If all cache memory slices respond to the processor that they are finished, the processor can then allow its given TR register to roll-over. The value "j" of the requestor identifier ("RID") 704 is unique. That is no two values of requestor identifiers are the same in the same multiprocessor system with a distributed cache memory system. With the value "j" of each requestor identifier ("RID") 704 being unique, the values "t" of the token registers in each requestor 701 can be made unique by appending "j" and "t" together. That is, we can "uniqify" the token register TR, by adding the requestor identifier to the token, before it is communicated over the interconnection network to the distributed cache memory system. Each cache memory slice in the memory hierarchy of the distributed cache memory which are capable of in-order execution of an ordered store request, such as cache memory slices 702A and 702B, has a cache sequence array (CSA) 712. The cache sequence array (CSA) 712 is a table with "Np" entries, which are "b" bits wide. The cache sequence array (CSA) 712 determines the identity of the next ordered store that can be processed by the given cache memory slice in the distributed cache system for each requestor identifier ("RID") 704. As there are Np requestors, there are Np entries in the cache sequence array (CSA) 712. Reference is now made to Figures 5A-5B. Figure 5A illustrates a diagram of typical fields of a tagged ordered store request 500. Figure 5B illustrates a diagram of typical fields of a CSA update 510. To support ordered store requests the bit fields of requestor identifier (RID) field 501 (the "j" value), a token register value field 502 (the "t" value) , and the message identifier (MID) field 504 are utilized in both the tagged ordered store request 500 and the CSA update 510. The bit fields of requestor identifier (RID) field 501 (the "j" value), a token register value field 502 (the "t" value) may collectively be referred to as TRU 503. That is, TRU 504 represents the concatenation of the requestor id "j" and the value "t" of requestor j's token register TR. The value of TRU 504 can be denoted as "j.t" where j is the requestor identifier and "t" is the value of requestor j's token register TR. The message identifier (MID) field 504 is a code to indicate either an ordered store request (OSR) 504A or a CSA update 504B. Other codes for the message identifier (MID) field 504 may be used to indicate other message types. If the message identifier field 504 indicates an ordered store request (OSR) code 504A of a tagged ordered store request 500, then and address field 505 and a data field 506 are included as part of the tagged ordered store request 500. In other words, the bit fields of the requestor identifier (RID) field 501 (the "j" value) and the token register value field 502 (the "t" value) are concatenated together and appended to the ordered store request code 504A which includes an address 505 and data 506 which is to be stored. In this manner, the tagged order store request 500 is formed. If the message identifier field 504 indicates a CSA update code 504B and not an ordered store request (OSR) code 504A, then the address field 505 and the data field 506 are not included in the message sent into the distributed cache memory system 400. In this case, the bit fields of the requestor identifier (RID) field 501 (the "j" value) and the token register value field 502 (the "t" value) are based upon the ordered store request that was processed and are appended to the CSA update code 504B. In one embodiment, the data bit fields of the tagged ordered store request 500 and the CSA update 510 may flow in packets over the interconnection network 300A, 300B from requestor to cache memory slices or from one cache memory slice to other cache memory slices. In another embodiment, the data bit fields of the tagged ordered store request 500 and the CSA update 510 may flow in parallel over a parallel interconnection bus of the interconnection network. In another embodiment, the data bit fields of the tagged ordered store request 500 and the CSA update 510 may flow serially over a serial interconnection of the interconnection network. In yet another embodiment, the data bit fields of the tagged ordered store request 500 and the CSA update 510 may flow by a combination of one or more of packets, parallel or serial over the interconnection network. In either case, the tagged ordered store requests 500 are generated and sent into the interconnection network by the requestor and the CSA updates 510 are generated and sent into the interconnection network by the cache memory slice that executed an ordered store request. Referring now to Figure 6A, a block diagram of a cache memory slice 602 is illustrated. The cache memory slice 602 illustrates a single instance of a cache memory slice. The cache memory slice 602 includes a cache sequence array 604 and cache control logic 606 to support in-order execution of ordered store requests. The cache control logic 606 can also provide the typical cache control functions associated with cache memories. The cache memory slice 602 further includes a request buffer 608, cache tag bits 610, a cache data array 612, tag match logic 614, and a column select 616 coupled together as shown and illustrated in Figure 6A. The request buffer 608 temporarily holds cache storage requests for processing in a queue. The cache tag bits 610 are typically the upper address bits that help identify the contents of a cache line of memory cells along with the valid bits and other status bits. The cache data array 612 is an array of rows and columns of memory cells for storing data. The tag match logic 614 is to determine whether there is a hit or a miss to the given cache memory slice. A hit indicates that the desired data is stored within the cache data array 612 of the given cache memory slice. A miss indicates that the desired data is not stored within the cache data array 612 and that the request needs to be passed onto the next level of hierarchy in the distributed cache memory system. The column select 616 is responsive to the indication of a hit and a miss as to whether or not a column of memory cells should be selected from the cache data array 612. The cache sequence array 604 allows the cache memory slice 602 to execute ordered store requests in-order across a physically distributed cache memory system. The cache sequence array 604 stores one or more store sequence tokens associated with one or more ordered store requests as cache sequence entries. The cache sequence entry indicates the ordered store request that the cache memory slice 602 can currently execute for each requestor. Referring now to Figure 6B, a block diagram of a cache sequence array (CSA) 604 is illustrated. The cache sequence array (CSA) 604 includes a cache sequence array (CSA) table 632. The cache sequence array (CSA) table 632 stores the store sequence tokens t for each requestor j . The requestor identifier j acts as an address into the cache sequence array (CSA) table 632 to send the data addressed thereby to the cache control logic 606. Each cache sequence entry in the cache sequence array (CSA) table 632 indicates the current store sequence tag t that the given cache memory slice may execute in-order from a given requestor j . If an ordered store request gets hashed to the given cache memory slice 602 that matches the cache sequence entry for that requestor j , then the cache memory slice will execute the ordered store request. If a different ordered store request gets hashed to the given cache memory slice 602 that does not match the cache sequence entry for that requestor j, then the cache memory slice will not currently execute the ordered store request but instead keep it stored in the request buffer 608 or other queue for later processing. In this manner, the ordered store request can be executed in-order. The cache sequence array (CSA) table 632 within a cache memory slice maintains one ordered store request entry for each requestor. In this manner, each cache memory slice can maintain an order of the execution of ordered store requests for each requestor j . Referring now to Figure 7, a block diagram illustrating an exemplary sequence of in-order execution of an ordered store request including generating a tagged ordered store request, executing the ordered store request, and issuing a cache sequence update message. As discussed previously, each processor/cache requestor
701 has a unique requestor identifier ("RID") 704 having a value of "j" and a single token register ("TR") 706 having a value of "t" . Each processor/cache requestor 701 further includes a work queue 707 to store ordered store requests
(e.g., ST.REL A, ST.REL B) and control logic 708 to control the generation of the tagged ordered store request 500 and hash or translate the address to select the appropriate cache memory slice and memory cells therein. As discussed previously, each cache memory slice in the memory hierarchy of the distributed cache memory which is capable of in-order execution of an ordered store request has a cache sequence array (CSA) . Figure 7 illustrates cache memory slice k 702A and cache memory slice m 702B having a cache sequence array (CSA) 712. In operation, requestor j 701 generates a tagged ordered store request 500 using an address of one of the ordered store request found within the queue 707, appending the requestor ID j and the current token register value t.
The controller 708 of the requestor j 701 issues the tagged ordered store request 500. The ordered store request is tagged with the value "j.t". At time X, the tagged ordered store request for ST.REL A is sent to the cache slice k 702A as indicated by arrow 721. Within requestor j 701, after the tagged ordered store request for ST.REL A is sent to the cache slice k 702A, the token register 706 is incremented to a value of (t+1) . Assume for example that requestor j 701 has two ordered store requests denoted "ST.REL A" and "ST.REL B" that it is ready to tag and issue as tagged ordered store requests into the physically distributed cache memory system to different addresses "A" and "B" . The ordered store request "ST.REL A" is older than the ordered store request "ST.REL B" and should be processed first to achieve in-order execution. However with the different addresses "A" and "B", the two ordered store requests "ST.REL A" and "ST.REL B" will be processed by different partitions, cache memory slice k 702A and cache memory slice m 702B of the physically distributed cache memory system. Requestor j 701 first issues a tagged ordered store request to cache memory slice k 702A with the ordered store request "ST.REL A" being tagged with "j.t" as indicated by arrow 721. When cache memory slice k 702A processes this tagged ordered store request it performs the store and then an update. That is, cache memory slice k 702A broadcasts out cache sequence array (CSA) update having "j.x" to all other cache memory slices as indicated by arrow 722. The value of x = t+1. The cache memory slice k 702A increments its own CSA[j] entry corresponding to the requestor j in order to perform the CSA update therein. Upon receiving the tagged ordered store request for ST.REL A, cache memory slice k 702A determines whether or not it can execute the tagged ordered store request in- order. To do so, the cache slice k 702A looks to its cache sequence array (CSA) 712 and the entry for requestor j 701. How a cache memory slice k 702A determines whether or not it can execute a tagged ordered store request in-order is described further below with reference to Figures 9A and 9B. Assuming the cache memory slice k 702A determines it can execute the tagged ordered store request in-order, it does so. After the cache memory slice k 702A has processed or executed the tagged ordered store request for ST.REL A, the value of t is incremented to (t+1) and appended with the requestor ID j to generate and issues a CSA update 510 with the value j.t+1 to all other cache memory slices. Arrows 722 indicate the CSA update being sent to all other cache memory slices including the cache memory slice m 702B. This indicates to caches that have received the CSA update, that they can then process a tagged ordered store request having a "j .t+1" value. Tagged ordered store requests can become out of order at a given cache memory slice for a variety of reasons . For example, a tagged ordered store requests can become out of order because a CSA update was not received in a timely manner at a given cache memory slice. As another example, a tagged ordered store requests can become out of order because another tagged ordered store request was issued before the prior ordered store request was completely processed and a CSA update issued. As yet another example, a tagged ordered store requests can become out of order because a latter tagged ordered store request is received before all CSA updates have been received from other cache memory slices for a given requestor j . Continuing with the example, at time X+e where e is positive, Requestor j issues the tagged ordered store request including the ordered store request "ST.REL B" tagged with "j . (t+1)" to cache memory slice m 702B as indicated by arrow 723. Within requestor j 701, after the tagged ordered store request for ST.REL B is sent to the cache slice m 702B, the token register 706 is incremented to a value of (t+2) . Upon receiving the tagged ordered store request for ST.REL B, cache memory slice m 702B determines whether or not it can execute the tagged ordered store request in- order. To do so, the cache slice m 702B looks to its cache sequence array (CSA) 712 and the entry for requestor j 701. The cache memory slice m 702B checks to see if its entry for CSA[j] for requestor j in the CSA 712 is equal to (t+1) . Assuming in this case that cache memory slice k 702A has already processed the ordered store request "ST.REL A" and cache memory slice 702B m received the corresponding CSA update, then cache memory slice 702B m (300) can process the "ST.REL B" as its entry for CSA[j] for requestor j is equal to (t+1) . However, now assume that requestor j issues the ordered store request "ST.REL B" before the CSA update from the cache memory slice k 702A reaches cache memory slice m 702B, then cache memory slice m 702B m holds on to the tagged ordered store request that includes "ST.REL B" in a network or local buffer until that CSA update with the token "j.x" arrives. In this case, the CSA update is out of order and the cache memory slice has to appropriately handle the ordered store requests it has for processing. Assuming the cache memory slice m 702B determines it can execute the tagged ordered store request in-order, it does so. After the cache memory slice m 702B has processed or executed the tagged ordered store request for ST.REL B, the value of (t+1) is incremented to (t+2) and appended with the requestor ID j to generate and issue a CSA update 510 with the value j.t+2 to all other cache memory slices. Arrows 724 indicate the CSA update being sent to all other cache memory slices including the cache memory slice m 702A. This indicates to caches that have received the CSA update, that they can then process a tagged ordered store request having a "j.t+2" value. Assuming the cache memory slice m 702B had not received a CSA update with a value of "j.t+1", it would have been unable to execute a tagged ordered store request with a value of "j.t+1" in order. The cache memory slice m 702B would have had to wait until receiving a CSA update with a value of "j.t+1" before it could execute a tagged ordered store request with a value of "j.t+1". Referring now to Figure 8, a flow chart of control functions performed by the control logic 708 of requestor j 701 to support tagged ordered store requests. In this discussion, as was discussed previously; the number "Np" represents the number of processors that share the distributed cache. At 800, the system is initialized or reset. At 802, all processor and cache requestors j 701 set their token registers TR 706 and the token value "t" to a starting value, such as zero. As will be discussed further below, all entries of the cache sequence array in each cache memory slice, such as cache sequence array 712 in cache memory slices 702A, 702B, are similarly set to the same initial starting value for "t", such as zero. At 804, the control logic determines if requestor j 701 is prepared to send an ordered store request into the physically distributed cache memory system. If not the control logic loops back around to 804, essentially waiting for the issuance of an ordered store request. If an ordered store request is to be sent to the physically distributed cache memory system for processing, then the control logic goes to 806. At 806, the ordered store request is tagged with the current value of the TRU tag 503 including the RID "j" 501 and the token register value "t" 502 as illustrated in Figure 5A. The value of the TRU tag 503 is denoted as "j.t". The control logic then goes to 808. At 808, the control logic 708 of the requestor j 701 increments the token register TR 706 so that the current value of t is assigned the value of t+1 for later use with the next ordered store request. The control logic then goes to 810. At 810, the tagged ordered store request 500 is issued to the physically distributed cache memory system. The address of the tagged ordered store request is hashed and the tagged ordered store request is sent to an appropriate cache memory slice, such as cache memory slice k 702A. Figure 9A is a first flow chart of control functions performed by the control logic 714 of each cache memory slice to support tagged ordered store requests. Figure 9B is a second flow chart of control functions performed by the control logic 714 of each cache memory slice to support tagged ordered store requests. Referring now to Figure 9A, a flow chart of control functions performed by the control logic 714 of each cache memory slice is illustrated for determining whether or not ordered store requests can be processed. At 900, the system is initialized or reset as was previously discussed at 800. At 902, all entries of the cache sequence array 712 in each cache memory slice are set to an initial starting value for "t", such as zero. This matches the starting token value "t" that each requestor j 701 has for its token register TR 706. The control logic then goes to 904. At 904, the control logic of each cache memory slice determines if it has received a tagged ordered store request 501 from a requestor. If not, the control logic loops back around to 904, essentially waiting for the receipt of a tagged ordered store request. If a tagged ordered store request has been received for processing, then the control logic goes to 906. At 906, the TRU tag j.t is extracted from the tagged ordered store request to determine if the ordered store request can be processed by the given cache memory slice. For the value of the received requestor identifier "j", the cache memory slice reads the cache sequence entry for the processor that made the ordered store request value, the value CSA [j] where j takes on values from 0 through (S-l) , assuming a start value of zero. Recall that "S" represents the number of outstanding ordered stores that each processor supports. At 908, the CSA[j] entry, the expected sequence number, for the requestor j is compared with the "t" part of the tag in the ordered store request. If CSA [j] matches the "t" part of the tag in the ordered store request, then the request can be processed. If CSA [j] does not equal the "t" part of the tag, the tag does not match, and the control logic goes to 913. If CSA [j] equals the "t" part of the tag, the tag does matches, and the control logic goes to 912. At 913, the corresponding tagged ordered store request (including the tag) is stored in the cache's normal work queue for later processing. At 912, when there is a tag match (CSA[j] = t) , the cache processes the ordered store request and then goes to 914. At 914, the CSA [j] entry is incremented for the given requestor and then the control logic goes to 916. At 916, a CSA update is issued to all other cache memory slices. The given cache memory slice that processed the tagged ordered store requests issues the token j . (t+1) to all other cache memory slices in the system indicating that they can process messages from requestor j (if they have one to process) that correspond to tokens valued t+1. The requestor also increments its own token and checks its work queue for any matching requests after a CSA update. The handling of out of order CSA updates is now described. As discussed previously, the network of physically distributed cache memory slices can reorder tagged ordered store requests so that they can be processed in-order. However, the network of physically distributed cache memory slices can also reorder CSA updates that are received by each cache memory slice as well. Referring momentarily back to Figure 7, consider for example that cache memory slice 702A sends out two CSA updates including tag updates j . (t+1) and j.(t+2) in quick succession to the nearby caches, and they arrive out of order at cache memory slice 702B. Assume further that cache memory slice 702B has tagged ordered store requests that require waiting for the CSA updates including the tag updates j . (t+1) and j.(t+2) but that it receives only one
CSA update specifying the tag update j.t+2 from cache memory slice 702A. In this scenario, the CSA update is out of sequence . When a cache memory slice receives the tag updates in the CSA update messages out of sequence - say it receives tag update j.t+5 before it receives tag updates j.t+1, j.t+2, j.t+3, and j.t+4 - some other cache memory slice had to have received j.t+1 in-order to generate j.t+2 and to trigger j.t+3, and so on in-order to trigger the issuance of a tag update j.t+5. So if a cache memory slice receives a tag update j.t+n without receiving the earlier updates, it is safe for a cache to process all ordered stores up to and including j.t+n upon receipt of the tag update j.t+n. The addition operation of t+n is performed modulo 2b, where b is the number of bits in the counter part of the tag. Due to the counter having a limited number of b bits, the addition operation may exceed the maximum counter value and rollover to a lower value. Care should be taken to avoid negative effects of a rollover condition. In one embodiment, the number of bits "b" is sufficient in proportion to the maximum Network Latency (i.e., maximum network delay) such that by the time the token register rolls-over, a processor would have processed all prior ordered store requests. In another embodiment, the processor/requester with the TR register which may roll-over polls each cache memory slice to determine if each has processed all tagged memory requests and reached S-l. If all cache memory slices respond to the processor that they are finished, the processor can then allow its given TR register to roll-over. The TR counter in each requestor is of a limited number of bits, "b" bits, and it correspondingly generates tags with "b" bits. That is, the maximum counter value and "t" of a tag is 2b-l. Assume the cache memory slice k 702A receives a CSA update with a tag of j .2b-2 but does not receive any other CSA update including those with a tag value from j.O through j.2b~3. Further assume that cache memory slice k 702A processes all of its ordered store requests and the sends out a CSA update with a tag update of j.2b-l. The issuance of the CSA update with a tag update of j.2b-l may trigger another cache memory slice, such as cache memory slice m 702B, to process a tagged ordered store request having j.2b-l without waiting for any other CSA update. Subsequently the cache memory slice m 702B may issue a CSA update message with an update tag of j.O as tag j.O is the next counter value after j.2b-l. Referring now to Figure 9B, a flow chart of control functions performed by control logic of the cache memory slice is illustrated for handling tag updates. At 950, the CSA update routine performed by the control logic of each cache memory slice is initialized on power-up or reset. At 952, the control logic determines if the cache memory slice has received a CSA update message with a tag update j.t. If not the control logic loops back around to 952, essentially waiting for the receipt of a tag update. If CSA update message with a tag update j.t has been received, then the control logic goes to 972. At 972, the control logic updates the current entry into the cache sequence array table by setting CSA[j] equal to t. Next at 974, the control logic causes the cache memory slice to process any pending ordered store requests with a tag of "j.t". After processing the ordered store requests, at 980 the control logic returns to 952 to wait and receive the next update. While certain exemplary embodiments have been described and shown in the accompanying drawings, it is to be understood that such embodiments are merely illustrative of and not restrictive on the broad invention, and that this invention not be limited to the specific constructions and arrangements shown and described, since various other modifications may occur to those ordinarily skilled in the art. For example, it is possible to implement the invention or some of its features in hardware, firmware, software or a combination thereof where the software is provided in a processor readable storage medium such as magnetic, optical, or semiconductor storage.

Claims

CLAIMSWhat is claimed is:
1. A physically distributed cache memory system comprising: an interconnection network; first level cache memory slices coupled to the interconnection network to generate tagged ordered store requests, each tagged ordered store requests having a tag including a requestor identification and a store sequence token; and second level cache memory slices coupled to the interconnection network to execute ordered store requests in-order across the physically distributed cache memory system in response to each tag of the tagged ordered store requests.
2. The physically distributed cache memory system of claim 1, wherein one or more of the tagged ordered stored requests are received out of order by at least one of the second level cache memory slices.
3. The physically distributed cache memory system of claim 1, wherein each of the first level cache memory slices has a unique requestor identification and a sequence token register to generate the tagged ordered store requests.
4. The physically distributed cache memory system of claim 1, wherein each of the second level cache memory slices has a cache sequence array to execute the ordered store requests in-order across the physically distributed cache memory system.
5. The physically distributed cache memory system of claim 4, wherein the cache sequence array includes a cache sequence array table to store the store sequence token associated with ordered store requests as a cache sequence entry, the cache sequence entry to indicate one or more ordered store requests that the cache memory slice can currently execute.
6. The physically distributed cache memory system of claim 4, wherein each of the second level cache memory slices further has control logic coupled to the cache sequence array, the control logic to control the in-order execution of the ordered store requests and to generate a cache sequence array update to update the second level cache memory slices.
7. The physically distributed cache memory system of claim 1, wherein the first level of cache memory slices are each coupled to a processor to generate the tagged ordered store requests.
8. The physically distributed cache memory system of claim 7, wherein the processor includes an internal cache memory to generate the tagged ordered store requests.
9. The physically distributed cache memory system of claim 1, further comprising: an upper level cache memory coupled to one or more processors .
10. The physically distributed cache memory system of claim 9, wherein the one or more processors include an internal cache memory to generate the tagged ordered store requests .
11. The physically distributed cache memory system of claim 9, wherein the upper level cache memory generates the tagged ordered store requests.
12. A method for ordered store requests in a distributed cache memory system, the method comprising: appending a tag to an ordered store request indicating a requestor identification and a store sequence number; sending the tagged ordered store request to a cache memory slice in the distributed cache memory system; comparing the store sequence number with an expected sequence number associated with the requestor identification; and if the store sequence number matches the expected sequence number then executing the ordered store request.
13. The method of claim 12 further comprising: if the store sequence number does not match the expected sequence number then storing the tagged ordered store request for later execution.
14. The method of claim 12 further comprising: in response to executing the ordered store request, updating the expected sequence number associated with the requestor identification.
15. The method of claim 12 further comprising: prior to executing the ordered store request, determining if prior ordered store requests made by the requestor have been executed, and if so then executing the ordered store request.
16. The method of claim 15, wherein the determining determines if the store sequence numbers associated with the prior ordered store requests and the requestor identification have been received by the cache memory slice to execute the ordered store request.
17. The method of claim 15, wherein it is determined that not all prior ordered store requests made by the requestor have been executed, and the execution of the current ordered store is delayed until all prior ordered store requests are executed.
18. A data signal flow coupled into a cache memory for in-order execution of ordered store requests, the data signal flow comprising: a requestor identifier to indicate a requestor that initiated an ordered store request; a token value to indicate a sequence of the ordered store request; and a message identifier to indicate that the requestor identifier and the token value are available to be read by the cache memory.
19. The data signal flow of claim 18, wherein the message identifier to further indicate that the requestor identifier and the token value are appended to an ordered store request.
20. The data signal flow of claim 19, further comprising: the ordered store request; an address for storing data; and data of the ordered store request that is to be stored.
21. The data signal flow of claim 18, wherein the message identifier to further indicate that the requestor identifier and the token value are for updating a cache sequence array.
22. A processing unit including: a plurality of processors, each of the processors including one or more levels of processor cache memory; a distributed cache memory system coupled to the plurality of processors, the distributed cache memory system including a primary interconnection network, and a plurality of cache memory slices coupled to the primary interconnection network; a plurality of cache memories coupled between the plurality of processors and the primary interconnection network of the distributed cache memory system; wherein processors or cache memories have a unique requestor identification and a sequence token register to generate a tag to append to ordered store requests for the plurality of cache memory slices of the distributed cache memory system, the tag including a requestor identification and a sequence token associated with the requestor identification; and wherein each cache memory slice has a cache sequence array to execute the ordered store requests in-order across the distributed cache memory system.
23. The processing unit of claim 22 wherein one or more of the ordered stored requests for the plurality of cache memory slices are received out of order by at least one cache memory slice.
24. The processing unit of claim 22 wherein the cache sequence array includes a cache sequence array table to store the sequence tokens associated with ordered store requests as a cache sequence entry, the cache sequence entry to indicate the ordered store request that the cache memory slice can currently execute .
25. The processing unit of claim 24 wherein one of the cache memory slices of the plurality of cache memory slices receives an ordered store request having a sequence token matching a cache sequence entry for the given requestor indicating that its in-order and the one cache memory slice executes the current ordered store request.
26. The processing unit of claim 25 wherein the one cache memory slice to further update the cache sequence entry in the plurality of cache memory slices .
27. The processing unit of claim 24 wherein one of the cache memory slices of the plurality of cache memory slices receives an ordered store request having a sequence token that does not match a cache sequence entry for the given requestor indicating that its out of order and the one cache memory slice stores the current ordered store request for later execution in-order with other ordered store requests.
28. A computer system including: an input/output device; dynamic random access memory; and a multi-processor processor coupled to the dynamic random access memory and the input/output device, the multi-processor processor including, a plurality of processors, each of the processors including one or more levels of processor cache memory; a distributed cache memory system coupled to the plurality of processors, the distributed cache memory system including an interconnection network, and a plurality of cache memory slices coupled to the interconnection network; a plurality of cache memories coupled between the plurality of processors and the interconnection network; wherein processors or cache memories have a unique requestor identification and a sequence token register to generate a tag to append to ordered store requests for the plurality of cache memory slices of the distributed cache memory system, the tag including a requestor identification and a sequence token associated with the requestor identification; and wherein each cache memory slice has a cache sequence array to execute the ordered store requests in-order across the distributed cache memory system.
29. The computer system of claim 28 wherein one of the plurality of cache memory slices receives an ordered store request having a sequence token matching a cache sequence entry for the given requestor indicating that its in-order, and the one cache memory slice executes the current ordered store request.
30. The computer system of claim 29 wherein the one cache memory slice to further update the cache sequence entry in the plurality of cache memory slices .
31. The computer system of claim 28 wherein an ordered store request is a store request of a requestor that requires execution in-order with respect to other ordered requests of the requestor.
32. The computer system of claim 31 wherein earlier ordered store requests require processing before a current ordered store request can be processed.
33. The computer system of claim 30 wherein a non-ordered store request is a store request of a requestor that can be executed out of order with respect to other ordered requests of the requestor.
34. A multiprocessor comprising: an integrated circuit including an interconnection network; a plurality of processors coupled to the interconnection network to couple tagged ordered store requests into the interconnection network, each tagged ordered store requests having a tag including a requestor identification and a store sequence token; and a plurality of cache memory slices coupled to the interconnection network to execute ordered store requests from the plurality of processors in-order in response to each tag of the tagged ordered store requests.
35. The multiprocessor of claim 34 wherein an ordered store request is a store request that requires execution in-order with respect to other ordered requests of the processor.
36. The multiprocessor of claim 35 wherein earlier ordered store requests require processing before a current ordered store request can be processed.
37. The multiprocessor of claim 35 wherein an unordered store request is a store request that can be executed out of order with respect to other ordered requests.
38. The multiprocessor of claim 34, wherein each of the plurality of cache memory slices has a cache sequence array to execute the ordered store requests in-order across the interconnection network.
39. The multiprocessor of claim 38, wherein the cache sequence array includes a cache sequence array table to store the store sequence token associated with ordered store requests as a cache sequence entry, the cache sequence entry to indicate the ordered store request that the cache memory slice can currently execute .
40. The multiprocessor of claim 34, wherein the plurality of cache memory slices coupled to the interconnection network form a distributed cache memory system shared by the plurality of processors.
PCT/US2004/034147 2003-10-22 2004-10-15 Method and apparatus for efficient ordered stores over an interconnection network WO2005041047A2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2006536679A JP4658064B2 (en) 2003-10-22 2004-10-15 Method and apparatus for efficient sequence preservation in interconnected networks
DE112004001984T DE112004001984T5 (en) 2003-10-22 2004-10-15 Method and apparatus for efficiently ordered memory in a connection network

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
US10/691,716 US7338424B2 (en) 2002-10-25 2003-10-22 Packaging machine
US10/691,716 2003-10-22

Publications (2)

Publication Number Publication Date
WO2005041047A2 true WO2005041047A2 (en) 2005-05-06
WO2005041047A3 WO2005041047A3 (en) 2005-08-18

Family

ID=34521922

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/US2004/034147 WO2005041047A2 (en) 2003-10-22 2004-10-15 Method and apparatus for efficient ordered stores over an interconnection network

Country Status (4)

Country Link
JP (1) JP4658064B2 (en)
KR (1) KR100841130B1 (en)
DE (1) DE112004001984T5 (en)
WO (1) WO2005041047A2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009021835A1 (en) 2007-08-16 2009-02-19 International Business Machines Corporation Cache sector allocation

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8190820B2 (en) 2008-06-13 2012-05-29 Intel Corporation Optimizing concurrent accesses in a directory-based coherency protocol
JP4703738B2 (en) * 2009-03-18 2011-06-15 富士通株式会社 Storage device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5930822A (en) * 1996-09-27 1999-07-27 Hewlett-Packard Co. Method and system for maintaining strong ordering in a coherent memory system
US20020087815A1 (en) * 2000-12-30 2002-07-04 Arimilli Ravi Kumar Microprocessor reservation mechanism for a hashed address system
US6529999B1 (en) * 1999-10-27 2003-03-04 Advanced Micro Devices, Inc. Computer system implementing system and method for ordering write operations and maintaining memory coherency

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05143373A (en) * 1991-11-18 1993-06-11 Nec Corp Shared data control system
US5467473A (en) * 1993-01-08 1995-11-14 International Business Machines Corporation Out of order instruction load and store comparison
JP3505728B2 (en) * 1993-01-13 2004-03-15 株式会社日立製作所 Storage controller
JPH07114515A (en) * 1993-10-19 1995-05-02 Hitachi Chem Co Ltd Decentralized memory computer with network for synchronous communication
US5893165A (en) * 1996-07-01 1999-04-06 Sun Microsystems, Inc. System and method for parallel execution of memory transactions using multiple memory models, including SSO, TSO, PSO and RMO

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5930822A (en) * 1996-09-27 1999-07-27 Hewlett-Packard Co. Method and system for maintaining strong ordering in a coherent memory system
US6529999B1 (en) * 1999-10-27 2003-03-04 Advanced Micro Devices, Inc. Computer system implementing system and method for ordering write operations and maintaining memory coherency
US20020087815A1 (en) * 2000-12-30 2002-07-04 Arimilli Ravi Kumar Microprocessor reservation mechanism for a hashed address system

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
GHARACHORLOO K ET AL: "Memory consistency and event ordering in scalable shared-memory multiprocessors" PROCEEDINGS OF THE ANNUAL INTERNATIONAL SYMPOSIUM ON COMPUTER ARCHITECTURE. SEATTLE, MAY 28 - 31, 1990, LOS ALAMITOS, IEEE COMP. SOC. PRESS, US, vol. SYMP. 17, 28 May 1990 (1990-05-28), pages 15-26, XP010019261 ISBN: 0-8186-2047-1 *
H. CHEONG AND A. VEIDENBAUM: "A Version Control Approach to Cache Coherence" PROCEEDINGS OF THE INTERNATIONAL CONFERENCE ON SUPERCOMPUTING 89, June 1989 (1989-06), pages 322-330, XP002330253 *
TARTALJA I ET AL: "A survey of software solutions for maintenance of cache consistency in shared memory multiprocessors" SYSTEM SCIENCES. VOL. II., PROCEEDINGS OF THE TWENTY-EIGHTH HAWAII INTERNATIONAL CONFERENCE ON WAILEA, HI, USA 3-6 JAN. 1995, LOS ALAMITOS, CA, USA,IEEE COMPUT. SOC, 3 January 1995 (1995-01-03), pages 272-282, XP010128193 ISBN: 0-8186-6930-6 *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009021835A1 (en) 2007-08-16 2009-02-19 International Business Machines Corporation Cache sector allocation
JP2010537265A (en) * 2007-08-16 2010-12-02 インターナショナル・ビジネス・マシーンズ・コーポレーション System and method for allocating cache sectors (cache sector allocation)
KR101190403B1 (en) * 2007-08-16 2012-10-12 인터내셔널 비지네스 머신즈 코포레이션 Cache sector allocation
US8433851B2 (en) * 2007-08-16 2013-04-30 International Business Machines Corporation Reducing wiring congestion in a cache subsystem utilizing sectored caches with discontiguous addressing

Also Published As

Publication number Publication date
DE112004001984T5 (en) 2006-08-17
KR20060063994A (en) 2006-06-12
JP4658064B2 (en) 2011-03-23
JP2007509439A (en) 2007-04-12
KR100841130B1 (en) 2008-06-24
WO2005041047A3 (en) 2005-08-18

Similar Documents

Publication Publication Date Title
TWI391821B (en) Processor unit, data processing system and method for issuing a request on an interconnect fabric without reference to a lower level cache based upon a tagged cache state
US8117392B2 (en) Method and apparatus for efficient ordered stores over an interconnection network
JP4085389B2 (en) Multiprocessor system, consistency control device and consistency control method in multiprocessor system
JP2002373115A (en) Replacement control method for shared cache memory and device therefor
US7484131B2 (en) System and method for recovering from a hang condition in a data processing system
JP6984022B2 (en) Low power management for multi-node systems
JPH10240707A (en) Main storage sharing type multiprocessor
JP2004192622A (en) Method and data processing system for microprocessor communication in cluster based multiprocessor radio network
US11561911B2 (en) Channel controller for shared memory access
US20020188821A1 (en) Fast priority determination circuit with rotating priority
JP2006134324A (en) Direct deposit using locking cache
US6671792B1 (en) Share masks and alias for directory coherency
JP5307151B2 (en) Changing system routing information in link-based systems
JP2004192619A (en) Method, processing unit and data processing system for microprocessor communication in multiprocessor system
JPH05274252A (en) Transaction execution method for computer system
JP2004199677A (en) System for and method of operating cache
EP2801914B1 (en) Method and device for broadcasting data to multiple hardware forwarding engines
JPH10187631A (en) Extended symmetrical multiprocessor architecture
JPH076122A (en) Method and apparatus for request of data
KR100841130B1 (en) Method and apparatus for efficient ordered stores over an interconnection network
JP2004192621A (en) Method and data processing system for microprocessor communication in cluster based multiprocessor system
JPH10240695A (en) Operation using local storage device of plural unprocessed requests in sci system
US7814301B2 (en) Clock architecture for multi-processor systems
US20230195662A1 (en) Coherent block read fulfillment
US20240078046A1 (en) Computer system and method for data access

Legal Events

Date Code Title Description
WWE Wipo information: entry into national phase

Ref document number: 200480038473.5

Country of ref document: CN

AK Designated states

Kind code of ref document: A2

Designated state(s): AE AG AL AM AT AU AZ BA BB BG BR BW BY BZ CA CH CN CO CR CU CZ DE DK DM DZ EC EE EG ES FI GB GD GE GH GM HR HU ID IL IN IS JP KE KG KP KR KZ LC LK LR LS LT LU LV MA MD MG MK MN MW MX MZ NA NI NO NZ OM PG PH PL PT RO RU SC SD SE SG SK SL SY TJ TM TN TR TT TZ UA UG US UZ VC VN YU ZA ZM ZW

AL Designated countries for regional patents

Kind code of ref document: A2

Designated state(s): BW GH GM KE LS MW MZ NA SD SL SZ TZ UG ZM ZW AM AZ BY KG KZ MD RU TJ TM AT BE BG CH CY CZ DE DK EE ES FI FR GB GR HU IE IT LU MC NL PL PT RO SE SI SK TR BF BJ CF CG CI CM GA GN GQ GW ML MR NE SN TD TG

121 Ep: the epo has been informed by wipo that ep was designated in this application
WWE Wipo information: entry into national phase

Ref document number: 1120040019842

Country of ref document: DE

WWE Wipo information: entry into national phase

Ref document number: 2006536679

Country of ref document: JP

Ref document number: 1020067007706

Country of ref document: KR

WWP Wipo information: published in national office

Ref document number: 1020067007706

Country of ref document: KR

RET De translation (de og part 6b)

Ref document number: 112004001984

Country of ref document: DE

Date of ref document: 20060817

Kind code of ref document: P

WWE Wipo information: entry into national phase

Ref document number: 112004001984

Country of ref document: DE

122 Ep: pct application non-entry in european phase
REG Reference to national code

Ref country code: DE

Ref legal event code: 8607