JPS5816262B2 - Control method for multi-tier storage device - Google Patents
Control method for multi-tier storage deviceInfo
- Publication number
- JPS5816262B2 JPS5816262B2 JP50114752A JP11475275A JPS5816262B2 JP S5816262 B2 JPS5816262 B2 JP S5816262B2 JP 50114752 A JP50114752 A JP 50114752A JP 11475275 A JP11475275 A JP 11475275A JP S5816262 B2 JPS5816262 B2 JP S5816262B2
- Authority
- JP
- Japan
- Prior art keywords
- address
- storage device
- data
- line
- block
- 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
Links
Landscapes
- Memory System Of A Hierarchy Structure (AREA)
Description
【発明の詳細な説明】
本発明はストア処理方式としてスワツピング方式を採用
した多重階層記憶装置の制御方式に関する。DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a control method for a multi-tiered storage device that employs a swapping method as a store processing method.
情報処理装置は、中央処理装置が要求するデータを毎回
低速な主記憶装置から転送していたのでは十分なパーフ
ォーマンスが得られない。An information processing device cannot achieve sufficient performance if data requested by a central processing unit is transferred from a slow main storage device each time.
そこで中央処理装置と主記憶装置との間に中央処理装置
のスピードに同期し得る低容量ではあるが高速の緩衝記
憶装置を置くことにより、通常は緩衝記憶装置から高速
にデータ転送を可能とした。Therefore, by placing a low-capacity but high-speed buffer storage device that can synchronize with the speed of the central processing unit between the central processing unit and the main memory device, it is usually possible to transfer data from the buffer storage device at high speed. .
この方式を緩衝記憶方式と呼んでいる。This method is called a buffer storage method.
緩衝記憶装置の低容量性はプログラムの偏在性に立脚す
るもので、このプログラムの性質により主記憶装置の一
部のデータを緩衝記憶装置(ご写し“として記憶するこ
とにより、中央処理装置の要求するデータが緩衝ン記憶
装置に存在しない確率(NIBR:not 1nBu
ffer Ratio )を10係以内とすることが可
能である。The low capacity of the buffer storage device is based on the ubiquitous nature of the program.Due to the nature of this program, some data in the main storage device is stored in the buffer storage device (copy) to meet the demands of the central processing unit. Probability that the data to be stored does not exist in the buffer storage device (NIBR: not 1nBu
ffer Ratio) can be set within 10 ratios.
主記憶装置と緩衝記憶装置のデータ対応は、その時中央
処理装置が最も必要とするデータが緩衝記憶装置に存在
する様にダイナミックに入れ換えが行われる。The data correspondence between the main memory and the buffer memory is dynamically exchanged so that the data most needed by the central processing unit at that time is present in the buffer memory.
現在量も広く採用されている緩衝記憶方式は2レベルの
階層記憶方式で多重記憶方式の一方式である。The buffer storage system, which is currently widely used, is a two-level hierarchical storage system and is a type of multiple storage system.
多重階層記憶方式としては一般にnレベルの階層記憶装
置を考える事が出来る。As a multi-layered storage system, an n-level hierarchical storage device can generally be considered.
緩衝記憶方式において緩衝記憶装置はn−1,主記憶装
置はn=2である。In the buffer storage system, the number of buffer storage devices is n-1, and the number of main storage devices is n=2.
第1図はnレベル階層記憶装置の一部を示し、Mi+1
y Mi 、 1vfi−1の記憶装置が図示されて
いる。FIG. 1 shows part of an n-level hierarchical storage device, Mi+1
A storage device of y Mi , 1vfi-1 is illustrated.
iは、n−1≧i≧1であり、Moは中央処理装置と見
なされる。i is n-1≧i≧1, and Mo is considered a central processing unit.
各記憶装置間のデータ対応は、仮にMi−Mi−1間を
ブロックと呼び、Mi−Mi+1間をラインと呼ぶデー
タ量で対応づける事にする。The data correspondence between each storage device is assumed to be such that the data amount between Mi and Mi-1 is called a block, and the data amount between Mi and Mi+1 is called a line.
ここで一般にラインは数ブロックから成っている。Here, the line generally consists of several blocks.
(図では4ブロツクから成る)記憶装置間のデータ転送
はデータ要求に従って行われる。Data transfer between storage devices (consisting of four blocks in the figure) is performed according to data requests.
例えばMi−1がブロックa3をMiに要求すると、M
iは要求ブロックを含むラインAがMiに存在するか否
か調べた後まだ取り込まれていない時はMi+1にライ
ンAを要求し、Mi+1からMiにラインAの転送(ラ
イン転送)後、MiからMi−1にブロックa3の転送
(プロッり転送)を行いデータ転送処理を終了する。For example, when Mi-1 requests block a3 from Mi, M
i checks whether line A containing the requested block exists in Mi, and if it has not been imported yet, requests line A from Mi+1, and after transferring line A from Mi+1 to Mi (line transfer), from Mi. The block a3 is transferred (plot transfer) to Mi-1, and the data transfer process ends.
Mi−1からのストア処理は、ストア要求発生の度毎に
Mi+1の記憶装置までデータを更新するいわゆるスト
ア・スル一方式があるが該方式ではストア・エントリが
Miに存在する場合でもMi+1までリファするため、
ストア処理に対しては階層記憶方式が十分その利点を発
揮していないと言える。For store processing from Mi-1, there is a so-called store-through method in which data is updated up to the storage device of Mi+1 every time a store request occurs. In order to
It can be said that the hierarchical storage method does not fully demonstrate its advantages for store processing.
これに対していわゆるスワツピング方式はストア・エン
トリがMiに存在する場合にはMiのデータ更新でその
処理を終了しストア処理のスピード向上を目指している
。In contrast, the so-called swapping method aims to improve the speed of store processing by completing the processing by updating data in Mi when a store entry exists in Mi.
一般にスワツピング方式では、ストア・エントリがMi
に存在しない場合には、Mi+1からライン転送を行い
、その1Mi上でデータ更新を行う。Generally, in the swapping method, the store entry is
If it does not exist, line transfer is performed from Mi+1, and data is updated on that 1Mi.
スワツピング方式はMi +1とMiのデータは必らず
しも一致していない。In the swapping method, the data of Mi +1 and Mi do not necessarily match.
この不一致のラインを表示するため、一般にMiのライ
ン対応に1ビツトの識別ラッチ(チェンジ・ビット)を
有し該ラインにストア動作が行われる毎にチェンジ・ビ
ットが11“とされる。In order to display this mismatched line, generally a 1-bit identification latch (change bit) is provided for each line of Mi, and the change bit is set to 11'' each time a store operation is performed on the line.
Ml−1からのストアあるいはリード要求によりライン
転送が発生した時既定のアルゴリズムでリプレース・ラ
インが決定されるが、該ラインに有効データが格納され
ていてかつチェンジ・ビットが′1“の時ライン転送に
先立って該ラインをMi +1にスワップ・アウトする
ことによりMiの未更新ラインを更新する9M1−1か
らの要求がリード要求の場合、Mi−1がMiにリード
要求を出してから、リード・データが到達するまでMi
−1はほとんど他の処理を行なうことができないので、
Miは出来るだけ早<Mi−1にリード・データを送出
する必要がある。When a line transfer occurs due to a store or read request from Ml-1, a replacement line is determined by a predetermined algorithm, but if valid data is stored in the line and the change bit is '1'', the line is Prior to transfer, update the unupdated line in Mi by swapping out the line to Mi +1.9 If the request from M1-1 is a read request, Mi-1 issues a read request to Mi, and then・Mi until data arrives
-1 can hardly do any other processing, so
Mi needs to send read data to <Mi-1 as soon as possible.
ところで該リード要求が、スワップ・アウトを伴なうラ
イン転送要求の場合、従来、スワップ・アウト処理後、
ライン転送を行ないリード・データをMi−1に送出し
ていた。By the way, if the read request is a line transfer request that involves a swap out, conventionally, after the swap out process,
Line transfer was performed and read data was sent to Mi-1.
この為、スワップ・アウトの処理時間がMi−1に対し
て大きなオーバヘッドになっていた。For this reason, the swap-out processing time resulted in a large overhead compared to Mi-1.
そこで、本発明はMl−1に対してスワップ・アウトが
オーバヘッドにならないようにすることを目的とするも
のである。Therefore, an object of the present invention is to prevent swap out from becoming an overhead for Ml-1.
2上記目的を達成させるため、本発明では、スワップ・
アウト・データを格納する記憶装置を設ける。2 In order to achieve the above object, the present invention uses swap/
A storage device is provided to store out data.
Mi−1からスワップ・アウトを伴なうライン転送要求
が発生した場合、Mi+1にライン転送要求を出すと同
時に、スワップ・アウト・データを該記憶装置に格納し
、ライン転送動作終了後、該記憶装置に格納したスワッ
プ・アウト・データを7J i +1にスワップ・アウ
トする。When a line transfer request that involves a swap out occurs from Mi-1, the swap out data is stored in the storage device at the same time as the line transfer request is issued to Mi+1, and after the line transfer operation is completed, the swap out data is stored in the storage device. The swap out data stored in the device is swapped out to 7J i +1.
第2図は第1図の詳細なブロック図でメモリ・マツピン
グの一例を示すものである。FIG. 2 is a detailed block diagram of FIG. 1 and shows an example of memory mapping.
記憶装置Mi+1はCpXRxエントリのラインに分割
され、記憶装置MiはCpXRyエントリのラインに分
割されてMi+1のカラムC2,ロウR1のラインAが
MiのカラムC2,ロウR2は対1芯する様にカラム対
応になっているがどのロウに対応するかはMiのロウの
使用状況に応じて決められる。The storage device Mi+1 is divided into lines of CpXRx entries, the storage device Mi is divided into lines of CpXRy entries, column C2 of Mi+1, line A of row R1 is column C2 of Mi, and row R2 is divided into columns so that they are in a pair. However, which row is supported is determined depending on the usage status of Mi's rows.
一般にx > yである。一方記憶装置M i−1は、
CqXRzのエントリのブロックに分割され、例えばM
iのカラムC2,ロウR2のラインA中のブロックa3
がMi−1のカラムC1,ロウR1に対応する。Generally x > y. On the other hand, the storage device M i-1 is
CqXRz is divided into blocks of entries, e.g.
Block a3 in column C2 of i, line A of row R2
corresponds to column C1 and row R1 of Mi-1.
一般にp≧qでありMiの複数カラムがMi−1の1カ
ラムに対応する。In general, p≧q, and multiple columns of Mi correspond to one column of Mi-1.
使用されるロウはブロックの使用状況に応じて異なる。The rows used differ depending on the usage status of the block.
x > y > zであり、MOの時は一般にq=i、
2=1と着像される。x > y > z, and in MO, generally q=i,
It is imaged as 2=1.
第3図は本発明の詳細な実ui例を示す記憶装置Mi制
御部の論理ブロック図である。FIG. 3 is a logical block diagram of the storage device Mi control section showing a detailed example of the actual UI of the present invention.
1は記憶装置Mi−1からのメモリ要求アドレス比較さ
れるメモリ要求アドレス・レジスタでアドレスはタグ・
アドレス部T、ライン・アドレス部り、ブロック・アド
レス部Bから成る。1 is the memory request address register to be compared with the memory request address from the storage device Mi-1, and the address is the tag.
It consists of an address section T, a line address section, and a block address section B.
2及び6はライン・アドレス・デコーダでそれぞれ3の
アドレス・テーブル、7のチェンジ・ビット・テーブル
のカラム対応のセレクト信号を出力する。Line address decoders 2 and 6 output select signals corresponding to the columns of address table 3 and change bit table 7, respectively.
3はアドレス・テープ・しでメモリ要求アドレスの上位
ビット即ちタグ・アドレスが<>録されており、Mi+
1とMiのチー′フ利応を表示するもので、本例では以
下の説明を容易にする′!5二め4カラム×20つの8
エントリからザシ:1.・kさ411、ている、4はア
ドレス・テーブルのロウ対応にあるアドレス比較回路で
アドレス・テーブルから1抗み出されたタグ・アドレス
とメモリ要求アドレスのタグ・アドレスを比較する。3 is an address tape where the upper bits of the memory request address, that is, the tag address are recorded, and Mi+
1 and Mi's chief response, and in this example, it facilitates the following explanation. 5 second 4 columns x 20 8
Zashi from entry: 1.・The address comparison circuit corresponding to the row of the address table compares the tag address extracted from the address table with the tag address of the memory request address.
5は4のアドレス比較の結果により各種の制御信号を出
力する制御回路で制御信号81,82等を出力する。Reference numeral 5 denotes a control circuit that outputs various control signals according to the result of the address comparison in step 4, and outputs control signals 81, 82, etc.
制御信号81、82はアドレス・テーブルのロウに対応
し、アドレス比較で一致した結果あるいはリプレース・
ロウ決定回路(図示せず)の結M7.(、(より81.
82のどちらか一方が“ 1“とされる。Control signals 81 and 82 correspond to the rows of the address table and indicate a match result of address comparison or replacement.
Connection of row determination circuit (not shown) M7. (, (from 81.
Either one of 82 is set to "1".
7はチェンジ・ビット・テーブルで3のアドレス・テー
ブルと同様に分割され本例では8エントリから成る。7 is a change bit table which is divided in the same way as the address table 3 and consists of 8 entries in this example.
8はチェンジ・ビット格納レジスタで7のチェンジ・ビ
ット・テーブルの選択された1エンl−IJの内容が格
納される。8 is a change bit storage register in which the contents of the selected 1-en l-IJ of the change bit table 7 are stored.
9は制御信号S1.S2を入力さするエンコーダでその
出力は10の対Miアドレス・レジスタの上位に格納さ
れロウ・アドレスを形成する。9 is a control signal S1. The encoder inputs S2 and its output is stored in the upper part of the 10 pair Mi address registers to form the row address.
10の対Miアドレス・レジスタはロウ・アドレス部、
ライン・アドレス部、ブロック・アドレス部から成り、
記憶装置Miのリファ・アドレスが格納される。The 10 paired Mi address registers are row address parts,
Consists of a line address section and a block address section.
The refer address of the storage device Mi is stored.
11は対Mi+1アドレス・レジスタでタグ・アドレス
部、ライン・アドレス部から成り、記憶装置Mi+1の
リファ・アドレスが格納される。Reference numeral 11 denotes a pair Mi+1 address register, which consists of a tag address field and a line address field, and stores the refer address of the storage device Mi+1.
12はブロック・アドレスのプラス1回路、でライン転
送時及びスワップ・アウト・データを16のスワップ・
アウト・データ記憶回路を格納する時のブロック・アド
レスのカウント・アップを行う。12 is a block address plus one circuit, and 16 swap out data during line transfer and swap out data.
Counts up the block address when storing the out data storage circuit.
13〜16は本発明を実施するための特徴的な論理回路
で、13のブロック・アドレス・レジスタは16のスワ
ップ・アウト・データ記憶回路の内容をMi+1に送出
するためのブロック・アドレスを格納する。13 to 16 are characteristic logic circuits for implementing the present invention, and the block address register 13 stores a block address for sending the contents of the 16 swap-out data storage circuits to Mi+1. .
14は13のブロック・アドレスのプラス1回路である
。14 is a plus one circuit for the block address of 13.
15はブロック・アドレス・デコーダでスワップ・アウ
ト・データ記憶回路のブロック対応のセレクト信号を出
力する。A block address decoder 15 outputs a select signal corresponding to a block of the swap-out data storage circuit.
16は記憶装置Miから読み出したスワップ・アウト・
データを記憶する回路である。16 is the swap out data read from the storage device Mi.
This is a circuit that stores data.
以下に記憶装置Mi−1からメモリ要求(リード又はス
トア)が発生した場合についてその動作を説明する。The operation when a memory request (read or store) is generated from the storage device Mi-1 will be described below.
記憶装置Mi−1からメモリ要求が発生すると100の
アドレス転送パス上に有効とされたメモリ要求アドレス
を1の要求アドレス・レジスタに格納する。When a memory request is generated from the storage device Mi-1, the memory request address that is valid on the address transfer path 100 is stored in the request address register 1.
Mi−1からのメモリ要求がストアの場合、この時点で
Mi−1に対してストア・データ受は付けの応答信号を
送出し、Mi−1のストア処理を終了させる。If the memory request from Mi-1 is for a store, at this point a response signal for accepting store data is sent to Mi-1, and the store processing of Mi-1 is ended.
1の要求アドレス・レジスタのライン・アドレス部はパ
ス102を通して2のカラム・アドレスデコーダに導か
れ3のアドレス・アレイの1カラムをリファする。The line address portion of request address register 1 is routed through path 102 to column address decoder 2 to refer to one column of address array 3.
今、カラムC2が選択されたとするとC2XR1に格納
されたタグ・アドレスAがパス104、C2XR2に格
納されたタグ・アドレスBがパス105を通して4のア
ドレス比較回路に入力される。If column C2 is selected now, tag address A stored in C2XR1 is input to the address comparison circuit 4 through path 104, and tag address B stored in C2XR2 is input through path 105.
4のアドレス比較回路のもう一方の入力は1のリファ要
求アドレス・レジスタのタグ・アドレスがパス101を
通して入力される。The tag address of the refer request address register 1 is inputted to the other input of the address comparison circuit 4 through a path 101.
アドレス比較の結果はパス106,107を通して5の
制御回路に入力され、5の制御回路はロウ1で一致した
時、信号線S1を11“とじ、ロウ2で一致した時信号
線S2を11“とする。The result of address comparison is input to the control circuit of No. 5 through paths 106 and 107, and the control circuit of No. 5 closes the signal line S1 to 11" when there is a match in row 1, and closes the signal line S2 to 11" when there is a match on row 2. shall be.
9 以下アドレス比較回路で一致が検出されなかった場
合の制御を記す。9 The following describes the control when no match is detected by the address comparison circuit.
なお、アドレス比較回路で一致が検出された場合の動作
は従来同様であるので説明を省略する。Note that the operation when a match is detected by the address comparison circuit is the same as the conventional one, and therefore a description thereof will be omitted.
5の制御回路は4のアドレス比較の結果が不−5致の時
、即ち、Mi−1からのメモリ要求エントリがMiに存
在しない時リプレースロウ決定回路(図示せず)を起動
し、リプレースすべきロウ番号を決定した後信号線81
.82の中のひとつを11“に印加する。The control circuit 5 activates a replacement row determining circuit (not shown) when the result of the address comparison 4 is a non-match, that is, the memory request entry from Mi-1 does not exist in Mi, and performs the replacement. After determining the desired row number, the signal line 81
.. One of 82 is applied to 11".
今ロウ1が選択され信号線ンS1が11“に付加される
と7のチェンジ・ビット・テーブルからチェンジ・ビッ
トaがバヌ108゜パス110を通してレジスタ8に格
納される。Now, when row 1 is selected and signal line S1 is added to 11'', change bit a from the change bit table 7 is stored in register 8 through the 108° path 110.
レジスタ8に格納されたチェンジ・ビットが11“か“
0“かによって以下の制御が異なるが、′0“゛の場合
の制御は、従来と同様なので説明を省略する。If the change bit stored in register 8 is 11" or "
The following control differs depending on whether the value is 0", but the control in the case of 0" is the same as the conventional one, so the explanation will be omitted.
レジスタ8に格納されたチェンジ・ビットが11 “の
時、1の要求アドレス・レジスタのタグ・アドレス部、
ライン・アドレス部及びブロック・アドレス部をそれぞ
れパス101.パス102及びパス103を通して、対
Mi+1アドレス・レジスタに格納し、該アドレスをパ
ス111上に有効とし記憶装置Mi+1に対してライン
転送要求を送出する。When the change bit stored in register 8 is 11", the tag address part of the request address register of 1,
The line address section and the block address section are respectively passed through 101. Through path 102 and path 103, it is stored in the pair Mi+1 address register, and the address is made valid on path 111 and a line transfer request is sent to storage device Mi+1.
ライン転送は要求ブロックから順に本例では4ブロツク
が転送される。In the line transfer, in this example, four blocks are transferred in order from the request block.
これと同時に10の対Miアドレス・レジスタにはパス
112を通してロウ・アドレスがパス102を通してラ
イン・アドレスが格納され、ブロック・アドレス部は1
1“が格納される。At the same time, the row address is stored in the 10 pair Mi address registers through the path 112, the line address is stored through the path 102, and the block address part is stored as 1.
1" is stored.
10の対Miアドレス・レジスタに格納された後パス1
13上に該アドレスが有効され記憶装置Miに読み出し
要求を出す。Pass 1 after being stored in the pair Mi address register of 10
13, and issues a read request to the storage device Mi.
Miの読み出しデータ・デプスは本例では1ブロツクで
ある。The read data depth of Mi is one block in this example.
10の対M1アドレスのブロック・アドレス部は、パス
114を通して15のブロック・アドレス・デコーダに
送られ16のスワップ・アウト・データ記憶回路のブロ
ック(81〜B4)をスレッドする。The block address portion of the 10 pair M1 addresses is sent over path 114 to the 15 block address decoders to thread the 16 swap out data storage circuit blocks (81-B4).
該セレクトされたブロックに記憶装置Miから読み出さ
れたデータがパス115を通して格納される。The data read from the storage device Mi is stored in the selected block through the path 115.
10の対Miアドレス・レジスタのブロック・アドレス
部は12の+1回路、パス116を通して1ブロツクが
16の記憶回路に格納される毎にカウント・アップされ
スワップ・アウトする1ラインのデータ(本例では1ラ
インは4ブロツクからなる。The block address portion of the 10 paired Mi address registers is 12 +1 circuits, and 1 line of data (in this example, counted up and swapped out every time 1 block is stored in 16 memory circuits through path 116). One line consists of four blocks.
)が、全て16の記憶回路に格納されるまで上記処理が
繰り返えされる。) are stored in all 16 memory circuits.
一般に階層記憶方式では、Mi+1のアクセスタイムに
比べてMiのアクセス・タイムは充分に小さいものが選
ばれる。Generally, in the hierarchical storage system, the access time of Mi is selected to be sufficiently smaller than the access time of Mi+1.
従って、Mi+1にライン転送要求を送出し。Mi+1
からデータが転送されて来るまでに上記スワップ・アウ
ト・データを16のスワップ・アウト・データ記憶回路
に格納する処理は終了する1スワツプ・アウト・データ
の格納が終了すると10の対Miアドレス・レジスタの
ブロック・アドレス部に1のメモリ要求アドレス・レジ
スタのブロック・アドレス部が、パス103を通してセ
ットされる。Therefore, a line transfer request is sent to Mi+1. Mi+1
The process of storing the swap-out data in the 16 swap-out data storage circuits is completed until the data is transferred from 1. When the storage of the swap-out data is completed, the 10 paired Mi address registers are The block address portion of the memory request address register of 1 is set through path 103 in the block address portion of the memory request address register.
他のビットは保持される。Mi+1に送出したライン転
送要求に対して、Mi+1からデータが転送されて来る
と、該ライン転送がMi−1からのストア要求により生
じたものである場合、転送された最初のブロックはMi
−1からのストア・データとマージ(図示せず)された
後、10の対Miアドレス・レジスタの内容がパス11
3上に有効され記憶装置Miへの書き込みを要求する。Other bits are retained. When data is transferred from Mi+1 in response to a line transfer request sent to Mi+1, if the line transfer was caused by a store request from Mi-1, the first block transferred is from Mi+1.
After being merged with the store data from path 11 (not shown), the contents of the pair Mi address register of 10
3 and requests writing to the storage device Mi.
残りのブロックは記憶装置Mi +1からの転送データ
がそのまま記憶装置Miに書き込まれる(図示せず)。For the remaining blocks, the transfer data from the storage device Mi+1 is written as is into the storage device Mi (not shown).
この時10の対Miアドレス・レレジスタのブロック・
アドレス部は12の+1回。At this time, the block of 10 Mi address registers
The address part is 12+1 times.
路、パス116を通して1ブロツクが転送される毎にカ
ウント・アップされる。The count is increased each time one block is transferred through the path 116.
また該ライン転送がMi−1からのリード要求により生
じたものである場合、転送された全てのブロックはその
まま記憶装置Miに書き込まれる。Further, if the line transfer is caused by a read request from Mi-1, all transferred blocks are written to the storage device Mi as they are.
そして、6のチェンジ・ビ゛ット・テーブルの該当エン
トリ(本例ではa)を′X□“にする。Then, the corresponding entry (a in this example) in change bit table 6 is set to 'X□''.
その後、Mi−1からのリード要求データを記憶装置M
iから読み出し、Mi−1に転送[7(図示せず)Mi
lのリード処理は終了する。Thereafter, the read request data from Mi-1 is transferred to the storage device M.
Read from i and transfer to Mi-1 [7 (not shown) Mi
The read process for l ends.
Miとしては、16のスワップ・アウト・データ記憶回
路に格納されたデータを記憶装置M i + 1にスフ
ニア′プ・アウトする処理が残っている。As for Mi, there remains a process of swapping out the data stored in the 16 swap-out data storage circuits to the storage device M i +1.
次この処理について説明する。Next, this process will be explained.
上記ライン転送終了後13のブロック・アドレス・レジ
スタを11“にセットする。After the above line transfer is completed, the block address register of 13 is set to 11".
これはパス116を通して15のブロック・アドレス・
レジスタに送られ16のスワップ・アウト・データ記;
憶回路のブロックがセレクトされそのブロック内のデー
タがパス117上に読み出される。This includes 15 block addresses through path 116.
16 swap out data records sent to registers;
A block of storage circuitry is selected and the data in that block is read out onto path 117.
これと同時に11の対Mi+1アドレス・レジスタのタ
グ・アドレス部には3のアドレス・テーブルの該当エン
トリ(本例で?:j:C2XRl)からのタグ・アドレ
スがパス104,113を通して格納されブロック・ア
ドレス部には13のスワップ・アウト・ブロック・アド
レス・レジスタがパス116を通して格納される。At the same time, the tag address from the corresponding entry in address table 3 (?:j:C2XRl in this example) is stored in the tag address field of pair Mi+1 address register 11 through paths 104 and 113, and the block Thirteen swap out block address registers are stored in the address portion through path 116.
ライン・アドレス部はそのまま保持される。The line address portion is retained.
スワップ・アウト・データがパス11上に読み出される
と、11の対Mi+1アドレス・レジスタに格納したア
ドレスを7Q111上に有効とし、パス117上のデー
タをストア・データとして記憶装置Mi+1にストア要
求を送出する。When the swap out data is read onto path 11, the address stored in the pair Mi+1 address register of 11 is made valid on 7Q111, and a store request is sent to storage device Mi+1 using the data on path 117 as store data. do.
13のブロック・アドレス・レジスタはパス116.1
4の+1回路、パス118を通して17鍔ツクのデータ
がストアされる毎にカウント・つ97プされ、スワップ
・アウト・データを全て記憶装置Mi+1にストアされ
るまで上記動作が繰り返えされる。13 block address registers pass 116.1
Each time 17 blocks of data are stored through the 4 +1 circuit and path 118, a count is increased 97, and the above operation is repeated until all swap-out data is stored in the storage device Mi+1.
記憶値ff1M i−1からのメモリ要求が1j−i−
’で、しかもこの要求によりスワップ・アウト動作を伴
なうライン転送が生じた場合、本発明ではライj/転送
後、記憶装置Mi+1スワップ・アウトを行な・)こと
を実現している。Memory request from memory value ff1M i-1 is 1j-i-
', and if this request causes a line transfer accompanied by a swap out operation, the present invention realizes that after the line transfer, the memory device Mi+1 is swapped out.
これは、従来のライン転送に先立って、スワップ・アウ
トする方法に比べ、Mi−1がメモリ要求(リード)を
出してから、リード・データがMi−1に到達するまで
の時間を約1/2に短縮することが出来るという効果が
ある。This reduces the time from when Mi-1 issues a memory request (read) until the read data reaches Mi-1 by approximately 1/2 compared to the conventional method of swapping out prior to line transfer. This has the effect of being able to shorten the time to 2.
Mi−1は中央処理装置により近い位置に存在するため
、この効果は中央処理装置の処理スピードに大きな影響
を与えることになる。Since Mi-1 is located closer to the central processing unit, this effect has a large impact on the processing speed of the central processing unit.
第1図はnレベル階層記憶方法を説明するための図、第
2図は第1図の詳細なブロック図、第3図は本発明の実
施例を示す。
1:要求アドレス・レジスタ、2;ライン・アドレス・
デコーダ、3;アドレス・テーブル、4;アドレス比較
回路、5;制御回路、6;ライン・アドレス・デコーダ
、7;チェンジ・ビット・テーブル、8;チェンジ・ビ
ット・レジスタ、9;エンコータ、10;対Miアドレ
ス・レジスタ、11;対Mi+1アドレスレジスタ、1
2;+1回路、13;ブロック・アドレス・レジスタ、
14 ;+1回路、15;ブロック・アドレス・デコー
ダ、16;スワップ・アウト・データ記憶回路。FIG. 1 is a diagram for explaining an n-level hierarchical storage method, FIG. 2 is a detailed block diagram of FIG. 1, and FIG. 3 shows an embodiment of the present invention. 1: Request address register, 2: Line address register
Decoder, 3; Address table, 4; Address comparison circuit, 5; Control circuit, 6; Line address decoder, 7; Change bit table, 8; Change bit register, 9; Encoder, 10; Mi address register, 11; versus Mi+1 address register, 1
2; +1 circuit, 13; block address register,
14; +1 circuit; 15; block address decoder; 16; swap-out data storage circuit.
Claims (1)
として格納している多重階層構成の記憶装置において、
スワップ・アウト・データを格納するスワップ・アウト
・データ記憶装置を設け、1配下位記憶装置に対してス
ワップ・アウトを伴なうメモリ要求が発生した場合、上
記上位記憶装置に転送要求を出すと共に下位記憶装置か
らのスワップ・アウト・データを上記スワップ・アウト
・データ記憶装置に格納し、上記転送要求に応じた上位
記憶装置から下位記憶装置への転送動作終了後、上記ス
ワップ・アウト・データ記憶装置のスワップ・アウト・
データを上位記憶装置に格納することを特徴とする制御
方式。1. In a storage device with a multi-layered configuration in which a lower storage device stores part of the data in an upper storage device as a copy,
A swap-out data storage device is provided to store swap-out data, and when a memory request that involves a swap out occurs for one lower storage device, a transfer request is issued to the upper storage device and The swap out data from the lower storage device is stored in the swap out data storage device, and after the transfer operation from the upper storage device to the lower storage device in response to the transfer request is completed, the swap out data storage is performed. Swap out a device
A control method characterized by storing data in an upper storage device.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP50114752A JPS5816262B2 (en) | 1975-09-25 | 1975-09-25 | Control method for multi-tier storage device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP50114752A JPS5816262B2 (en) | 1975-09-25 | 1975-09-25 | Control method for multi-tier storage device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS5239322A JPS5239322A (en) | 1977-03-26 |
| JPS5816262B2 true JPS5816262B2 (en) | 1983-03-30 |
Family
ID=14645780
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP50114752A Expired JPS5816262B2 (en) | 1975-09-25 | 1975-09-25 | Control method for multi-tier storage device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS5816262B2 (en) |
Family Cites Families (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS5324260B2 (en) * | 1973-08-15 | 1978-07-19 |
-
1975
- 1975-09-25 JP JP50114752A patent/JPS5816262B2/en not_active Expired
Also Published As
| Publication number | Publication date |
|---|---|
| JPS5239322A (en) | 1977-03-26 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US3967247A (en) | Storage interface unit | |
| US5752260A (en) | High-speed, multiple-port, interleaved cache with arbitration of multiple access addresses | |
| US4410944A (en) | Apparatus and method for maintaining cache memory integrity in a shared memory environment | |
| US3781812A (en) | Addressing system responsive to a transfer vector for accessing a memory | |
| US3245049A (en) | Means for correcting bad memory bits by bit address storage | |
| CA2127947C (en) | Fully scalable memory apparatus | |
| JPH01500377A (en) | Apparatus and method for providing a cache memory unit with write operations that utilize two system clock cycles | |
| EP0386719B1 (en) | Partial store control circuit | |
| JPS59188764A (en) | memory device | |
| JPS5816262B2 (en) | Control method for multi-tier storage device | |
| JPS6129024B2 (en) | ||
| US9430379B1 (en) | Dynamic random access memory controller | |
| JPH0210446A (en) | Buffer storage device | |
| JPS5925302B2 (en) | Control method for multi-tiered storage device | |
| JP3074897B2 (en) | Memory circuit | |
| JPH02136946A (en) | Cache memory control circuit | |
| JPS5841584B2 (en) | Multi-access memory method and memory chip for multi-access | |
| JPH03257643A (en) | Information processor | |
| JPS63266560A (en) | Buffer memory control method | |
| JPH01156847A (en) | Memory access processor | |
| JPS63143647A (en) | Multiplex hierarchy storing system | |
| JPS6235146B2 (en) | ||
| JPH0439099B2 (en) | ||
| JPH0421048A (en) | Cache memory device | |
| JPH04199243A (en) | Cache storage device |