JPH04340638A - Disk cache control system - Google Patents

Disk cache control system

Info

Publication number
JPH04340638A
JPH04340638A JP3141196A JP14119691A JPH04340638A JP H04340638 A JPH04340638 A JP H04340638A JP 3141196 A JP3141196 A JP 3141196A JP 14119691 A JP14119691 A JP 14119691A JP H04340638 A JPH04340638 A JP H04340638A
Authority
JP
Japan
Prior art keywords
instruction
disk
disk cache
data
cache control
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
JP3141196A
Other languages
Japanese (ja)
Inventor
Makoto Nakamura
中 村   真
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.)
Fujifilm Business Innovation Corp
Original Assignee
Fuji Xerox Co 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 Fuji Xerox Co Ltd filed Critical Fuji Xerox Co Ltd
Priority to JP3141196A priority Critical patent/JPH04340638A/en
Publication of JPH04340638A publication Critical patent/JPH04340638A/en
Pending legal-status Critical Current

Links

Landscapes

  • Memory System Of A Hierarchy Structure (AREA)

Abstract

PURPOSE:To shorten a wait time till the execution start of a following instruction in the case plural instructions exsist successively. CONSTITUTION:A disk cache controller 3 is provided with a link pointer monitor means 3-1 to discriminate whether the instruction held in a disk instruction indicating means 2-1 of a main storage device 2 has a following instruction or not. If it has a following instruction, a data transfer instruction outputted from the disk cache controller 3 to a disk device 5 is not accompanied with prefetch. But otherwise, it is accompanied with prefetch. Thus, data other than essential data required for execution of the current instruction is not transferred if this instruction has a following instruction, and the wait time till the execution start of the following instruction is minimum. Another instruction is prefetched in the case of the absence of any queued instructions to improve the following hit rate of a disk cache memory 4.

Description

【発明の詳細な説明】[Detailed description of the invention]

【0001】0001

【産業上の利用分野】本発明は、ディスク装置からディ
スクキャシュメモリにデータを読み出すに際し、実行す
べき命令が複数個連続している場合、後続命令の実行開
始までの待ち時間を短縮するディスクキャシュ制御方式
に関するものである。
[Industrial Application Field] The present invention provides a disk cache memory that reduces the waiting time until the start of execution of a subsequent instruction when there are multiple instructions to be executed in succession when reading data from a disk device to a disk cache memory. This concerns the control method.

【0002】0002

【従来の技術】図5に、従来のディスクキャシュ制御方
式を適用した計算機システムを示す。図5において、1
はCPU(中央演算処理装置)、2は主記憶装置、2−
1はディスク命令指示手段、3はディスクキャシュ制御
装置、4はディスクキャシュメモリ、5はディスク装置
である。主記憶装置2,ディスクキャシュメモリ4はD
RAM(ダイナミック・ランダム・アクセス・メモリ)
で構成される。
2. Description of the Related Art FIG. 5 shows a computer system to which a conventional disk cache control method is applied. In Figure 5, 1
is the CPU (central processing unit), 2 is the main memory, 2-
1 is a disk command instruction means, 3 is a disk cache control device, 4 is a disk cache memory, and 5 is a disk device. The main storage device 2 and disk cache memory 4 are D
RAM (dynamic random access memory)
Consists of.

【0003】CPU1が処理を行うに際して必要とする
データは、ディスク装置5から提供される。しかし、デ
ィスクキャシュメモリ4が設けられていて、ディスク装
置5のデータの一部は、そこにコピーされている。処理
に必要なデータを読み出す命令はCPU1より出される
が、それは、主記憶装置2のディスク命令指示手段2−
1に保持せしめられ、順次実行に移される。
[0003] Data necessary for the CPU 1 to perform processing is provided from a disk device 5. However, a disk cache memory 4 is provided, and part of the data in the disk device 5 is copied thereto. A command to read data necessary for processing is issued by the CPU 1, but it is issued by the disk command instruction means 2- of the main storage device 2.
It is held at 1 and executed sequentially.

【0004】図2は、ディスク命令指示手段2−1にお
ける命令保持状態の種類を示す図である。図2において
、6はキューヘッド、7〜9は命令、Pはリンクポイン
タである。ディスク命令指示手段2−1は、「命令」を
待ち行列の形で複数個保持することが出来る手段であり
、キューとも言われる。
FIG. 2 is a diagram showing the types of instruction holding states in the disk instruction instruction means 2-1. In FIG. 2, 6 is a queue head, 7 to 9 are instructions, and P is a link pointer. The disk command instruction means 2-1 is a means capable of holding a plurality of "commands" in the form of a queue, and is also called a queue.

【0005】キューヘッド6は、キューの先頭部分を示
す。実行すべき命令は、キューヘッド6の後に、実行す
べき順序で保持される。キューヘッド6およびそれに連
なる命令7等は、次に連なる命令の所在アドレスを示す
リンクポインタPを保有している。
[0005] A queue head 6 indicates the head portion of the queue. Instructions to be executed are held after the queue head 6 in the order in which they are to be executed. The queue head 6 and the instructions 7 and the like connected thereto have a link pointer P indicating the location address of the next consecutive instruction.

【0006】図2(イ)は、実行すべき命令が、CPU
1より既に3つ発せられている状態を示している。最初
に実行すべき命令7のリンクポインタPは、次に実行す
べき命令8の所在アドレスを示している。命令8のリン
クポインタPは、命令9の所在アドレスを示している。 次に実行すべき命令が未だ発せられていない場合には、
その前の命令中のリンクポインタPは、通常「0」(n
il, 無) とされる。この「0」は、次には命令が
無いということを意味する。従って、図2(イ)の命令
9のリンクポインタPは、nil となっている。
FIG. 2(a) shows that the instruction to be executed is
This shows a state in which 3 messages have already been emitted from 1. The link pointer P of the instruction 7 to be executed first indicates the location address of the instruction 8 to be executed next. The link pointer P of instruction 8 indicates the location address of instruction 9. If the next command to be executed has not yet been issued,
The link pointer P in the previous instruction is usually “0” (n
il, nil). This "0" means that there is no next instruction. Therefore, the link pointer P of instruction 9 in FIG. 2(a) is nil.

【0007】図2(ロ)は、CPU1より発せられてい
る命令が1つの場合を示しており、図2(ハ)は、発せ
られている命令が今のところ無い場合、つまりキューヘ
ッド6がnil である場合を示している。
FIG. 2(B) shows a case where there is one command issued by the CPU 1, and FIG. 2(C) shows a case where there is no command issued at the moment, that is, when the queue head 6 is The case where it is nil is shown.

【0008】ディスク命令指示手段2−1に保持されて
いる命令に従って、ディスクキャシュメモリ4あるいは
ディスク装置5より、目的とするデータを主記憶装置2
に転送する際の制御は、ディスクキャシュ制御装置3に
よって行われる。次に、その動作を説明する。
According to the command held in the disk command instruction means 2-1, the target data is transferred from the disk cache memory 4 or the disk device 5 to the main storage device 2.
The disk cache control device 3 controls the transfer to the disk cache controller 3. Next, its operation will be explained.

【0009】図6は、従来のディスクキャシュ制御方式
での動作を説明するフローチャートである。以下の説明
における項番■〜■は、図6のステップ■〜■に対応し
ている。
FIG. 6 is a flowchart illustrating the operation of the conventional disk cache control method. Item numbers ■ to ■ in the following description correspond to steps ■ to ■ in FIG. 6 .

【0010】■ディスク命令指示手段2−1のキューヘ
ッド6が、nil であるかどうかをチェックする。n
il であれば、つまり図2(ハ)の場合のように命令
が1つも無ければ、処理の流れはエンドに進む。■キュ
ーヘッド6がnil でなければ、その命令に従い、ま
ずディスクキャシュメモリ4の中に、求めているデータ
が有るかどうか調べる。つまり、ディスクキャシュメモ
リ4において、ヒットしたかどうかを調べる。
(2) Check whether the queue head 6 of the disk command instruction means 2-1 is nil. n
If il, that is, if there is no instruction as in the case of FIG. 2(c), the flow of processing proceeds to the end. (2) If the queue head 6 is not nil, follow the instruction and first check whether the desired data exists in the disk cache memory 4. That is, the disk cache memory 4 is checked to see if there is a hit.

【0011】■ヒットした場合には、そのデータをディ
スクキャシュメモリ4から主記憶装置2へ転送する。■
ヒットしなかった場合には、ディスク装置5から取り寄
せなければならないので、それを行う命令をディスクキ
ャシュ制御装置3が出す。その命令は、プリフェッチす
る命令とされる。プリフェッチする命令とは、今直ぐに
必要としているデータの外に、そのうちに必要とするで
あろうデータをも含めて取り寄せるという命令である。 このようなプリフェッチ命令が出される理由は、直ぐに
必要なデータ以外のデータもついでに取り寄せておくと
、後にディスクキャシュメモリ4でヒットする確率を、
高くすることが出来るからである。
(2) If there is a hit, the data is transferred from the disk cache memory 4 to the main storage device 2. ■
If there is no hit, the data must be retrieved from the disk device 5, so the disk cache control device 3 issues a command to do so. The instruction is assumed to be a prefetch instruction. An instruction to prefetch is an instruction to order not only data that is needed immediately but also data that will be needed later. The reason why such a prefetch command is issued is that if data other than the data that is needed immediately is also ordered, the probability of a hit later in the disk cache memory 4 is reduced.
This is because it can be made higher.

【0012】図4は、プリフェッチする場合としない場
合のデータを説明する図である。Aは、今直ぐに必要と
されているデータであり、Bは、ついでに取り寄せよう
としているデータであるとする。図4(イ)は、プリフ
ェッチしない場合であり、ディスク装置5よりデータを
取り寄せる場合、データAのみしか取り寄せない。図4
(ロ)はプリフェッチする場合であり、データAの外に
Bをも取り寄せる。
FIG. 4 is a diagram illustrating data with and without prefetching. Assume that A is data that is needed immediately, and B is data that is about to be ordered. FIG. 4A shows a case where prefetching is not performed, and when data is requested from the disk device 5, only data A is requested. Figure 4
(b) is a case of prefetching, in which data B is also ordered in addition to data A.

【0013】■データの転送を実行する。従来はプリフ
ェッチしているから、図4の例に従えば、ディスク装置
5内にあるデータAとデータBとが、ディスクキャシュ
メモリ4へ転送される。そして、今直ぐに必要とされる
データAは、ディスクキャシュメモリ4から主記憶装置
2へ転送される。
[0013] ■ Execute data transfer. Conventionally, prefetching is performed, so according to the example of FIG. 4, data A and data B in the disk device 5 are transferred to the disk cache memory 4. Then, the data A that is needed immediately is transferred from the disk cache memory 4 to the main storage device 2.

【0014】しかし、このようなディスクキャシュ制御
方式では、ディスク命令指示手段2−1に複数個の命令
が保持されている場合、次の命令を実行するまでの待ち
時間が、以下に述べるような理由により、必要以上に長
くなってしまうという欠点がある。
However, in such a disk cache control system, when a plurality of instructions are held in the disk instruction instruction means 2-1, the waiting time until the next instruction is executed is as described below. For some reason, it has the disadvantage of being longer than necessary.

【0015】即ち、前記したディスクキャシュ制御方式
では、命令を実行する場合、どのような時でもディスク
キャシュ制御装置3は、ディスク装置5にプリフェッチ
する命令を出していた。そのため、図2(イ)のように
、CPU1より複数個の命令が発せられている場合、命
令8の実行が開始されるのは、命令7で是非とも必要と
されるデータ(A)と当面必要ではないが取り寄せてお
くデータ(B)との両方を転送し終えた後である。
That is, in the disk cache control system described above, whenever an instruction is executed, the disk cache control device 3 issues a prefetch instruction to the disk device 5. Therefore, as shown in FIG. 2(a), when multiple instructions are issued from the CPU 1, execution of instruction 8 starts with the data (A) that is absolutely needed by instruction 7. This is after the transfer of both data (B), which is not necessary but is to be ordered, is completed.

【0016】データ(A)の転送に要する時間待たされ
るのは止むを得ないが、今直ぐ必要ではないデータ(B
)の転送に要する時間待たされるのは、次に待機してい
る命令8にしてみれば、不要不急のデータ転送のために
待たされるということであり、必要以上に長い待ち時間
を強いられていることになる。
It is unavoidable to have to wait for the time required to transfer data (A), but data (B) that is not needed right away is unavoidable.
) is forced to wait for the next waiting instruction 8 to transfer unnecessary data, and is forced to wait longer than necessary. There will be.

【0017】そこで、この待ち時間の増大をなくすため
、従来、種々の提案がなされている。例えば、プリフェ
ッチの途中で次の命令に対応するようにした特開昭60
−101654号公報,特開昭61−75942 号公
報,特開昭62−243044号公報の外、特開昭60
−163146号公報,特開昭63− 5447 号公
報,特開昭63−284651号公報,特開昭63−7
5950 号公報,特開平 1−70844 号公報,
特開平 1−144141号公報等がある。
[0017] Therefore, in order to eliminate this increase in waiting time, various proposals have been made in the past. For example, in Japanese Patent Application Laid-open No. 60 (1986), it was designed to respond to the next instruction in the middle of prefetching.
In addition to JP-A-101654, JP-A-61-75942, JP-A-62-243044, JP-A-60
-163146, JP 63-5447, JP 63-284651, JP 63-7
No. 5950, Japanese Unexamined Patent Publication No. 1-70844,
There are Japanese Patent Application Laid-Open No. 1-144141, etc.

【0018】[0018]

【発明が解決しようとする課題】しかしながら、上記の
各提案では、プログラムやハードウェアが非常に複雑に
なってしまうという問題点があった。そこで本発明では
、極めて簡便な手段により、後続命令の待ち時間の増大
を防止することを課題とするものである。
[Problems to be Solved by the Invention] However, each of the above proposals has a problem in that the programs and hardware become extremely complicated. Therefore, it is an object of the present invention to prevent an increase in the waiting time of subsequent instructions using extremely simple means.

【0019】[0019]

【課題を解決するための手段】前記課題を解決するため
、本発明のディスクキャシュ制御方式では、主記憶装置
,ディスク装置,および該主記憶装置と該ディスク装置
との間に設けられたディスクキャシュメモリ間でのデー
タ転送を制御するディスクキャシュ制御装置内に、実行
しようとしている命令のリンクポインタがnil であ
るか否かを判別するリンクポインタ監視手段を設け、前
記ディスクキャシュ制御装置から前記ディスク装置に出
すデータ転送命令を、前記リンクポインタがnil で
ある時はプリフェッチする命令とし、nil でない時
はプリフェッチしない命令とすることとした。
[Means for Solving the Problems] In order to solve the above problems, the disk cache control method of the present invention includes a main storage device, a disk device, and a disk cache provided between the main storage device and the disk device. A link pointer monitoring means for determining whether a link pointer of an instruction to be executed is nil is provided in a disk cache control device that controls data transfer between memories, and link pointer monitoring means for determining whether a link pointer of an instruction to be executed is nil is provided, When the link pointer is nil, the data transfer instruction to be issued is an instruction to prefetch, and when it is not nil, it is an instruction not to prefetch.

【0020】[0020]

【作    用】主記憶装置のディスク命令指示手段に
保持されている命令に後続命令がある時には、ディスク
キャシュ制御装置からディスク装置へ出すデータ転送命
令を、プリフェッチしない命令とする。一方、後続命令
が存在しない時には、プリフェッチする命令とする。
[Operation] When there is a subsequent instruction to the instruction held in the disk instruction instruction means of the main storage device, the data transfer instruction issued from the disk cache control device to the disk device is set as a non-prefetch instruction. On the other hand, when there is no subsequent instruction, the instruction is prefetched.

【0021】こうすることにより、後続命令がある時に
は、今の命令の実行に必要不可欠なデータ以外の転送は
行われないから、後続命令の実行開始が出来るまでの待
ち時間は最小となる。また、待機している命令が無い時
には、プリフェッチをすることにより、ディスクキャシ
ュメモリでの以後のヒット率を向上させることが出来る
[0021] By doing this, when there is a subsequent instruction, no data other than data essential for the execution of the current instruction is transferred, so that the waiting time until the execution of the subsequent instruction can be started is minimized. Further, when there is no waiting instruction, prefetching can improve the subsequent hit rate in the disk cache memory.

【0022】[0022]

【実施例】以下、本発明の実施例を図面に基づいて詳細
に説明する。図1は、本発明のディスクキャシュ制御方
式を適用した計算機システムである。符号は図5のもの
に対応し、3−1はリンクポインタ監視手段である。図
5と対応するものは、同様の動作をするので、それらに
ついての説明は省略する。リンクポインタ監視手段3−
1は、ディスク命令指示手段2−1の命令の中に含まれ
ているリンクポインタPの内容を見て、後続する命令が
有るか否かを判別する手段である。
Embodiments Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings. FIG. 1 shows a computer system to which the disk cache control method of the present invention is applied. Reference numerals correspond to those in FIG. 5, and 3-1 is a link pointer monitoring means. Those corresponding to those shown in FIG. 5 operate in the same way, so a description thereof will be omitted. Link pointer monitoring means 3-
Reference numeral 1 denotes means for checking the contents of the link pointer P included in the instruction of the disk instruction instruction means 2-1 and determining whether there is a subsequent instruction.

【0023】図5の従来例と異なる点は、ディスクキャ
シュ制御装置3にリンクポインタ監視手段3−1を設け
、後続する命令があるか否かによりプリフェッチするか
否かを使い分けた点にある。
The difference from the conventional example shown in FIG. 5 is that a link pointer monitoring means 3-1 is provided in the disk cache control device 3, and it is used to determine whether or not to prefetch depending on whether there is a subsequent instruction.

【0024】図3は、本発明のディスクキャシュ制御方
式での動作を説明するフローチャートである。以下の説
明における項番■〜■は、図3のステップ■〜■に対応
している。■ディスク命令指示手段2−1のキューヘッ
ド6は、nilかどうかをチェックする。nil であ
れば、つまり図2(ハ)の場合のように命令が1つも無
ければ、処理の流れはエンドに進む。■キューヘッド6
がnil でなければ、その命令に従い、まずディスク
キャシュメモリ4の中に、求めているデータが有るかど
うか調べる。つまり、ディスクキャシュメモリ4におい
て、ヒットしたかどうかを調べる。■ヒットした場合に
は、そのデータをディスクキャシュメモリ4から主記憶
装置2へ転送する。
FIG. 3 is a flowchart illustrating the operation of the disk cache control method of the present invention. Item numbers ■ to ■ in the following explanation correspond to steps ■ to ■ in FIG. 3 . (2) The queue head 6 of the disk command instruction means 2-1 checks whether it is nil. If nil, that is, if there is no instruction as in the case of FIG. 2(c), the flow of processing proceeds to the end. ■Cue head 6
If is not nil, it is first checked to see if the desired data exists in the disk cache memory 4 according to that instruction. That is, the disk cache memory 4 is checked to see if there is a hit. (2) If there is a hit, the data is transferred from the disk cache memory 4 to the main storage device 2.

【0025】■ディスク命令指示手段2−1内に、今実
行しようとしている命令の次に、別の命令が待機してい
るか調べる。これは、リンクポインタ監視手段3−1に
よって調べられる。例えば、ディスク命令指示手段2−
1の状態が図2(ロ)のようになっている場合には、今
実行しようとしている命令7の後には後続命令がないか
ら、命令7のリンクポインタPはnil を示している
筈である。このnil を見ることによって、後続命令
なしと判断する。一方、図2(イ)のようになっている
場合には、命令7の後には命令8があるから、命令7の
リンクポインタPはnilではなく、命令8の所在アド
レスを示している筈である。この場合には、nil で
ないことを見て後続命令ありと判断する。
(2) Check whether another instruction is waiting in the disk instruction instruction means 2-1 after the instruction that is about to be executed. This is checked by the link pointer monitoring means 3-1. For example, disk command instruction means 2-
If the state of instruction 1 is as shown in Figure 2 (b), there is no subsequent instruction after instruction 7, which is about to be executed, so the link pointer P of instruction 7 should indicate nil. . By checking this nil, it is determined that there is no subsequent instruction. On the other hand, in the case shown in FIG. 2(a), there is instruction 8 after instruction 7, so the link pointer P of instruction 7 should indicate the location address of instruction 8, not nil. be. In this case, it is determined that there is a subsequent instruction by checking that it is not nil.

【0026】■後続命令がある場合には、ディスク装置
5からデータを取り出すための命令として、ディスクキ
ャシュ制御装置3から、プリフェッチしない命令を出す
。即ち、今是非とも必要なデータ(図4のデータA)の
みを取り出すという命令を出し、やがて必要とするであ
ろうと思われるデータをも含めたデータ(図4のデータ
A+B)を取り出すという命令を出すことはしない。 こうすることにより、データを転送する時間が短くなり
(データBを転送するに要する時間だけ短くなる)、今
の命令を終了するまでの時間が短くなり、次の命令に早
く取りかかることが出来るようになる。即ち、次の命令
の待ち時間が短くなる。
(2) If there is a subsequent instruction, the disk cache control device 3 issues a non-prefetch instruction as an instruction to retrieve data from the disk device 5. In other words, it issues a command to retrieve only the data that is absolutely necessary now (data A in Figure 4), and it also issues a command to retrieve data that includes data that will be needed in the future (data A+B in Figure 4). I won't release it. By doing this, the time to transfer data is shortened (the time required to transfer data B is shortened), the time required to complete the current command is shortened, and the next command can be started quickly. become. That is, the waiting time for the next command is shortened.

【0027】■後続命令が無い場合には、ディスク装置
5からデータを取り出すための命令として、ディスクキ
ャシュ制御装置3はプリフェッチする命令を出す。この
場合には、次に待機している命令が無いから、プリフェ
ッチしても後続命令の実行を遅らせるというような問題
は生じない。プリフェッチすれば、やがて使うであろう
データをもディスクキャシュメモリ4に転送されるわけ
であるから、ディスクキャシュメモリ4での以後のヒッ
ト率が向上される。
(2) If there is no subsequent instruction, the disk cache control device 3 issues a prefetch instruction as an instruction to retrieve data from the disk device 5. In this case, since there is no next instruction waiting, prefetching does not cause problems such as delaying the execution of subsequent instructions. If prefetching is performed, data that will be used soon will also be transferred to the disk cache memory 4, so that the subsequent hit rate in the disk cache memory 4 will be improved.

【0028】■データの転送を実行する。プリフェッチ
しない場合は、図4の例に従えば、ディスク装置5内に
あるデータAだけがディスクキャシュメモリ4に転送さ
れ、更に主記憶装置2へ転送される。プリフェッチする
場合は、ディスク装置5内にあるデータAとデータBと
が、ディスクキャシュメモリ4へ転送される。そして、
今直ぐに必要とされるデータAは、ディスクキャシュメ
モリ4から主記憶装置2へ転送される。
■ Execute data transfer. If prefetching is not performed, according to the example of FIG. 4, only data A in the disk device 5 is transferred to the disk cache memory 4 and further transferred to the main storage device 2. In the case of prefetching, data A and data B in the disk device 5 are transferred to the disk cache memory 4. and,
Data A that is needed immediately is transferred from the disk cache memory 4 to the main storage device 2.

【0029】[0029]

【発明の効果】以上述べた如く、本発明のディスクキャ
シュ制御方式によれば、主記憶装置のディスク命令指示
手段に保持されている命令に、■後続命令がある時には
、ディスクキャシュ制御装置からディスク装置へ出すデ
ータ転送命令を、プリフェッチしない命令とし、■後続
命令が存在しない時には、プリフェッチする命令とする
As described above, according to the disk cache control system of the present invention, when there is a subsequent instruction to the instruction held in the disk instruction instruction means of the main storage device, the disk cache control device The data transfer instruction issued to the device is an instruction that does not prefetch, and (2) when there is no subsequent instruction, it is an instruction that prefetch.

【0030】そのため、後続命令がある時には、今の命
令の実行に必要不可欠なデータ以外の転送は行われない
から、後続命令の実行開始が出来るまでの待ち時間は最
小となる。また、待機している命令が無い時には、プリ
フェッチをすることにより、ディスクキャシュメモリで
の以後のヒット率を向上させることが出来る。
Therefore, when there is a subsequent instruction, no data other than data essential for the execution of the current instruction is transferred, so the waiting time until the execution of the subsequent instruction can be started is minimized. Further, when there is no waiting instruction, prefetching can improve the subsequent hit rate in the disk cache memory.

【0031】また、本発明は、ディスクキャシュ制御装
置に設けたリンクポインタ監視手段により、単にリンク
ポインタがnil であるか否かを監視するだけで実現
できるので、従来の待ち時間短縮技術(例、特開昭62
−243044号公報の技術)に比べて、極めて簡便な
ものとなる。
Furthermore, the present invention can be realized by simply monitoring whether or not the link pointer is nil using the link pointer monitoring means provided in the disk cache control device. Unexamined Japanese Patent Publication 1986
This method is extremely simple compared to the technique disclosed in Japanese Patent Publication No. 243044).

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

【図1】  本発明のディスクキャシュ制御方式を適用
した計算機システム
[Figure 1] Computer system applying the disk cache control method of the present invention

【図2】  ディスク命令指示手段における命令保持状
態の種類を示す図
[Figure 2] Diagram showing types of instruction holding states in the disk instruction instruction means

【図3】  本発明のディスクキャシュ制御方式での動
作を説明するフローチャート
[Figure 3] Flowchart explaining the operation of the disk cache control method of the present invention

【図4】  プリフェッチする場合としない場合のデー
タを説明する図
[Figure 4] Diagram explaining data when prefetching and not prefetching

【図5】  従来のディスクキャシュ制御方式を適用し
た計算機システム
[Figure 5] Computer system applying conventional disk cache control method

【図6】  従来のディスクキャシュ制御方式での動作
を説明するフローチャート
[Figure 6] Flowchart explaining operations in the conventional disk cache control method

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

1…CPU、2…主記憶装置、2−1…ディスク命令指
示手段、3…ディスクキャシュ制御装置、3−1…リン
クポインタ監視手段、4…ディスクキャシュメモリ、5
…ディスク装置、6…キューヘッド、7〜9…命令、P
…リンクポインタ
DESCRIPTION OF SYMBOLS 1...CPU, 2...Main storage device, 2-1...Disk command instruction means, 3...Disk cache control device, 3-1...Link pointer monitoring means, 4...Disk cache memory, 5
...Disk device, 6...Cue head, 7-9...Instruction, P
…link pointer

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】  主記憶装置,ディスク装置,および該
主記憶装置と該ディスク装置との間に設けられたディス
クキャシュメモリ間でのデータ転送を制御するディスク
キャシュ制御装置内に、実行しようとしている命令のリ
ンクポインタがnil であるか否かを判別するリンク
ポインタ監視手段を設け、前記ディスクキャシュ制御装
置から前記ディスク装置に出すデータ転送命令を、前記
リンクポインタがnil である時はプリフェッチする
命令とし、nil でない時はプリフェッチしない命令
としたことを特徴とするディスクキャシュ制御方式。
Claim 1: A program to be executed in a disk cache control device that controls data transfer between a main storage device, a disk device, and a disk cache memory provided between the main storage device and the disk device. A link pointer monitoring means for determining whether a link pointer of an instruction is nil is provided, and a data transfer instruction issued from the disk cache control device to the disk device is treated as a prefetch instruction when the link pointer is nil. , a disk cache control method characterized in that an instruction is not prefetched when it is not nil.
JP3141196A 1991-05-17 1991-05-17 Disk cache control system Pending JPH04340638A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3141196A JPH04340638A (en) 1991-05-17 1991-05-17 Disk cache control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3141196A JPH04340638A (en) 1991-05-17 1991-05-17 Disk cache control system

Publications (1)

Publication Number Publication Date
JPH04340638A true JPH04340638A (en) 1992-11-27

Family

ID=15286392

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3141196A Pending JPH04340638A (en) 1991-05-17 1991-05-17 Disk cache control system

Country Status (1)

Country Link
JP (1) JPH04340638A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE19509203B4 (en) * 1993-10-07 2004-06-17 Mitsubishi Denki K.K. Semiconductor device with a multilayer interconnect structure and method of manufacturing the same

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE19509203B4 (en) * 1993-10-07 2004-06-17 Mitsubishi Denki K.K. Semiconductor device with a multilayer interconnect structure and method of manufacturing the same

Similar Documents

Publication Publication Date Title
US6374327B2 (en) Method of data migration
US5265236A (en) Method and apparatus for increasing the speed of memory access in a virtual memory system having fast page mode
JP3183993B2 (en) Disk control system
US7047401B2 (en) Handling interrupts during multiple access program instructions
US20030079089A1 (en) Programmable data prefetch pacing
US6658537B2 (en) DMA driven processor cache
US6880057B1 (en) Split write data processing mechanism for memory controllers utilizing inactive periods during write data processing for other transactions
US20080184010A1 (en) Method and apparatus for controlling instruction cache prefetch
US5715425A (en) Apparatus and method for prefetching data into an external cache
US7007137B2 (en) Method and architecture capable of accessing data and instructions using store and forward
JPH04340638A (en) Disk cache control system
JP2001513933A (en) Additional registers to minimize CPU idle cycles during cache refill
EP0488566A2 (en) Method and apparatus for fast page mode selection
JP3111052B2 (en) Method and system for supplying data to a bus connected to a plurality of processors
US20060224832A1 (en) System and method for performing a prefetch operation
JP2851777B2 (en) Bus control method and information processing device
JPH02287828A (en) Prefetch control system
JP2786886B2 (en) Prefetch control method and prefetch control device
JPH08161226A (en) Data look-ahead control method, cache controller and data processor
JPH08314803A (en) Disk cache controller
JPH06324861A (en) System and method for controlling cpu
JP3251148B2 (en) Pipeline data processing device
JPH05257807A (en) Cache memory controller
JPH05257859A (en) Information processor
JPH08286914A (en) Memory controller