JPH0311436A - Storage access control device - Google Patents

Storage access control device

Info

Publication number
JPH0311436A
JPH0311436A JP14649889A JP14649889A JPH0311436A JP H0311436 A JPH0311436 A JP H0311436A JP 14649889 A JP14649889 A JP 14649889A JP 14649889 A JP14649889 A JP 14649889A JP H0311436 A JPH0311436 A JP H0311436A
Authority
JP
Japan
Prior art keywords
memory access
request
access request
processing device
processing
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
JP14649889A
Other languages
Japanese (ja)
Inventor
Norizou Hanahira
花平 議臓
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
Original Assignee
NEC 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 NEC Corp filed Critical NEC Corp
Priority to JP14649889A priority Critical patent/JPH0311436A/en
Publication of JPH0311436A publication Critical patent/JPH0311436A/en
Pending legal-status Critical Current

Links

Landscapes

  • Multi Processors (AREA)

Abstract

PURPOSE:To eliminate the memory access request processing of unbalanced load by preferentially processing the memory access request from the input/ output processing device of low speed according to the number of queuing of the memory access request. CONSTITUTION:When a write address counter 2 indicates '14' as a write address, and a read address counter 3 indicates '6' as a read address, in a preferential request indicating circuit 4, it is detected that the number of the memory access requests in waiting from the input/output processing device reaches '8' based on both these addresses. Therefore, a preferential processing indication is generated from a preferential processing indication signal 14, and in a request acceptance circuit 5, the memory access request 15 from the input/ output processing device is sent to output 18 in response to this indication. Accordingly, in a request processing circuit 6, an access request code 21 in the read address '6' in a request storage buffer 1 is decoded, and the memory access request in waiting from the input/output processing device is derived to a main storage device 7.

Description

【発明の詳細な説明】 技術分野 本発明は記憶アクセス制御装置に関し、特に複数の処理
装置からのメモリアクセス要求を受けてこれ等を調停し
つつ処理する記憶アクセス制御装置に関する。
TECHNICAL FIELD The present invention relates to a storage access control device, and more particularly to a storage access control device that receives memory access requests from a plurality of processing devices and processes them while arbitrating them.

従来技術 近年、科学技術計算用のスーパコンピュータに対する需
要が非常に高まりつつある。このスーパコンピュータが
扱う分野は大規模なデータを処理する必要がある分野で
あり、これ等のデータを主記憶装置上に展開して頻繁に
アクセスを繰返すことが多い。
BACKGROUND OF THE INVENTION In recent years, the demand for supercomputers for scientific and technical calculations has been increasing significantly. The field handled by this supercomputer is a field in which it is necessary to process large-scale data, and this data is often expanded on the main memory and accessed frequently.

ベクトルデータを処理するスーパコンピュータであるベ
クトル処理装置では、主記憶装置に対して一連のベクト
ルデータをアクセスするために、これ等の主記憶装置ア
クセス要求(メモリアクセス要求と称する)の負荷が高
い場合に、低速の入出力処理装置からのメモリアクセス
要求の負荷が高まってきても、固定的な競合制御を行っ
て入出力処理装置の要求を処理している。
In a vector processing device, which is a supercomputer that processes vector data, in order to access a series of vector data to the main memory, the load of these main memory access requests (referred to as memory access requests) is high. In addition, even when the load of memory access requests from low-speed input/output processing devices increases, fixed contention control is performed to process the requests from the input/output processing devices.

この様な従来の方法では、通常ベクトル処理装置のメモ
リアクセス要求処理性能を高めるべくベクトル処理装置
側からのメモリアクセス要求を優先して処理するように
なっている場合が多い。よって、入出力処理装置からの
メモリアクセス要求が高まっても、入出力処理装置から
の要求は低性能のままで処理されることになり、スルー
ブツトの低下を招来するという欠点がある。
In such conventional methods, memory access requests from the vector processing apparatus are often processed with priority in order to improve the memory access request processing performance of the vector processing apparatus. Therefore, even if memory access requests from the input/output processing device increase, the requests from the input/output processing device are processed with low performance, resulting in a reduction in throughput.

発明の目的 そこで、本発明は上記従来のものの欠点を除去すべくな
されたものであって、その目的とするところは、偏った
メモリアクセス要求処理を回避してメモリアクセスのス
ルーブツトを向上させるようにした記憶アクセス制御装
置をiXJ!供することにある。
Purpose of the Invention The present invention has been made to eliminate the drawbacks of the above-mentioned conventional methods, and its purpose is to improve memory access throughput by avoiding biased memory access request processing. iXJ storage access control device! It is about providing.

発明の構成 本発明によれば、第1及び第2の処理装置からの各メモ
リアクセス要求を調停処理する記憶アクセス制御装置で
あって、前記第1の処理装置からのメモリアクセス要求
を複数格納可能なアクセス要求格納手段と、前記アクセ
ス要求格納手段への書込み及び読出しアドレスを生成制
御するアドレス制御手段と、前記書込み及び読出しアド
レスを元に前記アクセス要求格納手段に格納された処理
待機中の前記第1の処理装置のメモリアクセス要求数を
算出し、この算出結果が予め設定されている値に達して
いれば、前記第2の処理装置のメモリアクセス要求に対
して前記第1の処理装置のメモリアクセス要求を優先し
て処理する優先処理手段とを含むことを特徴とする記憶
アクセス制御装置が得られる。
Structure of the Invention According to the present invention, there is provided a storage access control device that arbitrates each memory access request from a first and second processing device, and is capable of storing a plurality of memory access requests from the first processing device. access request storage means; address control means for generating and controlling write and read addresses to the access request storage means; The number of memory access requests of the first processing device is calculated, and if the calculation result reaches a preset value, the number of memory access requests of the first processing device is calculated in response to the memory access request of the second processing device. There is obtained a storage access control device characterized in that it includes a priority processing means for processing access requests with priority.

実施例 以下に本発明の実施例を図面を参照して詳細に説明する
Embodiments Below, embodiments of the present invention will be described in detail with reference to the drawings.

図は本発明の実施例のブロック図である。図において、
要求格納バッファ1は入出力処理装置(図示せず)から
の主記憶装置7に対するメモリアクセス要求11を複数
個格納するバッファであり、当該アクセス要求における
要求コードが処理待ちとして格納される。尚、このバッ
ファ1は読出し、書込みが同時に可能なメモリバッファ
であるものとする。
The figure is a block diagram of an embodiment of the invention. In the figure,
The request storage buffer 1 is a buffer that stores a plurality of memory access requests 11 from an input/output processing device (not shown) to the main storage device 7, and the request code of the access request is stored as pending processing. It is assumed that this buffer 1 is a memory buffer that can be read and written at the same time.

ライトアドレスカウンタ2は要求格納バッファ]の書込
みアドレス12を生成するものであり、初ICII値“
O”のカウンタからなり、信号線11を介して入出力処
理装置からのメモリアクセス要求が与えられる毎に“1
“ずつカウントアツプされ、例えば“15”までカウン
トアツプすれば、初期値“0“に戻る4ビツトのカウン
タである。このライトアドレス12が入出力処理装置か
ら送られてくるメモリアクセス要求の格納されるべきア
ドレスを示すことになる。
The write address counter 2 generates the write address 12 of the request storage buffer and the initial ICII value “
Each time a memory access request is given from the input/output processing device via the signal line 11, the counter is
It is a 4-bit counter that is incremented by "15" and then returns to the initial value "0". This write address 12 is the address where the memory access request sent from the input/output processing device is stored. This will indicate the address that should be addressed.

リードアドレスカウンタ3は要求格納バッファ1の読出
しアドレス13を生成するものであり、要求格納バッフ
ァ1に格納され最初に処理すべきメモリアクセス要求の
アドレスを示すカウンタである。信号線19を介して供
給される入出力処理装置メモリアクセス要求受付信号に
応答ルで順次カウントアツプされる。
The read address counter 3 generates the read address 13 of the request storage buffer 1, and is a counter that indicates the address of the memory access request stored in the request storage buffer 1 and to be processed first. The count is sequentially incremented in response to an input/output processing unit memory access request acceptance signal supplied via the signal line 19.

優先要求指示回路4はライトアドレス12及びリードア
ドレス13を元に要求格納バッファ1内に格納された処
理待機中のメモリアクセス要求数を算出し、この数が予
め設定された値に達すれば優先的にこの待機中のメモリ
アクセス要求を処理せしめる指示信号14を発生する。
The priority request instruction circuit 4 calculates the number of memory access requests stored in the request storage buffer 1 and waiting to be processed based on the write address 12 and the read address 13, and when this number reaches a preset value, the priority request is given. An instruction signal 14 is generated to cause the waiting memory access request to be processed.

また、処理待機中のメモリアクセス要求が1つでも存在
していれば、信号線15を介して入出力処理装置からの
メモリアクセス要求信号を要求受付回路5へ送出する機
能をも有している。
It also has a function of sending a memory access request signal from the input/output processing device to the request receiving circuit 5 via the signal line 15 if there is even one memory access request waiting to be processed. .

また、優先要求指示回路4は要求格納バッファ1の容量
−杯に待機中のメモリアクセス要求が格納されると、メ
モリアクセス要求送出禁止信号16を発生し、入出力処
理装置へこれを送出する機構をも有する。
The priority request instructing circuit 4 also has a mechanism for generating a memory access request sending prohibition signal 16 when the waiting memory access request is stored in the request storage buffer 1 until its capacity is full, and sending this to the input/output processing device. It also has

要求受付回路5は、優先処理指示信号14が優先処理を
指示していれば、信号線18に入出力処理装置からのメ
モリアクセス要求15を選択して出力し、そうでなけれ
ば、最初にメモリアクセス要求が供給された方を受付け
て出力する。
If the priority processing instruction signal 14 instructs priority processing, the request receiving circuit 5 selects and outputs the memory access request 15 from the input/output processing device on the signal line 18; Accepts and outputs the supplied access request.

ベクトル処理装置からのメモリアクセス要求17が受付
けられた場合には、メモリアクセス要求受付信号20が
ベクトル処理装置側へ送出され、また入出力処理装置か
らのメモリアクセス要求15が受付られた場合には、メ
モリアクセス要求受付信号19がリードアドレスカウン
タ3へ送出されて当該カウンタ3の内容を“1”だけカ
ウントアツプする。
When a memory access request 17 from a vector processing device is accepted, a memory access request acceptance signal 20 is sent to the vector processing device, and when a memory access request 15 from an input/output processing device is accepted, a memory access request acceptance signal 20 is sent to the vector processing device. , a memory access request acceptance signal 19 is sent to the read address counter 3, and the contents of the counter 3 are counted up by "1".

要求処理回路6はベクトル処理装置からのメモリアクセ
ス要求17によるアクセス要求コード及び要求バッファ
1からの入出力処理装置のアクセス要求コード21を要
求受付回路5からの出力18に応じて選択する。この選
択出力22は要求処理回路6において解読処理され、信
号線22を介して主記憶装置7ヘアクセス要求として送
出される。
The request processing circuit 6 selects the access request code according to the memory access request 17 from the vector processing device and the access request code 21 of the input/output processing device from the request buffer 1 according to the output 18 from the request reception circuit 5. This selection output 22 is decoded in the request processing circuit 6 and sent as an access request to the main storage device 7 via the signal line 22.

かかる構成において、要求格納バッファ1が16個のメ
モリアクセス要求コードを待機中として格納できるもの
とし、ライトアドレスカウンタ2は“0“から“15”
までカウント可能とし、また、優先要求指示回路4にお
いて、要求格納バッファ1内に処理待ち中のメモリアク
セス要求が“8“個に達したときに、優先処理指示信号
14が発生されるものとする。
In this configuration, it is assumed that the request storage buffer 1 can store 16 memory access request codes as waiting, and the write address counter 2 has a value from "0" to "15".
Furthermore, when the number of memory access requests waiting to be processed in the request storage buffer 1 reaches "8" in the priority request instruction circuit 4, the priority processing instruction signal 14 is generated. .

この場合、いまライトアドレスカウンタ2がライトアド
レスとして“14“を示し、リードアドレスカウンタ3
がリードアドレスとして“6”を示していれば、優先要
求指示回路4において、これ等両アドレスを元に、待機
中の入出力処理装置からのメモリアクセス要求が“8”
に達したことが検出される。
In this case, the write address counter 2 now indicates "14" as the write address, and the read address counter 3
indicates "6" as the read address, the priority request instruction circuit 4 determines that the memory access request from the waiting input/output processing device is "8" based on these two addresses.
is detected.

よって、優先処理指示信号14から優先処理指示が発生
され、要求受付回路5てはこの指示に応答して入出力処
理装置からのメモリアクセス要求15が出力18へ送出
される。従って、要求処理回路6では、要求格納バッフ
ァ1内のリードアドレス“62におけるアクセス要求コ
ード21が解読されることになり、主記憶装置7へ入出
力処理装置からの待機中のメモリアクセス要求が導出さ
れるのである。
Therefore, a priority processing instruction is generated from the priority processing instruction signal 14, and the request reception circuit 5 sends a memory access request 15 from the input/output processing device to the output 18 in response to this instruction. Therefore, in the request processing circuit 6, the access request code 21 at the read address "62" in the request storage buffer 1 is decoded, and the waiting memory access request from the input/output processing device is derived to the main storage device 7. It will be done.

尚、上記実施例では、入出力処理装置とベクトル処理装
置とのメモリアクセス要求を考えているが、それ以外に
も、低速及び高速の処理装置が、メインメモリを共通に
使用してアクセスする場合等に広く適用可能であること
は明白である。
In the above embodiment, memory access requests from an input/output processing device and a vector processing device are considered, but there are also cases where low-speed and high-speed processing devices commonly use and access main memory. It is clear that the method is widely applicable to the following.

発明の効果 叙上の如く、本発明によれば、低速の入出力処理装置か
らのメモリアクセス要求の待合せ数により当該メモリア
クセス要求を優先処理するようにしているので、負荷が
偏ったメモリアクセス要求処理をなくすことができ、シ
ステム的にバランスの良いメモリアクセススルーブツト
を達成できるという効果がある。
Effects of the Invention As described above, according to the present invention, memory access requests from low-speed input/output processing devices are prioritized depending on the number of queued memory access requests, so that memory access requests with uneven loads are handled. This has the effect of eliminating processing and achieving a well-balanced memory access throughput in terms of the system.

【図面の簡単な説明】 図は本発明の実施例のブロック図である。 主要部分の符号の説明 1・・・・・・要求格納バッファ 2・・・・・・ライトアドレスカウンタ3・・・・・・
リードアドレスカウンタ4・・・・・・優先要求指示回
路 5・・・・・・要求受付回路 6・・・・・要求処理回路 7・・・・・・主記憶装置
BRIEF DESCRIPTION OF THE DRAWINGS The figure is a block diagram of an embodiment of the invention. Explanation of symbols of main parts 1...Request storage buffer 2...Write address counter 3...
Read address counter 4...Priority request instruction circuit 5...Request acceptance circuit 6...Request processing circuit 7...Main memory

Claims (1)

【特許請求の範囲】[Claims] (1)第1及び第2の処理装置からの各メモリアクセス
要求を調停処理する記憶アクセス制御装置であって、前
記第1の処理装置からのメモリアクセス要求を複数格納
可能なアスセス要求格納手段と、前記アクセス要求格納
手段への書込み及び読出しアドレスを生成制御するアド
レス制御手段と、前記書込み及び読出しアドレスを元に
前記アクセス要求格納手段に格納された処理待機中の前
記第1の処理装置のメモリアクセス要求数を算出し、こ
の算出結果が予め設定されている値に達していれば、前
記第2の処理装置のメモリアクセス要求に対して前記第
1の処理装置のメモリアクセス要求を優先して処理する
優先処理手段とを含むことを特徴とする記憶アクセス制
御装置。
(1) A storage access control device that arbitrates each memory access request from a first and second processing device, the access request storage means being capable of storing a plurality of memory access requests from the first processing device; , an address control means for generating and controlling write and read addresses to the access request storage means, and a memory of the first processing device waiting for processing, which is stored in the access request storage means based on the write and read addresses. Calculate the number of access requests, and if the calculation result reaches a preset value, give priority to the memory access request of the first processing device over the memory access request of the second processing device. A storage access control device comprising: priority processing means for processing.
JP14649889A 1989-06-08 1989-06-08 Storage access control device Pending JPH0311436A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP14649889A JPH0311436A (en) 1989-06-08 1989-06-08 Storage access control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP14649889A JPH0311436A (en) 1989-06-08 1989-06-08 Storage access control device

Publications (1)

Publication Number Publication Date
JPH0311436A true JPH0311436A (en) 1991-01-18

Family

ID=15408984

Family Applications (1)

Application Number Title Priority Date Filing Date
JP14649889A Pending JPH0311436A (en) 1989-06-08 1989-06-08 Storage access control device

Country Status (1)

Country Link
JP (1) JPH0311436A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007316880A (en) * 2006-05-25 2007-12-06 Meidensha Corp Access right arbitration system for dual port memory

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007316880A (en) * 2006-05-25 2007-12-06 Meidensha Corp Access right arbitration system for dual port memory

Similar Documents

Publication Publication Date Title
US6553487B1 (en) Device and method for performing high-speed low overhead context switch
JPH0219945A (en) Main memory controller
US6618780B1 (en) Method and apparatus for controlling interrupt priority resolution
EP3014459B1 (en) Method and apparatus for controlling memory operation
JPH0793216A (en) Cache memory controller
US6976110B2 (en) Method and apparatus for reducing interrupt latency by dynamic buffer sizing
JPH0311436A (en) Storage access control device
JP2636088B2 (en) Information processing device
JPH03147157A (en) Information processor
JPS63231661A (en) Precedence controller
JPH0454544A (en) Memory access controller
JPH04205448A (en) Information processor
JPH05173933A (en) Direct memory access transfer system
JP3038257B2 (en) Electronic computer
JPH09146839A (en) Cache memory controller
JP2731740B2 (en) Parallel computer with communication register
JP2972557B2 (en) Data transfer control device and control method
JP2814849B2 (en) Communication control device
JPH06334705A (en) Communication controller
JPH0588983A (en) Method for dynamic address conversion of channel equipment
JPH01226061A (en) Central processing unit interruption system
JPH0520253A (en) Data processor
JPH05334182A (en) Data transfer system
JPH0675765A (en) Processing speed controller
JPS6031646A (en) Data processor