JP3038257B2 - Electronic computer - Google Patents

Electronic computer

Info

Publication number
JP3038257B2
JP3038257B2 JP3189854A JP18985491A JP3038257B2 JP 3038257 B2 JP3038257 B2 JP 3038257B2 JP 3189854 A JP3189854 A JP 3189854A JP 18985491 A JP18985491 A JP 18985491A JP 3038257 B2 JP3038257 B2 JP 3038257B2
Authority
JP
Japan
Prior art keywords
main storage
processors
processor
storage devices
data
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 - Fee Related
Application number
JP3189854A
Other languages
Japanese (ja)
Other versions
JPH0535578A (en
Inventor
泰彦 黒澤
浩 小室
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.)
Toshiba Corp
Original Assignee
Toshiba 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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP3189854A priority Critical patent/JP3038257B2/en
Publication of JPH0535578A publication Critical patent/JPH0535578A/en
Application granted granted Critical
Publication of JP3038257B2 publication Critical patent/JP3038257B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【産業上の利用分野】この発明は、マルチプロセッサ構
成の電子計算機に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a multiprocessor electronic computer.

【0002】[0002]

【従来の技術】従来、マルチプロセッサ構成の電子計算
機において、同一のプロセッサがただ1つの主記憶装置
にアクセス要求を出す場合、同時に複数のプロセッサか
ら1つの主記憶装置にアクセスすることができないため
に、各プロセッサのアクセス待ち時間が長く、主記憶装
置の動作率が低い問題点があった。
2. Description of the Related Art Conventionally, in a multiprocessor computer, when the same processor issues an access request to only one main storage device, a plurality of processors cannot simultaneously access one main storage device. However, there is a problem that the access waiting time of each processor is long and the operation rate of the main storage device is low.

【0003】また、複数のプロセッサのうち同一のプロ
セッサが同時に複数の主記憶装置にアクセスするように
することは、以下の理由によって複雑な制御のもとで、
あるいは膨大なハードウェア量のもとでのみ実現するこ
とができていた。
In order to allow the same processor to access a plurality of main storage devices at the same time among a plurality of processors, the following reasons are required under complicated control.
Or it could only be realized with a huge amount of hardware.

【0004】i)同一のプロセッサから主記憶装置へのア
クセス要求が1つしか出せない場合、プロセッサの待ち
時間が増大し、主記憶装置の使用効率が低下する。
I) When only one access request to the main storage device can be issued from the same processor, the waiting time of the processor increases and the use efficiency of the main storage device decreases.

【0005】例えば、複数のプロセッサ各々が複数の主
記憶装置にアクセスする必要があるが、単一の主記憶装
置(これをいま、仮にM0とする)には同時に1つのア
クセスしかできない場合には、この主記憶装置M0をア
クセスしたいプロセッサ(これをいま、仮にA0とす
る)において、すでに他の主記憶装置へのアクセス要求
が出されていれば、先のアクセス要求がすべて処理され
るまで待たなければ主記憶装置M0へのアクセス要求が
出せない。しかも、この待ち時間の間に、別のプロセッ
サから主記憶装置M0へのアクセス要求が出されてしま
うと、今度は、この別のプロセッサのアクセス要求が処
理されてしまうまでプロセッサA0から主記憶装置M0
へのアクセス要求が待たされることになる。こうして、
プロセッサA0には無駄な待ち時間が発生し、主記憶装
置M0もアクセスできる空き時間があるにもかかわら
ず、いずれのプロセッサからもアクセスされない時間が
生じ、利用効率が悪い問題点があった。
For example, if a plurality of processors need to access a plurality of main storage devices, but a single main storage device (this is supposed to be M0) can access only one at a time, If a processor that wants to access this main storage device M0 (this is now assumed to be A0) has already issued an access request to another main storage device, it waits until all the previous access requests have been processed. Otherwise, an access request to the main storage device M0 cannot be issued. In addition, if another processor issues an access request to the main memory M0 during this waiting time, then the processor A0 sends the main memory M0 until the access request of the other processor is processed. M0
The request for access to is waited for. Thus,
Useless waiting time occurs in the processor A0, and although there is a free time in which the main storage device M0 can also be accessed, a time occurs in which the processor A0 is not accessed by any of the processors, resulting in poor utilization efficiency.

【0006】ii)複数のプロセッサのうちのいずれのプ
ロセッサからも複数の主記憶装置へアクセス要求が出せ
るが、各プロセッサがバッファメモリを備えていない場
合には、1つのプロセッサに同時に複数の主記憶装置か
らデータが送られてくることがあり、このときにはデー
タの衝突が発生して、いずれの主記憶装置からのデータ
も受け取ることができなくなる。そこで、優先順位制御
を行なうことになるのであるが、多くの場合、主記憶装
置数はプロセッサ数に比例し、比較が必要な場合の数
は、 (プロセッサ数)!/((プロセッサ数−主記憶装置
数)!)〓(プロセッサ数)! に比例するので、プロセッサ数が多くなれば、規定時間
(プロセッサのクロック周期)内に処理することが困難
になる問題点があった。
Ii) Any one of the plurality of processors can issue an access request to a plurality of main storage devices. However, when each processor does not have a buffer memory, a plurality of main storage devices are simultaneously stored in one processor. Data may be sent from the device, and at this time, data collision occurs, and data from any main storage device cannot be received. Therefore, priority control is performed. In many cases, the number of main storage devices is proportional to the number of processors, and the number of cases that need to be compared is (number of processors)! / ((The number of processors-the number of main storage devices)!) 〓 (the number of processors)! Therefore, if the number of processors increases, it becomes difficult to perform processing within a prescribed time (clock cycle of the processor).

【0007】例えば、 1 )プロセッサ2台、主記憶装置2台の場合には、最大 2!=2 2)プロセッサ4台、主記憶装置4台の場合には、最大 4!=24 3)プロセッサ8台、主記憶装置8台の場合には、最大 8!=40,320 4)プロセッサ16台、主記憶装置16台の場合には、最
大 16!=2.09×10^13 となり、構成が大きくなるにつれて、場合の数が爆発的
に増大する。
For example, 1) In the case of two processors and two main storage devices, a maximum of 2! = 2 2) In the case of 4 processors and 4 main storage devices, a maximum of 4! = 24 3) In the case of 8 processors and 8 main storage devices, a maximum of 8! = 40,320 4) In the case of 16 processors and 16 main storage devices, a maximum of 16! = 2.09 × 10 ^ 13, and the number of cases explosively increases as the configuration increases.

【0008】また、プロセッサの数と主記憶装置の数が
同数でない場合にも、 5)プロセッサ4台、主記憶装置2台の場合には、最大 4!/((4−2)!)=12 6)プロセッサ8台、主記憶装置4台の場合には、最大 8!/((8−4)!)=1,680 7)プロセッサ16台、主記憶装置8台の場合には、最大 16!/((16−8)!)=518,913,400 となり、膨大な場合の数になることが避けられない。
[0008] Further, even when the number of processors and the number of main storage devices are not the same, 5) a maximum of 4! In the case of four processors and two main storage devices. / ((4-2)!) = 12 6) In the case of 8 processors and 4 main storage devices, a maximum of 8! / ((8-4)!) = 1,680 7) In the case of 16 processors and 8 main storages, a maximum of 16! / ((16−8)!) = 518,913,400, which inevitably results in a huge number of cases.

【0009】iii) 制御装置内にバッファメモリを置く
場合、同一のプロセッサから複数の主記憶装置へのアク
セスが可能であるが、必要となるバッファ数は、 主記憶装置数×プロセッサ数×データ幅×プロセッサが
同時に出せるアクセス要求数 に比例する。そして、多くの場合、主記憶装置数並びに
同時に出せるアクセス要求数は、プロセッサ数に比例す
る。よって、必要なバッファメモリ数は、プロセッサ数
の3乗に比例し、プロセッサ数が多くなるにつれて膨大
なバッファメモリが必要となってくる。また、何らかの
制御を行なわないと、バッファメモリが実際に何段であ
れば十分であるか、容易に分からない問題点もある。
Iii) When a buffer memory is provided in the control device, it is possible to access a plurality of main storage devices from the same processor, but the number of required buffers is as follows: number of main storage devices × number of processors × data width. × Proportionate to the number of access requests that can be issued simultaneously by the processor. In many cases, the number of main storage devices and the number of access requests that can be issued simultaneously are proportional to the number of processors. Therefore, the required number of buffer memories is proportional to the cube of the number of processors. As the number of processors increases, an enormous amount of buffer memory is required. Further, if some control is not performed, there is a problem that it is not easy to know how many buffer memories are actually enough.

【0010】例えば、データ幅が一定の場合には、 1) プロセッサ2台、主記憶装置2台の場合には、アク
セス要求は2個まで出せ、このときに必要なバッファ数
は、2×2×2=8組 2) プロセッサ4台、主記憶装置4台の場合には、アク
セス要求は4個まで出せ、このときに必要なバッファ数
は、4×4×4=64組 3) プロセッサ8台、主記憶装置8台の場合には、アク
セス要求は8個まで出せ、このときに必要なバッファ数
は、8×8×8=512組 4) プロセッサ16台、主記憶装置16台の場合には、
アクセス要求は16個まで出せ、このときに必要なバッ
ファ数は、16×16×16=4,096組 である。そして、プロセッサ数と主記憶装置数とが同数
でない場合には、 5) プロセッサ4台、主記憶装置2台の場合には、アク
セス要求は2個まで出せ、このときに必要なバッファ数
は、4×2×2=16組 6) プロセッサ8台、主記憶装置4台の場合には、アク
セス要求は4個まで出せ、このときに必要なバッファ数
は、8×4×4=128組 7) プロセッサ16台、主記憶装置8台の場合には、ア
クセス要求は8個まで出せ、このときに必要なバッファ
数は、16×8×8=1,024組 である。しかも、これらは最低限度必要な数であり、実
際に何組必要になるのかは、プログラムなどによって異
なる。
For example, when the data width is constant, 1) When two processors and two main storage devices are used, up to two access requests can be issued, and the number of buffers required at this time is 2 × 2 X2 = 8 sets 2) In the case of 4 processors and 4 main storages, up to 4 access requests can be issued, and the number of buffers required at this time is 4 × 4 × 4 = 64 sets 3) Processor 8 In the case of 8 main storage devices, up to 8 access requests can be issued, and the number of buffers required at this time is 8 × 8 × 8 = 512 sets 4) In the case of 16 processors and 16 main storage devices In
Up to 16 access requests can be issued, and the number of buffers required at this time is 16 × 16 × 16 = 4,096 sets. If the number of processors and the number of main storage devices are not the same, 5) if four processors and two main storage devices are used, up to two access requests can be issued. 4 × 2 × 2 = 16 sets 6) In the case of eight processors and four main storage devices, up to four access requests can be issued, and the required number of buffers at this time is 8 × 4 × 4 = 128 sets 7 In the case of 16 processors and 8 main storage devices, up to 8 access requests can be issued, and the number of buffers required at this time is 16 × 8 × 8 = 1,024 sets. Moreover, these are the minimum required numbers, and how many sets are actually required differs depending on the program or the like.

【0011】iv)プロセッサが主記憶装置の数に対応す
データ幅を持つ場合、同時に複数の主記憶装置からのデ
ータを受け取れるが、主記憶装置が増えると共に、制御
装置とプロセッサとの相互接続が多くなり、実現が困難
である。相互接続数は、他の方式ではプロセッサ数に比
例するのに対して、この方式では、主記憶装置数がプロ
セッサ数に比例する場合にはプロセッサ数の2乗に比例
する。
Iv) If the processor has a data width corresponding to the number of main storage devices, data can be received from a plurality of main storage devices at the same time. However, as the number of main storage devices increases, the interconnection between the control device and the processor is reduced. More and more difficult to achieve. The number of interconnects is proportional to the number of processors in other schemes, whereas in this scheme the number of interconnects is proportional to the square of the number of processors when the number of main storage units is proportional to the number of processors.

【0012】例えば、プロセッサ内部で32ビットのデ
ータを扱うとき、制御装置からプロセッサへ向かうデー
タの総本数は、 4プロセッサで、 4^2×32=512本 8プロセッサで、 8^2×32=2,048本 16プロセッサで、16^2×32=8,192本 であり、実装上困難である。
For example, when handling 32-bit data inside the processor, the total number of data going from the control device to the processor is: 4 processors, 4 2 × 32 = 512 lines, 8 processors, 8 ^ 2 × 32 = There are 2,048 16 processors, 16 ^ 2 × 32 = 8,192, which is difficult to mount.

【0013】[0013]

【発明が解決しようとする課題】以上のように従来のマ
ルチプロセッサ構成の電子計算機では、プロセッサの待
ち時間を短くするためには、膨大な数のバッファメモリ
を用意するか、膨大な場合の数に対する優先順位制御手
段を用意するか、主記憶装置の数に比例したプロセッサ
の入出力データ幅を用意するかする必要があり、いずれ
にしても、プロセッサの数の増大に伴い、膨大な量のハ
ードウェアが必要になる問題点があった。
As described above, in the conventional multi-processor computer, in order to reduce the waiting time of the processor, an enormous number of buffer memories are prepared or an enormous number of cases are required. It is necessary to prepare a priority control means for the processor or to prepare an input / output data width of the processor in proportion to the number of main storage devices. In any case, an enormous amount of There was a problem that required hardware.

【0014】この発明は、このような従来の問題点に鑑
みなされたもので、マルチプロセッサ構成の電子計算機
において、複数のプロセッサ各々からの主記憶装置への
アクセスを優先順位制御することにより、各プロセッサ
から複数の主記憶装置にアクセス要求を出すことを可能
とし、主記憶装置の動作率を向上させると共にプロセッ
サの待ち時間を短縮することができ、ハードウェア量も
低減することができる電子計算機を提供することを目的
とする。
The present invention has been made in view of such a conventional problem. In an electronic computer having a multiprocessor configuration, access control to a main storage device from each of a plurality of processors is controlled by a priority order. An electronic computer capable of issuing an access request from a processor to a plurality of main storage devices, improving the operation rate of the main storage device, shortening the waiting time of the processor, and reducing the amount of hardware. The purpose is to provide.

【0015】[0015]

【課題を解決するための手段】この発明の電子計算機
は、複数の主記憶装置と、演算制御処理を行なう複数の
プロセッサと、前記プロセッサ各々からの前記主記憶装
置各々に対するアクセス要求を保持する要求バッファ
と、前記プロセッサ各々に設けられたバッファメモリで
あって、前記主記憶装置各々から自分の受け持つプロセ
ッサのために読み出されたデータを保持するものと、前
記複数のプロセッサのうち同一のプロセッサが複数の主
記憶装置のアクセス権を得た場合に、同時にアクセスす
る主記憶装置の数に対応したサイクルの間、当該プロセ
ッサから主記憶装置に対してアクセス要求を出さないよ
うに制御する優先順位制御手段と、前記プロセッサ各々
のバッファメモリが複数の主記憶装置からのデータを保
持している場合に、所定の順序で自分の受け持つプロセ
ッサにデータを出力するように制御するデータ制御手段
とを備えたものである。
An electronic computer according to the present invention has a plurality of main storage devices, a plurality of processors for performing arithmetic control processing, and a request for holding an access request from the processors to each of the main storage devices. A buffer and a buffer memory provided in each of the processors, the one holding data read from the main storage device for the processor assigned thereto, and the same processor among the plurality of processors. When the access right of a plurality of main storage devices is obtained, priority control for controlling not to issue an access request from the processor to the main storage device during a cycle corresponding to the number of main storage devices simultaneously accessed. Means and a buffer when the buffer memory of each of the processors holds data from a plurality of main storage devices. In order in which and a data control means for controlling to output the data to the processor in charge of their own.

【0016】[0016]

【作用】この発明の電子計算機では、各プロセッサごと
に主記憶装置に対応する量だけのバッファメモリを設
け、同一のプロセッサから複数の主記憶装置に対するア
クセス権を得た場合には、同時にアクセスする主記憶装
置数に対応したサイクルの間、当該プロセッサが他の主
記憶装置に対してアクセス要求を出さないように優先順
位制御手段によって制御し、各プロセッサから互いに競
合しないようにして複数の主記憶装置に同時にアクセス
できるようにし、主記憶装置の動作率を向上させ、プロ
セッサの待ち時間を短縮する。
In the computer according to the present invention, a buffer memory is provided in an amount corresponding to the main storage device for each processor, and when the same processor obtains an access right to a plurality of main storage devices, it accesses simultaneously. During a cycle corresponding to the number of main storage devices, a plurality of main storage devices are controlled by priority control means so that the processor does not issue an access request to another main storage device so that each processor does not compete with each other. The device can be accessed simultaneously, the operation rate of the main storage device is improved, and the waiting time of the processor is reduced.

【0017】[0017]

【実施例】以下、この発明の実施例を図に基づいて詳説
する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Embodiments of the present invention will be described below in detail with reference to the drawings.

【0018】図1はこの発明の一実施例のシステム構成
を示しており、複数の主記憶装置M0,M1,M2,…
と、複数の演算制御処理を行なうプロセッサA0,A
1,A2,…と、プロセッサ各々からの主記憶装置各々
に対するアクセス要求を保持するために主記憶装置ごと
に設けられている要求バッファC0,C1,C2,…
と、プロセッサ各々に対して設けられていて、主記憶装
置各々から各プロセッサのために読み出されたデータを
保持するバッファメモリB0,B1,B2,…を備えて
いる。
FIG. 1 shows a system configuration according to an embodiment of the present invention, in which a plurality of main storage devices M0, M1, M2,.
And processors A0 and A for performing a plurality of arithmetic control processes
, A2,..., And request buffers C0, C1, C2,.
And buffer memories B0, B1, B2,... Which are provided for each processor and hold data read for each processor from each main storage device.

【0019】また、この発明の特徴として、プロセッサ
A0,A1,A2,…のうち同一のプロセッサが複数の
主記憶装置のアクセス権を得た場合に、同時にアクセス
した主記憶装置の数に対応したサイクルの間、当該プロ
セッサから主記憶装置に対してアクセス要求を出さない
ように制御する優先順位制御装置1と、プロセッサ各々
のバッファメモリが複数の主記憶装置からのデータを保
持している場合に、所定の順序で自分の受け持つプロセ
ッサにデータを出力するように制御するデータ制御装置
D0,D1,D2,…を備えている。
Also, as a feature of the present invention, when the same processor among the processors A0, A1, A2,... During the cycle, when the priority control device 1 controls the processor so as not to issue an access request to the main storage device, and when the buffer memory of each processor holds data from a plurality of main storage devices. , Which control data to be output to its own processor in a predetermined order.

【0020】次に、上記の構成の電子計算機の動作につ
いて説明する。
Next, the operation of the computer having the above configuration will be described.

【0021】プロセッサA0,A1,A2,…各々か
ら、主記憶装置M0,M1,M2,…各々に対して出さ
れるアクセス要求を保持するC0,C1,C2,…に対
して優先順位制御装置1は、これらのアクセス要求に対
して優先順位を付け、優先度の高いアクセス要求順に主
記憶装置M0,M1,M2,…各々に対してアクセスす
る。
, Which hold access requests issued to the main storage devices M0, M1, M2,... From the processors A0, A1, A2,. Assigns priorities to these access requests, and accesses each of the main storage devices M0, M1, M2,.

【0022】この優先順位制御の方式は、次のようであ
り、あるプロセッサが複数の主記憶装置のうちのn台に
対してアクセス権を得た場合、その直後の(n−1)サ
イクルの間は、要求バッファからアクセス要求を出さな
いことにし、それ以外の場合には、主記憶装置ごとに独
立に制御する。
The priority control method is as follows. When a certain processor obtains an access right to n out of a plurality of main storage devices, the immediately following (n-1) cycle During this period, no access request is issued from the request buffer, and in other cases, control is independently performed for each main storage device.

【0023】図2に基づいて説明すると、プロセッサA
0,A1,A2,A3が、例えば、主記憶装置M0に対
応した要求バッファB0にアクセス要求を出したとする
と、このとき、各プロセッサは同時に他の主記憶装置に
対してもアクセス要求を出すことができる。そこで、優
先順位制御装置1は、主記憶装置単位にアクセス順位制
御を行ない、各主記憶装置に1個ずつの要求を出す。通
常は、優先順位制御装置1は、他の主記憶装置、例えば
主記憶装置M3へのアクセスには関与しない。このた
め、優先順位制御は、各主記憶装置ごとに独立にプロセ
ッサに関して行なう。そして、あるサイクルで1つのプ
ロセッサA0が複数の主記憶装置M0,M1,M2の3
つに対してアクセス権を得た場合には、直後のサイクル
の間、この例では2(=3−1)サイクルの間、プロセ
ッサA0のアクセスを禁止する。そして、この間は、残
りのプロセッサA1,A2,A3が主記憶装置へアクセ
スを行なう。そして、この期間が過ぎれば、プロセッサ
A0も再び、優先順位制御に加えられる。
Referring to FIG. 2, the processor A
Assuming that 0, A1, A2, and A3, for example, have issued an access request to the request buffer B0 corresponding to the main storage device M0, at this time, each processor also issues an access request to another main storage device at the same time. be able to. Therefore, the priority control device 1 performs access priority control for each main storage device, and issues one request to each main storage device. Normally, the priority control device 1 does not participate in accessing another main storage device, for example, the main storage device M3. For this reason, the priority control is independently performed on the processor for each main storage device. Then, in a certain cycle, one processor A0 stores a plurality of main storage devices M0, M1, and M2.
When the access right is obtained for one, the access of the processor A0 is prohibited during the immediately following cycle, in this example, for 2 (= 3-1) cycles. During this time, the remaining processors A1, A2, and A3 access the main storage device. Then, after this period, the processor A0 is again added to the priority control.

【0024】このようにして優先順位制御を受けた主記
憶装置に対するアクセス要求に対するデータ読み出し制
御は、図3に詳しく示す手順に従って行なわれる。つま
り、主記憶装置M0からのデータは第1データ制御装置
D01によってアクセス要求元のプロセッサA0のバッ
ファメモリB0に送られる。なおここで、第1データ制
御装置D01には、クロスバースイッチなどの各主記憶
装置が他の主記憶装置と独立にデータを送ることができ
る構成のものが用いられる。
Data read control in response to an access request to the main storage device that has been subjected to priority control in this way is performed according to the procedure shown in detail in FIG. That is, the data from the main storage device M0 is sent by the first data control device D01 to the buffer memory B0 of the processor A0 that has issued the access request. Here, the first data control device D01 has a configuration such that each main storage device such as a crossbar switch can transmit data independently of other main storage devices.

【0025】そこで、同時に複数の主記憶装置に対して
同一のプロセッサからアクセス要求があれば、各主記憶
装置の性能が同じである限り、ほぼ同時にバッファメモ
リB0の各セクションB00,B01,B02などに読
み出されて保持される。したがって、この時に、何らか
の制御を行なわなければ同じタイミングでプロセッサA
0に各主記憶装置から読み出されたデータが入力される
ことになり、競合が発生してしまうため、もう1つの第
2データ制御装置D02によるデータ制御により競合を
回避する。
Therefore, if there is an access request from the same processor to a plurality of main storage devices at the same time, the sections B00, B01, B02, etc. of the buffer memory B0 are almost simultaneously provided as long as the performance of each main storage device is the same. Is read and held. Therefore, at this time, if no control is performed, the processor A
Since the data read from each main storage device is input to 0 and a conflict occurs, the conflict is avoided by data control by another second data control device D02.

【0026】この第2データ制御装置D02によるデー
タ制御方式は、プロセッサA0がアクセス要求して読み
出されたデータに関して、主記憶装置M0が他の主記憶
装置M1〜M3との競合がない場合には、データをバッ
ファメモリB0を通し、第2データ制御装置D02を通
してプロセッサA0に入力する。しかしながら、競合が
発生する場合には、第2データ制御装置D02は、競合
するデータのうち1つだけをバッファメモリB0を通
し、第2データ制御装置D02を通してプロセッサA0
に入力し、競合する他のデータはいったんバッファメモ
リB0のセクションB00,B01,B02,B03の
うち該当するセクションに格納し、プロセッサA0側が
先に入力されたデータに対する処理を終了した後に順
次、バッファメモリB0からプロセッサA0に入力して
行くように制御する。
The data control method by the second data control device D02 is used when the main storage device M0 does not compete with the other main storage devices M1 to M3 with respect to the data read by the access request from the processor A0. Inputs data to the processor A0 through the buffer memory B0 and through the second data controller D02. However, when a conflict occurs, the second data control device D02 transmits only one of the conflicting data through the buffer memory B0 and the processor A0 through the second data control device D02.
And other conflicting data is temporarily stored in a corresponding section of the sections B00, B01, B02, and B03 of the buffer memory B0, and is sequentially stored in the buffer after the processor A0 completes processing of the previously input data. Control is performed so as to be input from the memory B0 to the processor A0.

【0027】そして、この場合、優先順位制御装置1に
よって、あるプロセッサが複数の主記憶装置のうちのn
台に対してアクセス権を得た場合、その直後の(n−
1)サイクルの間は、要求バッファからアクセス要求を
出さないことにし、それ以外の場合には、主記憶装置ご
とに独立に制御するように優先順位制御を行なっている
ために、バッファメモリB0からすべてのデータがプロ
セッサA0に送り出されるまで、新たなデータがバッフ
ァメモリB0に送られてくることはない。そこで、各バ
ッファメモリB0,B1,B2,…は1段ずつあれば十
分である。
In this case, a certain processor is controlled by the priority control device 1 so that a certain one of the plurality of main storage devices
When the access right is obtained for the table, (n-
1) During the cycle, no access request is issued from the request buffer. In other cases, priority control is performed so that control is performed independently for each main storage device. No new data is sent to the buffer memory B0 until all data has been sent to the processor A0. Therefore, it is sufficient that each buffer memory B0, B1, B2,.

【0028】以上のようにして、この実施例の電子計算
機では、1つのプロセッサから同時に複数の主記憶装置
にアクセス要求を行なう場合には、優先順位制御を各主
記憶装置ごとに独立して行なうようにしているため、各
主記憶装置における処理数はプロセッサ数に比例するの
で、全体の処理数は最大でも、プロセッサ数×記憶装置
数となり、プロセッサの2乗に比例する処理で済むこと
になる。
As described above, in the computer according to this embodiment, when one processor simultaneously requests access to a plurality of main storage devices, priority control is performed independently for each main storage device. Since the number of processes in each main storage device is proportional to the number of processors, the total number of processes is at most equal to the number of processors × the number of storage devices, and the process can be performed in proportion to the square of the processors. .

【0029】例えば、 1 )プロセッサ2台、主記憶装置2台の場合には、最大 2×2=4 2)プロセッサ4台、主記憶装置4台の場合には、最大 4×4=16 3)プロセッサ8台、主記憶装置8台の場合には、最大 8×8=64 4)プロセッサ16台、主記憶装置16台の場合には、最
大 16×16=256 となる。また、プロセッサの数と主記憶装置の数が同数
でない場合にも、 5)プロセッサ4台、主記憶装置2台の場合には、最大 4×2=8 6)プロセッサ8台、主記憶装置4台の場合には、最大 8×4=32 7)プロセッサ16台、主記憶装置8台の場合には、最大 16×8=128 となる。
For example, 1) a maximum of 2 × 2 = 4 in the case of two processors and two main storages 2) a maximum of 4 × 4 = 163 in the case of four processors and four main storages 4) In the case of 8 processors and 8 main storage devices, the maximum is 8 × 8 = 64. 4) In the case of 16 processors and 16 main storage devices, the maximum is 16 × 16 = 256. Further, even when the number of processors and the number of main storage devices are not the same, 5) in the case of 4 processors and 2 main storage devices, a maximum of 4 × 2 = 8 6) 8 processors and 4 main storage devices In the case of a unit, the maximum is 8 × 4 = 32 7) 16 processors, and in the case of eight main storages, the maximum is 16 × 8 = 128.

【0030】したがって、これを従来のバッファメモリ
なしの場合と比較すると、プロセッサが8台を超える
と、比較すべき場合の数が大幅に削減されるのである。
Therefore, when this is compared with a conventional case without a buffer memory, when the number of processors exceeds 8, the number of cases to be compared is greatly reduced.

【0031】また、バッファメモリも各プロセッサごと
に主記憶装置数分持てばよいので、プロセッサ数×主記
憶装置数だけあればよく、プロセッサの2乗に比例する
個数持つだけでよいことになる。
Further, since it is sufficient that the number of buffer memories is equal to the number of main storage devices for each processor, it is sufficient to have the number of processors × the number of main storage devices, and it is sufficient to have the number proportional to the square of the processors.

【0032】例えば、データ幅が一定の場合には、 1) プロセッサ2台、主記憶装置2台の場合に必要なバ
ッファ数は、2×2=4組 2) プロセッサ4台、主記憶装置4台の場合に必要なバ
ッファ数は、4×4=16組 3) プロセッサ8台、主記憶装置8台の場合に必要なバ
ッファ数は、8×8=64組 4) プロセッサ16台、主記憶装置16台の場合に必要
なバッファ数は、16×16=254組 である。また、プロセッサ数と主記憶装置数とが同数で
ない場合には、 5) プロセッサ4台、主記憶装置2台の場合に必要なバ
ッファ数は、4×2=8組 6) プロセッサ8台、主記憶装置4台の場合に必要なバ
ッファ数は、8×4=32組 7) プロセッサ16台、主記憶装置8台の場合に必要な
バッファ数は、16×8=128組 である。優先順位制御を行なうため、これらの数は同時
に、十分な数でもある。
For example, when the data width is constant, 1) the number of buffers required for 2 processors and 2 main storage devices is 2 × 2 = 4 sets 2) 4 processors and main storage device 4 The number of buffers required in the case of 4 is 4 × 4 = 16 sets 3) The number of buffers required in the case of 8 processors and 8 main storage units is 8 × 8 = 64 sets 4) 16 processors, main storage The number of buffers required for 16 devices is 16 × 16 = 254 sets. If the number of processors and the number of main storage devices are not the same, 5) the number of buffers required for 4 processors and 2 main storage devices is 4 × 2 = 8 sets. 6) 8 processors, The number of buffers required for four storage devices is 8 × 4 = 32 sets. 7) The number of buffers required for 16 processors and eight main storage devices is 16 × 8 = 128 sets. At the same time, these numbers are also sufficient to provide priority control.

【0033】そして、これを優先順位制御を行なわない
従来の場合と比較すると、プロセッサ数が4台を超える
ようになると、バッファメモリ数が大幅に削減されてい
ることが分かる。
Comparing this with the conventional case where priority control is not performed, it can be seen that when the number of processors exceeds four, the number of buffer memories is greatly reduced.

【0034】さらに、複数の主記憶装置にアクセス要求
を出したプロセッサは、アクセス要求が出せない間は、
バッファメモリからデータを受け取る期間としているた
め、各プロセッサの無駄な待ち時間が発生しない。加え
て、アクセス要求を無効とする期間も、従来のバッファ
メモリを持たない場合よりも、1クロック後に処理でき
るようになるために処理が容易になり、接続できるプロ
セッサ数を増やすことができる。
Further, a processor which has issued an access request to a plurality of main storage devices, while being unable to issue an access request,
Since the period for receiving data from the buffer memory is set, unnecessary waiting time of each processor does not occur. In addition, during the period in which the access request is invalidated, the processing can be performed one clock later than in the case where the conventional buffer memory is not provided, so that the processing becomes easier and the number of connectable processors can be increased.

【0035】なお、この発明は上記の実施例に限定され
ることはなく、プロセッサ数や主記憶装置数に関して
は、増減することができる。
The present invention is not limited to the above embodiment, and the number of processors and the number of main storage devices can be increased or decreased.

【0036】[0036]

【発明の効果】以上のようにこの発明によれば、マルチ
プロセッサ構成の電子計算機において各プロセッサから
同一の主記憶装置へ同時にアクセスがあった場合に、優
先順位制御を行なうようにしているため、少ないハード
ウェア量で1つのプロセッサから複数の主記憶走の同時
アクセスを可能にし、プロセッサの待ち時間を短縮し、
主記憶装置の動作率を向上させることができる。
As described above, according to the present invention, in a multiprocessor computer, when each processor accesses the same main storage device at the same time, priority control is performed. Enables simultaneous access of multiple main memory runs from one processor with a small amount of hardware, shortens the waiting time of the processor,
The operation rate of the main storage device can be improved.

【図面の簡単な説明】[Brief description of the drawings]

【図1】この発明の一実施例のシステム構成図。FIG. 1 is a system configuration diagram of an embodiment of the present invention.

【図2】上記実施例のアクセス要求動作を示す説明図。FIG. 2 is an explanatory diagram showing an access request operation of the embodiment.

【図3】上記実施例のデータ読み出し動作を示す説明
図。
FIG. 3 is an explanatory diagram showing a data read operation of the embodiment.

【符号の説明】[Explanation of symbols]

M0,M1,M2,… 主記憶装置 A0,A1,A2,… プロセッサ B0,B1,B2,… バッファメモリ B00,B01,B02,B03,… メモリセクショ
ン B10,B11,B12,B13,… メモリセクショ
ン B20,B21,B22,B23,… メモリセクショ
ン B30,B31,B32,B33,… メモリセクショ
ン C0,C1,C2,… 要求バッファ D0,D1,D2,… データ制御装置 D01,D11,D21,… 第1データ制御装置 D02,D12,D22,… 第2データ制御装置
M0, M1, M2,... Main storage device A0, A1, A2,... Processor B0, B1, B2,. , B21, B22, B23,... Memory sections B30, B31, B32, B33,... Memory sections C0, C1, C2,..., Request buffers D0, D1, D2, ..., Data controllers D01, D11, D21,. Control device D02, D12, D22, ... second data control device

───────────────────────────────────────────────────── フロントページの続き (58)調査した分野(Int.Cl.7,DB名) G06F 12/00 - 12/06 G06F 15/16 - 15/177 ──────────────────────────────────────────────────続 き Continued on the front page (58) Field surveyed (Int. Cl. 7 , DB name) G06F 12/00-12/06 G06F 15/16-15/177

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 複数の主記憶装置と、 演算制御処理を行なう複数のプロセッサと、 前記プロセッサ各々からの前記主記憶装置各々に対する
アクセス要求を保持する要求バッファと、 前記プロセッサ各々のためのバッファメモリであって、
前記主記憶装置各々から自分の受け持つプロセッサのた
めに読み出されたデータを保持するものと、 前記複数のプロセッサのうち同一のプロセッサが複数の
主記憶装置のアクセス権を得た場合に、同時にアクセス
する主記憶装置の数に対応したサイクルの間、当該プロ
セッサから主記憶装置に対してアクセス要求を出さない
ように制御する優先順位制御手段と、 前記プロセッサ各々のバッファメモリが複数の主記憶装
置からのデータを保持している場合に、所定の順序で自
分の受け持つプロセッサにデータを出力するように制御
するデータ制御手段とを備えて成る電子計算機。
1. A plurality of main storage devices, a plurality of processors for performing arithmetic control processing, a request buffer for holding an access request from the processors to each of the main storage devices, and a buffer memory for each of the processors And
The one that holds data read for the processor that is responsible for itself from each of the main storage devices; and the one that is simultaneously accessed when the same processor among the plurality of processors has an access right to a plurality of main storage devices. Priority control means for controlling not to issue an access request from the processor to the main storage device during a cycle corresponding to the number of main storage devices to be executed; and A data control means for controlling to output the data to its own processor in a predetermined order when the data is held.
JP3189854A 1991-07-30 1991-07-30 Electronic computer Expired - Fee Related JP3038257B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3189854A JP3038257B2 (en) 1991-07-30 1991-07-30 Electronic computer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3189854A JP3038257B2 (en) 1991-07-30 1991-07-30 Electronic computer

Publications (2)

Publication Number Publication Date
JPH0535578A JPH0535578A (en) 1993-02-12
JP3038257B2 true JP3038257B2 (en) 2000-05-08

Family

ID=16248298

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3189854A Expired - Fee Related JP3038257B2 (en) 1991-07-30 1991-07-30 Electronic computer

Country Status (1)

Country Link
JP (1) JP3038257B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4918794B2 (en) * 2006-03-16 2012-04-18 日本電気株式会社 Computer apparatus and data transfer method thereof

Also Published As

Publication number Publication date
JPH0535578A (en) 1993-02-12

Similar Documents

Publication Publication Date Title
JP5787629B2 (en) Multi-processor system on chip for machine vision
EP0243085B1 (en) Coprocessor architecture
JP2574967B2 (en) Arbitration apparatus and method for multiprocessor system
JP2761506B2 (en) Main memory controller
JP2012038293A5 (en)
JPS58222361A (en) Control system of priority decision for access request in data processing system
JPH04246745A (en) Memory access system
JP4531223B2 (en) Data processing apparatus having a plurality of processors sharing a collective memory
US5249297A (en) Methods and apparatus for carrying out transactions in a computer system
JPH0479026B2 (en)
JP3038257B2 (en) Electronic computer
JPH0793274A (en) System and device for transferring data
JPH0544238B2 (en)
JPH07319829A (en) Method for transferring data
JPH056333A (en) Multi-processor system
JP4214521B2 (en) Information processing system and multiprocessor system
JPH06314231A (en) Shared memory access control method
JPH04225458A (en) Computer
JP3098550B2 (en) Bus control method
JPH0341547A (en) Multiprocessor constitution system
JPH0350301B2 (en)
JP3270149B2 (en) Data transfer device
JPH05324455A (en) Bus linking system for multiprocessor and memory
JPH03125251A (en) Data multi-processing system and its bus selection method
JPH1115792A (en) Multi-microprocessor system

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees