IE901531A1 - Method and means for arbitrating communication requests¹using a system control unit in a multiprocessing system - Google Patents

Method and means for arbitrating communication requests¹using a system control unit in a multiprocessing system

Info

Publication number
IE901531A1
IE901531A1 IE153190A IE153190A IE901531A1 IE 901531 A1 IE901531 A1 IE 901531A1 IE 153190 A IE153190 A IE 153190A IE 153190 A IE153190 A IE 153190A IE 901531 A1 IE901531 A1 IE 901531A1
Authority
IE
Ireland
Prior art keywords
requests
resources
available
reserved
command
Prior art date
Application number
IE153190A
Original Assignee
Digital Equipment Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Digital Equipment Corp filed Critical Digital Equipment Corp
Priority to IE153190A priority Critical patent/IE901531A1/en
Publication of IE901531A1 publication Critical patent/IE901531A1/en

Links

Landscapes

  • Bus Control (AREA)

Abstract

A system control unit (SCU), adapted to operating a plurality of central processor units (CPUs) in a parallel fashion in combination with at least one input/output 10 (I/O) unit and for allowing the CPUs and I/O units to controllably access address segments of a system memory, arbitrates communication requests received at the SCU ports from the CPUs and I/O units in such a manner that available system resources are optimally used, while at 15 the same time guaranteeing that all requests are granted within a reasonable period of time. Incoming communication requests are stored, and from them are selected, on the basis of a pre-defined prioritizing scheme, commands corresponding to requests that are to be 20 arbitrated. For the command corresponding to each request selected for being arbitrated, there is generated a first vector defining all system resources that are required for executing the command. A second vector is generated representative of all system resources that are in fact 25 available at the time of arbitration. The first and second vectors are compared, and the selected command is honored if all corresponding required resources are available; otherwise, the request corresponding to the command is placed on reserved status, and the 30 availability of corresponding required resources for the reserved request is rechecked, and the reserved request is subsequently honored by executing the associated command when corresponding reserved resources become available.

Description

METHOD AND MEANS FOR ARBITRATING COMMUNICATION 10 REQUESTS USING A SYSTEM CONTROL UNIT IN A MULTI-PROCESSOR SYSTEM The present application discloses certain aspects of a computing system that is further described in the following U.S. patent applications filed concurrently with the present application: Evans et al., AN INTERFACE BETWEEN A SYSTEM CONTROL UNIT AND A SYSTEM PROCESSING UNIT OF A DIGITAL COMPUTER; Arnold et al., METHOD AND APPARATUS FOR INTERFACING A SYSTEM CONTROL UNIT FOR A MULTIPROCESSOR SYSTEM WITH THE CENTRAL PROCESSING UNITS; Gagliardo et al., METHOD AND MEANS FOR INTERFACING A SYSTEM CONTROL UNIT FOR A MULTI-PROCESSOR SYSTEM WITH THE SYSTEM MAIN MEMORY; D. Fite et al., METHOD AND APPARATUS FOR RESOLVING A VARIABLE NUMBER OF POTENTIAL MEMORY ACCESS CONFLICTS IN A PIPELINED COMPUTER SYSTEM; D. Fite et al., DECODING MULTIPLE SPECIFIERS IN A VARIABLE LENGTH INSTRUCTION ARCHITECTURE; D. Fite et al., VIRTUAL INSTRUCTION CACHE REFILL ALGORITHM; Herman et al., PIPELINE PROCESSING OF REGISTER AND REGISTER MODIFYING SPECIFIERS WITHIN THE SAME INSTRUCTION; Murray et al., MULTIPLE INSTRUCTION PREPROCESSING SYSTEM WITH DATA DEPENDENCY RESOLUTION FOR DIGITAL COMPUTERS; D. Fite et al., PREPROCESSING IMPLIED SPECIFIERS IN A PIPELINED PROCESSOR; D. Fite et al., BRANCH PREDICTION; Fossum et al., PIPELINED FLOATING POINT ADDER FOR DIGITAL COMPUTER; Grundmann et al., SELF TIMED REGISTER FILE; Beaven et al., METHOD AND APPARATUS FOR DETECTING AND CORRECTING ERRORS IN A PIPELINED COMPUTER SYSTEM; Flynn et al., -2METHOD AND MEANS FOR ARBITRATING COMMUNICATION REQUESTS USING A SYSTEM CONTROL UNIT IN A MULTI-PROCESSOR SYSTEM; E. Fite et al., CONTROL OF MULTIPLE FUNCTION UNITS WITH PARALLEL OPERATION IN A MICROCODED EXECUTION UNIT; Webb, Jr. et al., PROCESSING OF MEMORY ACCESS EXCEPTIONS WITH PRE-FETCHED INSTRUCTIONS WITHIN THE INSTRUCTION PIPELINE OF A VIRTUAL MEMORY SYSTEM-BASED DIGITAL COMPUTER; Hetherington et al., METHOD AND APPARATUS FOR CONTROLLING THE CONVERSION OF VIRTUAL TO PHYSICAL MEMORY ADDRESSES IN A DIGITAL COMPUTER SYSTEM; Hetherington et al., WRITE BACK BUFFER WITH ERROR CORRECTING CAPABILITIES; Chinnasway et al., MODULAR CROSSBAR INTERCONNECTION NETWORK FOR DATA TRANSACTIONS BETWEEN SYSTEM UNITS IN A MULTI-PROCESSOR SYSTEM; Polzin et al., METHOD AND APPARATUS FOR INTERFACING A SYSTEM CONTROL UNIT FOR A MULTI-PROCESSOR SYSTEM WITH INPUT/OUTPUT UNITS; Gagliardo et al., MEMORY CONFIGURATION FOR USE WITH MEANS FOR INTERFACING A SYSTEM CONTROL UNIT FOR A MULTI-PROCESSOR SYSTEM WITH THE SYSTEM MAIN MEMORY; and Gagliardo et al., METHOD AND MEANS FOR ERROR CHECKING OF DRAM-CONTROL SIGNALS BETWEEN SYSTEM MODULES.
This invention relates generally to multi-processor computer systems in which a system control unit (SCU) is used for operating a plurality of central processor units (CPUs) and other system units in a parallel fashion.
More particularly, this invention relates to an arbitration scheme permitting an SCU in a multi-processor system to efficiently arbitrate communications requests from various system ports, particularly between the CPUs, the input/output units, and the system memory.
The techniques of multi-processing, in which a plurality of processors are adapted to operate on defined tasks through problem decomposition, and parallel PD88-0271 U.S.: DIGM:025 FOREIGN: DIGM:056 -3processing, wherein computer instructions are divided into a series of smaller and less complex operations which are subseguently executed in a pipeline fashion by dedicated functional units optimized for specific purposes, are commonly used in high performance computers. In such computer systems high execution speeds and operational redundancy are achieved by means of multiple communication paths provided between the plurality of processor units and input/output units along with parallel paths to mass storage and other devices.
In a multi-processing system the parallel operation of the plurality of CPUs in conjunction with the system memory, input/output devices, and other units of the computing system is typically coordinated by a system control unit (SCU) which links all system units ported into it and provides inter-unit communication for efficient exchange of data and related control signals. The SCU keeps all system components active while avoiding inter-unit conflicts and essentially functions to service requests for communications between the system memory and the system units linked through the various ports on the SCU. As successive communication requests arrive at the SCU, it becomes critical that the requests from various ports be processed in a manner that not only makes the most efficient use of system resources toward facilitating parallel operation but also ensures that each requesting port be treated fairly by having its request processed within a reasonable period of time.
These requirements, i.e., system efficiency and unit fairness, are inherently conflicting and obtaining an optimum compromise between the two is a formidable task in implementing efficient arbitration schemes.
PD88-0271 U.S.: DIGM:025 FOREIGN: DIGM:056 -4Conventional arbitration schemes tend to be inefficient in providing a reasonable response period and breakdown when used in multi-processor systems as a result of bottlenecks created by backed-up communication requests. For instance, a round-robin scheme in which all requests are processed according to their time c arrival at the SCU can ensure fair arbitration; however, such a scheme is very inefficient in the utilization of system resources because a request that is at the top of the arbitration queue effectively shuts out requests that are behind it until all resources required by the leading request are available, regardless of the fact that resources required by subsequent pending requests may in fact be available.
Consider, for example, the case of access to a memory comprising a plurality of memory segments which are capable of being cycled independently. Under the round-robin approach, if two requesting ports A and B, of which request A is ahead of B in the arbitration queue, are pending at the SCU and request A requires access to a memory segment that is busy at the moment while request B requires use of a memory segment that is available at the time, request B is unnecessarily shut out from being serviced until the time when the memory segment requested by request A is free so that request A may first be serviced. The average response time per communication request is unduly increased and this scheme is not conducive to parallel operation.
Another possibility is to use the so-called instantaneous execution scheme of arbitration in which communication requests arriving at the SCU are polled sequentially and requests requiring non-available resources at the time of polling are ignored while a PD88-0271 U.S.: DIGM:025 FOREIGN: DIGM:056 -5sequentially occurring request for which resources are available is processed instantaneously. Although such an approach makes efficient utilization of system resources available at any given time, it is impractical in that a request can be completely shut out if all resources required by the request are found to be unavailable each time that request is polled as part of the arbitration sequence.
An efficient arbitration scheme through which communication requests from various system units in a multi-processing system are arbitrated for optimal use of available resources, while at the same time ensuring that all such requests are honored within a reasonable period of time, is based upon the concept of identifying all resources that are needed to fulfill incoming communication requests at the time of arbitration, honoring requests for which all required resources are available, bypassing requests for which required resources are not available after reserving the non-available required resources, and proceeding with arbitration by alternately polling subsequent new requests and requests that have reserved resources associated with them.
The arbitration system operates in conjunction with a pair of resource vectors: 1) a resources required (RR) vector representing all resources that are required to execute a command accompanying an outstanding request at the time of arbitration; and 2) a resources available (RA) vector representing all resources that are available at the time of polling. Identification of requests for which required resources are available at the time of arbitration is accomplished by comparing the two resource vectors. If the vectors are found to match, it is an PD88-0271 U.S.: DIGM:025 FOREIGN: DIGM:056 -6indication that all required resources are available. If the resource vectors do not match, it is an indication that at least some of the resources required are not available and the subject request is put on reserve. A similar matching is performed when a reserved request is arbitrated; however, in this case, when the vectors do not match, all corresponding required resources are put on reserve by storing the RA vector so that the resources may be made unavailable to subsequent requests.
Briefly, in accordance with the arbitration scheme of this invention, all units that are ported into the SCU (i.e., all SCU ports) are polled sequentially and requests are initially arbitrated according to a predefined hierarchical prioritizing scheme for prioritizing requests arriving at the SCU. In the first pass of the polling sequence, all requests that can be honored are done so while requests requiring unavailable resources are put on a reserved status. In the subsequent pass, all reserved requests from the previous pass are polled again to see if the corresponding reserved resources are available at the time. Any reserved requests for which the required resources have since become available are honored. Reserved requests for which required resources are still unavailable are retained on a reserved status; in addition, the corresponding resources are stored as reserved resources to generate a summary of reserved resources which are made unavailable to subsequent requests. During the third pass, any new requests that have been lodged since the previous polling and for which required resources are available are honored. However, no reservation of resources is performed as part of the third pass. This alternate polling of reserved and new requests is continued in subsequent passes until all reserved PD88-0271 U.S.: DIGM:025 FOREIGN: DIGM:056 -7requests have been honored, i.e., until none of the system resources are on reserve status, at which point a new summary of reserved requests is initiated.
As will be explained in detail below, the above 5 arbitration scheme operates in a non-stop manner because arriving communication requests are continuously processed without allowing a particular request from unnecessarily preventing arbitration of following requests. By ensuring that all requests reserved as part of an arbitration pass are honored before initiating reservation of resources for subsequent requests, the arbitration scheme prevents a requesting unit from being locked out.
In implementing the arbitration scheme of this invention according to a preferred embodiment, command transformer means are used to store a directory of all communication commands capable of being processed by the system, with each entry in the directory being indexed to a corresponding list of all resources required for executing the particular command. All incoming requests at the SCU are stored within prioritizing means which accepts incoming requests in a sequential order and makes available at its output a single request which is assigned the highest priority among all stored requests on the basis of a predefined prioritizing scheme.
Commands associated with incoming communication requests are stored within command buffer means. A multiplexer arrangement indexed by the request selected by the prioritizing means is used to feed the command corresponding to the selected request to the command transformer means which, in response thereto, is adapted to generate a resource vector indicative of all resources required for processing the command.
PD88-0271 U.S.: DIGM:025 FOREIGN: DIGM.-056 -8The SCU is provided with means for maintaining an updated record of resources available at the time of arbitration in order to generate a vector of available resources. This vector is compared, by means of a comparator arrangement, with the resource vector corresponding to the currently outstanding request, as determined by the prioritizing means, to determine whether or not all resources required for executing the command associated with the request being arbitrated are available. If the two resource vectors are found to match, the comparator output causes the selected request to be honored. However, if the resource vectors do not match, the comparator arrangement causes the SCU port corresponding to the requesting unit which initiated the communication request to be flagged as being on a reserved status. When a reserved request is being arbitrated, the vector of required resources is again compared with the current vector of available resources. If the vectors still do not match, the comparator output causes the vector of required resources to be stored in a resource reservation vector; if the vectors do match, the reserved request is honored and taken off the list of reserved requests. The cyclic operation of this physical arrangement is based upon the arbitration scheme summarized above and will be described in detail below.
Other objects and advantages of the invention will become apparent upon reading the following detailed description and upon reference to the drawings in which: FIG. 1 is a block diagram illustrating a multi-processor computer system using a system control unit (SCU) for operating a plurality of processors and input/output units in which the arbitration scheme of this invention may be effectively used; PD88-0271 U.S.: DIGM:025 FOREIGN: DIGM:056 -9FIGS. 2A, 2B, and 3C are flowcharts illustrating the sequential procedure on which the arbitration scheme of this invention is based; FIG. 3 is a block diagram of preferred means for implementing the arbitration scheme of FIG. 2 in a multi-processor system of the type shown in FIG. 1; FIG. 4 is a schematic diagram illustrating an arrangement for implementing the preferred hierarchical prioritizing scheme for selection of requests for arbitration; FIG. 5 is a table listing the preferred representation of various system resources that are identified by the resource vectors and used within the command transformer means for generating the required resource vector; and FIG. 6 is a schematic diagram illustrating a preferred logic arrangement for implementing the resource comparator of FIG. 3.
While the invention is susceptible to various modifications and alternative forms, specific embodiments thereof have been shown by way of example in the drawings and will herein be described in detail. It should be understood, however, that it is not intended to limit the invention to the particular forms disclosed, but on the contrary, the intention is to cover all modifications, equivalents, and alternatives falling within the spirit and scope of the invention as defined by the appended claims.
PD88-0271 U.S.: DIGM-.025 FOREIGN: DIGM:056 -10Turning now to the drawings and referring in particular to FIG. 1, there is shown a simplified block diagram of a multi-processing system 10 which uses a plurality of central processing units (CPUs) 12 and is adapted to permit simultaneous, i.e., parallel, operation of the system CPUs by allowing them to share a common memory 16 for the system. The main memory 16 itself typically comprises a plurality of memory units 16A and 16B. A system control unit (SCU) 14 links the CPUs 12 to the main memory 16 and to an input/output (I/O) controller 18. The I/O controller allows the processing system in general and the CPUs in particular to communicate with the external world through appropriate I/O interfaces 20 and associated I/O units 20A for the system. The SCU 14 may also link the various system modules to a service processor/console unit (SPU) 22 which regulates traditional console functions including status determination and control of the overall operation of the processing system. In the multi-processing system of FIG. 1, efficient communication between system units linked through the SCU 14 and the main memory 16, and more particularly between each system CPU 12 and the individually addressable segments comprising each memory unit 16A, 16B is handled through dedicated interface means 30. The specific configuration of the main memory and the particular manner in which the SCU is interfaced to the memory is not important to the present invention and accordingly will not be discussed in detail herein. Reference is hereby made to the above referenced co-pending Gagliardo et al. U.S patent application Serial No. 306,326 filed February 3, 1989 titled Method And Means For Interfacing A System Control Unit For A Multi-Processor System With The System Main Memory, also owned by the assignee of the present invention, incorporated herein by reference, for details on PD88-0271 U.S.: DIGM:025 FOREIGN: DIGM:056 -11preferred interface means. For purposes of describing the present invention, it suffices to state that each memory unit 16A, 16B of the main memory 16 is preferably split between two memory ports on the SCU with each port being linked to two individually addressable segments and all segments being interleaved on block boundaries, as described in detail in the aforementioned co-pending application.
Each system unit, such as a CPU or an I/O unit, is ported into the SCU 14 through a discrete port and all communication requests between memory and, more specifically, access requests between memory and the system units, are lodged at the corresponding port on the SCU. The SCU 14 functions to keep system units active while avoiding inter-unit conflicts by handling requests for communications between the system unit and the system memory that are received at various ports on the SCU. Because the various CPUs and I/O units are operated in a parallel fashion within the multi-processing system, a plurality of communication requests are routinely received at the SCU. In addition, a number of such requests may typically require access to the same system resources in order to honor the requests by executing the commands associated therewith.
It is accordingly an important function of the SCU to process requests received at its ports from the system units in a fashion that utilizes the system resources in the most efficient manner and in addition treats each arriving system request in a fair manner by processing the request within a reasonable period of time. More precisely, the technique on the basis of which the SCU arbitrates requests from system units which are outstanding at its ports in order to achieve the dual PD88-0271 U.S.: DIGM:025 FOREIGN: DIGM:056 Ε 901531 -12requirements of system efficiency and unit fairness is one of the primary factors that affect the overall operating efficiency of the processing system. As discussed above, conventional arbitration schemes, based, for instance, on the round-robin” approach or the instantaneous execution approach are unsatisfactory for use in multi-processing systems because they fail to provide efficient utilization of system resources in combination with a reasonable response period in the arbitration of communication requests.
In accordance with the present invention, a novel arbitration scheme is provided which can be used by an SCU in efficiently arbitrating requests from system units in a multi-processing system of the type described above in relation to FIG. 1. The arbitration scheme is based upon the concept of identifying all system resources that are needed to honor incoming communication requests by execution of associated commands, honoring requests for which all required resources are available at the time of arbitration, placing on reserved status requests for which all required resources are not available at the time of arbitration, reserving the corresponding required resources when a reserved request cannot be honored, and proceeding with arbitration by alternately polling previously reserved requests having reserved resources associated with them and subsequently received new requests and honoring requests for which required resources are or have become available. In order to identify all resources that are required to honor incoming requests, the arbitration system of this invention utilizes in conjunction a pair of system-generated resource vectors as below: PD88-0271 U.S.: DIGM:025 FOREIGN: DIGM:056 E 901531 -131) a resources required (RR) vector identifying all system resources that are required to execute a command accompanying a selected request at the time of arbitration; and 2) a resources available (RA) vector identifying all system resources that are in fact available at the time of arbitration.
In order to identify those requests for which all required resources are available at the time of arbitration, the two resource vectors RR and RA are compared. If the resource vectors are found to match, it is a clear indication that all required resources are available. If the resource vectors do not match, it is an indication that at least some of the resources required for executing the corresponding command are not available at the time, thereby indicating that the subject request is incapable of being honored at the time. Accordingly, an incoming request is executed when the vectors match and placed on reserve when the vectors do not match. If the resources required for executing a reserved request are found to be unavailable, i.e., if the RR vector for a reserved request and the RA vector do not match, they are put on reserve so that these resources may be appropriated for honoring reserved requests as soon as they become available. The RA vector is concurrently adjusted to reflect the reserved status of these resources by making the reserved resources unavailable to subsequent requests. The following description will focus upon the sequential procedure on which the arbitration scheme of this invention is based. Arbitration is based upon the sequential polling of all SCU ports which are available for lodging of communication requests from corresponding system units.
PD88-0271 U.S.: DIGM:025 FOREIGN: DIGM:056 E 901531 -14Incoming requests are collected during the polling routine and stored for subsequent arbitration. Selection of requests for arbitration from the stored request directory is based on a simple hierarchical scheme which, according to a preferred embodiment, prioritizes multiple requests at a given port on a first-come first-arbitrated basis related to the time of arrival of requests at the port and further prioritizes all requests collected during a given polling routine on the basis of a predefined prioritizing hierarchy.
According to a feature of this invention, the arbitration sequence utilizes three separate arbitration passes, each pass comprising the selection and arbitration of all requests collected during a single polling routine. More specifically, during a first pass of the polling sequence (the reserve pass), requests for which all required resources corresponding to the associated command are available at the time of arbitration are honored. Also, during the reserve pass, requests for which less than all of the required resources are available are placed on a reserved status for further arbitration.
In the subsequent arbitration pass (the recheck pass), only those requests which have been reserved in the foregoing reserve pass are arbitrated by honoring those reserved requests for which corresponding reserve resources have become available since the time the requests were put on reserve status. Also, during the recheck pass, those reserved requests for which the required resources corresponding to the associated command are still unavailable are retained on a reserved status; in addition, the corresponding required resources, as represented by the corresponding RR PD88-0271 U.S.: DIGM:025 FOREIGN: DIGM:056 E 901531 -15vectors, are placed on reserve as a summary of reserved resources.
During the third arbitration pass (the non-reserve 5 pass), only those new requests that have been lodged with the SCU since the previous polling routine are arbitrated by honoring requests for which all corresponding required resources are available. However, no reservation of resources is performed as part of the third pass. This alternate polling of reserved and new requests is continued in subsequent passes until all reserved requests resulting from the initial reserve pass have been honored. At this point there are no outstanding reserved requests, and the identification of non-executable requests that need to be reserved and the generation of the summary of associated reserved resources is initiated anew by performing a fresh reserve pass followed again by the alternate execution of recheck and non-reserve passes as arbitration proceeds.
A more detailed explanation of the various procedural steps involved in executing the three arbitration passes according to the arbitration scheme of this invention is now provided with reference to FIGS. 2A, 2B, and 2C. Referring in particular to FIG. 2A, there is shown a flow diagram 50 for the reserve pass. As shown therein, at the first step 51, requests from polled ports of the SCU are received and stored along with the associated commands. Assuming, for illustrative purposes, that the number of units ported into the SCU and accordingly the number of SCU ports is equal to P, and assuming that all ports have a single communication request lodged therein, the number of requests and commands collected for arbitration by the SCU during a single polling routine is also equal to P. At step 52, PD88-0271 U.S.: DIGM:025 FOREIGN: DIGM:056 Ε 901531 -16the stored requests are prioritized on the basis of the selected hierarchical prioritizing scheme beginning with, say, a topmost priority of N.
At the following step 53, the request REQN with the topmost priority at the time is next selected for arbitration and the corresponding stored command CMDN is extracted. At step 54, the required resource vector RRN corresponding to the selected command is generated. In the following step 55, the resources available vector RA is generated and subsequently, at step 56, the two resource vectors are compared to determine if all resources required by the selected command are available at the time. If the answer at step 56 is negative, the subject request REQN is put on a reserved status at step 57.
If the answer at step 56 is positive, i.e., all resources required by the request being arbitrated are in fact available, step 58 is accessed where the arbitration scheme initiates the processing of the request. The execution of either of steps 57 and 58 leads to step 59 where a check is made to see if all requests collected from the SCU ports have been arbitrated. If the answer at step 59 is negative, step 60 is accessed where the prioritizing parameter N is incremented before returning to step 53 of the reserve pass sequence so that the outstanding request having the highest priority at the time is selected for arbitration. The above-described flow sequence is reiterated until all prioritized requests have in fact been arbitrated, at which point the answer at step 59 is positive and step 61 is accessed where the recheck pass of the arbitration scheme is initiated.
PD88-0271 U.S.: DIGM:025 FOREIGN: DIGM:056 Ε 901531 -17FIG. 2Β represents a flow diagram representing the procedural sequence involved in executing the recheck pass of the arbitration scheme according to this invention. The recheck pass 70 is initiated at step 71 and involves the sequential arbitration of requests that have been stored therein under a reserved status during the initial reserve pass. At step 72, a check is performed to determine if the reserve register is empty, i.e., to determine whether or not all requests placed on reserve status as part of the initial reserve pass have subsequently been honored so that there are no outstanding reserved requests at the time. If the answer is found to be positive, step 73 is accessed where arbitration is proceeded with by returning to the reserve pass. Otherwise, step 74 is accessed where the required command CMDX corresponding to the most outstanding reserved request RREQX is selected for arbitration. It is assumed for illustrative purposes that Q reserved requests need to be arbitrated and the suffix ”X designates the most outstanding reserved request at the time of arbitration. At step 75, the corresponding required resource vector RRX is generated.
Subsequently, at step 76, the vector RRX is compared to the resources available vector RA. At step 77, a determination is made as to whether or not all resources required for honoring the selected request are available at the time. If the answer at step 77 is negative, all required resources corresponding to the request REQX, as represented to the vector RRX, are stored in the resource reserved register at step 78. Subsequently, step 79 is accessed where the resources available vector RA is adjusted to make the reserved resources represented by the vector RRN unavailable to subsequent requests.
PD88-0271 U.S.: DIGM:025 FOREIGN: DIGM:056 £901531 -18However, if the answer at step 77 is found to be positive, step 80 is accessed where the processing of the selected request is initiated before returning to the flow sequence at step 79 where the resources available vector RA is correspondingly adjusted. Next, step 81 is accessed where a test is performed to determine whether or not all outstanding reserved requests have been arbitrated. If the test at step 81 results in a negative answer, the reserve status-indicating parameter X is incremented at step 82 and the flow sequence is reentered at step 72 so that the most outstanding reserved request at the time may next be selected for arbitration. On the other hand, if the test at step 81 provides a positive result, i.e., all outstanding reserved requests have in fact been arbitrated, the flow sequence moves on to the non-reserve pass at step 83.
Turning now to FIG. 2C, there is illustrated a flow diagram defining the sequence involved in the non-reserve pass according to the arbitration scheme of this invention. The non-reserve pass 90 is initiated at step 91 where all commands received at the SCU ports from requesting system units subsequent to the previous reserve pass or outstanding requests at the ports other than those picked for arbitration in the reserve pass are collected and stored along with associated commands. For illustrative purposes, it is assumed that the total number of requests/commands that need to be arbitrated in the non-reserve pass is K”. At the following step 92, the stored requests are prioritized on a basis similar to that used in the prioritizing step 52 of the reserve pass (FIG. 2A).
At step 93, the request REQL having the highest outstanding prioritizing level (designated here as L PD88-0271 U.S.: DIGM:025 FOREIGN: DIGM:056 -19for illustrative purposes) and the corresponding command CMDL are selected for arbitration. At the following step 94, the required resources vector RRL corresponding to the selected command is generated and compared at step 95 to the resources available vector RA. At step 96, a determination is made as to whether or not all resources required for executing the selected command are available. If the answer at step 96 is negative, step 97 is accessed where a determination is made as to whether or not all prioritized requests have been arbitrated. If the answer at step 97 is negative, the prioritizing parameter L is incremented at step 98 and the flow sequence is reentered at step 93 so that the request having the highest priority at the time is next selected for arbitration.
However, if step 96 reveals that all required resources are in fact available, step 99 is reached where the processing of the selected request is initiated and the flow sequence is subsequently reentered at 97 to determine if all prioritized requests have been arbitrated. The above sequence of events is reiterated until a positive answer is generated at step 97 indicating that all prioritized requests have in fact been arbitrated and subsequently the sequence returns to the recheck pass which is initiated at step 99A.
Referring now to FIG. 3, there is shown a simplified block diagram illustrating a preferred arrangement 100 for implementing the arbitration scheme of FIG. 2 and adapted for use in a multi-processing system of the type shown in FIG. 1. Incoming requests 112 at the SCU ports are stored within prioritizing means 113 while corresponding commands 114 associated with incoming requests are accepted and initially stored in a separate PD88-0271 U.S.: DIGM:025 FOREIGN: DIGM:056 -20command buffer 115. The stored commands are subsequently transferred from buffer 115 to a multiplexer 117 which is adapted to accept a priority index signal 116 from the prioritizer means 113 and in response thereto put out a corresponding stored command as the selected command 118.
According to a feature of this invention, the prioritizer means 113 functions upon a hierarchical selection scheme based on selecting the request which is most outstanding in terms of time of arrival at the SCU port when multiple requests arrive at a given port, and upon selecting, from such outstanding requests collected from all SCU ports, a single request based on a pre-defined hierarchy of request-originating sources.
More specifically, the hierarchy for assigning priorities is keyed to the particular system unit originating a communication request; in such a scheme, the highest priority is preferably awarded to requests originating from memory, while requests from I/O units are awarded a relatively lower priority, and finally, requests originating from CPUs are awarded the lowest priority.
The arbitration technique of this invention and its implementation is best understood by considering the SCU port configuration according to a preferred embodiment of this invention wherein the SCU is adapted to arbitrate communication requests from four CPUs, two memory units, and two I/O units. Accordingly, at least eight ports are provided on the SCU for accepting requests and associated commands from corresponding system units. Further, each of the SCU ports is adapted to receive and have lodged therein a plurality of communication requests from the corresponding system unit. Communication requests that are granted priority, for example, cause data PD88-0271 U.S.: DIGM:025 FOREIGN: DIGM:056 -21transmission paths through the SCU to be reserved for specified time periods, as further described in the above referenced Chinnasway et al. U.S. patent application Serial No. 306,336, Filed February 3, 1989, entitled Modular Crossbar Interconnection Network For Data Transmission Between System Units In A Multi-Processor System, incorporated herein by reference.
Preferably the SCU is adapted to have up to three 10 requests outstanding at every CPU port in the SCU and up to two requests for each I/O unit and each memory unit port in the SCU so that up to 20 requests may be outstanding at a given time at the SCU ports for being processed by the prioritizer means. Similarly, up to 20 corresponding incoming commands need to be stored and the command buffer 115 is accordingly provided with the capacity to accomplish this.
FIG. 4 shows a preferred arrangement for the prioritizer means 113 for accepting up to 20 incoming requests (REQ 0-REQ 19) at the SCU ports in order to prioritize them appropriately for selecting a single request for arbitration. The arrangement 160 includes a series of latches 161 for accepting incoming requests from eight SCU ports comprising four CPU ports (CPU port 0, CPU port 1, CPU port 2, and CPU port 3) for the four CPUs 1-4, two I/O ports (I/O port 0 and I/O port 1) for the two I/O units, and two memory ports (MEM port 0 and MEM port l) for the two memory ports. More specifically, a single latch is provided by for each SCU port where communication requests to and from the associated system unit may be received. Latch 0, for instance, corresponds to CPU port 0 which is adapted to receive requests REQ 0, REQ 1, and REQ 2 to and from CPU 1.
PD88-0271 U.S.: DIGM:025 FOREIGN: DIGM:056 -22The maximum number of incoming requests that are allowed to be stored at a CPU port, which in this case is three, are latched into latch 0 in serial order so that a request that arrives first at the port constitutes the most outstanding request at a given time and is latched out as the particular request REQ 00 collected from CPU port 0. This type of selection continues at the remaining three latches that correspond to SCU ports l, 2, 3 which correspond respectively to CPUs 2, 3, and 4.
Latch 3, for instance, corresponds to CPU port 3 and is instrumental in accepting the three requests possibly lodged at CPU port 3, i.e., REQ 9, REQ 10, and REQ 11 in order to select the most outstanding of the accepted requests as REQ 03 for further arbitration.
On a similar basis, latches 4, 5 are provided in correspondence with SCU ports 4, 5 for I/O units 0, l, respectively. More specifically, latch 4 accepts two requests, REQ 12 and REQ 13, from I/O port 0 in order to select the most outstanding of the two as REQ 04.
Similarly, latch 5 accepts two requests REQ 14 and REQ 15 from I/O port 1 in order to select one of the two requests as the outstanding request REQ 05.
Similarly, latches 6, 7 are respectively provided in correspondence with SCU ports for the two memory units 0, 1 that support the system. Latch 6 in particular accepts two requests REQ 16 and REQ 17 from memory port 1 for selecting therefrom the most outstanding l request as REQ 06. Latch 7 accepts requests REQ 18 and REQ 19 from memory port 0 and selects the most outstanding of the two requests as REQ 07. In effect, the arrangement using the eight latches 161 corresponding to the eight SCU ports functions to select the most outstanding request at each SCU port in order to collect up to eight requests; this PD88-0271 U.S.: DIGM:025 FOREIGN: DIGM:056 -23sequence of polling each of the eight SCU ports to collect a single outstanding request for each port constitutes a single polling routine. The selected requests REQ 00-REQ 07 are fed to a priority select network 162 which constitutes a simple logic arrangement for picking a particular request on the basis of a predefined hierarchy of prioritizing levels.
As described above, the prioritizing hierarchy, is 10 preferably based on assigning the highest priority to requests lodged through memory ports, assigning a relatively lower priority to requests originating from I/O ports, and assigning the lowest priority to requests originating from CPU ports. More specifically, one of the two memory ports, say memory port 0, is assigned the highest priority so that any time REQ 07 is active, it is assigned the highest priority and is accordingly selected for arbitration. The next level of priority is assigned to REQ 06 from memory port 1. Similarly, successively lower levels of priority are assigned respectively to REQ 05 from I/O port 0, REQ 04 from I/O port 1, REQ 03 from CPU port 3, REQ 02 from CPU port 2, REQ 01 from CPU port 1, and REQ 00 from CPU port 0.
A particular active request is selected for arbitration only if all requests having higher priority levels are inactive. For instance, REQ 04 corresponding to I/O port 1 is selected for arbitration only if REQ 05, REQ 06, and REQ 07 (which have a higher priority level than that of REQ 04) are inactive. Once a particular request has been selected for arbitration on the basis of its priority level, a corresponding priority index is generated as a signal indicative of the particular one of the incoming 20 requests that has been selected for arbitration so that the corresponding command associated PD88-0271 U.S.: DIGM:025 FOREIGN: DIGM:056 -24with the selected request may be selected for arbitration.
In defining the prioritizing hierarchy it should be 5 recognized that merely providing access to memory pursuant to a request from a system unit, such as a CPU, is of no avail unless provision is made for transferring the requested memory data back to the requesting CPU as soon as the data becomes available from memory, as indicated by a related memory command. It is accordingly important that subsequent CPU requests directed to memory be superseded by memory commands requiring transfer of data to a requesting system unit. This is accomplished by assigning the highest priority to such memory commands. When a plurality of memory units exist, each unit is assigned one of different priority levels each higher than those assigned to the rest of the system units. For instance, in the preferred embodiment which has two independently accessible memory units, memory unit O'· is assigned the highest priority (i.e., 1), while memory unit 1 is assigned the next highest priority (i.e., 2) .
Beyond the priority levels for memory units, the next highest levels are accorded to I/O units. This is to avoid conflicts that arise when a CPU which has already requested an operation of an I/O unit and caused the unit to be engaged in executing the operation subsequently requests further operations to be performed by the same unit, thereby burdening the I/O unit and preventing an effective I/O response. It is accordingly important that commands originated by I/O units be designated as having higher priority levels than those coming from system CPUs. In the preferred embodiment, for example, system I/O units 0, 1 are assigned priority PD88-0271 U.S.: DIGM:025 FOREIGN: DIGM:056 -25levels 3, 4, respectively which fall immediately below the priority levels for the two memory units. Finally, the system CPUs are accorded the lowest levels of priority; the four CPUs 1-4 in the preferred embodiment, for instance, are respectively accorded priority levels of 4-7.
Returning now to FIG. 3, the priority index 116 generated by the prioritizer 113 is fed to the multiplexer 117 and functions as a select signal for selecting the particular one of the received commands fed to multiplexer 117 which corresponds to the incoming request 112 having the highest priority.
The selected command 118 is fed to command transformer means 119 for generation of the required resource vector 120 representing all resources that are required to execute the selected command 118. More specifically, the command transformer means 119 includes a table of predefined lists correlating all possible communication commands in general and memory commands in particular that are defined as being executable by the processing system. In order to accomplish this, the communication commands that are most commonly arbitrated by the SCU are preferably divided into categories of commands which require similar sets of required resources for being executed. Typical categories include memory reads, memory writes, I/O reads, and I/O writes, although less common commands, such as those which do not require access to memory and I/O units but do require access to the system microcode queue, and commands which do not require access to either the memory, or the I/O units, or the microcode queue for the system may also be categorized. For each command falling under any of these command categories, the specific set of system resources PD88-0271 U.S.: DIGM:025 FOREIGN: DIGM:056 -26that are essential to execution of the command are identified and a table correlating specified commands to corresponding required resources is generated.
It will be understood by those skilled in the art that the arbitration scheme is not restricted to any particular type or category of system resources. Typical resources for execution of common commands include command buffers for system CPUs and memory units, buffers for I/O devices, data path sources for CPUs, memory, and I/O units, data path destinations for CPUs, memory units, and I/O units. In addition, certain specialized resources may also be identified, such as the availability of access to a microcode queue, and data path crossings, when indirectly linked crossbar modules are used for data transfer between system units and memory segments.
A preferred arrangement for predefining system resources required for execution of a selected command which is conveniently representable in the form of a 32-bit vector is illustrated at FIG. 5. Each of the 32 bits, when asserted, represents a specific system resource that is required for executing a particular system command. In FIG. 5, for instance, bits 0, 1, 2, and 3 respectively represent the CPU command buffers for CPU 1, CPU 2, CPU 3, and CPU 4, while bits 4, 5 and 6, 7 respectively, represent the two command buffers for each segment of the memory units of a system memory comprising two separate, independently accessible, dual-segment memory units, and bits 8, 9 represent the buffers for input/output units 1, 2, respectively, and so on.
For every command preselected as being acted upon by the arbitration scheme, a corresponding RR vector is PD88-0271 U.S.: DIGM:025 FOREIGN: DIGM:056 -27defined and identifies in the form of a 32-bit word all system resources required to execute the command. Hence, the command transformer is essentially a means for storing the directory of arbitratable commands along with the corresponding 32-bit RR vectors. Each time, a request is selected for being arbitrated. The priority index 116 causes the corresponding command to be extracted from MUX 117 and fed to the command transformers 119, and in response thereto, the 10 corresponding stored RR vector is extracted for being compared subsequently with the RA vector.
The arbitration system of FIG. 3 also includes an available resource monitor 121 which provides an instantaneous record of all system resources that are available to be used and generates the vector of resources available (RA) 122 which is fed in combination with the RR vector 120 generated by the command transformer means 119 to resource comparator means 123.
The resource monitor 121 is essentially a module linked directly to each of the system resources (as identified in the resource table of FIG. 5) in order to ascertain the availability of each resource and, in response thereto, set or clear the corresponding bit in a register storing the available resource vector. The actual physical arrangement involved is not of importance; it is merely required that the resource monitor 121 be linked to each of the predesignated system resources so that it can provide an indication, in a format corresponding to that of the resources required vector (RR), of the system resources which are available at any given time. Preferably the resource monitor is implemented in the form of hard wire links from each designated system resource to a resource available PD88-0271 U.S.: DIGM.-025 FOREIGN: DIGM:056 -28register having at least a single bit corresponding to each system resource; when a particular system resource is in use the corresponding bit in the resource available register is set and the output of the register, accordingly, indicates the availability of system resources and represents the resources available vector RA. The comparator 123 of FIG. 23 functions to compare the two resource vectors fed to it and generate a process request signal 124 if the two vectors RR and RA are found to match, i.e., if all resources required by the selected command 118 are available at the time; the process request signal 124 is then available for use by the SCU in executing the selected command in a conventional manner.
The comparator 123 is also adapted to generate a reserve signal 120 which causes the RR vector to be fed to a resource reservation register (RRV) 125 so that the required resources designated by the RR vector may be stored therein if the resource vectors being compared are not found to match. The RRV 125 is also linked to the available resource monitor 121 so that an updated available resource vector RA 112 may be generated therefrom reflecting the non-available nature of the reserved resources designated by the required resource vector 120 stored in the register 125. The reserve signal 120 is also available to be used to cause the subject request to be designated as being on a reserved status and be stored within a request reservation register 126 for subsequent arbitration after being processed by the prioritizer means 113 and the rest of the arbitration system of FIG. 3.
As an alternative, the resource reservation register 125 may itself be linked to the resource comparator means PD88-0271 U.S.: DIGM:025 FOREIGN: DIGM:056 -29123 in such a way that the incoming RR vector at the comparator is also compared to the reserved resources to ensure that available resources are in fact made available for executing a selected command only if they have not been previously reserved within the RRV 125.
In essence, the arbitration scheme of this invention is based upon determining the resources that are required for executing a selected command, determining whether all of the required resources are available after first ensuring that none of the available resources have been reserved previously arbitrated requests, reserving all required resources when it is determined that any of the required resources for a particular command are either not available or have been reserved by previous requests, and finally indicating as capable of being processed requests for which all required resources are both available and not reserved for previously executed requests.
Referring now to FIG. 6, there is shown a preferred logic arrangement for implementing the above scheme for identifying when a particular process being arbitrated is capable of being honored. The arrangement 170 includes a plurality of AND gates 172 each adapted to accept at its two inputs signals respectively indicating the availability and unreserved status of a particular resource. As many AND gates 172 are provided as the number of discrete system resources that can be used for processing communication requests. According to a preferred embodiment, 32 such AND gates 172 are provided for accepting status signals related to the 32 designated system resources. The output of each AND gate 172 provides an indication of the actual availability of the corresponding resource. More specifically, the output PD88-0271 U.S.: DIGM:025 FOREIGN: DIGM:056 -30goes high, i.e., becomes asserted, only when both of the inputs to the gate are high, i.e., only when the corresponding resource is both available for use by the system and is at the same time not reserved by a previous request.
From each AND gate 172 the signal indicating the availability of a resource is fed as one of the inputs to a second AND gate 174 which also accepts at its input a signal indicating that the request is required for executing a selected command. It should be noted that the signal indicating the required status of the resource is derived from the required resource vector RR and represents the status of that bit from the RR vector which corresponds to the particular resource being compared. The output of AND gate 174 accordingly gets asserted only if both signals at its input are high, i.e., only if the particular resource is both available and required.
The output of AND gate 174 is fed as one of the two inputs to an exclusive OR gate 176; the gate is also provided with the required resource signal fed to gate 174 as its second input. The exclusive OR operation performed by gate 176 produces an output which is high only if the two input signals fed to it are distinct. Consequently, the output of gate 176 goes high only when the resource available signal is low and the resource required signal is high, i.e., only when the subject resource is required but not currently available. The outputs of all exclusive OR gates 176 corresponding to all the system resources are fed as inputs to an OR gate 178. The output of gate 178 is accordingly high anytime that one or more of its input are high, i.e., anytime that any of the required system resources corresponding PD88-0271 U.S.: DIGM:025 FOREIGN: DIGM.-056 -31to a request being processed are not available. The signal serves as an indication that all resources required for the particular request need to be reserved and is used to transfer the resources required vector generated by the command transformer into the reserve resources register RRV.
The output of each exclusive OR gate 176 is low anytime that the two signals at its input are equal; accordingly, if the subject resource is actually available to the system as indicated by the existence of a high output at AND gate 174, and if the resources are also required for executing the command as indicated by the resource required signal also being high, the resultant output of gate 176 is also high. A high output at gate 176 accordingly indicates that the subject request is both required and available for processing.
In order to assess such a condition, the outputs of all exclusive OR gates 176 are also fed as inputs to a NOR gate 180 for generating a high output if all input signals fed to the signals are high. Accordingly, if the signals at the output of all exclusive OR gates 176 of the comparison arrangement are high, i.e., if all required resources are available and not reserved, the output of NOR gate 178 is correspondingly high and functions as a signal for initiating the processing of the subject request.
The specific manner in which the output signals of gates 178 and 180 are used to effect the reservation of all required resources and the processing of arbitration requests is not critical to the implementation of this arbitration scheme; many conventional methods for achieving this will be apparent to those skilled in the art and accordingly no such details need to be provided PD88-0271 U.S.: DIGM:025 FOREIGN: DIGM:056 -32here. What is important is that the reserve signal be generated anytime one or more of the resources required for executing a particular command are either not available to the system or have been placed on reserved status and that the process request signal be generated only when all required resources are currently available for executing a command. The following description will clarify the preferred manner in which the required resources for a selected command are designated within the command transformer means (119 in FIG. 3) in order to generate the corresponding RR vector. The selection of the set of commands designated for arbitration is based upon identifying from the overall set of systemexecutable commands a subset which represents a limited number of commands for which fast execution times are critical; the remaining system commands may be processed by the system microcode or according to other conventional means. The selected subset is then divided into a number of broad command categories for each of which a common group of required memory resources may easily be identified. A command being arbitrated is first decoded according to conventional techniques and if found to be a memory command is subsequently identified as belonging to one of the predefined command categories.
Preferably, the command subset is designated as encompassing the following four memory command categories: Memory Read; Memory Write; Input/Output Read; and Input/Output Write.
For each of these categories, an exhaustive list of all commands which may be designated therein is prepared.
Also, all system resources required for executing each of PD88-0271 U.S.: DIGM:025 FOREIGN: DIGM:056 -33the four types of commands are designated. Accordingly, when a decoded command is identified as belonging to one of the memory command categories, the corresponding set of required resources is immediately known. In this manner the arbitration of memory commands is significantly expedited and is of particular advantage because of the critical need for urgent processing of memory commands from system units.
As a typical example, memory write operations require the use of the following resources in order to be executed: a memory command buffer corresponding to the particular memory unit that needs to be accessed; a destination path to the particular memory unit and the memory segment therein; a data path crossing if the requesting unit is a modular level removed from the desired data path and destination; and a data source path for the system unit originating the command.
Accordingly, anytime a decoded command is found to fall under the memory write category, the above-listed resources are designated as required resources; more specifically, the resource table entry (see FIG. 5) corresponding to memory write commands is represented by asserting the bits corresponding to these resources. For instance, if the command addresses segment 1 in memory unit 1 and is originated by CPU 4 which has been defined as requiring a data path crossing to access memory unit 1, the corresponding 32-bit RR vector would have bit Nos. 7, 24, 13, and 29 asserted. Typical commands falling under the memory read category include read refill, write refill, write refill link, write refill lock, write refill unlock, DMA read, and DMA read lock. Anytime one of these commands in this category is being arbitrated, the corresponding RR vector includes the resources designated in common for the category.
PD88-0271 U.S.: DIGM:025 FOREIGN: DIGM:056 -34On a similar basis, the remaining categories are defined to include a predefined set of common resources. The memory write category, for instance, includes the write back, the DMA write, and the DMA write unlock commands. The I/O read category includes the read I/O register command and the service processor read commands, while the I/O write category includes the write I/O register command, and the service processor write command. Commands which do not fall under any of the memory command categories or those requiring additional resources can have individually defined groups of required resources for generating corresponding RR vectors.
It will of course be understood that all system commands selected for operation under the arbitration scheme of this invention, including all memory commands, may have individually defined groups of required resources instead of using the common category approach. As another alternative, each bit representing a system resource may have designated therewith a corresponding set of system commands capable of asserting the bit; the corresponding RR vector could be generated by decoding a command, comparing it with each of the resource bits, and asserting or negating a bit on the basis of whether or not the command falls within the command set associated with the bit. Accordingly, it will be apparent that the present arbitration scheme is not restricted to a particular method of generating the RR vector; it is merely required that the system be capable of generating a list of all system resources required for executing a command associated with a request selected for arbitration.
PD88-0271 U.S.: DIGM:025 FOREIGN: DIGM:056 -35As evident from the foregoing description, the arbitration scheme of this invention essentially involves the initiation of arbitration by means of a reserve pass followed by as many alternating recheck and non-reserve passes as needed in order to arbitrate and honor all outstanding reserved requests. When no more reserved requests are found to be pending, a new reserve pass is initiated and it is followed again by the alternating non-reserve and recheck passes. The arbitration sequence is accordingly non-stop and is a distinct improvement over conventional arbitration schemes involving sporadic polling of requests which typically results in impaired system performance due to inefficient utilization of system resources.
The present scheme makes efficient use of all system resources that are available at the time a selected request is being arbitrated. In addition, arbitration according to the present scheme is of a non-lock out nature; this is because of the fact that reservation of required resources is permitted only during the initial reserve pass and the subsequent recheck and non-reserve passes are devoted exclusively to arbitration and execution of outstanding reserved requests and subsequently received requests, respectively, for which required resources are in fact available. Accordingly, every request which has been put on reserved status is guaranteed to be honored within a reasonable time so that a requesting unit is never locked out.

Claims (12)

1. A method for arbitrating requests for the allocation of scarce system resources, said requests 5 being specified by corresponding commands to be executed to allocate said scarce system resources, said method comprising the steps of: receiving a command to be arbitrated, generating a first vector defining all scarce system resources required for executing said received command, generating a second vector representative of all 15 scarce system resources that are presently available, comparing said first and second vectors, executing the received command in the event that 20 said comparing indicates that all scarce system resources required for executing said command are presently available, and otherwise: (i) placing the command on 'reserved' status, (ii) reserving all required scarce system resources for executing said received command, and 25 (iii) executing the received command when all required scarce system resources for executing the received command become available. 30 2. The arbitration method of claim 1 wherein said received command is received by storing a series of commands and selecting said received command according to a predefined priority scheme. PD88-0271 U.S.: DIGM:025 FOREIGN: DIGM:056 -373. The arbitration method of claim 2 wherein said predefined priority scheme includes, for the stored commands: 5 a first arbitration pass (the reserve pass) during which storage locations for storing said series of commands are polled and commands stored in said storage locations at that time are arbitrated by executing 10 commands for which corresponding reserved resources are available and placing on reserved status all commands for which all required scarce system resources are not available, 15 a second arbitration pass (the recheck pass) during which only reserved commands are executed by executing those reserved requests for which all required scarce system resources have become available at the time and reserving all required scarce system resources for 20 those reserved commands for which such required scarce system resources are not available at the time, and a third arbitration pass (the non-reserve pass) during which only those commands stored in said storage 25 locations subsequent to previous reserve pass (the new requests) are arbitrated by executing those new commands for which all required scarce system resources are available.
2. 4. The arbitration scheme of claim 3 wherein after execution of a reserve pass, successive recheck and non-reserve passes are executed alternately until all 35 commands reserved during the initial reserve pass have PD88-0271 U.S.: DIGM:025 FOREIGN: DIGM:056 -38been executed.
3. 5. In a multi-processor system of the kind having 5 a system control unit (SCU) for operating a plurality of processors in a parallel fashion in combination with at least one input/output (I/O) unit, wherein each of said CPUs and I/O units is ported into the SCU, the SCU being operative to controllably allow said CPUs and said I/O 10 units to access addressed segments of a system memory, a method for arbitrating communication requests received at the SCU ports from said CPUs and I/O units in an efficient and fair manner, said requests having associated commands that need to be executed in order to 15 honor said requests, said method comprising: storing incoming requests for selecting therefrom, on the basis of a predefined prioritizing scheme, requests to be arbitrated, extracting the command corresponding to each request selected for being arbitrated, 25 generating a first vector defining all system resources required for executing said extracted command, generating a second vector representative of all system resources that are available at the time said 30 selected request is being arbitrated, comparing said first and second vectors, honoring the command if all corresponding required 35 resources are available, PD88-0271 U.S.: DIGM:025 FOREIGN: DIGM:056 -39otherwise placing the request corresponding to said command on 'reserved 1 status, 5 reserving all required resources corresponding to a reserved request if such resources are not available when said reserved request is being arbitrated, and honoring said reserved requests by subsequently 10 executing the associated command when corresponding reserved resources become available.
4. 6. The arbitration method of claim 5 wherein the 15 arbitration sequence includes: a first arbitration pass (the reserve pass) during which all SCU ports are polled and requests outstanding 20 at the time are arbitrated by honoring requests for which corresponding reserved resources are available and placing on reserved status all requests for which all required resources are not available, 25 a second arbitration pass (the recheck pass) during which only reserved requests are arbitrated by honoring those reserved requests for which all required resources have become available at the time and reserving all required resources for those reserved requests for 30 which such resources are not available at the time, and a third arbitration pass (the non-reserve pass) during which only those requests received at the SCU following the previous reserve pass (the new PD88-0271 U.S.: DIGM:025 FOREIGN: DIGM:056 -40requests) are arbitrated by honoring those new requests for which all required resources are available. 5
5. 7. The arbitration scheme of claim 6 wherein after execution of a reserve pass, successive recheck and non-reserve passes are executed alternately until all requests reserved during the initial reserve pass have 10 been honored.
6. 8. A multi-processor system of the kind having a system control unit (SCU) for operating a plurality of 15 system units including a plurality of central processing units (CPUs) and at least one input/output (I/O) unit in a parallel fashion, said SCU being operative to allow said CPUs and said I/O units to controllably access addressed segments of memory by arbitrating communication requests from said system unit, each request being capable of being honored by executing an associated command when a 25 corresponding set of predefined system resources are available, wherein the improvement comprises: means for storing incoming requests from the system units and the commands associated therewith, means for 30 selecting the command associated with a selected one of said stored requests for arbitration, means for determining whether or not all system resources required for executing a selected command are available at the time of arbitration, means for initiating the honoring of 35 the request if all required resources are available, PD88-0271 U.S.: DIGM:025 FOREIGN: DIGM:056 -41means for reserving required resources corresponding to said request being arbitrated if all such resources are not available in such a manner that such reserved resources are made unavailable to subsequent requests, 5 and means for initiating the honoring of reserved requests when corresponding reserved resources become available.
7. 10 9. The multi-processor system of claim 8 wherein said means for determining whether or not resources required by a selected command are available comprises: means for generating a first resource vector identifying all resources required for executing the selected
8. 15 command, means for generating a second resource vector representing all system resources available at the time of arbitration, and means for comparing said first and
9. 20 second resource vectors. 10. The multi-processing system of claim 9 wherein said means for storing incoming requests and associated
10. 25 commands includes: means for receiving and storing incoming commands, prioritizing means for accepting incoming requests and generating, on the basis of a predetermined prioritizing
11. 30 scheme, a command signal indicative of a selected one of said stored commands corresponding to a selected request that has to be arbitrated, and means for extracting a selected stored command on the basis of said control signal and relaying said extracted command to said means
12. 35 for generating said first resource vector. PD88-0271 U.S.: DIGM:025 FOREIGN: DIGM:056 -4211. The multi-processing system of claim 10 further comprising means for making said reserved resources 5 unavailable to subsequent requests by adjusting the second resource vector in correspondence with said reserved resources, and wherein said means for initiating the honoring of requests is responsive to the adjusted second resource vector.
IE153190A 1990-04-27 1990-04-27 Method and means for arbitrating communication requests¹using a system control unit in a multiprocessing system IE901531A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
IE153190A IE901531A1 (en) 1990-04-27 1990-04-27 Method and means for arbitrating communication requests¹using a system control unit in a multiprocessing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
IE153190A IE901531A1 (en) 1990-04-27 1990-04-27 Method and means for arbitrating communication requests¹using a system control unit in a multiprocessing system

Publications (1)

Publication Number Publication Date
IE901531A1 true IE901531A1 (en) 1991-11-06

Family

ID=11028610

Family Applications (1)

Application Number Title Priority Date Filing Date
IE153190A IE901531A1 (en) 1990-04-27 1990-04-27 Method and means for arbitrating communication requests¹using a system control unit in a multiprocessing system

Country Status (1)

Country Link
IE (1) IE901531A1 (en)

Similar Documents

Publication Publication Date Title
US5155854A (en) System for arbitrating communication requests using multi-pass control unit based on availability of system resources
US4636942A (en) Computer vector multiprocessing control
US4661900A (en) Flexible chaining in vector processor with selective use of vector registers as operand and result registers
CA1324837C (en) Synchronizing and processing of memory access operations in multiprocessor systems
US4901230A (en) Computer vector multiprocessing control with multiple access memory and priority conflict resolution method
USRE41849E1 (en) Parallel multi-threaded processing
US6976135B1 (en) Memory request reordering in a data processing system
US4951193A (en) Parallel computer with distributed shared memories and distributed task activating circuits
JP2501419B2 (en) Multiprocessor memory system and memory reference conflict resolution method
US6868087B1 (en) Request queue manager in transfer controller with hub and ports
US20040162933A1 (en) Sram controller for parallel processor architecture including an address and command queue and method for controlling access to a RAM
US20040230979A1 (en) Command scheduling in computer networks
JPH02168341A (en) Data processing system
US3654621A (en) Information processing system having means for dynamic memory address preparation
JP2561261B2 (en) Buffer storage access method
JPS63191253A (en) Preference assigner for cache memory
EP0730237A1 (en) Multi-processor system with virtually addressable communication registers and controlling method thereof
US7028116B2 (en) Enhancement of transaction order queue
EP0675446B1 (en) Multi-processor system including priority arbitrator for arbitrating request issued from processors
JPH08292932A (en) Multiprocessor system and method for executing task in the same
EP0118670A2 (en) Priority system for channel subsystem
IE901531A1 (en) Method and means for arbitrating communication requests¹using a system control unit in a multiprocessing system
JP3849578B2 (en) Communication control device
JP2004086921A (en) Multiprocessor system and method for executing task in multiprocessor system thereof
JP2634834B2 (en) Storage control method