JPH02100155A - Data processing system - Google Patents

Data processing system

Info

Publication number
JPH02100155A
JPH02100155A JP63253521A JP25352188A JPH02100155A JP H02100155 A JPH02100155 A JP H02100155A JP 63253521 A JP63253521 A JP 63253521A JP 25352188 A JP25352188 A JP 25352188A JP H02100155 A JPH02100155 A JP H02100155A
Authority
JP
Japan
Prior art keywords
data
nullification
main memory
processing device
invalidation
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.)
Pending
Application number
JP63253521A
Other languages
Japanese (ja)
Inventor
Koji Kinoshita
木下 耕二
Koki Iketani
池谷 幸喜
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.)
NEC Corp
NEC Computertechno Ltd
Original Assignee
NEC Corp
NEC Computertechno Ltd
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 NEC Corp, NEC Computertechno Ltd filed Critical NEC Corp
Priority to JP63253521A priority Critical patent/JPH02100155A/en
Publication of JPH02100155A publication Critical patent/JPH02100155A/en
Pending legal-status Critical Current

Links

Landscapes

  • Memory System Of A Hierarchy Structure (AREA)

Abstract

PURPOSE:To attain acceleration in a nullification processing and the reduction of a load on a main control means in nullification control by transferring nullification information representing the range of main storage duplication to be nullified directly between processors, and performing the nullification of all the elements of the data to be nullified independently in the inside of each processor. CONSTITUTION:Address calculating means 140 and 240 calculate corresponding addresses in main storage duplication areas 150 and 250 from the nullification information transferred from selection means 120 and 220 at every data, and transfer them to nullification means 130 and 230. After the address transfer of previous data is completed, a priority change instruction is outputted to the selection means 120 and 220, and also, the nullification information in nullification information register groups 110 and 210 in which address calculation are completed are cleared. Thus, since the mullification information is directly outputted to another processor with a nullification request at the time of issuing the nullification request of the main storage duplication by the processors 100 and 200, it is possible to dispense with the control of the main storage control means in the main storage duplication.

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明はデータ処理システムに関し、特に複数の処理装
置が主記憶を共有し、各処理装置が主記憶内データの写
しを記憶する領域を備え、処理装置内で、主記憶にデー
タを一定間隔で配置するストア命令が発せられた際、該
処理装置が、データを配置すべき主記憶上の範囲に対応
する主記憶写しの無効化要求を出力するデータ処理シス
テムに関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a data processing system, and in particular, a data processing system in which a plurality of processing units share a main memory, and each processing unit is provided with an area for storing a copy of data in the main memory. , when a store command is issued to allocate data to main memory at regular intervals within a processing device, the processing device issues a request to invalidate the main memory copy corresponding to the range in main memory where the data is to be allocated. It relates to a data processing system that outputs data.

[従来の技術] 従来、この種のデータ処理システムにおいて、主記憶写
しの無効化は、第3図に示すように、主記憶制御手段4
00を介して行なわれていた。
[Prior Art] Conventionally, in this type of data processing system, the main memory copy is invalidated by the main memory control means 4, as shown in FIG.
This was done via 00.

例えば、処理装置lQO内で主記憶写しの無効化要求が
出されると、アドレス算出手段140が無効化すべき主
記憶写しの範囲を表す先頭番地とデ−タ数とデータ間距
離とから主記憶写し領域150.250でのアドレスを
1デ一タ単位で算出し、そのアドレスと無効化要求を無
効化手段130と主記憶制御手段400に供給する。主
記憶制御手段400は受は取ったアドレスと無効化要求
を、その都度、処理装置200の無効化手段230に送
出し、処理装置100 、200の無効化手段130 
、230が送られてまたアドレスに示される主記憶写し
領域150゜250のデータを無効化している。
For example, when a request to invalidate a main memory copy is issued in the processing device lQO, the address calculation means 140 calculates the main memory copy based on the starting address representing the range of the main memory copy to be invalidated, the number of data, and the distance between data. The address in the area 150.250 is calculated in units of data, and the address and invalidation request are supplied to the invalidation means 130 and the main memory control means 400. The main memory control means 400 sends the received address and invalidation request to the invalidation means 230 of the processing device 200 each time.
, 230 is sent to invalidate the data in the main memory copy area 150°250 indicated by the address.

[発明が解決しようとする課題] 上述した従来のデータ処理システムは、主記憶写しの無
効化が1要素単位に処理装置の外部で主記憶制御手段の
もとに行なわれるため、主記憶制御手段が制御する処理
装置が増設された場合、主記憶制御手段の複雑化と無効
化処理時間の増加が欠点となって現われてくる。
[Problems to be Solved by the Invention] In the conventional data processing system described above, invalidation of main memory copies is performed for each element outside the processing device under the control of the main memory control means. When the number of processing devices controlled by the main memory control means is increased, the disadvantages are that the main memory control means becomes more complicated and the invalidation processing time increases.

[課題を解決するための手段] 本発明のデータ処理システムは、各処理装置が、処理装
置内で、データ主記憶に一定間隔で配置するストア命令
が発せられた際、無効化すべき主記憶写し領域の先頭ア
ドレスとデータ数とデータ間距離との無効化情報を他の
処理装置へ出力する無効化情報出力手段と、他の処理装
置から無効化情報を受けた際、該情報が1つの処理装置
からのみであれば、その無効化情報を、また、複数の処
理装置からであれば、予め定められている優先度にした
がって該当する無効化情報を選択する選択手段と、該選
択手段が選択した無効化情報から主記憶写し記憶領域の
アドレスを算出するアドレス算出手段とを有している。
[Means for Solving the Problems] The data processing system of the present invention allows each processing device to store main memory copies to be invalidated when a store command is issued to allocate data in main memory at regular intervals within the processing device. Invalidation information output means for outputting invalidation information including the start address of an area, the number of data, and the distance between data to another processing device; a selection means for selecting the corresponding invalidation information in accordance with a predetermined priority, and a selection means for selecting the corresponding invalidation information in accordance with a predetermined priority if it is from a plurality of processing devices; and address calculation means for calculating the address of the main memory copy storage area from the invalidation information.

[作 用] 処理装置が、主記憶写しの無効化要求時に、無効化要求
とともに無効化情報を、直接、他の処理装置に出力する
ので、主記憶写しにおける主記憶制御手段の制御が不要
となる。
[Function] When a processing device requests invalidation of a main memory copy, it directly outputs invalidation information together with the invalidation request to another processing device, so there is no need to control the main memory control means for the main memory copy. Become.

[実施例] 次に、本発明の実施例について図面を参照して説明する
[Example] Next, an example of the present invention will be described with reference to the drawings.

第1図は本発明のデータ処理システムの一実施例を示す
ブロック図、第2図は選択手段120.220と無効化
情報レジスタ群110.210の構成を示すブロック図
である。
FIG. 1 is a block diagram showing an embodiment of the data processing system of the present invention, and FIG. 2 is a block diagram showing the configuration of the selection means 120, 220 and the invalidation information register group 110, 210.

このデータ処理システムは、処理装置100.200と
主記憶装置300を備えており、処理装置100 、2
00は、それぞれ無効化情報レジスタ群110.210
と選択手段120.220と無効化手段130.230
とアドレス算出手段140 、240と主記憶写し領域
150.250と無効化情報出力手段160.260と
を有している。無効化情報レジスタ群110.210は
、第2図に示すように、それぞれ処理装置100レジス
タと処理装置200レジスタを備えており、主記憶写し
の無効化要求時に無効化情報出力手段160.260が
送出する、無効化すべきデータの主記憶写し領域150
.250内の先頭アドレスとデータ数とデータ間距離と
の無効化情報を記憶する。選択手段120.220は、
第2図に示すように、それぞれ決定手段121.221
と優先度レジスタ122.222と優先度変更手段12
3.223とで構成されている。優先度レジスタ122
.222には、処理装置間の優先度が設定されており、
本実施例では初期状態で「処理装置100が処理装置2
00より優先する」となっている。決定手段121.2
21は無効化情報レジスタ群110 、210に格納さ
れた無効化情報を取込むとともに、その無効化情報を送
出した処理装置の番号を優先度変更手段123.223
へ通知し、さらにその無効化情報が一方の処理装置から
送出された無効化情報のみであれば、その無効化情報を
アドレス算出手段+40.240へ転送し、また、処理
装置100および200から同時に送出されていて、2
つの無効化情報を取込んだ場合は、優先度レジスタ12
2.222に設定されている優先度にしたがって優先度
の高い処理装置から送出された無効化情報を、先にアド
レス算出手段140.240へ転送する。優先度変更手
段123 、223は、決定手段121 、221から
処理装置の番号を受け、さらに優先度レジスフ122.
222に設定されている優先度を監視しており、アドレ
ス算出手段140.240が1タボ手段121.221
から送られた無効化情報に対応する主記憶写し領域15
0.250内のアドレスを無効化すベき全てのデータに
ついて算出した後出力する優先度の変更命令を受けて優
先度レジスタ122.222に設定されている優先度を
変更する。この変更は、決定手段+21.221からの
処理装置の番号とその時点での優先度レジスタ122 
、222の優先度とを参照して、アドレス算出が終了し
た無効化情報に関する処理装置を、その都度、下位とす
るが、一方の処理装置のみから無効化情報が送出された
場合で、その処理装置の優先度がその時点で下位のもの
であれば変更は行なわれない。アドレス算出手段140
.240は選択手段120.220から転送された無効
化情報から1データ毎に主記憶写し領域150.250
内の対応するアドレスを算出して無効化手段130.2
30へ転送し、前データについてアドレス転送終了後、
選択手段120.220へ優先度変更命令を出力すると
ともに、アドレス算出が終了した、無効化情報レジスタ
群110.210内の無効化情報をクリアする。
This data processing system includes processing devices 100 and 200 and a main storage device 300.
00 are invalidation information register groups 110 and 210, respectively.
and selection means 120.220 and invalidation means 130.230
, address calculation means 140 and 240, main memory copy area 150 and 250, and invalidation information output means 160 and 260. As shown in FIG. 2, the invalidation information register groups 110 and 210 each include a processing device 100 register and a processing device 200 register, and the invalidation information output means 160 and 260 output when a main memory copy invalidation request is made. Main memory copy area 150 of data to be sent and invalidated
.. Invalidation information including the start address, the number of data, and the distance between data in 250 is stored. The selection means 120.220 is
As shown in FIG. 2, determining means 121 and 221 respectively.
and priority register 122.222 and priority change means 12
3.223. Priority register 122
.. In 222, priorities among processing devices are set,
In this embodiment, in the initial state, "processing device 100 is
It takes precedence over 00. Determination means 121.2
21 reads the invalidation information stored in the invalidation information register group 110, 210, and changes the number of the processing device that sent the invalidation information to the priority changing means 123.223.
Furthermore, if the invalidation information is only the invalidation information sent from one of the processing devices, the invalidation information is transferred to the address calculation means +40.240, and simultaneously from the processing devices 100 and 200. It has been sent and 2
If one invalidation information is imported, the priority register 12
According to the priority set in 2.222, invalidation information sent from a processing device with a high priority is first transferred to the address calculation means 140.240. The priority change means 123 , 223 receive the number of the processing device from the determination means 121 , 221 and further receive the priority register 122 .
The priority set in 222 is monitored, and the address calculation means 140.240 is one tab means 121.221.
Main memory copy area 15 corresponding to the invalidation information sent from
The priority level set in the priority register 122.222 is changed in response to a priority change command output after calculating all data whose addresses within 0.250 should be invalidated. This change is based on the number of the processing unit from the determining means +21.221 and the priority register 122 at that time.
, 222, and the processing device related to the invalidation information for which the address calculation has been completed is ranked lower each time. However, if the invalidation information is sent from only one processing device, the processing device is If the device's priority is currently lower, no change is made. Address calculation means 140
.. 240 is a main memory copy area 150.250 for each data from the invalidation information transferred from the selection means 120.220.
Invalidation means 130.2 by calculating the corresponding address in
30, and after completing the address transfer for the previous data,
A priority change command is output to the selection means 120.220, and the invalidation information in the invalidation information register group 110.210 for which address calculation has been completed is cleared.

次に、本実施例の動作について、一方の処理装置からの
み無効化情報が送出される場合と、両方の処理装置が無
効化情報を送出する場合とを例にして説明する。
Next, the operation of this embodiment will be described using as examples a case in which revocation information is sent from only one processing device and a case in which both processing devices send out revocation information.

なお、優先度レジスタ122.222の優先度は初期状
態とする。
Note that the priorities of the priority registers 122 and 222 are in the initial state.

まず、処理装置100内で、主記憶装置300上にデー
タを一定の間隔で配置するストア命令が発行され、処理
装置100が、そのデータ群が格納されるべき、主記憶
装置300の範囲に対応する主記憶写しデータの無効化
要求を発したとすると、無効化情報が処理装置100の
無効化情報レジスタ群110の処理装置100レジスタ
に格納される。また、同時に無効化情報出力手段160
が無効化情報を処理装置200の無効化情報レジスタ群
210の処理装置100レジスタへ転送する。つづいて
、処理装置100内では、選択手段120が無効化情報
レジスタ群110から無効化情報を取込んで、その無効
化情報をアドレス算出手段140へ転送する。アドレス
算出手段140は、無効化すべきデータ毎にアドレスを
算出して無効化手段130へ転送し、無効化手段130
が、その都度、主記憶写しデータの無効化命令を発行す
ることになる。さらに、アドレス算出手段140は全デ
ータについてアドレスの算出を終了すると、無効化情報
レジスタ群110へ処理装置100レジスタの無効化情
報のクリア命令を出力するとともに、選択手段120へ
優先度の変更命令を出力する。この変更により選択手段
120内の優先度は、「処理装置200が処理装置10
0より優先する」となる。これで処理装置100の主記
憶写しの無効化処理は終了するが、これと同時に処理装
置200内でも全く同様な処理が行なわれているため、
全ての無効化処理が終了することになる。
First, within the processing device 100, a store command is issued to arrange data at regular intervals on the main storage device 300, and the processing device 100 corresponds to the range of the main storage device 300 in which the data group is to be stored. When a request to invalidate the main memory copy data is issued, the invalidation information is stored in the processing device 100 register of the invalidation information register group 110 of the processing device 100. At the same time, the invalidation information output means 160
transfers the revocation information to the processing device 100 register of the revocation information register group 210 of the processing device 200. Next, in the processing device 100, the selection means 120 takes in the revocation information from the revocation information register group 110 and transfers the revocation information to the address calculation means 140. The address calculation means 140 calculates an address for each data to be invalidated and transfers it to the invalidation means 130.
However, each time, an instruction to invalidate the main memory copy data is issued. Furthermore, when the address calculation means 140 finishes calculating the addresses for all data, it outputs an instruction to clear the invalidation information of the processing device 100 register to the invalidation information register group 110, and also outputs a priority change instruction to the selection means 120. Output. As a result of this change, the priority within the selection means 120 is changed to "The processing device 200 is the processing device 10
It takes priority over 0. This completes the process of invalidating the main memory copy of the processing device 100, but at the same time, exactly the same process is being performed within the processing device 200.
All invalidation processing will be completed.

次に、同様に初期状態で、処理装置200が無効化要求
を発したとすると、無効化情報は、処理装置100およ
び200の処理装置200レジスタに格納され、その後
の無効化手段130.230による無効化命令の出力ま
では、前述した処理装置100が無効化要求を発した場
合と同様に処理装置100および200で行なわれるが
、優先度の変更は、初期状態において、処理装置200
の方が優先度が低いため、ここでは行なわれない。
Next, similarly, if the processing device 200 issues an invalidation request in the initial state, the invalidation information is stored in the processing device 200 register of the processing devices 100 and 200, and the subsequent invalidation means 130 and 230 Up to the output of the invalidation command, processing is performed by the processing devices 100 and 200 in the same way as when the processing device 100 issues the invalidation request, but the priority change is performed by the processing device 200 in the initial state.
is not performed here because it has a lower priority.

つづいて、同様に初期状態において、処理装置100お
よび200から同時に無効化要求が発せられた場合につ
いて考える。
Next, let us consider a case in which invalidation requests are issued simultaneously from processing devices 100 and 200 in the initial state.

この場合、2つの無効化情報が無効化情報レジスタ群1
10 、210へ格納されて選択手段120.220に
取込まれ、初期状態の優先度にしたがって、まず処理装
置100からの無効化情報アドレス算出手段140.2
40へ転送してアドレスを求める。そして、それらのア
ドレスが無効化手段130.230へ転送された後、同
様に優先度の変更が行なわれ、「処理装置200が処理
装置100より優先する」となる。それによって処理装
置200からの無効化情報をアドレス算出手段140.
240へ転送して同様にアドレスを求める。そして、ア
ドレス転送後、同様に優先度の変更が行なわれ、「処理
装置100が処理装置200より優先する」となって一
連の無効化処理が終了する。
In this case, two pieces of invalidation information are invalidated information register group 1.
10, 210 and taken into the selection means 120.220, and first the revocation information address calculation means 140.2 from the processing device 100 is stored in the selection means 120.220 according to the priority in the initial state.
40 and ask for the address. After those addresses are transferred to the invalidating means 130 and 230, the priority is similarly changed so that "the processing device 200 has priority over the processing device 100." Thereby, the invalidation information from the processing device 200 is transferred to the address calculation means 140.
240 and similarly obtain the address. Then, after the address transfer, the priority is similarly changed so that "processing device 100 has priority over processing device 200" and the series of invalidation processing ends.

[発明の効果] 以上説明したように本発明は、無効化すべき主記憶写し
のデータの範囲を示す無効化情報を、主記憶制御手段を
介さずに、処理装置間で直接やり取りさせ、無効化すべ
きデータの全要素の無効化を各処理装置内部で独立に行
なわせることにより、無効化処理の高速化と主記憶制御
手段の無効化制御の負担を軽減できる効果がある。
[Effects of the Invention] As explained above, the present invention allows invalidation information indicating the range of data in a main memory copy to be invalidated to be directly exchanged between processing devices without going through a main memory control means. By independently performing invalidation of all elements of data to be processed within each processing device, it is possible to speed up the invalidation process and reduce the burden of invalidation control on the main memory control means.

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

第1図は本発明のデータ処理システムの一実施例を示す
ブロック図、第2図は第1図の無効化情報レジスタ群1
10 、210および選択手段120.220の構成を
示すブロック図、第3図は従来例を示すブロック図であ
る。 00 、200・・・処理装置、 10.210・・・無効化情報レジスタ群、20.22
0・・・選択手段、 21 、221・・・決定手段、 22.222・・・優先度レジスタ、 23.223・・・優先度変更手段、 30 、230・・・無効化手段、 40.240・・・アドレス算出手段、150.250
・・・主記憶写し領域、160.260・・・無効化情
報出力手段、300・・・主記憶装置。
FIG. 1 is a block diagram showing an embodiment of the data processing system of the present invention, and FIG. 2 is a block diagram showing an embodiment of the data processing system of the present invention. FIG.
10, 210 and the selection means 120 and 220. FIG. 3 is a block diagram showing a conventional example. 00, 200... Processing device, 10.210... Invalidation information register group, 20.22
0... Selection means, 21, 221... Determination means, 22.222... Priority register, 23.223... Priority changing means, 30, 230... Invalidation means, 40.240 ...address calculation means, 150.250
. . . Main memory copy area, 160. 260 . . . Invalidation information output means, 300 . . . Main storage device.

Claims (1)

【特許請求の範囲】 1、複数の処理装置の主記憶を共有し、各処理装置が主
記憶内データの移しを記憶する領域を備え、処理装置内
で、主記憶にデータを一定間隔で配置するストア命令が
発せられた際、該処理装置内で主記憶写しデータの無効
化要求が発せられ、無効化すべき主記憶写し領域の先頭
アドレスとデータ数とデータ間距離との無効化情報を出
力するデータ処理システムにおいて、 各処理装置が、前記ストア命令が発せられた際、無効化
情報を他の処理装置へ出力する無効化情報出力手段と、
他の処理装置から無効化情報を受けた際、該情報が1つ
の処理装置からのみであれば、その無効化情報を、また
、複数の処理装置からであれば、予め定められている優
先度にしたがって該当する無効化情報を選択する選択手
段と、該選択手段が選択した無効化情報から主記憶写し
記憶領域のアドレスを算出するアドレス算出手段とを有
することを特徴とするデータ処理システム。
[Claims] 1. The main memory of a plurality of processing devices is shared, each processing device is provided with an area for storing the transfer of data in the main memory, and within the processing devices, data is arranged in the main memory at regular intervals. When a store command is issued, a request to invalidate the main memory copy data is issued within the processing unit, and invalidation information including the start address of the main memory copy area to be invalidated, the number of data, and the distance between data is output. In a data processing system, each processing device outputs invalidation information to another processing device when the store instruction is issued;
When receiving invalidation information from another processing device, if the information is from only one processing device, that invalidation information is received, and if it is from multiple processing devices, it is given a predetermined priority. 1. A data processing system comprising: a selection means for selecting corresponding invalidation information according to the selection means; and an address calculation means for calculating an address of a main memory copy storage area from the invalidation information selected by the selection means.
JP63253521A 1988-10-06 1988-10-06 Data processing system Pending JPH02100155A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63253521A JPH02100155A (en) 1988-10-06 1988-10-06 Data processing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63253521A JPH02100155A (en) 1988-10-06 1988-10-06 Data processing system

Publications (1)

Publication Number Publication Date
JPH02100155A true JPH02100155A (en) 1990-04-12

Family

ID=17252525

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63253521A Pending JPH02100155A (en) 1988-10-06 1988-10-06 Data processing system

Country Status (1)

Country Link
JP (1) JPH02100155A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015524597A (en) * 2012-08-06 2015-08-24 クゥアルコム・インコーポレイテッドQualcomm Incorporated Multi-core computational cache coherency using a release consistent memory ordering model

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015524597A (en) * 2012-08-06 2015-08-24 クゥアルコム・インコーポレイテッドQualcomm Incorporated Multi-core computational cache coherency using a release consistent memory ordering model

Similar Documents

Publication Publication Date Title
JP2628079B2 (en) Direct memory access controller in multiprocessor system
US4951193A (en) Parallel computer with distributed shared memories and distributed task activating circuits
US4969120A (en) Data processing system for time shared access to a time slotted bus
AU598857B2 (en) Move-out queue buffer
JP2761506B2 (en) Main memory controller
JPH04246745A (en) Information processing device and method
JPH0550018B2 (en)
JPH01269142A (en) Buffer memory control system
JPH0750466B2 (en) Parallel computer cache memory control system
JPS60129869A (en) Bus access controller
JPS60237566A (en) Interprocessor communication system
JP3038257B2 (en) Electronic computer
JPS63236153A (en) Storage device
JPH01284960A (en) Use priority determining system for memory device
JPS63311555A (en) Shared data control system for multiprocessor system
JPH0664552B2 (en) Information processing device invalidation processing method
JP3397425B2 (en) Periodic communication processing device
JPH04181452A (en) Storage controller
JPH04278659A (en) Inter-multiprocessor communication system
JPS61128371A (en) Vector processor
JPS6336021B2 (en)
JPS61221863A (en) Control system for main memory access
JPH05242045A (en) Exclusive control system for multi-processor system
JPH01261748A (en) Buffer storage control device
JPS62145345A (en) Control system for direct memory access interval