JPH0570867B2 - - Google Patents

Info

Publication number
JPH0570867B2
JPH0570867B2 JP63058492A JP5849288A JPH0570867B2 JP H0570867 B2 JPH0570867 B2 JP H0570867B2 JP 63058492 A JP63058492 A JP 63058492A JP 5849288 A JP5849288 A JP 5849288A JP H0570867 B2 JPH0570867 B2 JP H0570867B2
Authority
JP
Japan
Prior art keywords
data
storage
processor
processors
output
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
JP63058492A
Other languages
Japanese (ja)
Other versions
JPH01232461A (en
Inventor
Hiroshi Sakai
Shigeki Shibayama
Akihiko Nakase
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.)
National Institute of Advanced Industrial Science and Technology AIST
Original Assignee
Agency of Industrial Science and Technology
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 Agency of Industrial Science and Technology filed Critical Agency of Industrial Science and Technology
Priority to JP63058492A priority Critical patent/JPH01232461A/en
Publication of JPH01232461A publication Critical patent/JPH01232461A/en
Publication of JPH0570867B2 publication Critical patent/JPH0570867B2/ja
Granted legal-status Critical Current

Links

Landscapes

  • Multi Processors (AREA)

Description

【発明の詳細な説明】 [発明の目的] (産業上の利用分野) この発明は、マルチプロセツサシステムにおけ
る各要素プロセツサからのアクセス要求に対し、
処理すべきデータの格納位置情報を与える並列処
理制御装置に関する。
[Detailed Description of the Invention] [Object of the Invention] (Industrial Application Field) The present invention provides a method for responding to access requests from each element processor in a multiprocessor system.
The present invention relates to a parallel processing control device that provides storage location information of data to be processed.

(従来の技術) マルチプロセツサシステムは、複数の要求のそ
れぞれに別のプロセツサを割当てて処理させるこ
とにより単位時間当りのシステムの処理件数を高
める方法と、個々の要求を複数のプロセツサで共
同で処理することにより、個々の要求の処理時間
を短縮する方法とが有り、これらが分野に応じて
使い分けられている。
(Prior Art) Multiprocessor systems have two methods: increasing the number of requests processed by the system per unit time by assigning a separate processor to each request, and processing each request jointly using multiple processors. There are methods to shorten the processing time of individual requests by processing, and these methods are used depending on the field.

このうち、個々の要求を複数のプロセツサで共
同して処理する方法では、複数のプロセツサに接
続可能な共有メモリやマルチポート・ページメモ
リ(田中 護、Multiport Page−Memory
Archteeture and A Multiport Disk−Cache
System、New Generation Computing 2、
1984年)などを用いて、各プロセツサからデータ
の格納位置を指定して、その場所に格納されてい
るデータの参照及びその場所へのデータの書込み
を行なうようなシステムが用いられる。
Among these methods, methods in which individual requests are jointly processed by multiple processors include shared memory that can be connected to multiple processors, and multiport page memory (Mamoru Tanaka, Multiport Page-Memory).
Archteeture and A Multiport Disk−Cache
System, New Generation Computing 2,
1984), a system is used in which each processor specifies a data storage location, and the data stored at that location is referenced and data is written to that location.

このような並列処理では、各プロセツサが記憶
装置にアクセスする場合に、それぞれのプロセツ
サがどのデータの処理を担当すべきかを調停する
処理が必要で、この処理がシステムの性能向上を
図る上でのネツクとなつている。例えば、第5図
に示すように、記憶装置1に従業員番号と従業員
の氏名の組がデータとして格納されており、「そ
の中から従業員番号が149828の従業員の氏名を求
めよ」という要求を複数のプロセツサP1,P2
…,Pnで共同して処理する場合を考える。但し、
これらのデータは、いくつかずつまとめて、ある
決まつた大きさのページに格納されているものと
する。この場合、各プロセツサP1〜Pnは、記憶
装置から従業員番号と従業員の氏名の組を格納し
たページを読込み、その中に含まれるデータのそ
れぞれについて、従業員番号が条件に等しいかど
うかを検査する訳であるが、あるページを何台か
のプロセツサで重複して読込んだり、逆にどのプ
ロセツサからも読込まれないページがあつては、
正しい結果が得られない。そこで、全てのページ
は、いずれかのプロセツサにより、必ず1回だけ
読込むということを保障する必要がある。
In this kind of parallel processing, when each processor accesses the storage device, it is necessary to arbitrate which data each processor should handle, and this processing is an important step in improving system performance. It's becoming a netsuku. For example, as shown in FIG. 5, a pair of employee number and employee name is stored as data in the storage device 1, and a message such as "Find the name of the employee whose employee number is 149828 from among them" is stored in the storage device 1. requests to multiple processors P 1 , P 2 ,
Consider the case of joint processing using ..., Pn. however,
It is assumed that some of these data are stored in a page of a certain fixed size. In this case, each processor P1 to Pn reads a page storing a pair of employee number and employee name from the storage device, and checks whether the employee number is equal to the condition for each of the data contained therein. This is an inspection, but if a page is read multiple times by several processors, or if a page is not read by any processor,
I can't get the correct result. Therefore, it is necessary to ensure that all pages are read only once by some processor.

これを保障する手段として従来から知られてい
る方法には次の2つの方法がある。
The following two methods are conventionally known as means for ensuring this.

第1の方法は、個々のプロセツサが担当するペ
ージを処理にかかる前に予め決定しておく方法で
ある。例えばプロセツサ台数をnとすると、各ペ
ージに0から始まる通し番号をつけたとして、第
i(i=0、1、…、n−1)番目のプロセツサ
には、通し番号をnで割つた余りが(i−1)に
等しいページを処理させる。このような方法をと
ると、最初から各ページを担当するプロセツサが
確定しているため、プロセツサ間の通信が少なく
て済むという長所がある。しかし、この方法は、
処理途中でプロセツサの台数を変更できないこ
と、データによつて処理負荷の異なる場合、プロ
セツサによつて処理時間にばらつきを生じ、全体
の処理時間は最も負荷の重い処理をしたプロセツ
サの処理時間となつてしまうことなどの短所があ
る。
The first method is to determine in advance which pages each processor is responsible for before starting processing. For example, if the number of processors is n, and each page is given a serial number starting from 0, the i-th (i = 0, 1, ..., n-1) processor has the remainder when the serial number is divided by n ( Process pages equal to i-1). This method has the advantage of requiring less communication between processors, since the processor in charge of each page is determined from the beginning. However, this method
If the number of processors cannot be changed during processing, and if the processing load differs depending on the data, processing time will vary depending on the processor, and the overall processing time will be the processing time of the processor that performed the heaviest load processing. There are disadvantages such as the fact that

これに対し、第2の方法は、各プロセツサから
アクセス可能な共有メモリを使用し、そこに各プ
ロセツサ間で共通に参照すべき情報を格納する方
法である。例えば、共有メモリの上に、次に記憶
装置から読込むべきページの格納位置を格納して
おく。そして、各プロセツサは、その位置にある
データを、記憶装置から読込むとともに、格納位
置の値を次に読込むべきページの格納位置に更新
する。この方式では、各プロセツサは、ひとつの
ページの処理を終了したものから順に、次のペー
ジの処理を行なうことができる。そのため、処理
途中でのプロセツサの追加、削減が可能で、しか
も、プロセツサ間の処理時間のばらつきを小さく
することができ、全体の処理時間の短縮が望め
る。しかし、この方法では、あるプロセツサが共
有メモリ上の格納位置を参照してからそれを更新
するまでの間、即ち、格納位置情報の読出しと、
更新のための書込みとを行なう期間、その情報を
他のプロセツサが参照したり、書替えたりしない
ようにする必要がある。このような処理を、ここ
では同期処理と呼ぶことにすると、共有メモリを
用いた同期処理の欠点は、同期処理は排他的に行
なう必要があるため、マルチボード・ページメモ
リのように、複数プロセツサから、同時にアクセ
ス可能な記憶装置を使用しても、同期処理のた
め、記憶装置の持つ潜在的なデータ転送能力を生
かせないという点に有る。また、第6図に示すよ
うに、データ処理装置による本来のページ入出力
の時間をT、それに必要な同期処理の時間をxT
とすると、同期処理の部分は、1台のプロセツサ
しか動作できないため、同期処理の時間が長い
程、プロセツサ台数を増やしても並列度は上がら
ないという欠点がある。
On the other hand, the second method uses a shared memory that can be accessed by each processor, and stores therein information that should be commonly referenced among the processors. For example, the storage location of the next page to be read from the storage device is stored in the shared memory. Each processor then reads the data at that location from the storage device and updates the value of the storage location to the storage location of the next page to be read. In this method, each processor can process the next page in the order that it finishes processing one page. Therefore, it is possible to add or remove processors during processing, and it is also possible to reduce variations in processing time between processors, thereby shortening the overall processing time. However, in this method, the period between when a certain processor refers to a storage location on the shared memory and when it is updated, that is, between reading the storage location information and
During the period of writing for updating, it is necessary to prevent other processors from referencing or rewriting the information. This type of processing will be referred to as synchronous processing here.The disadvantage of synchronous processing using shared memory is that synchronous processing must be performed exclusively, so it cannot be used with multiple processors, such as multi-board page memory. Therefore, even if storage devices that can be accessed simultaneously are used, the latent data transfer ability of the storage devices cannot be utilized due to synchronous processing. In addition, as shown in Figure 6, the original page input/output time by the data processing device is T, and the time required for synchronization processing is xT.
In this case, since only one processor can operate in the synchronous processing part, there is a drawback that the longer the synchronous processing time is, the more the degree of parallelism cannot be increased even if the number of processors is increased.

(発明が解決しようとする課題) このように、従来の共有メモリを用いたマルチ
プロセツサによる並列処理では、記憶装置に格納
されているデータを、各プロセツサで処理を分担
する場合に必要となる同期処理が、性能の向上を
図る上での障害となつていた。
(Problem to be Solved by the Invention) As described above, in parallel processing by multiprocessors using conventional shared memory, it is necessary to share the processing of data stored in a storage device with each processor. Synchronization processing has been an obstacle to improving performance.

本発明は、このような同期処理を高速化してマ
ルチプロセツサシステムの処理効率の向上に寄与
し得る並列処理制御装置を提供することを目的と
する。
An object of the present invention is to provide a parallel processing control device that can speed up such synchronization processing and contribute to improving the processing efficiency of a multiprocessor system.

[発明の構成] (課題を解決するための手段) 本発明は、N個の要素プロセツサを含むマルチ
プロセツサシステムに接続され、アクセス要求の
出力された前記要素プロセツサに対し、処理すべ
きデータの格納位置情報を与える並列処理制御装
置であつて、次にアクスセ要求があつたときに出
力する前記処理すべきデータの格納位置情報を記
憶する記憶手段と、前記要素プロセツサからのア
クセス要求を受け付けると、iを1からNまでの
整数とするとき、第1番目の要素プロセツサから
第i番目の要素プロセツサまでの内で、同時にア
クセス要求しているプロセツサの個数を各iにつ
いて求める個数出力手段と、この個数出力手段で
求められた個数と前記記憶手段に記憶されている
格納位置情報とを各iについて加算する加算手段
と、前記記憶手段に記憶されている格納位置情報
を第1番目の要素プロセツサに対して出力し、前
記加算手段の(i−1)についての加算結果を第
i番目の要素プロセツサに対して出力する加算結
果出力手段と、前記加算手段のNについての加算
結果を用いて前記処理すべきデータの格納位置情
報を更新する更新手段とを具備している。
[Structure of the Invention] (Means for Solving the Problem) The present invention is connected to a multiprocessor system including N element processors, and transmits data to be processed to the element processor to which an access request has been output. A parallel processing control device for providing storage location information, comprising a storage means for storing storage location information of the data to be processed to be outputted when an access request is received next time, and a storage means for receiving an access request from the element processor. , when i is an integer from 1 to N, a number output means for calculating the number of processors requesting access simultaneously from the first element processor to the i-th element processor for each i; an addition means for adding the number obtained by the number output means and storage position information stored in the storage means for each i; and a first element processor that adds the storage position information stored in the storage means; an addition result output means for outputting the addition result for (i-1) of the addition means to the i-th element processor; and updating means for updating storage location information of data to be processed.

(作用) 本発明によれば、前記要素プロセツサからのア
クセス要求を受け付けると、個数出力手段によつ
て同時にアクセス要求しているプロセツサの個数
が求められ、この個数がデータの格納位置に加算
されて処理すべきデータの格納位置情報が更新さ
れるので、当該格納位置情報を読出した要素プロ
セツサが次の書込みサイクルで格納位置情報を書
替える必要がなくなり、この従来の書込みサイク
ルに相当する期間に次のプロセツサのアクセス要
求に応答できる。従つて、本発明によれば、上記
格納位置情報の書替え時間の分だけ同期処理が高
速化され、マルチプロセツサシステムの処理効率
の向上に寄与することになる。
(Operation) According to the present invention, when an access request from the element processor is received, the number of processors that are simultaneously requesting access is determined by the number output means, and this number is added to the data storage location. Since the storage location information of the data to be processed is updated, there is no need for the element processor that read the storage location information to rewrite the storage location information in the next write cycle, and the next can respond to access requests from other processors. Therefore, according to the present invention, the speed of synchronization processing is increased by the amount of time required to rewrite the storage position information, contributing to improvement in the processing efficiency of the multiprocessor system.

(実施例) 以下、図面に基づいて本発明の実施例について
説明する。
(Example) Hereinafter, an example of the present invention will be described based on the drawings.

第1図は本発明の一実施例に係る並列処理制御
装置の構成を示す図である。この並列処理制御装
置10は、4つの要素プロセツサP1,P2,P3
P4と接続され、これら4つの要素プロセツサP1
〜P4を制御するもので、入力レジスタ111〜1
4と、制御メモリ12と、4つの加算器131
134と、記憶部14と、出力レジスタ151〜1
4とにより構成されている。
FIG. 1 is a diagram showing the configuration of a parallel processing control device according to an embodiment of the present invention. This parallel processing control device 10 includes four element processors P 1 , P 2 , P 3 ,
P 4 and these four element processors P 1
〜P4 , input register 11 1〜1
1 4 , control memory 12, and four adders 13 1 to
13 4 , storage section 14, and output registers 15 1 to 1
It is composed of 5 and 4 .

即ち、各要素プロセツサP1〜P4から出力され
るアクセス要求信号は、アクセス要求時は“1”、
その他の“0”となる1ビツトの信号で、それぞ
れに対応した入力ポート11〜14を介して入力
レジスタ111〜114にそれぞれ入力されてい
る。入力レジスタ111〜114からの各1ビツト
の出力は、制御メモリ12の4ビツトの入力とし
て与えられている。制御メモリ12は、第2図に
示すような入力対出力の関係を持つテーブルであ
る。即ち、出力M1は、1ビツトの出力で、プロ
セツサP1がアクセス要求を出している時“1”、
それ以外の時“0”となる。出力M2は、2ビツ
トの出力で、プロセツサP1,P2のうちアクセス
要求を出しているプロセツサの台数を示してい
る。出力M3は、2ビツトの出力で、プロセツサ
P1,P2,P3のうちアクセス要求を出しているプ
ロセツサの台数を示している。出力M4は、3ビ
ツトの出力で、プロセツサP1,P2,P3,P4のう
ちアクセス要求を出しているプロセツサの台数を
示している。これら制御メモリ12の出力M1
M4は、加算器131〜134の一方の入力に与え
られている。加算器134は、次の処理すべきデ
ータの格納番地の更新手段となるもので、その出
力は、記憶部14に入力され、記憶部14の内容
を更新する。記憶部14は、16ビツトのレジスタ
で、処理すべきデータの格納番地が格納されてい
る。この記憶部14の出力は、出力レジスタ15
及び出力ポートO1を介してプロセツサP1に出力
されるとともに、4つの加算器131〜134の他
方の入力として与えられている。加算器131
132,133からの出力は、出力レジスタ152
153,154にそれぞれ与えられ、更に出力ポー
トO2,O3,O4にそれぞれ介してプロセツサP2
P3,P4に出力されている。
That is, the access request signal output from each element processor P1 to P4 is "1" when an access is requested;
The other 1-bit signals that are "0" are input to the input registers 11 1 to 11 4 via the corresponding input ports 11 to 14, respectively. Each 1-bit output from input registers 11 1 -11 4 is provided as a 4-bit input to control memory 12 . The control memory 12 is a table having an input-to-output relationship as shown in FIG. That is, the output M1 is a 1-bit output, which is "1" when the processor P1 issues an access request;
At other times, it becomes "0". Output M2 is a 2-bit output that indicates the number of processors issuing access requests among processors P1 and P2 . Output M3 is a 2-bit output that is output by the processor.
It shows the number of processors issuing access requests among P 1 , P 2 , and P 3 . Output M4 is a 3-bit output indicating the number of processors issuing access requests among processors P1 , P2 , P3 , and P4 . Output M 1 of these control memories 12 ~
M 4 is given to one input of adders 13 1 to 13 4 . The adder 134 serves as a means for updating the storage address of the next data to be processed, and its output is input to the storage section 14 to update the contents of the storage section 14. The storage unit 14 is a 16-bit register in which storage addresses of data to be processed are stored. The output of this storage section 14 is stored in an output register 15.
1 and output port O1 to the processor P1 , and is also provided as the other input of four adders 131 to 134 . Adder 13 1 ,
The outputs from 13 2 , 13 3 are output to output registers 15 2 ,
15 3 and 15 4 , respectively, and further connected to the processors P 2 and 15 through output ports O 2 , O 3 and O 4 , respectively.
It is output to P 3 and P 4 .

即ち、出力ポートO1には記憶部14の内容が
そのまま出力されるので、プロセツサP1は、他
のプロセツサP2〜P4がアクセス要求を出してい
るか否かに拘らず、常に記憶部14が指す番地の
データの処理をすることになる。
That is, since the contents of the storage section 14 are output as they are to the output port O1 , the processor P1 always uses the storage section 14 regardless of whether the other processors P2 to P4 have issued an access request. The data at the address pointed to will be processed.

また、出力ポートO2には、加算器131により
記憶部14の内容と制御メモリ12の出力M1
を加算した結果が出力されるので、プロセツサ
P2は、プロセツサP1がアクセス要求を同時に出
した時に記憶部14の内容+1番地のデータを処
理し、その他の場合には記憶部14の内容が指す
番地のデータを処理する。
Furthermore, since the adder 131 outputs the result of adding the contents of the storage unit 14 and the output M1 of the control memory 12 to the output port O2 , the processor
P2 processes the data at the address +1 of the contents of the storage section 14 when the processor P1 issues an access request at the same time, and otherwise processes the data at the address pointed to by the contents of the storage section 14.

出力ポートO3には、加算器132により記憶部
14の内容と制御メモリ12の出力M2とを加算
した結果が出力されるので、プロセツサP3は、
プロセツサP1及びP2のうち、同時にアクセスを
要求を出力しているプロセツサの台数を、記憶部
14の内容に加算した番地のデータを処理する。
Since the adder 132 outputs the result of adding the contents of the storage unit 14 and the output M2 of the control memory 12 to the output port O3, the processor P3
The data at the address obtained by adding the number of processors that are simultaneously outputting access requests among the processors P 1 and P 2 to the contents of the storage unit 14 is processed.

更に、出力ポートO4には、加算器133により
記憶部14の内容と制御メモリ12の出力M3
を加算した結果が出力されるので、プロセツサ
P4は、プロセツサP1,P2及びP3のうち、同時に
アクセス要求を出力しているプロセツサの台数
を、記憶部14の内容に加算した番地のデータを
処理する。
Furthermore, since the adder 133 outputs the result of adding the contents of the storage unit 14 and the output M3 of the control memory 12 to the output port O4 , the processor
P 4 processes data at an address obtained by adding the number of processors outputting access requests at the same time among the processors P 1 , P 2 and P 3 to the contents of the storage unit 14 .

そして、記憶部14には、制御メモリ12の出
力M4、即ちプロセツサP1乃至P4のうち、アクセ
ス要求を出力しているプロセツサ台数が、加算器
134によつて、現在の記憶内容に加算されて新
たに格納される。これにより、記憶部14の内容
が更新される。
Then, in the storage unit 14, the output M 4 of the control memory 12, that is, the number of processors outputting the access request among the processors P 1 to P 4 is added to the current storage content by the adder 13 4 . It is added and newly stored. As a result, the contents of the storage unit 14 are updated.

この並列処理制御装置を用いた場合につき、各
プロセツサが記憶装置に格納されているデータを
漏れなく読込む場合の処理フローの例を第3図に
示す。この例では、各プロセツサは、処理すべき
データの個数を知つており、このデータの個数
と、並列処理制御装置の出力ポートから得た内容
(S1、S2)との大小を判定して(S3)、処理すべ
きデータのがまだあるのかどうかを判定し、処理
すべきデータがある場合には、データの読込み
(S4)と、その処理(S5)とを行なうようになつ
ている。この例からも分るように、並列処理制御
装置を使用することにより、各プロセツサは、他
のプロセツサの動作を考慮する必要がなく、同期
処理を含めた総合的な記憶装置へのアクセスを高
速化できる。
FIG. 3 shows an example of a processing flow when each processor reads all data stored in a storage device using this parallel processing control device. In this example, each processor knows the number of data to be processed, and determines the magnitude of this number of data and the contents (S1, S2) obtained from the output ports of the parallel processing control device (S3). ), it is determined whether there is still data to be processed, and if there is data to be processed, the data is read (S4) and processed (S5). As can be seen from this example, by using a parallel processing controller, each processor does not have to consider the operations of other processors, and can speed up overall storage access, including synchronization processing. can be converted into

第4図に本発明の他の実施例を示す。 FIG. 4 shows another embodiment of the invention.

この並列処理制御装置20は、4台の要素プロ
セツサP1〜P4と、共有バス30を介して接続さ
れている。
This parallel processing control device 20 is connected to four element processors P 1 to P 4 via a shared bus 30 .

並列処理制御装置20は、インターフエース回
路21と、アドレス選択回路22、記憶部23及
び加算器24とが内部バス25を介して接続され
た構成となつている。
The parallel processing control device 20 has a configuration in which an interface circuit 21, an address selection circuit 22, a storage section 23, and an adder 24 are connected via an internal bus 25.

処理すべきデータの格納位置を記憶する記憶部
23は、レジスタフアイルで構成れており、各レ
ジスタには共有バス30上の異なるアドレスが割
当てられている。従つて、並列に処理すべきデー
タの集まりが種々ある場合に、それぞれのデータ
の集まりについて、次に処理すべきデータの格納
位置を記憶することができる。
The storage unit 23 that stores the storage location of data to be processed is composed of register files, and each register is assigned a different address on the shared bus 30. Therefore, when there are various sets of data to be processed in parallel, the storage location of the next data to be processed can be stored for each set of data.

要素プロセツサからのアクセス要求は、処理し
たいデータの格納位置を記憶しているレジスタフ
イルム内のレジスタに対する読出しを実行するこ
とにより行ない、データの格納位置はその読出し
の実行によつて読出されるデータとして与えられ
る。即ち、あるプロセツサPiから記憶部23であ
るレジスタフアイル内のレジスタに対して読出し
要求を発すると、そのレジスタの内容は、まず、
並列処理制御装置20の内部バス25を介してイ
ンターフエース回路21に送られ、更に共有バス
30を介して読出し要求を出したプロセツサPiに
送られる。それと同時に、並列処理制御装置20
の内部バス25を介して加算器24にレジスタの
内容が送られ、加算器24に1を加えた結果を、
再び同じレジスタに格納するように制御する。
An access request from an element processor is made by executing a read from a register in the register film that stores the storage location of the data to be processed, and the data storage location is read as the data read by executing the read. Given. That is, when a certain processor Pi issues a read request to a register in the register file, which is the storage section 23, the contents of that register are first read as follows.
The data is sent to the interface circuit 21 via the internal bus 25 of the parallel processing control device 20, and further sent via the shared bus 30 to the processor Pi that issued the read request. At the same time, the parallel processing control device 20
The contents of the register are sent to the adder 24 via the internal bus 25 of the adder 24, and the result of adding 1 to the adder 24 is
Control the data to be stored in the same register again.

本実施例では、加算器24が次の処理すべきデ
ータの格納番地の更新手段であり、この加算器2
4による加算動作によつて同期処理を高速化させ
ることができる。
In this embodiment, the adder 24 is a means for updating the storage address of the next data to be processed.
The synchronization process can be sped up by the addition operation by 4.

また、この実施例では、共有バス30を介して
並列処理制御装置30と各要素プロセツサP1
P4とを結合しているため、図示しない調停手段
の働きにより、2つ以上のアクセス要求が同時に
並列処理制御装置に到着することはない。従つ
て、アクセス要求に対応する読出しのサイクル内
で、上記の処理を完結することにより、複数プロ
セツサからのアクセス要求に矛盾なく、データ格
納位置を与えることができる。この実施例は、上
記第1の実施例と比較して、プロセツサから同時
にアクセス要求を出せない欠点を有しているが、
実現に要するハードウエア量の点で格段に有利で
ある。また、共有メモリを使用した同期処理と比
較して要素プロセツサからの排他制御が必要ない
で、同期処理に要する時間を短かくできる。
Further, in this embodiment, the parallel processing control device 30 and each element processor P 1 to
P4 , so two or more access requests will not arrive at the parallel processing control device at the same time due to the action of an arbitration unit (not shown). Therefore, by completing the above processing within the read cycle corresponding to the access request, data storage locations can be provided to access requests from a plurality of processors without conflict. Compared to the first embodiment, this embodiment has the disadvantage that the processors cannot issue access requests at the same time.
This is significantly advantageous in terms of the amount of hardware required for implementation. Furthermore, compared to synchronous processing using shared memory, exclusive control from element processors is not required, and the time required for synchronous processing can be shortened.

[発明の効果] 以上述べたように、本発明によれば、要素プロ
セツサが処理すべきデータの格納位置情報を読出
すのに伴つて、前記更新手段が、前記処理すべき
データの格納位置情報を更新するので、従来のよ
うに格納位置情報の書替え時間を必要とせず、そ
の分だけ同期処理が高速化される。このため、マ
ルチプロセツサシステムの処理効率の向上に寄与
することができる。
[Effects of the Invention] As described above, according to the present invention, as the element processor reads the storage location information of the data to be processed, the updating means reads the storage location information of the data to be processed. Since the storage location information is updated, there is no need for the time needed to rewrite the storage location information as in the past, and the synchronization process is speeded up accordingly. Therefore, it can contribute to improving the processing efficiency of the multiprocessor system.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は本発明の一実施例に係る並列処理制御
装置を用いた並列処理システムのブロツク図、第
2図は同並列処理制御装置における制御メモリの
内容を示す図、第3図は同並列処理システムにお
けるプロセツサの処理フローを示す図、第4図は
本発明の他の実施例に係る並列処理制御装置を用
いた並列処理システムのブロツク図、第5図はデ
ータベースにおける検索処理の例を説明するため
のブロツク図、第6図は従来の同期処理を含む並
列処理のタインミング図である。 1……記憶装置、10,20……並列処理制御
装置、111〜114……入力レジスタ、12……
制御メモリ、131〜134,24……加算器、1
4,23……記憶部、151〜154……出力レジ
スタ、21……インターフエース回路、22……
アドレス選択回路、25……内部バス、30……
共有バス、P1〜P4……要素プロセツサ。
FIG. 1 is a block diagram of a parallel processing system using a parallel processing control device according to an embodiment of the present invention, FIG. 2 is a diagram showing the contents of a control memory in the same parallel processing control device, and FIG. A diagram showing a processing flow of a processor in a processing system, FIG. 4 is a block diagram of a parallel processing system using a parallel processing control device according to another embodiment of the present invention, and FIG. 5 explains an example of search processing in a database. FIG. 6 is a timing diagram of parallel processing including conventional synchronous processing. 1...Storage device, 10, 20...Parallel processing control device, 11 1 to 11 4 ...Input register, 12...
Control memory, 13 1 to 13 4 , 24...Adder, 1
4, 23...Storage section, 151 to 154 ...Output register, 21...Interface circuit, 22...
Address selection circuit, 25...internal bus, 30...
Shared bus, P1 to P4 ...element processors.

Claims (1)

【特許請求の範囲】 1 N個の要素プロセツサを含むマルチプロセツ
サシステムに接続され、アクセス要求の出力され
た前記要素プロセツサに対し、処理すべきデータ
の格納位置情報を与える並列処理制御装置であつ
て、 次にアクスセ要求があつたときに出力する前記
処理すべきデータの格納位置情報を記憶する記憶
手段と、 前記要素プロセツサからのアクセス要求を受け
付けると、iを1からNまでの整数とするとき、
第1番目の要素プロセツサから第i番目の要素プ
ロセツサまでの内で、同時にアクセス要求してい
るプロセツサの個数を各iについて求める個数出
力手段と、 この個数出力手段で求められた個数と前記記憶
手段に記憶されている格納位置情報とを各iにつ
いて加算する加算手段と、 前記記憶手段に記憶されている格納位置情報を
第1番目の要素プロセツサに対して出力し、前記
加算手段の(i−1)についての加算結果を第i
番目の要素プロセツサに対して出力する加算結果
出力手段と、 前記加算手段のNについての加算結果を用いて
前記処理すべきデータの格納位置情報を更新する
更新手段と を具備したことを特徴とする並列処理制御装置。
[Scope of Claims] A parallel processing control device that is connected to a multiprocessor system including 1N element processors and provides storage location information of data to be processed to the element processors to which access requests have been output. a storage means for storing storage location information of the data to be processed to be outputted the next time an access request is received; and upon receiving an access request from the element processor, i is an integer from 1 to N; When,
a number output means for calculating for each i the number of processors requesting access at the same time from the first element processor to the i-th element processor; an adding means for adding storage position information stored in the storage means for each i; and outputting the storage position information stored in the storage means to a first element processor; The addition result for 1) is the i-th
The present invention is characterized by comprising: an addition result output means for outputting to the element processor; and an update means for updating storage position information of the data to be processed using the addition result for N of the addition means. Parallel processing control device.
JP63058492A 1988-03-14 1988-03-14 Parallel processing controller Granted JPH01232461A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63058492A JPH01232461A (en) 1988-03-14 1988-03-14 Parallel processing controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63058492A JPH01232461A (en) 1988-03-14 1988-03-14 Parallel processing controller

Publications (2)

Publication Number Publication Date
JPH01232461A JPH01232461A (en) 1989-09-18
JPH0570867B2 true JPH0570867B2 (en) 1993-10-06

Family

ID=13085922

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63058492A Granted JPH01232461A (en) 1988-03-14 1988-03-14 Parallel processing controller

Country Status (1)

Country Link
JP (1) JPH01232461A (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61196349A (en) * 1985-02-27 1986-08-30 Nec Corp Common bus control system

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61196349A (en) * 1985-02-27 1986-08-30 Nec Corp Common bus control system

Also Published As

Publication number Publication date
JPH01232461A (en) 1989-09-18

Similar Documents

Publication Publication Date Title
US4149242A (en) Data interface apparatus for multiple sequential processors
EP0243085A2 (en) Coprocessor architecture
JPH04306748A (en) Information processor
JPH0479026B2 (en)
JPH01269142A (en) Buffer memory control system
JP2561261B2 (en) Buffer storage access method
US5440708A (en) Microprocessor and storage management system having said microprocessor
JPS5868286A (en) Cash memory and operation thereof
US6938118B1 (en) Controlling access to a primary memory
JPH0570867B2 (en)
JPS60205760A (en) Memory controller
JP2643116B2 (en) Main memory controller
JPS63240651A (en) Cache memory
JP2647092B2 (en) Multi-processor system
JP2778623B2 (en) Prefetch control device
JP2581144B2 (en) Bus control device
JPH07175768A (en) Dual cpu system
JPH04245346A (en) Microcomputer system
JPH01154272A (en) Multiprocessor device
JPS63103342A (en) Main memory controller
JPH0236443A (en) System for controlling expansion storage
JPS6074074A (en) Priority control system
JPH0612363A (en) Memory controller and multiprocessor system
JPS63142416A (en) Input/output control system
JPH0561769A (en) Memory access method

Legal Events

Date Code Title Description
EXPY Cancellation because of completion of term