US5787480A - Lock-up free data sharing - Google Patents
Lock-up free data sharing Download PDFInfo
- Publication number
- US5787480A US5787480A US08/684,281 US68428196A US5787480A US 5787480 A US5787480 A US 5787480A US 68428196 A US68428196 A US 68428196A US 5787480 A US5787480 A US 5787480A
- Authority
- US
- United States
- Prior art keywords
- data
- block
- memory
- addresses
- instructions
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Lifetime
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/52—Program synchronisation; Mutual exclusion, e.g. by means of semaphores
Definitions
- the present invention relates generally to a distributed computer system, and more particularly to a distributed computer system including a distributed shared memory.
- Distributed computer systems typically comprise multiple computers connected to each other by a communications network.
- the networked computers can concurrently access shared data.
- Such systems are sometimes known as parallel computers. If a large number of computers are networked, the distributed system is considered to be "massively" parallel. As an advantage, massively parallel computers can solve complex computational problems in a reasonable amount of time.
- the memories of the computers are collectively known as a distributed shared memory. It is a problem to ensure that the data stored in the distributed shared memory are accessed in a coherent manner. Coherency, in part, means that only one computer can modify any part of the data at any one time, otherwise the state of the data would be nondeterministic.
- control hardware may require modifications to the components of the system such as the processors, their caches, memories, buses, and the network.
- the individual computers may need to be identical or similar in design, e.g., homogeneous.
- data access and coherency control are typically provided by software-implemented message passing protocols.
- the protocols define how fixed size data blocks and coherency control information is communicated over the network. Procedures which activate the protocols can be called by "miss check code.” The miss check code is added to the programs by an automated process.
- States of the shared data can be maintained in state tables stored in memories of each processor or workstation.
- an access instruction e.g., a load or a store instruction
- the state table is examined by the miss check code to determine if the access is valid. If the access is valid, then the access instruction can execute, otherwise the protocols define the actions to be taken before the access instruction is executed. The actions can be performed by protocol functions called by the miss handling code.
- the calls to the miss handling code can be inserted into the programs before every access instruction by an automated process known as instrumentation. Instrumentation can be performed on executable images of the programs.
- FIG. 1 shows an example miss check code 100 for a program which is to execute on a RISC type of computer.
- all of the memories of the distributed computers are partitioned so that the addresses of the shared memory are always higher than the addresses of the non-shared memory.
- the implementation maintains coherency state information for fixed size quantities of data, for example "lines.”
- the fixed size of the lines used by any particular application can be set to be smaller or larger than 64 bytes. Partitioning the addresses of shared memory, and using fixed lines simplifies the miss check code, thereby reducing overhead.
- step 101 save the content of any registers that are going to be used by the miss check code 100 on a stack.
- step 102 determine the target address of the access instruction, using the offset and base as specified in the operands of the instruction.
- the access instruction in this example is a store. A store access is valid if the processor modifying the data stored at the target address has exclusive ownership of the data.
- steps 103-104 determine if the target address is in non-shared memory. If this is true, then skip the rest of miss check code 100, restore the registers at 131 and execute the memory access instruction, step 132. In this case, the overhead is about seven instructions.
- step 105 determine the index of the line including the target address. If the size of the line is an integer power of two, for example 64 bytes, the line index can be computed using a simple shift instruction.
- the line index can be used to reference the corresponding entry of the state table.
- each entry in the state table is a byte.
- the states can be indicated with two bits, then the size of the state table can be reduced.
- the entries it becomes more difficult to extract state information, since most computers do not conveniently deal with addressing schemes and data operations which are less than eight bits.
- step 107-108 the table entry is loaded, and in step 109, determine if the state of the line containing the target address is, for example, EXCLUSIVE. If true, then skip the step 120, and restore the registers from the stack in step 131. In this case, the overhead is about thirteen instructions. Otherwise, call the miss handling code to gain exclusive control over the data in step 120. Gaining exclusive control may require that a copy of the data be transferred from another processor via the network.
- a software implemented method enables lock-up free data sharing in a distributed shared memory computer system.
- the system includes a plurality of workstations, each workstation including a processor, a memory having addresses, and an input/output interface connected to each other by a bus.
- the input/output interfaces connect the workstations to each other by a network.
- the memories are configured to store the shared data.
- a set of addresses of the memories are designated as virtual shared addresses to store the shared data.
- a portion of the virtual shared addresses are allocated to store the shared data as a number of blocks accessible by programs executing in any of the processors, each block including an integer number of lines.
- a program is instrumented to request an exclusive copy of the block if the program includes a store instruction which accesses the shared data. Additional store instructions of the program are executed while the request for the valid copy of the block is pending. Addresses of data of the block modified by the additional instructions are noted.
- Additional load instructions of the program are executed while the request for the exclusive copy of the block is pending, as long as the load instructions access data from a valid line or from the valid part of a pending line.
- the modified data stored at the noted addresses are merged with the shared data to enable lock-up free data sharing.
- FIG. 1 shows a prior art miss check code for fixed size data blocks
- FIG. 2 is a block diagram of a shared memory distributed system
- FIG. 3 is a flow diagram of a process to instrument programs
- FIG. 4 is a block diagram of optimizing steps
- FIG. 5 is block diagram of a memory partitioning
- FIG. 6 is a diagram of optimized store miss check code
- FIG. 7 is a diagram of miss check code arranged for optimal scheduling
- FIG. 8 is a flow diagram of a process to check for invalid data on a load access
- FIG. 9 is a diagram of instructions checking for an invalid flag
- FIG. 10 is a block diagram of an exclusion table
- FIG. 11 is a block diagram of a process for checking for batches of access instructions
- FIG. 12 is a diagram for instructions which implement the process of FIG. 11 and as arranged for optimal scheduling;
- FIG. 13 is a block diagram of a block directory
- FIG. 14 is a block diagram of data structures having variable granularities.
- FIG. 2 shows a distributed computer system 200 which can use the invention.
- the system 200 includes a plurality of workstations 210 connected to each other by a network 220.
- Each workstation 210 can include one or more processors (CPU) 211, memories (M) 212, and input/output interfaces (I/O) 214 connected to each other by a bus 213.
- processors CPU
- M memories
- I/O input/output interfaces
- the workstations 210 can include a homogeneous or heterogenous set of processors which may include personal computers.
- the processors 211 can be CISC or RISC.
- the processors 211 can include hardware caches 209 to stored frequently accessed data and instructions.
- the memories 212 can be dynamic random access memories (DRAM).
- the memories 212 store programs 215 and data structures 216. Some of the addresses of the memories 212 can be designated as a single set of shared virtual addresses. Some of the data structures can include shared data. Shared data can be accessed by programs executing on any of the processors 211 using the virtual addresses.
- the buses 213 connect the components of the workstations using data, address, and control lines.
- the network 220 uses network protocols for communicating messages among the workstations 210, for example, asynchronous transfer mode (ATM), or fiber distributed data interface (FDDI) protocols.
- ATM asynchronous transfer mode
- FDDI fiber distributed data interface
- instructions of the programs 215 are executed by the processors 211.
- the instructions can access the data structures 216 using load and store instructions.
- the accessed data are first stored in the caches 209 and then in processor registers while manipulated by the processors. It is desired that any of the programs 215 executing on any of the processors 211 can access any of the shared data structures 216 stored in any of the memories 212.
- the programs 215 are instrumented prior to execution. Instrumentation is a process which locates access instructions (loads and stores) in the programs 215. Once the access instructions have been located, additional instructions, e.g., miss check code, can be inserted into the programs before the access instructions to ensure that the access is performed correctly.
- the miss check code is optimized to reduce the amount of overhead required to execute the additional instructions.
- instructions which allocate addresses of portions of the memories 211 are also located in the programs 215 so that coherency control information can be maintained for variable amounts of data, e.g., variable sized blocks.
- the programs 215 can view some of the addresses of the distributed memories 212 as a shared memory. For a particular target address of the shared memory, an instruction may access a local copy of the data, or a message must be sent to another processor requesting a copy of the data.
- the data stored in the shared memory can have any one of three possible states: invalid, shared, or exclusive.
- data states can be in transition, or "pending.” If the state is invalid, the processor is not allowed to access the data. If the state is shared, the processor has a copy, and other processors may have a copy as well. If the state is exclusive, the processor has the only valid copy of the data, and no other processors can have valid copies of the data.
- the states of the data are maintained by coherency control messages communicated over the network 220.
- the messages are generated by procedures called by the miss check code of the instrumented programs.
- Data can be loaded from the shared memory into a local processor only if the data have a state of shared or exclusive. Data can be stored only if the state is exclusive. Communication is required if a processor attempts to load data that are in an invalid state, or if a processor attempts to store data that are in an invalid or shared stated. These illegal accesses are called misses.
- the addresses of the memories 212 can be allocated dynamically to store shared data. Some of the addresses can be statically allocated to store private data only operated on by a local processor. Overhead can be reduced by reserving some of the addresses for private data, since accesses to the private data by the local processor do not need to be checked for misses.
- addresses of the memories 212 are partitioned into allocatable blocks. All data within a block are accessed as a coherent unit.
- blocks can have variable sizes for different ranges of addresses.
- the variable sized blocks are further partitioned into fixed-size ranges of addresses called "lines.”
- State information is maintained in a state table on a per line basis.
- the size of the line is predetermined at the time that a particular program 215 is instrumented, typically 32, 64 or 128 bytes.
- a block can include an integer number of lines.
- the miss check code determines which line of a particular block includes the target address (operand) of the instruction. In addition, the miss check code determines if the target address is in shared memory. If the target address is not in shared memory, the miss check code can immediately complete, since private data can always be accesses by a local processor.
- FIG. 3 shows a flow diagram of a process 300 which can be used to reduce the amount of overhead required for the miss check code of FIG. 1.
- the process 300 admits coherency control for variable sized data quantities.
- the process 300 includes an analyzer module 320, an optimizer module 330, and an executable image generator 340.
- Programs 310 for executing on the system 200 are presented to an analyzer module 320.
- the analyzer 320 breaks the programs 310 into procedures 301, and the procedures 301 into basic execution blocks 302.
- a basic block 302 is defined as a set of instructions that are all executed sequentially if the first instruction of the set is executed.
- the instructions of the procedures and basic blocks are analyzed to form program call and flow graphs 303.
- the graphs 303 can be used to determine a data and execution flow of the programs 310.
- the basic blocks and graphs 303 are analyzed to locate instructions which allocate memory addresses and perform accesses to the allocated addresses. If an instruction accesses the memories 212, miss check code is inserted in the program to ensure that the access is performed in a coherent manner.
- miss check code is inserted by the optimizer module 330 as described in further detail below.
- the image generator 340 produces an executable image 350 including instrumented programs 351 with miss check code, miss handling protocol procedures 352, and a message passing library 353.
- FIG. 4 shows the steps performed by the optimizer module 330 of FIG. 3. These steps include memory partitioning 410, register analyzing 420, code scheduling 430, load check analyzing 440, and batching 450 steps.
- FIG. 5 shows an allocation of addresses to the memories 212 of FIG. 2. Addresses are increasing from the bottom of FIG. 5 to the top. Addresses are reserved for stacks 510, program text 520, statically allocated private data 530, a state table 540, and dynamically allocated shared data 550.
- addresses used by the stacks 510 decrease towards the stack overflow area 505.
- the text space 520 is used for storing the executable instructions, e.g., the image 350 of FIG. 3.
- the addresses assigned for text increase towards the text overflow area 525.
- the addresses of the private data section 530 are used to store data structures which are exclusively used by a single local processor, e.g., the data are not shared.
- the addresses in this portion of memory are statically allocated when a particular program is loaded for execution.
- the state table 540 includes a one byte entry 545 for each line of allocated addresses.
- the bits of the entry 545 can be used to indicate the various states of the corresponding line of data.
- a portion of the state table data section can be set aside for an exclusion table 1000 described in greater detail below.
- the addresses of the shared data 550 are dynamically allocated by the programs while executing. As an advantage, the addresses of the shared data 550 can be allocated in variable sized blocks 551. The blocks are further partitioned into lines 552.
- the analyzer module 320 of FIG. 3 uses the graphs 303 and dataflow analysis to track the content of general purpose registers to determine whether values stored in the registers were derived from addresses based on the SP or PR registers. Then, an instruction accessing the stack or private data via a derived address do not need to be instrumented.
- the analyzer 320 can also locate any registers which are free at the time that the miss check code needs to be applied, which eliminates the need to save and restore the registers used by the miss check code.
- the constant values "shared -- mem -- start” and "state -- table -- start” of instructions 103 and 106 are produced in-line, using perhaps several instructions, or else the values are stored in a reserved register. With the memory layout as shown in FIG. 5, the need for the constant values can be eliminated. If the start of the shared memory addresses of the global address space 550 is made, for example, 0 ⁇ 8000000000, it is possible to check to see if an access is to shared memory 550 with a simple shift instruction.
- a shift of the target access address can directly produce the address of the corresponding entry 545 in the state table 540.
- the layout of the addresses shown in FIG. 5 is for a processor with 64 bit addressing capabilities, it should be understood that the layout 500 can be modified for processors having 32 bit, and other addressing capabilities.
- FIG. 6 shows miss check code 600 optimized for the memory layout of FIG. 5. Note, instructions for saving and restoring registers, as used by the miss check code as shown in FIG. 1, are no longer needed since the miss check code 600 can use free registers. With a careful analysis, free registers can be located in almost all cases.
- the target address for an access can be determined by instruction 601. However, if the target base address has already been established in a register by, for example, a previously executed load or store instruction, then the instruction 601 which loads the targeted base address is not required.
- the shift instruction 602 calculates the target address which is tested in step 603.
- the shift instruction 604 produces the address of the entry in the state table corresponding to the line including the target address.
- a simple branch instruction 607 can be performed to check for a miss.
- Instructions 605-606 retrieve the state table entry.
- the miss handling code 608 is executed in the case of a miss, and the original store instruction is executed at 609.
- the miss check code 600 only requires three instructions in the case of a private data access compared with seven of the code 100. In the case of a shared data access, the code 600 requires seven instructions compared with thirteen of the code 100.
- instruction scheduling techniques can be used to further reduce the amount of overhead used by the miss check code 600.
- the added miss check code can, in many cases, be arranged to introduce minimal pipeline delays, and maximum potential for multiple instructions being issued during a single processor cycle.
- the overhead of the miss check code can further be reduced by advancing the instructions of the miss check code to points before the access instruction when there are available delay slots due to unavoidable pipeline stalls in the executable code. Advancing instructions into delay slots essentially eliminates the overhead associated with executing the miss check instructions.
- the instructions of the miss check code 700 can be placed so that they are issued concurrently with the instructions of the executable image.
- the execution of the first three instructions 701-703 can be advanced in a basic block of instructions as long as the registers (r1 and r2) remain free. In fact, in many cases all three instructions can be advanced sufficiently to completely hide the additional overhead of executing the instructions. Therefore, it clearly is beneficial to arrange the code as shown in FIG. 7.
- the miss check code can further be optimized when the access instruction is a store instruction 710.
- the first three instructions 701-703 are placed before the store instruction 710.
- the remaining instructions 704-707 are placed after the store instruction 710. This placement is advantageous in the cases where there may be long-latency instructions immediately preceding the store instruction 710 while the program is computing the value to be stored. In this case, the store instruction 710 must stall until the value becomes available. Therefore, the overhead associated with executing the advanced instructions may be completely hidden.
- the data loaded by a load instruction can be analyzed to further reduce the overhead of the miss check code.
- a "flag" 801 is stored at all of the addresses 810-811 associated with the line.
- the flag 801 is, for example, 0 ⁇ FFFFFF03. Then, instead of determining the state of a line via the state table entries, the state can, in almost all cases, be determined from the data loaded.
- the data at target addresses are accessed with a load instruction 901, step 820.
- step 830 add the complement 840 of the flag, e.g., 253.
- step 850 check to see if the data loaded from memory likely indicates an invalid state. If true, proceed with the miss code 870, otherwise continue with step 860, no-miss.
- the miss code 870 can confirm by checking the entry for the line in the state table 540. This takes care of the rare case where the program actually uses data equal to the flag.
- the flag is chosen so that a single instruction 902 can be used to check for invalid data. It is possible that almost any constant could be used. Note, if a zero value is used to indicate an invalid condition, then a simple branch instruction would suffice. However, in cases where a zero or other small integer, e.g., -1, 0, +1, is used, the measured overhead of the miss check code seems to increase due to dealing with a larger number of false misses. In actual practice when using the flag 0 ⁇ FFFFFF03, false misses rarely occur, therefore, the optimized miss check code 900 as shown in FIG. 9 greatly reduces the miss check code for a load instruction, e.g., two instructions compared with thirteen of FIG. 1, if the data stored at the target address have already been loaded into a register.
- a load instruction e.g., two instructions compared with thirteen of FIG. 1, if the data stored at the target address have already been loaded into a register.
- the flag technique also has other advantages.
- the main advantage is that the need to examine the state table is eliminated in cases where the load access is valid.
- the flag makes the load of data from the target address and the state check atomic. This atomicity will simplify any implementation where programs may be subject to process interruptions.
- the flag technique can also be used for floating point load access instructions.
- the miss check code loads the data of the target address into a floating point register, followed by a floating point add and compare.
- floating point instructions may have long associated delays. Therefore, floating point miss code can be optimized by inserting an integer load for the same target address, and implementing the flag checking as described above for FIGS. 8 and 9. Even with the additional load instruction, this technique is still more efficient than checking an entry of the state table.
- instruction scheduling can be applied to the instructions of FIG. 9 for load miss code checks.
- the scheduling step 430 of FIG. 4 attempts to delay the execution of instructions 902 and 903 to avoid a pipeline stall when the value of the load is to be used.
- misses in the hardware cache 209 of FIG. 2 can be one potential source of increased overhead for the miss check code. If the program has good spatial locality, then the program will not experience many hardware cache misses. If 64 byte lines are used, then the memory required for the state table is only 1/64th of the memory of the corresponding lines. However, if the program does not have good spatial locality, then cache misses on the data, as well as misses on the state table, are more likely.
- the state table 540 can include a separate portion designated an exclusion table 1000.
- the purpose of the exclusion table 1000 is to reduce hardware cache misses caused by the miss check code loading state table entries for store instructions.
- the exclusion table 1000 has bit entries 1010, one bit for each corresponding line. A bit is set to a logical one if the corresponding line has the exclusive state, otherwise the bit is set to a logical zero.
- the store miss check code can examine the bits 1010 of the exclusion table 1000 to determine whether a corresponding line has the exclusive state. If the line does have the exclusive state, then the store can execute immediately.
- the memory used by the exclusion table 1000 is 1/512 of the amount of memory used by the lines. Therefore, the number of hardware cache misses caused by store miss check code using the exclusion table 1000 can be one eighth of the hardware cache misses that would occur just using the state table 540.
- the use of the exclusion table 1000 for store miss code checks is enabled, in part, by the invalid flag 801 of FIG. 8.
- the load miss check code for loads does not have to access the state table in the case where the data are valid. Hence, the exclusion table 1000 is only accessed by the miss check code for store instructions.
- the batch optimizing step 450 of FIG. 4 recognizes that loads and stores of data are frequently executed in batches relative to a common base register and offsets. For example, in programs, it is frequently the case that data are accessed and manipulated in a sequential order according to their addresses.
- the batch optimizing step 450 detects a set of instructions which access a range of target addresses no greater than the size of one line, e.g., the range is 64 bytes or less. Such a set of load and store instructions can at most access data in two immediately adjacent lines, and in some cases only a single line.
- miss check code determines if the two lines are in a correct state. If this is true, then all of the load and/or store instructions in the set can be performed without requiring any additional checks. It should be understood that a batch check can also be performed for a range of target addresses which span a single line. However the code which checks for two adjacent lines can check for a single line without a substantial increase in overhead.
- the batched load and store instructions cannot be intermingled with other loads and stores which have separate miss check code. Misses induced by other loads and stores may change the state of a line to yield an improper result for the batched load and share instructions.
- loads and stores via multiple base registers can be batched as long as proper miss checks are done for the respective lines referenced via the corresponding base registers.
- the base register used by the batch of instructions cannot be modified by a variable while the batch is accessing target addresses in the checked range. This would invalidate the initial check for the batch. It is possible to modify the base register by a constant, since in this case the range check can statically be performed prior to executing the batched access instructions.
- the batching technique is always successful in reducing miss check code overhead. However, the technique is especially useful for instructions of a loop which has been "unrolled."
- An unrolled loop includes instructions which are executed linearly instead of in an iterative circular fashion.
- access instructions typically work within a small range of a base register that is not modified during the iterations. In this case, the batching technique can nearly always be applied, and is very effective.
- batching is always attempted for instructions of a single basic block, it may also be possible to perform batching for load and store instructions which span several basic blocks.
- the batched set of instructions cannot include any subroutine calls, since these calls may cause the execution of loads and stores having unknown target addresses in the called subroutines.
- the batched instructions cannot include a loop, since the number of times the loop is repeated cannot be determined until the instructions of the batch are executed.
- a store which occurs in one of the branched execution paths must occur in all paths. Only then can it be determined which store accesses have been performed when the batched instructions are executed.
- the batching process can arbitrarily batch many loads and stores relative to any number of base registers, and across one or more basic blocks.
- a “greedy” batching algorithm can be used.
- the greedy algorithm locates as many load and store instructions as possible to include in a batch.
- the algorithm completes when a terminating condition, as described below, is reached. If there is only a single load or store instruction in a batch, batched miss check code is not used.
- both paths are examined for instructions to include in a batch. The scanning of the two separate execution paths is merged when the execution of the two paths merge.
- Terminating conditions can include: a load or store instruction which uses a base register which is modified by a variable; a load or store instruction which has a target address outside the lines being checked; a subroutine call; a conditional branch instruction which causes a loop, e.g., a re-execution of one or more instructions; the end of a subroutine is reached; a store instructions in one of several branches; and the scanning of one branch which merges with a parallel branch, but scanning of the parallel branch has already terminated.
- FIGS. 11 and 12 respectively show the flow 1100 and miss check code 1200 for a group of batched load instructions which access a range of target addresses 1130.
- One convenient way to check the range 1130 is to perform miss code checking 1140-1141 on the first address 1111 and the last address 1121 of the range 1130 of addresses accessed by the set of access instructions.
- the first and last addresses must respectively be in the first and last lines 1110 and 1120, see instructions 1201-1204.
- the instructions 1205 and 1206 check for the invalid flag.
- miss handling code 1160 If either address 1111 or 1121 are invalid (1150), then the miss handling code 1160 is called. If both the first and the last addresses store valid data, all of the instructions of the set can be executed without any further checking. As an advantage, the miss check code 1200 for the endpoint addresses can be interleaved with each other to effectively eliminate pipeline stalls.
- the message passing library 353 of FIG. 3 provides the necessary procedures to allow the workstations 210 to communicate over the network 220. For example, if the network 220 uses ATM protocols, the routines of the library 353 communicates ATM type of messages. The routines of the library 353 can send and receive messages of an arbitrary size. In addition, the routines can periodically check for incoming messages.
- the other code which is linked to the instrumented program 351 of FIG. 3 is the miss handling protocol code 352.
- This code can fetch data from the memory of another workstation, maintain coherence among shared copies of data, and ensure that a workstation which is attempting to store data has exclusive ownership of the data.
- the protocol code 352 also implements synchronization operations such as "locks" and barriers.”
- the code 352 is called whenever the miss check code detects a load or store miss, or when a synchronization operation is required.
- the protocol code 352 is a directory-based invalidation protocol. For each block 551 of shared data 550 of FIG. 5, one of the workstations is assigned to be the "home" workstation. Blocks can be assigned to different home workstations in a round-robin manner, e.g., in turn of allocation. Blocks can be explicitly assigned to a particular workstation if placement hints are supplied by a one of the programs 310 of FIG. 3.
- a home workstation is responsible for initializing the data stored at addresses of the block. For example, the bytes of the allocated blocks can be initialized to the invalid flag 0 ⁇ FFFFFF03.
- the home workstation can also establish the initial states of the lines of the allocated block. For example, the state can reflect an exclusive ownership.
- the home workstation also creates the initial directory information about the block.
- the directory also indicates, as described below, which workstations have a copy of a block assigned to the home workstation.
- a workstation other than the home workstation, desires to access data of the block, it sends a message to the home workstation indicating that it either wants to load or store data of the block. In the case of a store, an ownership request is also sent.
- each workstation 210 maintains a directory 1300 which can store information about blocks for which the workstation is the home. Also, at any one time, each line of a particular block is associated with a "controlling" workstation. The workstation which controls a line can be the workstation that last had exclusive ownership over the line.
- the directory 1300 For each block owned by a home workstation, the directory 1300 has a line entry 1301. Each line entry 1301 includes an identification (ID) 1310, a block size 1315, and a bit vector 1320.
- ID 1310 indicates which processor currently controls the block
- the vector 1320 has one bit 1321 for each workstation which has a copy of the block.
- the block size 1315 can be variable-grained.
- the workstations 210 communicate messages with each other via the network 220 of FIG. 2.
- the messages are of the following general types.
- Request messages can request copies of data for the purpose of loading and storing, and reply messages can include the requested data.
- Requests for data are typically sent to the home workstation. If the home workstation does not have a copy of the data, then the request is forwarded to the controlling workstation. The controlling workstation can reply directly to the workstation which issued the request.
- Some messages are also used for process synchronization. Two types of synchronization mechanisms can be used. First, processes can be synchronized to a specified "barrier" address. When synchronizing on a barrier address, workstations having reached the barrier address wait until all other workstations have also reached the barrier address.
- a "lock” can be exercised by any workstation on a specified address of the shared memory. Another workstation cannot exercise a lock on the same address until the lock is released.
- a read message requests data for a specified workstation.
- the read message includes the address of the block which stores the requested data and an identity of the requesting workstation.
- the entire block including the requested data is fetched.
- the write message includes the address of the requested data, and an identity of the requesting workstation. This message requests a block of data for the purpose of storing new data in the block when the requesting workstation does not have a copy of the data. Therefore, the message also requests ownership of the block of data.
- This message requests ownership of data controlled by another workstation in the case where the requesting workstation does have a copy of the data. This message is used if the requesting workstation decides to modify its copy of the data.
- the ownership message includes the address of the data, and an identity of the requesting workstation.
- This message is used to communicate a request for a (clean) read-only copy of the data.
- the clean message includes the address of the requested data, the number of bytes, and an identity of the requesting workstation. As an optimization, the request does not have to be forwarded to another workstation if the home processor has a copy of the requested data.
- This message requests that a writable copy of the data be forwarded from the workstation currently controlling the data to the workstation which made a request for the data.
- the forward message includes the address of the requested data, the number of bytes, and an identity of the requesting workstation.
- This message requests that a copy of the data be invalidated.
- an acknowledgement is sent to the requesting workstation.
- the invalidate message includes the address of the requested data, the number of bytes to be invalidated, and an identity of the requesting workstation.
- This message includes a copy of the actual data requested in the clean message.
- the clean reply message includes the address of the requested data, the number of bytes, and the data.
- This message includes a writable copy of the requested data.
- the forward reply message includes the address of the requested data, the number of bytes, and the data.
- the invalidate reply message includes the address of the requested data, and the number of bytes to be invalidated.
- the barrier wait message includes the barrier address, and an identity of the requesting workstation.
- the barrier done message includes the barrier address.
- This message requests ownership of a lock.
- the lock is exercised on a specified address of the shared memory.
- the data stored at the address is of no concern with respect to the lock message.
- the lock message includes the address associated with the lock.
- This message forwards a lock request to a workstation currently controlling the locked address.
- the lock forward message includes the lock address.
- the lock reply message includes the locked address.
- the protocol messages described above allow the sharing of "dirty" data.
- the home workstation of a line is not required to have a clean, up-to-date copy of data.
- another workstation could have modified its copy of the data, and subsequently shared the modified copy of the data with workstations other than the home workstation.
- This feature makes the need for write-backs to the home workstation optional. Otherwise, a write-back to the home workstation is required whenever a processor reads a copy of dirty data from another workstation.
- a polling mechanism is used to process the messages generated by the workstations. For example, the network 220 is polled for an incoming message every time there is a miss, and repeatedly when a workstation is waiting for a response to a request message. This avoids a deadlock situation.
- the programs are instrumented to poll for incoming messages whenever the programs make a function call. If the network 220 is of the type which has short latencies, polling can be on a more frequent basis, such as on every program control back-edge.
- a program control back-edge can be a branch type of instruction which causes a loop to be iteratively re-executed. Therefore, back-edge polling is done for each iteration of a loop.
- Messages could be serviced using an interrupt mechanism.
- servicing an interrupt usually takes longer to process, since the state which exists at the time of the interrupt must first be saved and subsequently be restored.
- Polling also has the advantage that the task of implementing atomic protocol actions is simplified.
- the protocol 352 also provides a release consistency model which is substantially equivalent to a hardware type of lock-up free cache which allows non-blocking loads and stores.
- Data that are "cached" in the distributed shared memories can have any one of the following states: invalid, shared, exclusive, pending-invalid, or pending-shared.
- the pending states are transitory states of a line when a request for the block including the line is outstanding.
- the pending-invalid state exists for data having an outstanding read or write request.
- the pending-shared state exists for data with an outstanding ownership request.
- Non-blocking stores are supported by having a workstation continue processing instructions after a request for data has been made. While the request is outstanding, the protocol notes the addresses of any data that are modified in the local copy of the block. Then, when the requested block of data becomes available, the modified data can be merged with the requested data. It should be noted that the batching of loads and stores described above enables non-blocking loads since the batching of loads can lead to multiple outstanding loads for a single check.
- Lock-up free behavior can also be supported for data that have a pending state. Storing data at addresses of pending data can be allowed to proceed by noting the addresses where the data are stored, and passing the addresses to the miss handing code 352 of FIG. 3.
- Loads from addresses of data having a pending-shared state are allowed to proceed immediately, since the workstation already has a copy of the data. Loads from addresses of data of a block having the pending-invalid state can also proceed, as long as the loads are from addresses of a line of the block that stores valid data. Valid loads to pending lines proceed quickly because of the use of the invalid flag 801 of FIG. 8. A valid load to a pending line can proceeds immediately because the loaded value is not equal to the invalid flag.
- variable granularities for coherency and message passage are possible, even within a single program, or a single data structure.
- Variable granularities are possible because all checks for misses are performed by software instructions accessing data at very small granularities, e.g., bytes, long words, and quadwords.
- other distributed memory systems use hardware implemented virtual addressing schemes to do miss checks at addresses which define coarse-grained page boundaries, for example, 4096 or 8192 bytes.
- Allowing application programs and data structures to have variable access granularities can improve performance because data can be communicated in the most efficient units of transfer.
- Data having good spatial locality e.g., data "clumped" into blocks, can be transported at coarse granularities to amortize the time of long communications latencies.
- data subject to "false sharing” can be communicated at finer granularities.
- False sharing is a condition where independent portions of data, for example, array elements, are stored in the data structure, e.g., one or more blocks, and accessed by multiple workstations. Variable sized blocks, eliminates the need to repeatedly transfer large fixed size quantities of data including smaller independent portions of false shared data between the workstations.
- a unit of data transfer e.g. a block
- a heuristic based on the allocated size can be used.
- the basic heuristic chooses a block size equal to the size of the allocated data structure, up to a predetermined threshold size of the data structure, for example, 1K or 2K bytes.
- a predetermined threshold size of the data structure for example, 1K or 2K bytes.
- the granularity can simply be the size of a line.
- the rationale for the heuristic is that small data structures should be transferred as a unit when accessed; larger data structures, such as arrays, should be communicated at fine granularities to avoid false sharing.
- the heuristic can be modified by inserting special allocation instructions in the programs which explicitly define the block size. Since the size of allocated blocks does not affect the correctness of the program, the appropriate block size for maximum performance can be determined empirically.
- the block size 1315 of an allocatable piece of data is maintained by the home workstation in a directory 1300.
- Each line entry includes the size 1315 of the corresponding block.
- Workstations become aware of the size of a block when data of the block are transported to a requesting workstation.
- a home workstation can change the granularity of an entire data structure by first invalidating all lines which comprise the data structure, and then changing the block sizes in the directory entries 1301.
- the home workstation can look up the size of a block when an access request, e.g., read, write, ownership, for data at a target address of a particular line is received. Then, the home workstation can send the correct number of lines comprising the entire block to the requesting workstation. Any other copies of the lines can be appropriately handled by the workstation using the vector 1320. In reply to any access request, other than the initial request, all protocol operations are performed on all lines of the block.
- the states of pieces of data are checked and maintained on a per-line basis.
- the protocol 352 ensures that all lines of a block are always in the same state. Therefore, the in-line miss check code can efficiently maintain states for variable sized blocks.
- a workstation may not know the size of a block containing a requested line. For example, a workstation requests to access data at address A, and address A+64. In the case where the workstation does not know the size of blocks, it may make two requests assuming a line size of 64 bytes, one for each target address, even if the addresses are in the same block.
- the protocol as described herein transfers in a single message the entire block containing the lines. Subsequently, the home station processing the initial request can also recognize that the second request is not needed. This is true in all cases, except when another workstation makes a request for access to the first line, before the request for the second line is fully processed. In this case, the second request must be treated as an initial request, since the current states of the data are not always determinable.
- FIG. 14 shows data structures having variable granularities.
- Memories 1401 are associated with a first workstation (WS1), and memories 1402 are associated with a second workstation (WS2).
- a first program (P1) 1411 has allocated data structures to have lines of 64 bytes
- a second program (P2) 1441 has allocated data structures to have lines of 32 bytes.
- the first program 1411 includes data structures 1421 and 1431.
- Data structures 1421 includes 1 block of 128 bytes, e.g., two lines per block.
- Data structures 1431 has 8 blocks of 64 bytes, e.g., one line per block.
- the second program includes data structures 1451, 1461, and 1471.
- Data structures 1451 include eight blocks of 32 bytes (one line) each.
- Data structures 1461 includes three blocks of 128 bytes (four lines) each.
- Data structures 1471 includes one block of 256 bytes, e.g., eight lines.
- the memories 1402 of the second workstation include comparable programs 1412 and 1442 and their data structures. As described above, the workstations communicate data in block sized units of transfer. For example, the first programs 1411 and 1412 transfer data using blocks 1403, and the second programs 1441 and 1442 transfer blocks 1404. As an advantage, the blocks 1403 and 1404 can have different sizes, e.g., variable granularities, and different line sizes, e.g., 32 and 64 bytes.
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Multi Processors (AREA)
Abstract
Description
Claims (17)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
US08/684,281 US5787480A (en) | 1996-07-17 | 1996-07-17 | Lock-up free data sharing |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
US08/684,281 US5787480A (en) | 1996-07-17 | 1996-07-17 | Lock-up free data sharing |
Publications (1)
Publication Number | Publication Date |
---|---|
US5787480A true US5787480A (en) | 1998-07-28 |
Family
ID=24747424
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US08/684,281 Expired - Lifetime US5787480A (en) | 1996-07-17 | 1996-07-17 | Lock-up free data sharing |
Country Status (1)
Country | Link |
---|---|
US (1) | US5787480A (en) |
Cited By (53)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6055605A (en) * | 1997-10-24 | 2000-04-25 | Compaq Computer Corporation | Technique for reducing latency of inter-reference ordering using commit signals in a multiprocessor system having shared caches |
US6088771A (en) * | 1997-10-24 | 2000-07-11 | Digital Equipment Corporation | Mechanism for reducing latency of memory barrier operations on a multiprocessor system |
US6119150A (en) * | 1996-01-26 | 2000-09-12 | Hitachi, Ltd. | Message passing distributed shared memory system that eliminates unnecessary software controlled cache flushes or purges |
US6230246B1 (en) * | 1998-01-30 | 2001-05-08 | Compaq Computer Corporation | Non-intrusive crash consistent copying in distributed storage systems without client cooperation |
US6351845B1 (en) * | 1999-02-04 | 2002-02-26 | Sun Microsystems, Inc. | Methods, apparatus, and articles of manufacture for analyzing memory use |
US6378066B1 (en) | 1999-02-04 | 2002-04-23 | Sun Microsystems, Inc. | Method, apparatus, and article of manufacture for developing and executing data flow programs, and optimizing user input specifications |
US6434714B1 (en) | 1999-02-04 | 2002-08-13 | Sun Microsystems, Inc. | Methods, systems, and articles of manufacture for analyzing performance of application programs |
US6457107B1 (en) | 2000-02-28 | 2002-09-24 | International Business Machines Corporation | Method and apparatus for reducing false sharing in a distributed computing environment |
US6546359B1 (en) | 2000-04-24 | 2003-04-08 | Sun Microsystems, Inc. | Method and apparatus for multiplexing hardware performance indicators |
US6546453B1 (en) | 2000-08-31 | 2003-04-08 | Compaq Information Technologies Group, L.P. | Proprammable DRAM address mapping mechanism |
US6546465B1 (en) | 2000-08-31 | 2003-04-08 | Hewlett-Packard Development Company, L.P. | Chaining directory reads and writes to reduce DRAM bandwidth in a directory based CC-NUMA protocol |
US6567900B1 (en) | 2000-08-31 | 2003-05-20 | Hewlett-Packard Development Company, L.P. | Efficient address interleaving with simultaneous multiple locality options |
US6622225B1 (en) | 2000-08-31 | 2003-09-16 | Hewlett-Packard Development Company, L.P. | System for minimizing memory bank conflicts in a computer system |
US6625698B2 (en) * | 2000-12-28 | 2003-09-23 | Unisys Corporation | Method and apparatus for controlling memory storage locks based on cache line ownership |
US6633960B1 (en) | 2000-08-31 | 2003-10-14 | Hewlett-Packard Development Company, L.P. | Scalable directory based cache coherence protocol |
US6636955B1 (en) | 2000-08-31 | 2003-10-21 | Hewlett-Packard Development Company, L.P. | Mechanism for synchronizing multiple skewed source-synchronous data channels with automatic initialization feature |
US6647546B1 (en) | 2000-05-03 | 2003-11-11 | Sun Microsystems, Inc. | Avoiding gather and scatter when calling Fortran 77 code from Fortran 90 code |
US6654858B1 (en) | 2000-08-31 | 2003-11-25 | Hewlett-Packard Development Company, L.P. | Method for reducing directory writes and latency in a high performance, directory-based, coherency protocol |
US6662265B1 (en) | 2000-08-31 | 2003-12-09 | Hewlett-Packard Development Company, L.P. | Mechanism to track all open pages in a DRAM memory system |
US6662319B1 (en) | 2000-08-31 | 2003-12-09 | Hewlett-Packard Development Company, L.P. | Special encoding of known bad data |
US6668335B1 (en) | 2000-08-31 | 2003-12-23 | Hewlett-Packard Company, L.P. | System for recovering data in a multiprocessor system comprising a conduction path for each bit between processors where the paths are grouped into separate bundles and routed along different paths |
US6671822B1 (en) | 2000-08-31 | 2003-12-30 | Hewlett-Packard Development Company, L.P. | Method and system for absorbing defects in high performance microprocessor with a large n-way set associative cache |
US6678840B1 (en) | 2000-08-31 | 2004-01-13 | Hewlett-Packard Development Company, Lp. | Fault containment and error recovery in a scalable multiprocessor |
US6681295B1 (en) | 2000-08-31 | 2004-01-20 | Hewlett-Packard Development Company, L.P. | Fast lane prefetching |
US6704817B1 (en) | 2000-08-31 | 2004-03-09 | Hewlett-Packard Development Company, L.P. | Computer architecture and system for efficient management of bi-directional bus |
US6715057B1 (en) | 2000-08-31 | 2004-03-30 | Hewlett-Packard Development Company, L.P. | Efficient translation lookaside buffer miss processing in computer systems with a large range of page sizes |
US20040073738A1 (en) * | 2000-08-31 | 2004-04-15 | Kessler Richard E. | Scalable efficient I/O port protocol |
US20040073755A1 (en) * | 2000-08-31 | 2004-04-15 | Webb David A.J. | Broadcast invalidate scheme |
US20040098723A1 (en) * | 2002-11-07 | 2004-05-20 | Zoran Radovic | Multiprocessing systems employing hierarchical back-off locks |
US20040117564A1 (en) * | 2002-12-16 | 2004-06-17 | Oskar Grenholm | System and method for reducing shared memory write overhead in multiprocessor systems |
US6754739B1 (en) | 2000-08-31 | 2004-06-22 | Hewlett-Packard Development Company | Computer resource management and allocation system |
US6779142B1 (en) | 2000-08-31 | 2004-08-17 | Hewlett-Packard Development Company, L.P. | Apparatus and method for interfacing a high speed scan-path with slow-speed test equipment |
US6802057B1 (en) | 2000-05-03 | 2004-10-05 | Sun Microsystems, Inc. | Automatic generation of fortran 90 interfaces to fortran 77 code |
US6910107B1 (en) | 2000-08-23 | 2005-06-21 | Sun Microsystems, Inc. | Method and apparatus for invalidation of data in computer systems |
US6957208B1 (en) | 2000-10-31 | 2005-10-18 | Sun Microsystems, Inc. | Method, apparatus, and article of manufacture for performance analysis using semantic knowledge |
US6961781B1 (en) | 2000-08-31 | 2005-11-01 | Hewlett-Packard Development Company, L.P. | Priority rules for reducing network message routing latency |
US7035989B1 (en) | 2000-02-16 | 2006-04-25 | Sun Microsystems, Inc. | Adaptive memory allocation |
US20060123156A1 (en) * | 2002-01-11 | 2006-06-08 | Sun Microsystems, Inc. | Scalable method for producer and consumer elimination |
US7099913B1 (en) | 2000-08-31 | 2006-08-29 | Hewlett-Packard Development Company, L.P. | Speculative directory writes in a directory based cache coherent nonuniform memory access protocol |
US7213087B1 (en) | 2000-08-31 | 2007-05-01 | Hewlett-Packard Development Company, L.P. | Mechanism to control the allocation of an N-source shared buffer |
US7240169B2 (en) | 1999-02-04 | 2007-07-03 | Sun Microsystems, Inc. | Protocol for coordinating the distribution of shared memory |
US20090249316A1 (en) * | 2008-03-28 | 2009-10-01 | International Business Machines Corporation | Combining static and dynamic compilation to remove delinquent loads |
WO2012051298A3 (en) * | 2010-10-12 | 2012-07-05 | Nasuni Corporation | Versioned file system with sharing |
WO2012149509A1 (en) * | 2011-04-28 | 2012-11-01 | Microsoft Corporation | Storing metadata inside file to reference shared version of file |
US8682989B2 (en) | 2011-04-28 | 2014-03-25 | Microsoft Corporation | Making document changes by replying to electronic messages |
US8965983B2 (en) | 2011-05-06 | 2015-02-24 | Microsoft Technology Licensing, Llc | Changes to documents are automatically summarized in electronic messages |
US9137185B2 (en) | 2011-04-28 | 2015-09-15 | Microsoft Technology Licensing, Llc | Uploading attachment to shared location and replacing with a link |
US9165285B2 (en) | 2010-12-08 | 2015-10-20 | Microsoft Technology Licensing, Llc | Shared attachments |
US9274896B2 (en) | 2010-08-30 | 2016-03-01 | Nasuni Corporation | Versioned file system with fast restore |
US9575841B2 (en) | 2009-01-23 | 2017-02-21 | Nasuni Corporation | Method and system for interfacing to cloud storage |
US10185932B2 (en) | 2011-05-06 | 2019-01-22 | Microsoft Technology Licensing, Llc | Setting permissions for links forwarded in electronic messages |
US10311153B2 (en) | 2014-11-28 | 2019-06-04 | Nasuni Corporation | Versioned file system with global lock |
US10552799B2 (en) | 2011-04-28 | 2020-02-04 | Microsoft Technology Licensing, Llc | Upload of attachment and insertion of link into electronic messages |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5117350A (en) * | 1988-12-15 | 1992-05-26 | Flashpoint Computer Corporation | Memory address mechanism in a distributed memory architecture |
US5193180A (en) * | 1991-06-21 | 1993-03-09 | Pure Software Inc. | System for modifying relocatable object code files to monitor accesses to dynamically allocated memory |
US5528761A (en) * | 1991-03-29 | 1996-06-18 | International Business Machines Corporation | Message passing apparatus for determining if counted acknowledgements from a set of processors are within a defined range |
US5566321A (en) * | 1993-12-13 | 1996-10-15 | Cray Research, Inc. | Method of managing distributed memory within a massively parallel processing system |
US5590329A (en) * | 1994-02-04 | 1996-12-31 | Lucent Technologies Inc. | Method and apparatus for detecting memory access errors |
US5613063A (en) * | 1994-07-01 | 1997-03-18 | Digital Equipment Corporation | Method and apparatus for checking validity of memory operations |
-
1996
- 1996-07-17 US US08/684,281 patent/US5787480A/en not_active Expired - Lifetime
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5117350A (en) * | 1988-12-15 | 1992-05-26 | Flashpoint Computer Corporation | Memory address mechanism in a distributed memory architecture |
US5528761A (en) * | 1991-03-29 | 1996-06-18 | International Business Machines Corporation | Message passing apparatus for determining if counted acknowledgements from a set of processors are within a defined range |
US5193180A (en) * | 1991-06-21 | 1993-03-09 | Pure Software Inc. | System for modifying relocatable object code files to monitor accesses to dynamically allocated memory |
US5335344A (en) * | 1991-06-21 | 1994-08-02 | Pure Software Inc. | Method for inserting new machine instructions into preexisting machine code to monitor preexisting machine access to memory |
US5566321A (en) * | 1993-12-13 | 1996-10-15 | Cray Research, Inc. | Method of managing distributed memory within a massively parallel processing system |
US5590329A (en) * | 1994-02-04 | 1996-12-31 | Lucent Technologies Inc. | Method and apparatus for detecting memory access errors |
US5613063A (en) * | 1994-07-01 | 1997-03-18 | Digital Equipment Corporation | Method and apparatus for checking validity of memory operations |
Non-Patent Citations (2)
Title |
---|
"Fine-grain Access Control for Distributed Shared Memory," Schoinas et al., Computer Sciences Dept., University of Wisconsin-Madison, ACM ASPLOS VI, Oct. 1994. |
Fine grain Access Control for Distributed Shared Memory, Schoinas et al., Computer Sciences Dept., University of Wisconsin Madison, ACM ASPLOS VI, Oct. 1994. * |
Cited By (77)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6119150A (en) * | 1996-01-26 | 2000-09-12 | Hitachi, Ltd. | Message passing distributed shared memory system that eliminates unnecessary software controlled cache flushes or purges |
US6055605A (en) * | 1997-10-24 | 2000-04-25 | Compaq Computer Corporation | Technique for reducing latency of inter-reference ordering using commit signals in a multiprocessor system having shared caches |
US6088771A (en) * | 1997-10-24 | 2000-07-11 | Digital Equipment Corporation | Mechanism for reducing latency of memory barrier operations on a multiprocessor system |
US6230246B1 (en) * | 1998-01-30 | 2001-05-08 | Compaq Computer Corporation | Non-intrusive crash consistent copying in distributed storage systems without client cooperation |
US6434714B1 (en) | 1999-02-04 | 2002-08-13 | Sun Microsystems, Inc. | Methods, systems, and articles of manufacture for analyzing performance of application programs |
US6378066B1 (en) | 1999-02-04 | 2002-04-23 | Sun Microsystems, Inc. | Method, apparatus, and article of manufacture for developing and executing data flow programs, and optimizing user input specifications |
US7240169B2 (en) | 1999-02-04 | 2007-07-03 | Sun Microsystems, Inc. | Protocol for coordinating the distribution of shared memory |
US6351845B1 (en) * | 1999-02-04 | 2002-02-26 | Sun Microsystems, Inc. | Methods, apparatus, and articles of manufacture for analyzing memory use |
US7035989B1 (en) | 2000-02-16 | 2006-04-25 | Sun Microsystems, Inc. | Adaptive memory allocation |
US6457107B1 (en) | 2000-02-28 | 2002-09-24 | International Business Machines Corporation | Method and apparatus for reducing false sharing in a distributed computing environment |
US6546359B1 (en) | 2000-04-24 | 2003-04-08 | Sun Microsystems, Inc. | Method and apparatus for multiplexing hardware performance indicators |
US6647546B1 (en) | 2000-05-03 | 2003-11-11 | Sun Microsystems, Inc. | Avoiding gather and scatter when calling Fortran 77 code from Fortran 90 code |
US6802057B1 (en) | 2000-05-03 | 2004-10-05 | Sun Microsystems, Inc. | Automatic generation of fortran 90 interfaces to fortran 77 code |
US6910107B1 (en) | 2000-08-23 | 2005-06-21 | Sun Microsystems, Inc. | Method and apparatus for invalidation of data in computer systems |
US6779142B1 (en) | 2000-08-31 | 2004-08-17 | Hewlett-Packard Development Company, L.P. | Apparatus and method for interfacing a high speed scan-path with slow-speed test equipment |
US7024533B2 (en) | 2000-08-31 | 2006-04-04 | Hewlett-Packard Development Company, L.P. | Mechanism for synchronizing multiple skewed source-synchronous data channels with automatic initialization feature |
US6636955B1 (en) | 2000-08-31 | 2003-10-21 | Hewlett-Packard Development Company, L.P. | Mechanism for synchronizing multiple skewed source-synchronous data channels with automatic initialization feature |
US20030204697A1 (en) * | 2000-08-31 | 2003-10-30 | Kessler Richard E. | Mechanism for synchronizing multiple skewed source-synchronous data channels with automatic initialization feature |
US6633960B1 (en) | 2000-08-31 | 2003-10-14 | Hewlett-Packard Development Company, L.P. | Scalable directory based cache coherence protocol |
US6654858B1 (en) | 2000-08-31 | 2003-11-25 | Hewlett-Packard Development Company, L.P. | Method for reducing directory writes and latency in a high performance, directory-based, coherency protocol |
US6662265B1 (en) | 2000-08-31 | 2003-12-09 | Hewlett-Packard Development Company, L.P. | Mechanism to track all open pages in a DRAM memory system |
US6662319B1 (en) | 2000-08-31 | 2003-12-09 | Hewlett-Packard Development Company, L.P. | Special encoding of known bad data |
US6668335B1 (en) | 2000-08-31 | 2003-12-23 | Hewlett-Packard Company, L.P. | System for recovering data in a multiprocessor system comprising a conduction path for each bit between processors where the paths are grouped into separate bundles and routed along different paths |
US6671822B1 (en) | 2000-08-31 | 2003-12-30 | Hewlett-Packard Development Company, L.P. | Method and system for absorbing defects in high performance microprocessor with a large n-way set associative cache |
US6678840B1 (en) | 2000-08-31 | 2004-01-13 | Hewlett-Packard Development Company, Lp. | Fault containment and error recovery in a scalable multiprocessor |
US6681295B1 (en) | 2000-08-31 | 2004-01-20 | Hewlett-Packard Development Company, L.P. | Fast lane prefetching |
US6704817B1 (en) | 2000-08-31 | 2004-03-09 | Hewlett-Packard Development Company, L.P. | Computer architecture and system for efficient management of bi-directional bus |
US6715057B1 (en) | 2000-08-31 | 2004-03-30 | Hewlett-Packard Development Company, L.P. | Efficient translation lookaside buffer miss processing in computer systems with a large range of page sizes |
US20040073738A1 (en) * | 2000-08-31 | 2004-04-15 | Kessler Richard E. | Scalable efficient I/O port protocol |
US20040073755A1 (en) * | 2000-08-31 | 2004-04-15 | Webb David A.J. | Broadcast invalidate scheme |
US20040073851A1 (en) * | 2000-08-31 | 2004-04-15 | Webb David Arthur James | Special encoding of known bad data |
US20040088603A1 (en) * | 2000-08-31 | 2004-05-06 | Asher David H. | Method and system for absorbing defects in high performance microprocessor with a large n-way set associative cache |
US20040088523A1 (en) * | 2000-08-31 | 2004-05-06 | Kessler Richard E. | Fault containment and error recovery in a scalable multiprocessor |
US6738836B1 (en) | 2000-08-31 | 2004-05-18 | Hewlett-Packard Development Company, L.P. | Scalable efficient I/O port protocol |
US8364851B2 (en) | 2000-08-31 | 2013-01-29 | Hewlett-Packard Development Company, L.P. | Scalable efficient I/O port protocol |
US6751721B1 (en) | 2000-08-31 | 2004-06-15 | Hewlett-Packard Development Company, L.P. | Broadcast invalidate scheme |
US7370151B2 (en) | 2000-08-31 | 2008-05-06 | Hewlett-Packard Development Company, L.P. | Method and system for absorbing defects in high performance microprocessor with a large n-way set associative cache |
US6754739B1 (en) | 2000-08-31 | 2004-06-22 | Hewlett-Packard Development Company | Computer resource management and allocation system |
US6546453B1 (en) | 2000-08-31 | 2003-04-08 | Compaq Information Technologies Group, L.P. | Proprammable DRAM address mapping mechanism |
US20040177184A1 (en) * | 2000-08-31 | 2004-09-09 | Steinman Maurice B. | Computer architecture and system for efficient management of bi-directional bus |
US6622225B1 (en) | 2000-08-31 | 2003-09-16 | Hewlett-Packard Development Company, L.P. | System for minimizing memory bank conflicts in a computer system |
US6567900B1 (en) | 2000-08-31 | 2003-05-20 | Hewlett-Packard Development Company, L.P. | Efficient address interleaving with simultaneous multiple locality options |
US6918015B2 (en) | 2000-08-31 | 2005-07-12 | Hewlett-Packard Development Company, L.P. | Scalable directory based cache coherence protocol |
US6920512B2 (en) | 2000-08-31 | 2005-07-19 | Hewlett-Packard Development Company, L.P. | Computer architecture and system for efficient management of bi-directional bus |
US7213087B1 (en) | 2000-08-31 | 2007-05-01 | Hewlett-Packard Development Company, L.P. | Mechanism to control the allocation of an N-source shared buffer |
US6961781B1 (en) | 2000-08-31 | 2005-11-01 | Hewlett-Packard Development Company, L.P. | Priority rules for reducing network message routing latency |
US20030196047A1 (en) * | 2000-08-31 | 2003-10-16 | Kessler Richard E. | Scalable directory based cache coherence protocol |
US6546465B1 (en) | 2000-08-31 | 2003-04-08 | Hewlett-Packard Development Company, L.P. | Chaining directory reads and writes to reduce DRAM bandwidth in a directory based CC-NUMA protocol |
US7152191B2 (en) | 2000-08-31 | 2006-12-19 | Hewlett-Packard Development Company, L.P. | Fault containment and error recovery in a scalable multiprocessor |
US7076597B2 (en) | 2000-08-31 | 2006-07-11 | Hewlett-Packard Development Company, L.P. | Broadcast invalidate scheme |
US7100096B2 (en) | 2000-08-31 | 2006-08-29 | Hewlett-Packard Development Company, L.P. | Special encoding of known bad data |
US7099913B1 (en) | 2000-08-31 | 2006-08-29 | Hewlett-Packard Development Company, L.P. | Speculative directory writes in a directory based cache coherent nonuniform memory access protocol |
US6957208B1 (en) | 2000-10-31 | 2005-10-18 | Sun Microsystems, Inc. | Method, apparatus, and article of manufacture for performance analysis using semantic knowledge |
US6625698B2 (en) * | 2000-12-28 | 2003-09-23 | Unisys Corporation | Method and apparatus for controlling memory storage locks based on cache line ownership |
US7779165B2 (en) * | 2002-01-11 | 2010-08-17 | Oracle America, Inc. | Scalable method for producer and consumer elimination |
US20060123156A1 (en) * | 2002-01-11 | 2006-06-08 | Sun Microsystems, Inc. | Scalable method for producer and consumer elimination |
US20040098723A1 (en) * | 2002-11-07 | 2004-05-20 | Zoran Radovic | Multiprocessing systems employing hierarchical back-off locks |
US20040117564A1 (en) * | 2002-12-16 | 2004-06-17 | Oskar Grenholm | System and method for reducing shared memory write overhead in multiprocessor systems |
US7080213B2 (en) | 2002-12-16 | 2006-07-18 | Sun Microsystems, Inc. | System and method for reducing shared memory write overhead in multiprocessor systems |
US20090249316A1 (en) * | 2008-03-28 | 2009-10-01 | International Business Machines Corporation | Combining static and dynamic compilation to remove delinquent loads |
US9575841B2 (en) | 2009-01-23 | 2017-02-21 | Nasuni Corporation | Method and system for interfacing to cloud storage |
US9274896B2 (en) | 2010-08-30 | 2016-03-01 | Nasuni Corporation | Versioned file system with fast restore |
US9235596B2 (en) | 2010-10-12 | 2016-01-12 | Nasuni Corporation | Versioned file system with sharing |
WO2012051298A3 (en) * | 2010-10-12 | 2012-07-05 | Nasuni Corporation | Versioned file system with sharing |
US8661063B2 (en) | 2010-10-12 | 2014-02-25 | Nasuni Corporation | Versioned file system with sharing |
US10079789B2 (en) | 2010-12-08 | 2018-09-18 | Microsoft Technology Licensing, Llc | Shared attachments |
US9165285B2 (en) | 2010-12-08 | 2015-10-20 | Microsoft Technology Licensing, Llc | Shared attachments |
US9747268B2 (en) | 2011-04-28 | 2017-08-29 | Microsoft Technology Licensing, Llc | Making document changes by replying to electronic messages |
US9137185B2 (en) | 2011-04-28 | 2015-09-15 | Microsoft Technology Licensing, Llc | Uploading attachment to shared location and replacing with a link |
US8682989B2 (en) | 2011-04-28 | 2014-03-25 | Microsoft Corporation | Making document changes by replying to electronic messages |
WO2012149509A1 (en) * | 2011-04-28 | 2012-11-01 | Microsoft Corporation | Storing metadata inside file to reference shared version of file |
US10097661B2 (en) | 2011-04-28 | 2018-10-09 | Microsoft Technology Licensing, Llc | Uploading attachment to shared location and replacing with a link |
US10552799B2 (en) | 2011-04-28 | 2020-02-04 | Microsoft Technology Licensing, Llc | Upload of attachment and insertion of link into electronic messages |
US11308449B2 (en) | 2011-04-28 | 2022-04-19 | Microsoft Technology Licensing, Llc | Storing metadata inside file to reference shared version of file |
US8965983B2 (en) | 2011-05-06 | 2015-02-24 | Microsoft Technology Licensing, Llc | Changes to documents are automatically summarized in electronic messages |
US10185932B2 (en) | 2011-05-06 | 2019-01-22 | Microsoft Technology Licensing, Llc | Setting permissions for links forwarded in electronic messages |
US10311153B2 (en) | 2014-11-28 | 2019-06-04 | Nasuni Corporation | Versioned file system with global lock |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US5787480A (en) | Lock-up free data sharing | |
US5758183A (en) | Method of reducing the number of overhead instructions by modifying the program to locate instructions that access shared data stored at target addresses before program execution | |
US5933598A (en) | Method for sharing variable-grained memory of workstations by sending particular block including line and size of the block to exchange shared data structures | |
US5802585A (en) | Batched checking of shared memory accesses | |
US5761729A (en) | Validation checking of shared memory accesses | |
US5950228A (en) | Variable-grained memory sharing for clusters of symmetric multi-processors using private and shared state tables | |
Scales et al. | Shasta: A low overhead, software-only approach for supporting fine-grain shared memory | |
Fillo et al. | The m-machine multicomputer | |
CN110865968B (en) | Multi-core processing device and data transmission method between cores thereof | |
US6430657B1 (en) | Computer system that provides atomicity by using a tlb to indicate whether an exportable instruction should be executed using cache coherency or by exporting the exportable instruction, and emulates instructions specifying a bus lock | |
US6694412B2 (en) | Multiprocessor digital data processing system | |
JP3849951B2 (en) | Main memory shared multiprocessor | |
JP3987162B2 (en) | Multi-process system including an enhanced blocking mechanism for read-shared transactions | |
US6871219B2 (en) | Dynamic memory placement policies for NUMA architecture | |
US5251308A (en) | Shared memory multiprocessor with data hiding and post-store | |
KR100242484B1 (en) | Method and device for performance optimization of cache memory system | |
US6816947B1 (en) | System and method for memory arbitration | |
Scales et al. | Fine-grain software distributed shared memory on SMP clusters | |
US7047320B2 (en) | Data processing system providing hardware acceleration of input/output (I/O) communication | |
Scales et al. | Towards transparent and efficient software distributed shared memory | |
US20050144399A1 (en) | Multiprocessor system, and consistency control device and consistency control method in multiprocessor system | |
US6634021B2 (en) | User controlled relaxation of optimization constraints related to volatile memory references | |
US6101589A (en) | High performance shared cache | |
US6079012A (en) | Computer that selectively forces ordered execution of store and load operations between a CPU and a shared memory | |
US7363435B1 (en) | System and method for coherence prediction |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
AS | Assignment |
Owner name: DIGITAL EQUIPMENT CORPORATION, MASSACHUSETTS Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNORS:SCALES, DANIEL J.;GHARACHORLOO, KOUROSH;REEL/FRAME:008115/0001 Effective date: 19960715 |
|
STCF | Information on status: patent grant |
Free format text: PATENTED CASE |
|
FPAY | Fee payment |
Year of fee payment: 4 |
|
AS | Assignment |
Owner name: COMPAQ INFORMATION TECHNOLOGIES GROUP, L.P., TEXAS Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNORS:DIGITAL EQUIPMENT CORPORATION;COMPAQ COMPUTER CORPORATION;REEL/FRAME:012447/0903;SIGNING DATES FROM 19991209 TO 20010620 |
|
AS | Assignment |
Owner name: HEWLETT-PACKARD DEVELOPMENT COMPANY, L.P., TEXAS Free format text: CHANGE OF NAME;ASSIGNOR:COMPAQ INFORMANTION TECHNOLOGIES GROUP LP;REEL/FRAME:014102/0224 Effective date: 20021001 |
|
FPAY | Fee payment |
Year of fee payment: 8 |
|
FPAY | Fee payment |
Year of fee payment: 12 |
|
AS | Assignment |
Owner name: HEWLETT PACKARD ENTERPRISE DEVELOPMENT LP, TEXAS Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNOR:HEWLETT-PACKARD DEVELOPMENT COMPANY, L.P.;REEL/FRAME:037079/0001 Effective date: 20151027 |