SYSTEM AND METHOD FOR DYNAMIC PRIORITY CONFLICT RESOLUTION IN A MULTI-PROCESSOR COMPUTER SYSTEM HAVING SHARED MEMORY RESOURCES

Abstract: A system and method for dynamic priority conflict resolution in a multi-processor computer system having shared memory resources wherein a predetermined priority level for each input port (62) is maintained by each output port (64). When a conflict for a particular output port (64) occurs, the priority levels of the conflicting inputs are evaluated and access is initially granted to the highest priority input. Once this initial access is granted, the priority level of the "winning" input is then changed to the lowest priority level and the priority of all of the other inputs is increased by one. Inputs not requiring access to a particular output port (64) over a relatively long period of time will resultantly have their priority incremented to the highest level and remain there. If multiple inputs have been incremented to the highest priority, or another form of priority conflict occurs, the input may then default back to its original predetermined priority. In this instance, no input will be blocked indefinitely and the longest wait will then be equal to the time duration for which access is granted, multiplied by the total number of inputs.

Description: SYSTEM AND METHOD FOR DYNAMIC PRIORITY CONFLICT RESOLUTION IN A MULTI-PROCESSOR COMPUTER SYSTEM HAVING SHARED MEMORY RESOURCES The present invention is related to the subject matter disclosed in United States Patent Applications Serial No 08/992,763 filed December 17, 1997 for "Multiprocessor Computer Architecture Incorporating a Plurality of Memory Algorithm Processors in the Memory Subsystem" and Serial No 09/008,871 filed January 20, 1998 for "Scalable Single System Image Operating Software Architecture for a Multi-Processing Computer System", both assigned to SRC Computers, Inc , Colorado Springs, Colorado assignee of the present invention, the disclosures of which are herein specifically incorporated by this reference BACKGROUND OF THE INVENTION The present invention relates, in general, to the field of multiprocessor computer systems More particularly, the present invention relates to a system and method for dynamic priority conflict resolution in a multi-processor computer system, for example a symmetric multi- processing ("SMP") computer system, having shared memory resources SMP is defined as the connection of more than one homogeneous processor to a single, monolithic central memory However, until recently, hardware and software limitations have minimized the total number of physical processors that could access a single memory efficiently These limitations have reduced the ability to maintain computational efficiency as the number of processors in a computer system increased, thus reducing the overall scalability of the system With the advent of faster and ever more inexpensive microprocessors, large processor count SMP systems are becoming available and hardware advances have allowed interconnected networks to multiplex hundreds of processors to a single memory with a minimal decrease in efficiency Nevertheless, in any computer system that employs multiple processors which share the same memory space, it is possible that at least two processors may try to access the same memory simultaneously In this instance a "conflict" is said to exist In addition to memory, conflicts may also arise for any single element in the system wherein multiple users may require substantially concurrent access An example of this type of conflict might occur when a port on a crossbar switch is used to route incoming signals from multiple ports to a selected output port, also a situation requiring conflict resolution To resolve such conflicts, special circuitry must be added to the computer system in order to determine which device is allowed to access memory or another system resource at any given time The simplest of these circuits merely assigns a predetermined priority value to each of the processors in the system when a conflict occurs, the circuit grants access to the highest priority processor Any other processor must try to access memory at a later time, which causes it to be delayed Although this circuit is easy to implement, it has a major drawback It is possible for a single, high-priority processor to continually access the resource and prevent lower priority processors from ever getting access to it This event will stall out the other processors and greatly reduce system performance Also, as the number of processors increase, so will the likelihood of this event happening As a result, it has been very difficult to build shared memory computers with hundreds of processors and still have the performance of that system scale well beyond 64 processors SUMMARY OF THE INVENTION The system and method of the present invention advantageously overcome this memory access priority problem and are of especial utility in affording equal priority access to the shared memory resources 2 by all processing devices In a particular embodiment disclosed herein, a circuit for effectuating the same may be implemented utilizing Field Programmable Gate Array ("FPGA") technology The function of the circuit disclosed to implement the system and method of the present invention is to resolve conflicts within a crossbar switch used to connect the processors to the shared memory in a computer system The particular embodiment disclosed includes a switch with a first plurality of input ports (e g 20) and a second plurality of output ports (e g 16) A number of these switches are then cascaded into two levels to allow a total of 320 processors to access any of up to 256 memory banks As stated previously, in a computer system utilizing this relatively large number of processors, it is necessary to ensure that all processors have equal priority to access memory over time In operation, a priority level for each input port is maintained by each output port On power up, these priority levels are predetermined in accordance with the particular computer system design When a conflict for a particular output port occurs, the priority levels of the conflicting inputs are evaluated and access is initially granted to the highest priority input Once this initial access is granted, the priority level of the "winning" input is then changed to the lowest priority level and the priority of all of the other inputs is increased by one Through use of this technique, all inputs will transition through all of the possible priority levels based upon their usage of the output and an input that has just been given access to the output will have a low priority, whereas an input that has not recently accessed the output will have a higher priority Inasmuch as only those inputs that require access to the output are evaluated, the system always allows a useful connection In addition, the input that has least recently used the output will be allowed access to it Since it is possible that an input may not need access to a particular output port for some time, this will result in its priority being 3 incremented to the highest level where it will remain In the particular implementation disclosed, this highest level priority is the only priority level that can legitimately be held by more than one input at a time As a consequence, a mechanism is needed to deal with a conflict between inputs that all have the highest priority level, although this same situation might also be encountered in the event of a circuit error that inappropriately assigned the same priority to two differing inputs The solution disclosed herein is to then default back to the original predetermined priorities when a priority conflict occurs This action breaks the tie and allows the circuit to continue to function as described This, in essence, guarantees that no input will be blocked indefinitely and that the longest wait will be equal to the time duration for which access is granted, multiplied by the total number of inputs Specifically, what has been disclosed herein is a computer system including a plurality of processing elements requiring access to a shared memory resource The computer system comprises a priority conflict resolution circuit for controlling access to the memory resource among the processing elements The priority conflict resolution circuit includes a predetermined differing initial priority assigned corresponding to each of the plurality of the processing elements Upon a selected one of the processing elements being afforded access to the memory resource based upon its initial priority being a highest priority, the initial priority of that processing element is then changed to a lowest priority and the priority of all others of the plurality of the processing elements is incremented to a next higher priority Also disclosed herein is a method for dynamic priority conflict resolution in a computer system which includes a plurality of processing elements and a shared memory resource The method comprises the steps of assigning a predetermined differing initial priority corresponding to each of the plurality of processing elements, affording access to the memory resource to a requesting one of the processing elements having a highest initial priority thereof, reducing 4 the initial priority of the processing element afforded access to the memory resource to a lowest priority thereof and incrementing the priority of each remaining one of the plurality of processing elements to a next higher priority. BRIEF DESCRIPTION OF THE DRAWINGS The aforementioned and other features and objects of the present invention and the manner of attaining them will become more apparent and the invention itself will be best understood by reference to the following description of a preferred embodiment taken in conjunction with the accompanying drawings, wherein: Figs. 1 A and 1 B are a functional block system overview illustrating a computer system in accordance with an embodiment of the present invention comprising between 1 and 16 segments coupled together by a like number of trunk lines, each segment containing a number of computational and service processors in addition to memory and a crossbar switch assembly; Fig. 2 is a simplified functional block diagram for the interconnect strategy for the computer system of Figs. 1 A and 1 B allowing a total of three hundred twenty processors to access any of the two hundred fifty six memory banks; Fig. 3 is a simplified block diagram of a dynamic priority conflict resolution and data routing circuit utilized as processor switches in the interconnect strategy of Fig. 2 illustrating, for example, twenty input ports and sixteen output ports; Fig. 4 is a functional block diagram of a dynamic priority conflict resolution circuit in accordance with the present invention; Fig. 5A is a functional block diagram of an input port and 4-to-16 demultiplexor; and Fig. 5B is a functional block diagram of a conflict resolution circuit for use in conjunction with the system and method of the present invention. 5 DESCRIPTION OF A PREFERRED EMBODIMENT With reference now to Figs 1 A and 1 B, a symmetric multiprocessing computer system 10 in accordance with the present invention is shown The exemplary computer system 10 comprises, in pertinent part, any number of interconnected segments 12 0 through 12-1 5 , although the principles of the present invention are likewise applicable to any scalable system having large numbers of processors The various segments 12 0 through 12ι 5 are coupled through a number of trunk lines 14 0 through 12 15 as will be more fully described hereinafter Each of the segments 12 comprises a number of functionally differentiated processing elements in the form of service processors 16o through 16 3 (service processor 16 0 functions additionally as a master boot device) and computational processors 18 0 through 18ι 5 The service processors 16 are coupled to a number of peripheral component interconnect ("PCI") interface modules 20, and in the embodiment shown, each service processor is coupled to two such modules 20 to enable the service processors 16 to carry out all of the I/O functionality of the segment 12 The computer system 10 further includes a seπal-to-PCI interface 22 for coupling a system console 24 to at least one of the segments 12 of the computer system 10 The system console 24 is operational for enabling a user of the computer system 10 to download boot information to the computer system 10, configure devices, monitor status, and perform diagnostic functions Regardless of how many segments 12 are configured in the computer system 10, only one system console 24 is required The boot device 26 (for example, a JAZ® removable disk computer mass storage device available from Iomega Corporation, Roy UT)ιs also coupled to the master boot service processor 16 0 through one of the PCI modules 20 The PCI modules 20 coupled to service 6 processors 16-, through 16 3 are utilized to couple the segment 12 to all other peripheral devices such as, for example, disk arrays 28 0 through 28 5 , any one or more of which may be replaced by, for example, an Ethernet connection. The computer system 10 comprises sophisticated hardware and building blocks which are commodity based, with some enhancements to accommodate the uniqueness of high-performance computing ("HPC"). On the hardware side, the base unit for the computer system 10 is a segment 12. Each segment 12 contains computation and service processor 18, 16 elements, memory, power supplies, and a crossbar switch assembly. The computer system 10 is "scalable" in that an end user can configure a system that consists of from 1 to 16 interconnected segments 12. Each segment 12 contains 20 total processors: sixteen computational processors 18 and four service processors 16. In a preferred embodiment, the computational processors 18 may reside on an individual assembly that contains four processors (e.g. the Deschutes™ microprocessor available from Intel Corporation, Santa Clara, CA) and eight interface chips (i.e. two per computational processor 18). Each computational processor 18 has an internal processor clock rate greater than 300 MHz and a system clock speed greater than 100 MHz, and the interface chips provide the connection between the computational processors 18 and the memory switches that connect to memory as will be described and shown in greater detail hereafter. The service processors 16 may be contained on a service processor assembly, which is responsible for all input and output for the computer system 10. Each of the service processor assemblies contain a processor (the same type as the computational processor 18), two interface chips, two 1 Mbyte I/O buffers, and two bi-directional PCI buses. Each PCI bus has a single connector. All I/O ports have DMA capability with equal priority to processors. The PCI modules 20 serve dual purposes, depending upon which service processor 16 with 7 which they are used. The PCI connectors on the master boot service processor 16 0 are used to connect to the boot device 26 and the system console 24. The PCI modules 20 on the regular service processors 16-, through 16 3 are used for all other peripherals. Some of the supported PCI-based interconnects include small computer systems interface ("SCSI"), fiber distributed data interface ("FDDI"), high performance parallel interface ("HIPPI") and others. Each PCI bus has a corresponding commodity-based host adapter. The separation of service functions from computing functions allows for concurrent execution of numeric processing and the servicing of operating system duties and external peripherals. With reference additionally now to Fig. 2, the interconnect strategy for the computer system 10 of Figs. 1 A and 1 B is shown in greater detail in an implementation employing sixteen segments 12 0 through 12 n5 interconnected by means of sixteen trunk lines 14 0 through 14 15 . As shown, a number of memory banks 50 0 through 50ι 5 , each allocated to a respective one of the computational processors 18 0 through 18 15 (resulting in sixteen memory banks 50 per segment 12 and two hundred fifty six memory banks 50 in total for a sixteen segment 12 computer system 10) form a portion of the computer system 10 and are respectively coupled to the trunk lines 14 0 through 14 15 through a like number of memory switches 52 0 through 52 15 . The memory utilized in the memory banks 50 0 through 50 15 may be synchronous static random access memory ("SSRAM") or other suitable high speed memory devices. Also as shown, each of the segments 12 0 through 12 i5 includes, for example, twenty processors (four service processors 16 0 through 16 3 and sixteen computational processors 18 0 through 18 15 ) coupled to the trunk lines 14 0 through 14 15 through a corresponding one of a like number of processor switches 54 0 through 54ι 5 . Each segment 12 interconnects to all other segments 12 through the crossbar switch. The computer system 10 crossbar switch technology enables segments 12 to have uniform memory access times across segment boundaries, as well as within the individual segment 12 It also enables the computer system 10 to employ a single memory access protocol for all the memory in the system The crossbar switch may utilize high-speed Field Programmable Gate Arrays ("FPGAs")to provide interconnect paths between memory and the processors, regardless of where the processors and memory are physically located This crossbar switch interconnects every segment 12 and enables the processors and memory located in different segments 12 to communicate with a uniform latency In a preferred embodiment, each crossbar switch has a 1 clock latency per tier, which includes reconfiguration time For a sixteen segment 12 computer system 10 utilizing three hundred and twenty processors 16, 18 only two crossbar tiers are required As mentioned previously, the computer system 10 may preferably utilize SSRAM for the memory banks 50 since it presents a component cycle time of 6 nanoseconds Each memory bank 50 supports from 64 to 256 Mbytes of memory Each computational processor 18 supports one memory bank 50 , with each memory bank 50 being 256 bits wide, plus 32 parity bits for a total width of 288 bits In addition, the memory bank 50 size may be designed to match the cache line size, resulting in a single bank access for a full cache line Read and write memory error correction may be provided by completing parity checks on address and data packets The parity check for address packets may be the same for both read and write functions wherein new and old parity bits are compared to determine whether or not the memory read or write should continue or abort When a memory "write" occurs, a parity check may be done on each of the data packets arriving in memory Each of these data packets has an 8-bιt parity code appended to it As the data packet arrives in memory, a new 8-bιt parity code is generated for the data packet and the old and new parity codes are compared The 9 comparison results in one of two types of codes: single bit error ("SBE") or double-bit or multi-bit error ("DBE"). The single-bit error may be corrected on the data packet before it is entered in memory. In the case of a double-bit or multi-bit error, the data packet is not written to memory, but is reported back to the processor, which retries the data packet reference. When a memory "read" occurs, each of the data packets read from memory generates an 8-bit parity code. This parity code is forwarded with the data to the processor. The processor performs single error correction and double error detection ("SECDED") on each data packet. With reference additionally now to Fig. 3, a dynamic priority conflict resolution and data routing circuit utilized as the processor switches 54 0 through 54 15 in the interconnect strategy of the preceding figure is shown. In this exemplary illustration, a number of FPGA implemented data routing integrated circuit devices ("chips") 60 under the control of a number of conflict resolution chips 66 are utilized to interconnect twenty input ports 62 (l 0 through l 19 ) to sixteen output ports 64 (Oo through O15). As will be more fully described hereinafter, the data routing chips 60 and conflict resolution chips 66 of the processor switches 54 function to afford equal priority access to the shared memory resources (memory banks 50 0 through 50 15 ) by all processing devices (the twenty processors 12 0 through 12 15 of each segment of the computer system 10). The function of the circuit shown is to resolve conflicts within the crossbar switch used to connect the processors 12 to the memory 50. The embodiment disclosed with particularity includes a switch 54 with a first plurality of input ports (e.g. 20) and a second plurality of output ports (e.g. 16). A number of these switches 54 are then cascaded into two levels to allow a total of three hundred twenty processors 12 to access any of up to two hundred fifty six memory banks 50. As stated previously, in a computer system l Outilizing this large number of 1 0 processors 12, it is necessary to ensure that all processors 12 have equal priority to access memory over time With reference additionally now to Fig 4, a functional block diagram of a dynamic priority conflict resolution circuit 70 in accordance with the present invention is shown The conflict resolution circuit 70 includes a trunk selector 72 which receives a number of trunk requests on a one hundred line trunk request bus The trunk selector 72 is coupled to a two hundred forty line bus to other computer system 10 trunk comparators and provides a trunk select signal on a sixteen line bus to a priority comparator 74 The priority comparator 74 is coupled to twenty priority level counters 76 (one per trunk) by means of a twenty line counter reset bus and receives a priority level signal therefrom on a hundred line bus at the output of the priority level counters 76 The priority comparator 74 produces a "trunk win" signal on a twenty line output bus as shown In operation, a priority level for each input port is maintained by each output port On power up, these priority levels are predetermined in accordance with the particular computer system design When a conflict for a particular output port occurs, the priority levels of the conflicting inputs are evaluated and access is initially granted to the highest priority input Once this initial access is granted, the priority level of the "winning" input is then changed to the lowest priority level and the priority of all of the other inputs are each increased by one Through use of this technique, all inputs will transition through all of the possible priority levels based upon their usage of the output and an input that has just been given access to the output will have a low priority, whereas an input that has not recently accessed the output will have a higher priority Inasmuch as only inputs that require access to the output are evaluated, the system always allows a useful connection In addition, the input that has least recently used the output will be allowed access to it 1 1 Since it is possible that an input may not want to get access to a particular output port for some time, this event will result in its priority being incremented to the highest level and remaining there. In the particular implementation disclosed, this highest level priority is the only priority level that can legitimately be held by more than one input at a time. As a consequence, a mechanism is needed to deal with a conflict between inputs that all have the highest priority level, although this same situation might also be encountered in the event of a circuit error that inappropriately assigned the same priority to two inputs. The solution disclosed herein is to default back to the original predetermined priorities when a priority conflict occurs. This action breaks the tie and allows the circuit to continue to function as described. This, in essence, guarantees that no input will be blocked indefinitely and that the longest wait will be equal to the time duration for which access is granted, multiplied by the total number of inputs. With reference additionally now to Fig. 5A, an input port and 4- to-16 demultiplexer circuit 80 is shown comprising a 4-to-16 demultiplexer 82 coupled to receive a five line input N trunk request signal and to provide an input N trunk select signal (to the counter output enables "OE") on a sixteen line output bus. There is a demultiplexer circuit 80 for each input port. With reference additionally now to Fig. 5B, a conflict resolution circuit 90 is shown. The conflict resolution circuit 90 includes a number of counters 92, each having a five bit count preset with values of between 0 and 19 inclusive. The five bit value of each of the counters 92 is supplied to a comparison tree 94 to produce a "winning" input signal on a twenty line output bus as well as a reset signal to each of the counters 92 as will be more fully described hereinafter. The individual counters 92 receive an input trunk select signal as shown and there is a conflict resolution circuit 90 for each output port of the computer system 10, each of which operates independently of the others. 12 With reference to both Figs 5A and 5B, each input provides a 5- bit code to the demultiplexor 82 This code consists of four bits that provide a binary representation of the desired output and one bit indicating that the request for an output is valid, with the latter bit used because an input may not desire an access to any output With sixteen possible output selections, the four bits will always indicate a legitimate output selection and the valid bit is connected to the demultiplexor 82 enable pin If the valid bit is activated, the demultiplexor circuit 80 will then activate one of its sixteen outputs that corresponds to the desired output port of the crossbar With twenty input ports there will be a corresponding twenty demultiplexor circuits 80, each with one output corresponding to each output of the crossbar switch With sixteen outputs, there are also then sixteen identical conflict resolution circuits 90 The circuit for switch output "1 " will receive the first output from each of the twenty demultiplexors 82 The circuit for output "2" gets the second of the twenty outputs, and so forth through all sixteen circuits Each of the twenty demultiplexor circuit 80 output signals is used to enable the output of a 5-bιt counter 92 These counters 92 are used to create the actual priority level for the input port with which it is associated These counter output bits are then compared with each other to determine the "winning" input port This comparison is done using a comparison tree circuit 94 in accordance with the criteria indicated in the following Table 1 The full comparison tree circuit equations are shown in the succeeding Table 2 By using a "greater than or equal to" comparator instead of only a "greater than" comparator, ties between identical priorities are automatically resolved This eliminates the need to add additional circuitry and time to detect and resolve ties as mentioned previously The outputs from these comparators are logically combined as shown to create one active output from a field of twenty possible outputs One output is associated with each switch input and will only 1 3 become active if that input is the one granted access to the switch output. On power up, the counters 92 are each preset to a unique output value. These represent the twenty preset values described previously. When a particular counter 92 contains the "winning" priority, it is reset to a zero output. All other counters 92 are incremented. Once a count of "20" is reached, no further increments are issued to that counter 92. This action allows for an input to achieve a high priority level and hold it until it wants to connect to a particular output. At that point, it will "win" access very quickly, although relatively wide counters and comparators are required. 14 TABLE 1. Full Comparison Tree Circuit u -4 = xA xB xC xD xE xF xG xH xl xJ xK xL xM xN xO xP xQ xR xS Ax D-.I1 Ώ≥Q. D-.I3 D-I4 D--I5 I0 B D>I7 O. I8 0-I9 0-110 0-111 D -112 0-113 0-114 0-115 0-116 0>I17 0-118 0-119 Bx I1-.-2 11-13 I1>I4 11-15 I1>B I1 >I7 11 I8 11 -e I1>I10 I1>I11 11 -112 11-113 11 114 11 -115 11-116 11-117 11 -118 11-119 Cx 2-I3 2-I4 -2 ^ 15 Q,B 2-I7 I2.I8 2-I9 2-110 2-111 2-112 12-113 2 114 2--I15 2-116 2-117 2>I18 2-119 1 Dx I3-I4 B-I5 13 B I3>I7 I3≥I8 13 19 13 110 13-111 13-112 13-113 13 114 13 115 13-116 13-117 13-118 I3--I19 Ex M≥I5 I4>B I4>I7 H≥lβ I4ιl9 I4>I10 I4>I11 I4>I12 14-113 14-114 14-115 14-116 14 -117 I4>I18 I4>I19 Fx I5-B 5>I7 B≥ia B-I9 15-110 15.111 B-112 B-113 I5>I14 15-115 15-116 15-117 15 118 15-119 Gx B-I7 B-I8 B--I9 B-110 B>I11 B 112 B 113 16-114 B-115 B_I16 16-117 B 118 B-119 I7?I13 17-114 17-115 17-116 17-117 17-118 17 119 i Hx rr≥ F7--Θ 17-110 17-111 I7 12 Ix I8-I9 18--I10 18- 111 B-112 I8-.I13 18-114 I8--I15 18-116 18-117 B-118 18-119 J 19-110 e-m e-112 Θ-113 Θ-114 19 115 19-116 19-117 19-118 19-119 Kx 110-111 no 112 no ιi3 110.114 110- 115 no 116 110 117 110 118 110 119 Lx 111-112 I11ϊl13 111 -114 111-115 111-116 111,117 111-118 111-119 Mx I12--I13 112-114 112-115 I12>I16 112-117 112-118 112-119 Nx 113-114 I13->I15 113 -116 I13--I17 I13--I18 113-119 Ox 114-115 I14>I16 I14-I17 I14>I18 I14≥I19 Px I15--116 I15>I17 I15 I18 115-119 Qx I16 I17 I16>I18 I16>I19 Rx I17--I18 I17>I19 Sx 118-119 π Examples AA=I0 > 11 , AB=I0 > 12 O TABLE 2. Full Comparison Equations WINIO = AA * AB * AC * AD * AE * AF * AG * AH * AI * AJ * AK * AL * AM * AN * Aθ * AP * AQ*AR*AS INI1 = ~AA * BA * BB * BC * BD * BE*BF * BG * BH*BI * BJ * BK * BL * BM * BN * Bθ * BP * BQ * BR WIN12 = ~AB * -BA * CA * CB * CC * CD * CE * CF * CG * CH * CI * CJ * CK * C * CM * CN * CO * CP * CQ WINI3 = ~AC * ~BB * ~CA * DA * DB * DC * DD * DE * DF*DG * DH * DI * DJ * DK * DL * D * DN*DO * DP WINI4= ~AD * ~BC * ~CB * ~DA * EA * EB * EC * ED * EE * EF * EG * EH * EI * EJ*EK * EL * EM*EN * EO WINI5 = ~AE * ~BD * ~CC * ~DB * ~EA * FA * FB * FC * FD * FE * FF * FG * FH * FI * FJ * FK * FL * F *FN WINI6 = --AF * ~BE * ~CD*--DC * ~EB * -FA * GA * GV * GC * GD * GE * GF * GG * GH * GI * GJ * GK * GL * G WINI7 = ~AG * ~BF * ~CE * ~DD * ~EC * ~FB * -GA * HA * HB * HC * HD*HE * HF * HG * HH * HI * HJ * HK * HL WINI8 = -AH * ~BG * -CF * -DE * ~ED * ~FC * -GB * ~HA * IA * lB * IC * ID * IE * IF * IG * IH * ll * IJ * IK WINI9 = ~AI * -BH * ~CG * -DF * -EE- * FD *4 -GC * ~HB * -IA * JA * JB * JC * JD * JEiJF * JG * JH * JI*JJ WINI10 = ~AJ * ~BI * ~CH * ~DG * ~EF * ~FE * ~GD * ~HC * ~IB*~JA * KA * KB * KC * KD * KE * KF * KG*KH*KI WINI11 = ~AK * ~BJ * ~CI * ~DH * ~EG * ~FF * -GE * ~HD C*~JB * -KA * LA * LB * LC * LD * LE * LF * LG * LH WIN112 = ~AL*~BK*~CJ*~DΓ~EH * ~FG * ~GF*~HE * ~ID*~JC*~KB * ~LA*MA*MB * MC* D*ME * MF*MG WINI13 = ~A *~BL*~CK*-DJ*--EI*~FH * --GG*~HF * ~IE * ~JD *4 -KC * ~LB * ~ A * NA*NB*NC*ND*NE*NF WINI14= 4 -AN*~BM*--CL*--DK*~EJ * ~FI*~GH * --HG * --IF*--JE * ~KD * ~LC * ~ B*-NA*OA*OB*OC*OD*OE WINI15 = ~AO*~BN*~CM*~DL*~EK * --FJ * ~GI * ~HH * -IG * ~ 4 JF * ~KE * ~LD * -MC * --NB * ~OA*PA*PB*PC*PD WINI16 = ~AP*-BO*~CN*--DM * ~EL * ~FK * --GJ * ~HI * --IH * ~JG * ~KF * -LE * -- D * ~NC * ~OB * --PA*QA* QB*QC WINI = ~AQ*~BP*~CO*~DN*~EM*~FL * ~GK*~HJ*-II*~JH*~KG*~LF*-IVIE*~ND*--OC*~PB*~QA*RA*RB WINI18 = ~AR*~BQ*-CP*--DO*~EN * ~FM * --GL * ~HK * ~IJ * --JI*~KH * ~ G * --MF*~NE*--OD*--PC*~QB*~RA * SA 16 A slightly modified approach might also be utilized which greatly improves this situation, at the expense of a small amount of the priority equalization scheme. The following Tables 3 and 4 show this modified and presently preferred approach. This technique is distinguished by the fact that all twenty counter outputs are compared concurrently as five groups of four counters 92 each. This results in five potential "winners". Another comparison then evaluates the priority level of each of the five groups. This result is then used to select the priority input from one of the five groups as the final "winner". In the application shown and described, the counters used in the five groups may be reduced from five bits to two bits. The new counters used to select the group add an additional five, 3-bit counters. This is a reduction from one hundred to ninety counter bits. In addition, the comparators are altered from a total of nine hundred fifty bits of comparison to forty bits. 17 TABLE 3. Dynamic Priority Conflict Resolution Application > 11 12 13 14 15 16 17 18 19 110 111 112 113 114 115 116 117 118 119 10 A0 A1 A2 11 A3 A4 12 A5 13 14 BO B1 B2 15 B3 B4 16 B5 17 18 CO C1 C2 19 C3 C4 110 C5 11 1 112 DO D1 D2 113 D3 D4 114 D5 115 116 EO E1 E2 117 E3 E4 118 E5 G1 G2 G3 G4 GO F0 F1 F2 F3 G1 F4 F5 F6 G2 F7 F8 G3 F9 Examples: 10- 11 = A0; I P - I2 = A1 TABLE 4. Dynamic Priority Conflict Resolution Equations WINIO = A0 * A1 * A2*F0*F1 * F2*F3 WINI1 = ~A0*A3 * A4 * F0 * F1 * F2*F3 WIN12 = ~A1 * ~A3 * A5*F0 * F1 *F2*F3 WINI3 = ~A2 * ~A4 * ~A5 * F0 * F1 * F2*F3 WINI4 = B0 * B1 *B2 * ~F0*F4*F5*F6 WINI5 = ~B0 * B3 * B4 * ~F0 * F4 * F5 * F6 WINI6 = ~B1 * ~B3 * B5*~F0 * F4*F5*F6 WINI7 = ~B2 * ~B4 * B5 * ~F0 * F4*F5*F6 WINI8 = C0*C1 *C2 * ~F1 *F7*F8 WINI9 = ~C0*C3*C4 * ~F1 *~F4*F7*F8 WINI10 = ~C1 * ~C3*C5 * ~F1 * ~F4 * F7 * F8 WINI11 = ~C2 * ~C4 * ~C5 * ~F1 * ~F4*F7 * F8 WINI12 = D0*D1 *D2*~F2*~F5*~F7*F9 WINI13 = ~D0*D3*D4*~F2*~F5*~F7*F9 WINI14 = D1 *~D3*D5*~F2*~F5 * ~F7*F9 WINI15 = ~D2 * ~D4 * ~D5 * ~F2 * ~F5*~F7*F9 WINI16 = E0*D1 *D2*~F3 * ~F6*~F8*~F9 WINI17 = ~DO*E3 * D4*~F3*~F6*~F8*~F9 WINI18 = ~E1 *~E3*E5*~F3*~F6 * ~F8*~F9 WINI19= = ~E2*~E4*~E5*~F3*~F6*~F8*~F9 19 While there have been described above the principles of the present invention in conjunction with specific a specific multi-processor computer architecture it is to be clearly understood that the foregoing description is made only by way of example and not as a limitation to the scope of the invention. Particularly, it is recognized that the teachings of the foregoing disclosure will suggest other modifications to those persons skilled in the relevant art. Such modifications may involve other features which are already known per se and which may be used instead of or in addition to features already described herein. Although claims have been formulated in this application to particular combinations of features, it should be understood that the scope of the disclosure herein also includes any novel feature or any novel combination of features disclosed either explicitly or implicitly or any generalization or modification thereof which would be apparent to persons skilled in the relevant art, whether or not such relates to the same invention as presently claimed in any claim and whether or not it mitigates any or all of the same technical problems as confronted by the present invention. The applicants hereby reserve the right to formulate new claims to such features and/or combinations of such features during the prosecution of the present application or of any further application derived therefrom. What is claimed is: 20

Claims: CLAIMS: 1. A computer system including a plurality of processing elements requiring access to a shared memory resource, said computer system comprising: a priority conflict resolution circuit for controlling access to said memory resource among said processing elements, said priority conflict resolution circuit including a predetermined differing initial priority assigned corresponding to each of said plurality of said processing elements and wherein upon a selected one of said plurality of said processing elements being afforded access to said memory resource based upon said initial priority thereof being a highest priority, said initial priority of said selected one of said plurality of said processing elements is changed to a lowest priority and said priority of all others of said plurality of said processing elements is incremented to a next higher priority. 2. The computer system of claim 1 wherein said priority conflict resolution circuit comprises a counter to determine an actual priority of a memory resource requesting one of said plurality of processing elements. 3. The computer system of claim 1 wherein said priority conflict resolution circuit comprises a comparator to dynamically correct erroneous priorities among said plurality of processing elements. 4. The computer system of claim 3 wherein said comparator is operative to implement a greater-than-or-equal-to function to correct said erroneous priorities. 5. The computer system of claim 1 wherein said priority conflict resolution circuit comprises a comparator to dynamically resolve priority ties among said plurality of processing elements. 2 1 6. The computer system of claim 1 wherein said initial priority assigned corresponding to each of said plurality of said processing elements is maintained by each output port of said dynamic priority conflict resolution circuit. 7. The computer system of claim 1 wherein said dynamic priority conflict resolution circuit comprises a first plurality of input ports and a second plurality of output ports coupled through a number of data routing resources. 8. The computer system of claim 7 wherein said data routing resources are operatively controlled by a number of conflict resolution resources. 9. The computer system of claim 7 comprising twenty input ports and sixteen output ports. 10. The computer system of claim 1 wherein when said priority of a subset of said all others of said plurality of said processing elements are incremented to a common highest priority thereof, said priority of said subset of said processing elements default to said predetermined differing initial priorities thereof. 1 1. A method for dynamic priority conflict resolution in a computer system including a plurality of processing elements and a shared memory resource, said method comprising the steps of: assigning a predetermined differing initial priority corresponding to each of said plurality of processing elements; affording access to said memory resource to a requesting one of said plurality of processing elements having a highest initial priority thereof; reducing said initial priority of said requesting one of said plurality of processing elements afforded access to said memory resource to a lowest priority thereof; and incrementing said priority of each remaining one of said plurality of processing elements to a next higher priority. 22 12. The method of claim 11 wherein said steps of affording access, reducing and incrementing are carried out by a priority conflict resolution circuit. 13. The method of claim 11 further comprising the steps of: comparing priorities among said plurality of processing elements; and dynamically correcting erroneous priorities among said plurality of processing elements. 14. The method of claim 13 wherein said step of comparing is carried out by a greater-than-or-equal-to function to correct said erroneous priorities. 15. The method of claim 1 1 further comprising the steps of: comparing priorities among said plurality of processing elements; and dynamically resolving priority ties among said plurality of processing elements. 16. The method of claim 12 further comprising the step of: maintaining said initial priority assigned corresponding to each of said plurality of said processing elements at a respective output port of said priority conflict resolution circuit. 17. The method of claim 11 further comprising the step of: defaulting said priority of a subset of each remaining one of said plurality of processing elements which have been incremented to a common highest priority thereof to said predetermined differing initial priorities thereof. 23

Inventors: HUPPENTHAL JON, HUPPENTHAL, JON
Applicants: SRC COMPUTERS INC, SRC COMPUTERS, INC.
Application year: 1999
Main classification: G06F13
IPC codes: G06F9, G06F13, G06F15