CA1143855A - Shared storage for multiple processor systems - Google Patents

Shared storage for multiple processor systems

Info

Publication number
CA1143855A
CA1143855A CA000360339A CA360339A CA1143855A CA 1143855 A CA1143855 A CA 1143855A CA 000360339 A CA000360339 A CA 000360339A CA 360339 A CA360339 A CA 360339A CA 1143855 A CA1143855 A CA 1143855A
Authority
CA
Canada
Prior art keywords
processor
shared storage
request
storage
unit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired
Application number
CA000360339A
Other languages
French (fr)
Inventor
Frederic J. Puttlitz
Dick K. Hardin
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
International Business Machines Corp
Original Assignee
International Business Machines 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 International Business Machines Corp filed Critical International Business Machines Corp
Application granted granted Critical
Publication of CA1143855A publication Critical patent/CA1143855A/en
Expired legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/14Handling requests for interconnection or transfer
    • G06F13/16Handling requests for interconnection or transfer for access to memory bus
    • G06F13/18Handling requests for interconnection or transfer for access to memory bus based on priority control

Abstract

Abstract A system is provided that includes a plurality of processors connected to a shared storage via an asynchronous storage interface that includes various interface logic and a ring counter that performs polling of the processors for access to the shared storage. The ring utilizes a "lookahead" feature that bypasses stages in the ring to speed up responses to request signals from the processor.
The logic uses the clock from the particular pro-cessor accessing the shared memory at any point in time.

Description

38~iiS

SHARED STORAGE FOR MULTIPLE PROCESSOR SYSTEMS

Background of the Invention ~ . . . . .._ ..

This invention relates to multiple processing systems and, more particularly, to a shared storage arrangement for such systems.

Systems of this nature have been described here-to fore wherein multiple central processing units communicate thrcugh a shared storage unit. In addi-tion to such communication, each of the central processing units (CPU's) has its own input/outputdevices. Many times a single bus structure is shared by all of the units on a time-shared basis which may lead to delays in processing time. In many cases, access to the shared or common memory is on a synchronous basis only. In addition, access of the common shared storage unit may be set up on a prior-itized basis. Frequently, the CPU's are provided with their own independent storage, as well. Also, , ... --~3~S

It has been known to provide interface units in a multiple processing sys-tem to resolve priority among the various processors requesting service.

Summary of the Invention In accordance with the present invention, a system is provided that includes a plurality of pro-cessors connected to a shared storage unit via an asynchronous storage interface. Each processor has its own assigned storage unit separate from the shared storage. Each processor has its own memory map so that the addresses in the related dedicated main storage and the shared storage appear to be contiguous. This is accomplished by a translator associated wlth each processor.

The asynchronous storage interface comprises various interface logic and a high speed ring multi-plexer which is used to perform polling of each of the processors for access to the shared storage.

The shared storage does not have its own clock but instead uses the clock from the particular pro-cessor accessing the shared storage at any point in time. Each processor has access to all memory loca-tions in the shared storage.

~ ' ~ji5 In order to protect a data set being worked on by one processor so that this data set is not pre-maturely accessed by another processor, a software convention is adopted whereby a predetermined bit in a flag field of the storage address will "lock out" other processors. To avoid conflict among the CPU's in accessing the shared storage, the invention provides a Test and Set operation, whereby processor A, as an example, would seize the sh,~red storage for two memory cycles, accomplishing both test and set before processor B has access to the shared storage.
given processor can also access shared storage for double memory cycles. The Test and Set operation allows the selected CPU to freeze the ring.

Another feature of the invention is the provision of cycle stealing input/output devices which can access the common storage directly. These input/output de-vices are associated with respective ones of the several processors and communicate through the proces-sor channel to the shared storage. When two CPU
requests come in simultaneously, the next one around the ring from the last CPU serviced gets the next cycle. If there is a cycle in progress, the next CPU
to be serviced is partially set up during the current service time so that the new cycle can start quickly after completion of the current cycle. The ring is based on a "lookahead" feature that bypasses stages in the ring.

BC9-7~-026 3~s For a better understanding of the present invention, together with other and further advantages and features thereof, reference i5 made to the description taken in connection with the accompanying S drawings, the scope of the invention being pointed out in the appended claims.

BrieE Description of the Drawings Referring to -the drawings:

Fig. 1 is a perspective view of a multiple pro-cessing system incorporating the shared storage feature in accordance with the present invention.

Fig. 2 is a block diagram of a multiple processing system comparable to that illustrated in Fig. 1.

Fig. 3A is a diagram of the layou-t of a shared storage card file useful in the systems of Fiys. 1 and
2, while Fig. 3B is a pictorial representa-tion of such card file.

Fig. ~ illustrates the interface lines between the Central Processing Units (CPU's) and the shared storage.

Fig. 5 illustrates the interface lines between the storage control unit and the storage card.

Figs. 6A and 6B, when arranged as shown in Fig.
6C, illustrate various interface and storage control unit logic utilized in the systems of Figs. 1 and 2.

Fig. 7 is a timing diagram for the CPU/Shared Storage Interface.

L3~S

1 Fig. 7 is a timing diagram for the CPU/Shared Storage Interface.

Figs. 8A-8D, when arranged as shown in E~ig. 8E, illustrate a Select Ring and associated logic useful in handling requests Eor the storage shared by the CPU's.

Fig. 9 is a timing diagram for the Select Ring and logic of Figs. 8A-8D.

A

~ S5 Abbrevia-tions ~ . _ The following abbreviations are sornetimes used herein:

Abbreviation Definition CPU Central Processing Unit CSX&Y Chip Select X & Y
I/O Input/Output ISA Invalid Storage Address K or KB Kilobyte NS Nanosecond OP Operation Pl~ Polarity Hold Latch SAR Storage Address Register SCU Storage Control Unit SSTG Shared Storage -1 Description Of Multiple Processor System and Shared Storage Feature Fig. 1 illustrates one arrangement of eight central processing units (CPU's) 1-8 positioned to form a letter "H" as viewed from above. The CPu's ~processors) may be of the type described in the U.S. Patent No. 4,047,161, issued September 6, 1977, having M.I. Davis as inventor and entitled "Task Management Apparatus". An entire line of IBM* computing equipment o~ similar interest is des-cribed in the "Series/l Digest", GS 360-0061, copyright 1977, 1978, International Business Machines Corporation.
A processor described in that document that would serve in the system herein is the IBM 4955 Processor.

Four of the processors 1-4 each mounted in an 1.8 meter rack, are positioned in the front and four others 5-8 of equal size, in 1.8 meter racks, are in the rear.
A frame positioned in between each set of four processors houses the Shared Storage card file 10. Typically, each 1.8 meter rack is bolted to the one next to it so that all eight racks along with the shared storage unit, create one solid grounded frame system. The "H" configura-tion is just one of many different configurations that can be used~ It is preferably done in this fashion to make use of flat cable internally located in the frames.

*Registered Trade Mark of International Business Machines Corporation ' 31 ~43~

Each of the processors, such as processor 4, has a number of associated units such as the printer 11 and display station 12. In addition, the processor may have an input/output expansion unit 14, a sensor I/O unit 15, a diskette unit 16 and a disk storage unit 17.

The storage for each CPU is up to 256KB in size.
The Shared Storage Card File l0 has up to 512KB of storage on individual circuit cards. Shared storage addresses are fixed to start at location (hexadecimal) 200000 (2MB) to insure its address is greater than any attached future CPU. The storage in the Shared Storage card file is accessible to all attached CPU's. The attached CPU's have no means of direct communication with each other, but communicate only through the shared storage unit 10, Howe~er, Program Interrupt/Digital Output (PI/DO) or other communications features may be connected between CPU's for interrupt capability.

Referring to Fig. 2, the multiple processor system of Fig. 1 is illustrated in a more diagramatic form. It includes the CPU's 1-8, the Shared Storage card file 10, and a number of interconnecting cables 20 enabling transmission of control, address and data information between the CPU's 1-8 and Shared Storage card file 10 by way of interface cards 21.
3~3~5 Each CPU is attached to the Shared Storage Card ~ile via two flat cables from top card connectors on the CPU Address Expansion card cables to top card connectors on its CPU Interface card~ Thus, a set of wires is dedicated to each CPU so that the request and storage address for the next CPU to be serviced can be sitting on the cables into the Shared Storage card file ready to be serviced immediately upon com-pletion of the last CPU service without delay. The length of these cables is typically between 6 and 20 feet.

Typical error conditions reported by the Shared Storage are Invalid 5torage Address, Write Data Parity Check, and Storage Address Parity Check. The Shared Storage card file is typically packaged in a card file, Figs. 3A and 3B, containing a number of card sockets such as card sockets A-Q and a power supply 23. This card file contains up to four CPU
interface cards (A-D), a Storage Control Unit (SCU) card (F) and an associated extender card (G) to provide a path for signals rom the top of the SCU card to the card file board, and up to eight 64K byte storage cards (H-Q). Each of the interface cards (A-D) handles attachment of two of the processors.

l CPU/Shared Storage Interface Lines The CPU/Shared Storage Interface for each attached CPU consists of forty lines as shown in Fig. 4. All lines - are minus active. The Shared Storage Bus is a bidirectional dual purpose 26-bit bus (bits 0-22, P0, Pl, and P2). The bus is used for both the transfer of the storage address and the transfer of data between the attached CPU's and the Shared Storage.
Bits 0-22, P0, Pl, and P2 are used to transfer the Shared Storage Address from the CPU to the Shared Stor-age card file. The Storage Address bits are valid from the rise of the Request line to rise of the Gate CSX&Y
line. The Storage Address bi-ts and their usage are shown below.

Bit Usage 0, 1, 3, 4 Must be 0 20 2 Must be 1 (2MB Address) 5-8 Card Sçlect 9, 1 0 CSY
11, 12 CSX
13-22 Word Select '~

Bits 0-15, P0, and Pl are used for Data Transfer between the CPU and Shared Storage.

Request. The Request line is raised by the CPU requesting either a Read or Write to Shared Storage.

Accept. This tag is raised by the Shared Storage in response to a Request when use of Shared Storage is available to the re-questing CPU. If Accept is not raised within a certain time of the rise of request, a "time out" will occur in the Address Expansion card of the requesting CPU. This line remains active until the fall of the Request line.

Write (Storage Control Un-t (SCU) Strobe.
This is a timed tag raised by the CPU on a Write Cycle. It is raised after the rise of Gate Card select.

Write OP 0/Write OP l. One or both of these lines are raised by the CPU on a Write Cycle to store byte 0 and/or byte 1 in the addressed Shared Storage location. These are valid from the rise of Gate Card Select to the Fall of Gate CSX&Y.

'~ 38~ ~
' 13 ate Card Select. This is a timed line -which is raised by the CPU at the first Time A after Accept is received from Shared Storage by the CPU. It is used by the Shared Storage Card File to gate ~he Card Select lines to the Shared Storage cards.

Gate CSX&Y. This line is raised by the CPU after Gate Card Select. It is used to gate the CSX and CSY lines to the Shared Storage Cards.
.
Test and Set. lhis is a line raised from the CPU during the Test Bit and Set (TBTS) instruction. It can be used for controlled 1 15 sharing of a shared storage area by more ,.~
- than one program. To accomplish this, some bit must be designated as the control bit. The'desired interlock can be achieved by establishing a program convention in which a zero bit indicates that the shared ` - area is available but a one bit means that the area is being used. Each using program '~ then must examine this bit by means of TBTS
instruction before making access to the commoh area. If the test sets the zero indicator, the area is available for use;
if it resets the zero indicator, the area cannot be used. With the Test and Set line active no~other CPU can access the test bit between the moment of fetching (for testing) and the moment of storing :. , '" ' :. .
' ~ BC9-78-Q26 .~ jl' r~ :

``~

the bit (setting). Hence, the possibility is eliminated of a second CPU testing the bit before the first CPU is able to set it.

Other instructions which may be used but uhich require inversion of the logic, i.e., Test and Reset logic, are Move Byte and Zero, Move Word and Zero, Test Bit and Invert, and Test Bit and Reset.

Invalid Storage Address. Invalid storage address is a tag raised by the Shared Storage to indicate that a CPU has attempted to access an address outside of the installed Shared Storage. When raised, this line stays active l~ntil - 15 the fall of Gate Card Select.

. . .

' ;

.` . .

,, ~.
: . ' `` '~
':

SAR Parity Check. This line is raised by Shared Storage to indicate bad pari-ty has been detected in one or more of the three by-tes of the Shared Storage Address. This may or may not result in an ISA, but in no case will Shared Storage be accessed. When a SAR parity check is detected this line will be raised by Accept and will remain active until the fall of the Gate Card Select.

Write Data Parity Check. This tag is raised ~ . .... _ .
by the Shared Storage to indicate that bad data parity has been detected by Shared Storage on a Write Cycle. Storage will not be accessed and the line will be active at the time that Write SCU Strobe is active.

System Reset. This reset line from the attached CPU is used only to degate the lines from that CPU's CPU Interface card to the SCU card in the Shared Storage Card File.

~ ~43~SS

Test and Set Time Out. This line is pulsed .
by Shared Storage when a CPU has held its Test and Se-t time up for more than a pre-determined amount of time. It sets a S latch in Shared Storage which blocks all inputs from that CPU until that CPU does a Power On Reset. It also causes a Storage Parity Check in the offending CPU.

SSTG Stop CPU Clock. This line is not used for the 64KB storage cards. In future Shared Storage units, it will be brought active for the duration of time the CPU clock is to be stopped for refresh on a dynamic storage or possibly for a slower denser storage.

CPU Interface Card/SCU Card Interface Lines This interface consists of 40 lines, not illus-trated. However, these lines are essentially the same as those described in connection with Fig. 4 with the following exceptions:

System Reset. System Reset from the CPU is used only on the CPU Interface card and is not passed on to the SCU card.

.

. . .

" 17 - cce~t Eloldover. This line is raised by Accept and remains active until the fall of Gate Card Select. This line is inactive during System Reset. All lines from the s CPU interface card to the SCU card, ex-~cept Request and Test and Set, are gated by Accept Holdover. The lines are gated on the CPU Interface ca;rd. The lines between the four CPU Intérface cards and the SCV card, except Request and Accept D
are dotted by board wiring. One Request line and one Accept line is required for each CPU.

SCU/Storage Card Interface This interface consists of 80 lines. These lines are shown ln Fig. S

I

::

' ' .
:'''', ' . :

!i~
. .

~ BC9-78-026 ~ ~ . ;, ~ IL4;3 ~

Card Select (2 per storage card) - Unary Card Select for each 32IC bytes of Shared Storage.

CSX, CSY - Signals for further array selection of the Shared Storage. These signals are received by each Shared Storage card.

Storage Address Register (SAR) - The low order 10 bits of the SAR addresses 2048 storage word locations. Each Shared Storage card receives the 10 low order SAR bits.

Installed - A unary line installed for each of the eight Shared Storage cards. The installed signals are used for detection of physical Invalid Storage Address (ISA) on a Shared Storage cycle.

Data Bus To Storage - 16 data lines plus 2 byte parity lines driving from the SCU
(Storage Control Unit) to the Shared Storage.

Data Bus From Storage - 16 data lines plus 2 byte parity lines driving from the Shared Storage to the SCU.

Write Byte 0, Write Byte 1 - Two byte strobes which are received by each Shared Storage card.
' ' .

. -'`'''" ~L~LL~.3855 ]~9 1 Detailed Descrip-tion of Shared S-torage Feature And Its Operation CPU Interface Card A typical CPU Interface Card 21, Figs. 2 and 6A, has connectors for the two cab].es which carry the sig-nals for communication with the Address Expansion card of the attached CPU. One CPU Interface card has four connectors so it can accommodate up to two CPU's.

The CPU Interface card contains logic for the 26-bit Shared Storage Bus, gating logic for signal lines from the CPU Interface card to the Storage Control Unit (SCU) card, and drivers and receivers for the CPU/Shared Stor-age Interface.

Storage Control Unit (SCU) Card The Storage Control Unit (SCU) card, Figs. 2, 6A
and 6B has connectors for the three flat cables to the Extender Card.

The SCU card, Figs. 6A and 6B contains:

- Storage Address Register (SAR) 60 - Shared Storage Address Logic 66 (Card Select CSX~Y Logic) - CPU Select Ring Logic 52 - Error Detection Logic (Parity Check 70) - Invalid Storage Address Logic (ISA) 76 - SCU/Storage Card Interface Drivers (D) and Receivers (R) ,,. ~ ~

Stora~e Address Re~ister 60. This is a 26-Bit Register (Bits 0-22, P0, Pl, and P2) for storing the Shared Storage Address to be accessed. The address bits are set in the register at the rise of Accept.

Shared Storage Address Logic 66. Stoxage Address Register bits 0 thro~gh 22 are used to address Shared Storage. Use of these bits are as follows:

Bits Usa e - g 0, 1, 3, 4 Must be 0 2 Must be 1 (2MB Address) 5-8 Decoded into 16 card select lines gated by Gate Card Select (Each card has two selects) 9, 10 Decoded into four CSY lines gated by Gate CSX&Y
11, 12 Decoded into four CSX lines gated by Gate CSX&Y
13-22 Used for Word Select on the Storage cards BC9~78-026 ~3~5S

CPU Select Rin~ Logic. The CPU Select Ring Logic 52 selects the CPU that will receive the nex-t Shared Storage cycle. This ring is not advanced sequentially. Selection of the CPU to receive the next cycle is based only on the last CPU serviced or currently being serviced . If two CPU ' s raise their request lines simultaneously, the next CPU
around the ring from the CPU being serviced will be given the nex~ cycle. If there is a cycle in progress, the next CPu to be serviced is partially set up during the current service time so that the next cycle starts shortly completion of the current cycle.

Test and set allows the selected CPU to freeze the ring 50 that it does not advance to another CPU.

Error Detection Logic (Parity Check 70).
The Shared Storage Bus is checked ~or odd parity by Parity Check block 70, Fig. 6A, for both Storage Address and Data during a Write cycle and for Storage Address during a Read cycle. If bad parity is detected, the Write byte 0 and Write byte 1 lines to the storage cards are degated .

' ~3~

1 If Test and Set is held up from one CPU for greater than a predetermined amount of time then a Storage Parity Check is set in that CPU
and requests from that CPU are blocked until Test and Set drops.

Invalid Storage Address (ISA) Logic 76 The Storage Address is checked to determine if it is within the domain of installed storage. If it is not, an Invalid Storage Address signal is generated.

38~

Operation_oF Shared Storage Interface and Storage Control Unit (SCU) Reference is made to the block diagram of E`igs.
6A a~d 6B and the timing chart of Fig. 7., The first action of interest is when the last Storage Address Register bit becomes valid on bus 50. Immediately following, a Request from ~he CPU handled by this portion of the interface card 21 becomes active.
This Request signal feeds receiver 51, Fig. 6A, which in turn is directed to the Select Ring logic 52. Select Ring logic 52 determines which CPU has access to Shared Storage and sends an Accept signal through Driver block 53 to the appropriate interface card and back to the requesting processor. The Accept signal also sets the Accept Flip Latch Hold Over 55. The Accept Latch Hold Over output goes to AND circuit 56 which gates bus 50 through a set of AND circuits generally represented by 57 to a dot represented by line 58. The data feeds through the dot onto the Storage Control Unit card 18 and into the Storage Address Register 60. The signal "Any Accept" which is the logical OR of the eight Accept signals within Select Ring logic 52 is gated at AND
; circuit 59 by Gate Card Select Not by way of AND
circuit 62 and AND Invert circuit 64, Fig. 6A. The output pulse from AND circuit 59, which is approximately 55 nanoseconds, sets the data on bus 50 into the Storage Address register 60. When Gate Card Select does become active, it is gated by Invalid Storage Address logic 76 by AND circuit 77 in Fig. 6B. ISA
latch 78 will be set if ISA logic 76 determines that an Invalid Storage Address has been selected. The output of the ISA latch 78 is sent to the requesting ~- processor through driver 79, Fig. 6A.
~, .

.

~ ~;

~''~ '' 3~S5 2~
Signal Gate CSX&Y from AND circuit 63, Fig. 6A, is kept orthogonal into AND circults 92 and 93, Fig.
~B, by block 94. When Gate CSX&Y is inactive the parity check block 70, Fig. 6B, checks the Storage Address Register 60 for odd byte parity. When Gate Card Select becomes active, the parity check block 70 gates AND circuit 71, Fig. 6B, and sets the SAR
parity latch 72 if the SAR address register's parity was incorrect. The output from the SAR parity latch is sent to the requesting processor through driver 73, Fig. 6A. When signal Gate CSX&Y becomes active, AND circuit 92 is disabled by way of AND Invert circuit 94 and AND circuit 93 is enabled. Data on bus 50 can now be gated to the parity check block 70.
The result of the parity check of data is recorded into data parity latch 87, Fig. 6B, if Write SCU
strobe makes AND circuit 86 which will occur during a Write operation to Shared Storage. The output from data parity check latch 87 is sent to the requesting processor through driver 88.

The Card Select and CSX&Y logic within Card Select block 66, Fig. 6B, generate sixteen (16) unique card select lines, four (4) common CSX lines and four (4) common CSY lines. These signals are generated from the decoding of the Storage Address Register bits and are timed by Gate Card Select and Gate CSX&Y.

AND Invert block 97, AND circuit 98 and AND
invert block 99, Fig. 6A, are used to control the direction which bus 50 is carrying data. During a .~

~4~5S
Shared Storage Read or Write operation, AND circuit 98 and Driver 83 are degated when Gate CSX&Y is inactive. '~his allows Bus 50, which is carrying the Shared Storage Address to be gated through AND
circuit 57 and hence to the Storage Address Register 60. When Gate CSX&Y becomes active and the Shared Storage operation is a Write operation to storage, that is, Write SCU Strobe is active from AND circuit 69, AND circuit 98 and Driver 83 are still blocked and bus 50 continues to be gated through AND circuit 57. Data will pass through the SCU card 18 by way of driver 67, Fig. 6B. If Gate CSX&Y became active and the shared storage operation was a Read from storage, that is, Write SCU strobe is not generated, then the output from inverter 97 would be at a logical 1 and thus gate AND circuit 98. This in turn degates AND circuit 57 and enables driver 83. After the appropriate storage access time, data from storage enters the SCU via receiver 81, Fig. 6B, and leaves via driver 82, Fig. 6A. The dot bus 58 accepts the output from conditioned SCU driver 82 and allows interface card 21 to redrive the storage data through driver 83 to bus 50.

AND circuits 84 and 85 serve a Write strobing function.

Back in the accepted processor, Gate CSX&Y also removes the Request line to block 51, Fig. 6A, which then removes it from the Select Ring logic 52. This causes Select Ring logic 52 to drop the Accept line.

` .~3l~3~iS

AND circuit 95 allows data to come from storaye through Driver 82 after Gate CSX&Y becomes active.
The fact that it is a Read operation rather than a Write opera-tion is indica-ted by Inverter 96. If the Shared Storage Request is a Write operation, the Write Op 0/l lines will become active at the beginning of the request as shown in the 1:iming chart, Fig. 7, and remain active until the Shared Storage Write cycle is completed.

Another item of interest in the timing chart, Fig. 7, is the Test and Set Pulse. This signal was described earlier and is used to block the Select Ring logic 52 from advancing to the next processor between the Fetch and the Store of the Test and Set operation. The Test and Set signal becomes active soon after the rise of the Gate Card Select asso-ciated with the fetch portion of the operation by way of Receiver circuit 90 and remains active until the fall of Gate Card Select associated with the store portion of the operation.

Select Ring Logic and Timing Some multiple processor systems operate with delays because the select ring advances at the rate of an internal clock. If a request from a CPU just missed being selected, it would have to wait while the Select ring proceeded clear around the ring before it could be serviced.

~9L3~

1 The scheme descrlbed herein is much faster and does not require an internal clock. A prior scheme of inter-est is described in the U.S. Patent 3,706,974 having Robert L. Patrick et al as inventors and entitled "Interface Multiplexer". A number of significant modi-fications have been made. The devices are changed to CPU's, the Control Unit is eliminated, and the priority lines are eliminated. CPU lookahead and Test and Set are added.
When two CPU requests come in simultaneously, the next one around the ring from the last CPU serviced gets the next cycle. If there is a cycle in progress, the next CPU to be serviced is partially set up during the current service time, so that the next cycle can start shortly after completion of the current cycle.

The Select Ring 52 herein uses CPU lookahead. This contrasts with the scheme described in United States Patent 3,706,974 which required the GO line to propagate clear around the ring before service could be granted.
The CPU lookahead bypasses stages in the ring and speeds up response time.

The Test and Set addition allows the selected CPU
to freeze the ring so it does not advance to another CPU.

Fig. 7 shows the Select Ring interface timings and Figs. 8A-8D show one bit of the Select Ring logic with certain ring logic common to alI processors.

. . .

Select Ring logic 52 is shown in considerable detail in Figs. 8A-8D which include the logic necessary to implement one processor selection for the Select Ring as welI as certain common logic that is provided for handling up to eight processors~ com-prising a set of a predeterminued number of processors.
The logic diagram in Figs. 8A-8D is a first-level diagram and accordingly vàrious circuit blocks are organized by dashed blocks to indicate their functions. An example of this is the Master Request latch 102, Fig. 8B.

The start of the Select Ring operation is with inputs to the Processor 0 Request Input Gates 110, Fig. 8A. The input signal lines to block 110 are Request In from processor 0, (also referred to as Request Bloek 51 in Fig. 6A), Last Service Polarity Hold 0 (PH) and Test and Set. Another condition i5 Test and Set Not and Request In from processor 0 ~, stored by Processor 0 Request Latch 101 by way of ¦ -Input Gates 110.~ This logic insures that the proper CPU Shared Storage Request is processed if Test and Set is active.
! ~
As soon as a Request signal from Processor 0 is latched up in Processor 0 Request latch 101, it ; ~ follows a path from this latch to the AND circuit 114 which has, as another input, Go Out 7. Each pro-cessor on the Select Ring has its own Go Out signal.
The function of this signal will be discussed further ~' ;~ on in the operation of the Select Ring.

.

, , ,. ! , ' I!
. :

It, , ' ~

~ BC9-78-026 ~ 3~55 1 The output from AND circuit 114 among other places is directed to the Master Request Set Gate 113. The Master Request Set Gate is an OR circuit in each of the eight blocks corresponding to block 114 in the Select Ring. Each processor in the Select Ring has a block 114 in the Select Ring Logic. The output of Block 113 in turn goes to the Master Request latch 102, Fig. 8B.
The Master Request Latch 102 will set if Accept Hold-over latch driver 54 in Fig. 6A, and the output of block 113, Fig. 8A, are active.

The output of Master Request Latch 102 is directed to a continuously triggered Single Shot Block 119 which is deconditioned 100 nanoseconds (ns) after the Master Request latch 102 is set. The output of the Single Shot 119 is referred to as Master Request Delay and is one input into the Processor 0 Accept latch 103. The 100 ns delay is necessary to allow the Lookahead ring cir-cuitry such as block 105, Fig. 8D, to settle out. This is the period of time during which the Lookahead ring circuitry, such as circuitry 105, decides which proces-sor will have its request accepted.

The Lookahead ring circuitry, such as circuitry 105, is duplicated for every processor and provides lookahead for a subset of four processors in the system described.
The longest logic path required to process a request by the Lookahead ring circuitry involves four stages of delay. A lookahead ring accommodating four processors is chosen as the optimum ring due to technology consi-derations. Obviously, a lookahead ring accommodating eight processors provides the fastest ring settle out time.

,. .

1 Processor 0 is at the head of the ring, then Proces-sor 7 is the last processor in a counter-clockwlse direc-tion. In fielding a processor shared storage request, if Processor 2 was the last one to be serviced, the ring would prioritize requests from Processor 8, then Proces-sor 4, Processor 5, etc., in that order. In actuality because of the lookahead operation in the system des-cribed, all eight processors around the ring from the last processor serviced can be scanned and serviced in the same amount of time as it would take to scan only two processors in a ring without lookahead.

Lookahead ring 105 includes a five-way AND/OR cir-cuit arrangement which receives various inputs from the Ring circuits in Fig. 8. The Lookahead Ring logic for four processors is implemented for each processor on the ring according to the following Boolean equation.

Go Out N = Last Service N

Or (Last Service N-l and Processor N Request Latch Not and Processor N Accept Latch Not) `
Or (Last Service N-2 and Processor N Request Latch Not and Processor Accept Latch Not and Processor N-l Request Latch Not and Processor N-l Accept Latch Not) Or (Last Service N-3 and Processor N Request Latch Not and Processor N Accept Latch Not and Processor N-l Request Latch Not and Pro-cessor N-l Accept Latch Not and Processor N-2 Request Latch Not and Processor N-2 Accept Latch Not) , :

3~

or (Go Out N-4 and Processor N Request Latch Not and Processor N Accept Latch Not and Pro-cessor N-l Request Latch Not and Processor N-1 Accept Latch Not and Processor N-2 Request Latch Not and Processor N-2 Accept Latch Not and Processor N-3 Request Latch Not and Processor N-3 Accept Latch Not) When a Processor Request Latch is set, the ring begins to collapse or decondition, automatically determining the request to be processed, even if 2 or more Processor ~equest Latches are set simultan-eously. In this case, output from ring 105 by way of OR block 16 is referred to as "Go Out 0". Every processor has its own "Go Out" logic as shown in Fig. 8B.

Another input into Processor Accept latch block 103 on the Set side is the Accept Latch Holdover Not which is derived from block 54, Fig. 6A. When all of the inputs are conditioned, block 103 will set and its output is then directed to several places.
First of all, it is supplied to the NAND Block 117 which returns to Driver 53 in Fig. 6A. This provides an "Accept 0" signal. Another use of the output from Processor 0 Accept latch 103 is to the Last Service clocking circuitry 107, Fig. 8B. The purpose of this circuitry is to produce a glitch pulse of predicatable width.. A signal at the input of circuit 107 proceeds through a number of inverter -stages which determine the width of the pulse.
Ultimately, the original signal is ANDed together ~4;~355 with the derived pulse from the Inverter circuits to make up the particular pulse required from the ou-tput of Circuit 107. Another cixcult which receives the output from Processor 0 Accept latch 103 is the Last Service 0 latch block 104. Each Select Ring pro-cessor has a "Last Service" latch which gets set when its corresponding Processor's Request has been accepted by the Ring logic.

There is also a Last Service Generator 109 unique to Last Service 0 latch 104. This circuit provides for two things. It selects Last Service 0 latch at cold start time and if Last Service latch is not set on any processor connected to the Select Ring this circuitry sets Last Service 0 latch. The Last Service signals are essential for correct Select Ring operation.

Block 112 comprises a Master Request Reset Gate from which AND circuit 111 provides an input for Pro-cessor 0. Block 112 merely resets the Master Request latch 102 at the appropriate time.

Single Shot Block 121 provides a 2 microsecond Time Out after the Master Request Latch 102 is set.
The output of block 121 feeds the reset side of the Master Request Latch. The operation of the single shot keeps the ring from deadlocking due to component failure or noise ~iltering into the Select Ring Logic.

Block 120 insures that the shared storage stays with the processor which issued the Test and Set command. Also, it allows Processor 0 Request Latch 101 to reset at the correct time within the shared storage cycle.

BC9-7~-026 Referring also to the timing diagram of Fig. 9, the sequence is as follows. The signals are shown for Processor 0 but apply to any of the other proces-sors 1-7 which may be referred to as processor N.
The numbers 101, 102 refer to the circuit blocks in Figs. 8A and 8B. The Processor Request 0 involv-ing block 101 is received by the Ring Logic, previ-ously described. That, and the fact that the Master Request latch 102 is not active, is enough to set the -~ 10 request. With some logic delay time, the Master Request latch 102 is then set The Single Shot 119 provides for 100 nanoseconds delay which is referred to as Master Reque.st Latch Delayed. Within a certain amount of logic delay, according to the technology, the Accept 0 latch 103, Fig. 8, is set. Also see driver 53, Fig. 6A. Approximately 55 nanoseconds later, an Accept Latch Holdover signal from block 54, Fig. 6A, comes into the Select Ring logic, Figs~ 8A-8D, and degates Master Request latch 102, Fig. 8B, Z0 and Processor 0 Accept latch 103, Fig. 8C. Appro-ximately 55 nanoseconds after the rise of Accept Latch Holdover (see dotted line on Fig. 9), the requesting processor will drop its request and in turn the Select Ring logic Processor 0 Request Latch 101 will also reset. When the Request latch 101 falls, the Master Request latch 102 is also reset. This, in turn, resets Processor 0 Accept latch 103. At this point, the Select Ring logic has essentially done its function and is waiting for the Accept Latch Holdover 54 to drop. Once that drops, another processor or shared storage request can be filled, and the process and the timing starts all over.

,. ~.

~385 E;

The Last Servlce 0 latch 104 is set as a function of Processor 0 Accept latch 103 and will remain set until another processor shared storage request has been filled.

The Test and Set signal which comes from AND
circuit 90 in Fig. 6A gates the input to Processor 0 Request Input block 110, Fig. 8A. This line, when it is active, allows onl~ that processor which had its Last Service latch set to fill a new request from the processor. This will continue until this particular line drops out. It becomes active at Gate Card Select Time and falls when Gate Card Select goes away.

While a preferred embodiment of the invention has been illustrated and described, it is to be understood that there is no intention to limit the invention to the precise construction herein dis-closed and the right is reserved to all changes and modifications coming within the scope of the invention as defined in the appended claims.

, ., . ~

sC9-78-026

Claims (14)

The embodiments of the invention in which an exclusive property or privilege is claimed are defined as follows:
1. A shared storage arrangement for a data processing system, comprising:
a set of a predetermined number of processor units, each of said processor units having facilities for pro-cessing data in accordance with programmed instruction sequences and for generating request signals indicative of the need to access shared storage for data transfer operations;
at least one common shared storage unit, said stor-age unit storing data processing information in a plural-ity of addressable locations;
a storage control unit interconnected with said shared storage unit for controlling access to data in the addressable locations in said shared storage unit;
individual processor interconnect means respectively associated with each of said processor units and activat-able to interconnect said processor unit with said storage control unit;
access means associated with said storage control unit, said access means being responsive to request sig-nals from said processor units to selectively activate said processor interconnect means and thereby intercon-nect a selected processor unit through said storage con-trol unit to said shared storage unit for transfer to control, address, and data signals therebetween, said access means being responsive to signals on request lines from said processor units as determined by a pre-determined scanning procedure; and
1. (Continued) lookahead analysis means incorporated in said access means for analyzing active request signals from said pro-cessor units in accordance with a prioritized arrange-ment from lowest to highest, said lookahead analysis means incorporating for each of said processor units an individual subset lookahead circuit responsive to request signals from at least one assigned subset of said pro-cessor units less in number than said predetermined num-ber, each of said individual lookahead analysis circuits being operable to effectively bypass all inactive request lines and active request lines of lower priority within its assigned subset and to provide a substantially im-mediate accept signal to activate the processor intercon-nect means for any requesting processor having highest priority in the subset.
2. The shared storage arrangement of Claim 1, further comprising:

individual rack elements for supporting each of said processor units;

an independent rack for supporting said shared storage unit, said storage control unit, said processor interconnect means, said.
access means, and said lookahead analysis means; and rack interconnect means for retaining all of said racks in an integrated structure to facilitate grounding of the respective units and cable interconnections.
3. The shared storage arrangement of Claim 1, further comprising:

a card file for accommodating individual circuit cards and a power supply, said circuit cards including storage control unit cards, shared storage cards, and processor interconnect cards.
4. The shared storage arrangement of Claim 3, further comprising:

processor interconnect means on individual processor interconnect cards for accommo-dating more than one processor on such individual cards.
5. The shared storage arrangement of Claim 1, fur-ther comprising:
select ring logic incorporated in said access means, said select ring logic being operable in association with said subset lookahead circuitry for supplying a Go Out signal for the respective processor units when their request signals are accepted.
6. The shared storage arrangement of Claim 1, further comprising:
storage means incorporated in said storage con-trol unit for accommodating control, address, and data information and serving as a storage buffer during transfer of such information between a selected pro-cessor and said common shared storage unit.
7. The shared storage arrangement of Claim 6, further comprising:
address selection means in said storage control unit responsive to address signals from said storage buffer and selection signals to supply address signals for selecting sections of said shared storage unit re-quired during operations.
8. The shared storage arrangement of Claim 7, further comprising:

means mounting said shared storage unit in sections on circuit cards, each circuit card accommodating a predefined amount of shared storage information; and means activating said address selection means in said storage control unit for selecting individual shared storage cards in conjunc-tion with other address signals provided by said storage buffer in said storage control unit.
9. The shared storage arrangement of Claim 1, further comprising:

invalid storage address logic incorporated in said storage control unit and responsive to address signals generated during operations to provide an indication when an invalid address is generated.
10. The shared storage arrangement of Claim 1 further comprising:

parity check logic in said storage control unit for checking the parity conditions of in-formation transferred between a selected processor unit and said common shared storage unit.
11. The shared storage arrangement of Claim 1, further comprising:

test and set means associated with each of said processor units and activated when a pro-cessor unit has had its request accepted to inhibit further advancement of said access means and thereby prevent access by another processor unit for a time period long enough to complete the servicing of the currently accepted processor unit.
12. The shared storage arrangement of Claim 1, further comprising:

select ring logic incorporated in said access means;

first control means for operating said select ring logic in a counter-clockwise direction to fulfill service requests by said proces-sor units when they occur independently and in a timed sequence; and second control means for operating said look-ahead analysis means in a counter-clockwise direction when two or more processor units submit request signals concurrently.
13. The shared storage arrangement of Claim 1, further comprising:

input gating means in said access means responsive to request signals to individual processor units to supply said signals in accordance with a prioritized arrangement; and a master request circuit responsive to a request signal on any processor input line, said master request circuit pro-viding a signal to inhibit said lookahead analysis means for a predetermined amount of time allowing said lookahead analysis means to receive all of its inputted request signals and to settle down prior to supplying an accept signal.
14. The shared storage arrangement of Claim 13, further comprising:

a processor accept latch in said access means for each of said processor units, said processor accept latch providing an accept signal to its related processor unit when its request has been accepted by said lookahead analysis means; and a single shot circuit, said single shot circuit being responsive to a signal from said master request latch to inhibit setting of any of said proces-sor accept latches until after a pre-determined interval to allow sufficient time for said lookahead analysis circuit to determine priority and to settle down.
CA000360339A 1979-11-13 1980-09-16 Shared storage for multiple processor systems Expired CA1143855A (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
US093,643 1979-11-13
US06/093,643 US4313161A (en) 1979-11-13 1979-11-13 Shared storage for multiple processor systems

Publications (1)

Publication Number Publication Date
CA1143855A true CA1143855A (en) 1983-03-29

Family

ID=22240011

Family Applications (1)

Application Number Title Priority Date Filing Date
CA000360339A Expired CA1143855A (en) 1979-11-13 1980-09-16 Shared storage for multiple processor systems

Country Status (5)

Country Link
US (1) US4313161A (en)
EP (1) EP0029121B1 (en)
JP (1) JPS5682962A (en)
CA (1) CA1143855A (en)
DE (1) DE3069305D1 (en)

Families Citing this family (38)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4371929A (en) * 1980-05-05 1983-02-01 Ibm Corporation Multiprocessor system with high density memory set architecture including partitionable cache store interface to shared disk drive memory
US4370709A (en) * 1980-08-01 1983-01-25 Tracor, Inc. Computer emulator with three segment microcode memory and two separate microcontrollers for operand derivation and execution phases
US4410944A (en) * 1981-03-24 1983-10-18 Burroughs Corporation Apparatus and method for maintaining cache memory integrity in a shared memory environment
US4445174A (en) * 1981-03-31 1984-04-24 International Business Machines Corporation Multiprocessing system including a shared cache
JPS58140862A (en) * 1982-02-16 1983-08-20 Toshiba Corp Mutual exclusion system
GB2170624B (en) * 1982-06-05 1987-06-10 British Aerospace Communication between computers
GB2123189B (en) * 1982-06-05 1987-06-10 British Aerospace Communication between computers
US4574346A (en) * 1982-09-29 1986-03-04 International Business Machines Corporation Method and apparatus for peripheral data handling hierarchies
US4638425A (en) * 1982-09-29 1987-01-20 International Business Machines Corporation Peripheral data storage having access controls with error recovery
US4539656A (en) * 1982-11-01 1985-09-03 Gte Automatic Electric Incorporated Memory access selection circuit
US4706190A (en) * 1983-09-22 1987-11-10 Digital Equipment Corporation Retry mechanism for releasing control of a communications path in digital computer system
US5701512A (en) * 1986-03-11 1997-12-23 Canon Kabushiki Kaisha Data transmission control apparatus for system with input/output units used in common by several CPU's
US5202971A (en) * 1987-02-13 1993-04-13 International Business Machines Corporation System for file and record locking between nodes in a distributed data processing environment maintaining one copy of each file lock
US5341510A (en) * 1987-05-01 1994-08-23 Digital Equipment Corporation Commander node method and apparatus for assuring adequate access to system resources in a multiprocessor
US4937733A (en) * 1987-05-01 1990-06-26 Digital Equipment Corporation Method and apparatus for assuring adequate access to system resources by processors in a multiprocessor computer system
US4858116A (en) * 1987-05-01 1989-08-15 Digital Equipment Corporation Method and apparatus for managing multiple lock indicators in a multiprocessor computer system
US4941083A (en) * 1987-05-01 1990-07-10 Digital Equipment Corporation Method and apparatus for initiating interlock read transactions on a multiprocessor computer system
US4949239A (en) * 1987-05-01 1990-08-14 Digital Equipment Corporation System for implementing multiple lock indicators on synchronous pended bus in multiprocessor computer system
DE3726192A1 (en) * 1987-08-06 1989-02-16 Otto Mueller STACK CONTROL
US5018060A (en) * 1989-01-26 1991-05-21 Ibm Corporation Allocating data storage space of peripheral data storage devices using implied allocation based on user parameters
CA2016348C (en) * 1989-05-10 2002-02-05 Kenichi Asano Multiprocessor type time varying image encoding system and image processor
US5353416A (en) * 1989-10-25 1994-10-04 Zenith Data Systems Corporation CPU lock logic for corrected operation with a posted write array
EP0476962B1 (en) * 1990-09-18 1998-08-12 Fujitsu Limited System for configuring a shared storage
JPH04362755A (en) * 1991-06-10 1992-12-15 Nec Corp Shared extension storage test system
US5371893A (en) * 1991-12-27 1994-12-06 International Business Machines Corporation Look-ahead priority arbitration system and method
US5802391A (en) * 1993-03-16 1998-09-01 Ht Research, Inc. Direct-access team/workgroup server shared by team/workgrouped computers without using a network operating system
TW372294B (en) * 1993-03-16 1999-10-21 Ht Res Inc Multiple computer system
US7013997B2 (en) * 1994-10-14 2006-03-21 Weatherford/Lamb, Inc. Methods and apparatus for cementing drill strings in place for one pass drilling and completion of oil and gas wells
FR2769727B1 (en) * 1997-10-09 2000-01-28 St Microelectronics Sa METHOD AND SYSTEM FOR CONTROLLING SHARED ACCESS TO A RAM
FR2769728B1 (en) * 1997-10-09 2000-01-28 St Microelectronics Sa IMPROVED METHOD AND SYSTEM FOR CONTROLLING SHARED ACCESS TO A RAM
US6038613A (en) * 1997-11-14 2000-03-14 International Business Machines Corporation Prefetching and storing device work information from multiple data storage devices
US6496208B1 (en) * 1998-09-10 2002-12-17 Microsoft Corporation Method and apparatus for visualizing and exploring large hierarchical structures
US20060069657A1 (en) * 1998-10-01 2006-03-30 Freeny Charles C Jr Multiple customer and multiple location PC service provider system
US7007151B1 (en) * 2000-10-04 2006-02-28 Nortel Networks Limited System, device, and method for controlling access to a memory
US7035908B1 (en) * 2001-07-26 2006-04-25 Lsi Logic Corporation Method for multiprocessor communication within a shared memory architecture
US7162743B1 (en) * 2001-10-04 2007-01-09 Hewlett-Packard Development Company, L.P. System and method of limiting access to protected hardware addresses and processor instructions
CN1318941C (en) * 2003-08-05 2007-05-30 华为技术有限公司 Port polling selection method
JP4742284B2 (en) * 2005-04-19 2011-08-10 恵生 矢部 razor

Family Cites Families (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US3544976A (en) * 1968-07-02 1970-12-01 Collins Radio Co Digitalized communication system with computation and control capabilities employing transmission line loop for data transmission
US3528061A (en) * 1968-07-05 1970-09-08 Ibm Interlock arrangement
US3753014A (en) * 1971-03-15 1973-08-14 Burroughs Corp Fast inhibit gate with applications
US3748647A (en) * 1971-06-30 1973-07-24 Ibm Toroidal interconnection system
US3735360A (en) * 1971-08-25 1973-05-22 Ibm High speed buffer operation in a multi-processing system
US3771137A (en) * 1971-09-10 1973-11-06 Ibm Memory control in a multipurpose system utilizing a broadcast
US3706974A (en) * 1971-10-27 1972-12-19 Ibm Interface multiplexer
US3832692A (en) * 1972-06-27 1974-08-27 Honeywell Inf Systems Priority network for devices coupled by a multi-line bus
US3795901A (en) * 1972-12-29 1974-03-05 Ibm Data processing memory system with bidirectional data bus
US3921145A (en) * 1973-10-12 1975-11-18 Burroughs Corp Multirequest grouping computer interface
US3845474A (en) * 1973-11-05 1974-10-29 Honeywell Inf Systems Cache store clearing operation for multiprocessor mode
US4073005A (en) * 1974-01-21 1978-02-07 Control Data Corporation Multi-processor computer system
US4015243A (en) * 1975-06-02 1977-03-29 Kurpanek Horst G Multi-processing computer system
US4041461A (en) * 1975-07-25 1977-08-09 International Business Machines Corporation Signal analyzer system
US4047161A (en) * 1976-04-30 1977-09-06 International Business Machines Corporation Task management apparatus
US4093982A (en) * 1976-05-03 1978-06-06 International Business Machines Corporation Microprocessor system
US4130864A (en) * 1976-10-29 1978-12-19 Westinghouse Electric Corp. Priority selection circuit for multiported central functional unit with automatic priority reduction on excessive port request

Also Published As

Publication number Publication date
EP0029121B1 (en) 1984-09-26
JPS6113618B2 (en) 1986-04-14
US4313161A (en) 1982-01-26
DE3069305D1 (en) 1984-10-31
EP0029121A1 (en) 1981-05-27
JPS5682962A (en) 1981-07-07

Similar Documents

Publication Publication Date Title
CA1143855A (en) Shared storage for multiple processor systems
EP0314728B1 (en) Automatic sizing memory system
US4937827A (en) Circuit verification accessory
US5060145A (en) Memory access system for pipelined data paths to and from storage
US4744084A (en) Hardware modeling system and method for simulating portions of electrical circuits
US4918587A (en) Prefetch circuit for a computer memory subject to consecutive addressing
US4617624A (en) Multiple configuration memory circuit
US4933909A (en) Dual read/write register file memory
US4095265A (en) Memory control structure for a pipelined mini-processor system
EP0513519A1 (en) Memory system for multiprocessor systems
US4556952A (en) Refresh circuit for dynamic memory of a data processor employing a direct memory access controller
EP0180237A2 (en) Data processor system having look-ahead control
GB2186719A (en) Peripheral dma controller for data acquisition system
WO1997029430A1 (en) Fast access to a shared resource on a computer bus
US4181933A (en) Memory access and sharing control system
CA2008669C (en) Multiple mode memory module
EP0512685B1 (en) Quadrature bus protocol for carrying out transactions in a computer system
US4698754A (en) Error detection of scan-out in a diagnostic circuit of a computer
US5093902A (en) Memory control apparatus for accessing an image memory in cycle stealing fashion to read and write videotex signals
EP0037459B1 (en) Data processing systems and methods of operating such systems to transfer data between the main store and a secondary store
US4989210A (en) Pipelined address check bit stack controller
EP0191939A1 (en) Data processing bus system
EP0024414A1 (en) Mass memory access method and apparatus
Cavestro et al. A CAMAC controller for the limited streamer tube readout
Coppo et al. General interface circuit for time-of-flight measurements with cold neutrons

Legal Events

Date Code Title Description
MKEX Expiry