JPS63148349A - Cache memory positioning system - Google Patents

Cache memory positioning system

Info

Publication number
JPS63148349A
JPS63148349A JP61296372A JP29637286A JPS63148349A JP S63148349 A JPS63148349 A JP S63148349A JP 61296372 A JP61296372 A JP 61296372A JP 29637286 A JP29637286 A JP 29637286A JP S63148349 A JPS63148349 A JP S63148349A
Authority
JP
Japan
Prior art keywords
address
sector
track
cache memory
sector value
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.)
Granted
Application number
JP61296372A
Other languages
Japanese (ja)
Other versions
JPH0644248B2 (en
Inventor
Satoru Kaneko
悟 金子
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP61296372A priority Critical patent/JPH0644248B2/en
Publication of JPS63148349A publication Critical patent/JPS63148349A/en
Publication of JPH0644248B2 publication Critical patent/JPH0644248B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PURPOSE:To perform the positioning of an address corresponding to a designated sector in a short time, by making a pair of the sector value of a track on a magnetic disk and the address on a cache memory corresponding to the sector value, and storing it at every access. CONSTITUTION:When a set sector command is supplied, its sector value St is stored in the register 41 of a data memory 4. Next, the sector value (m) and a memory address P at a preceding access time are read out from the prefix part of the track corresponding to the St of the cache memory 1, and are set at registers 42 and 43 respectively. And the St is compared with the (m) at an arithmetic circuit 7 and a decision circuit 8, and by setting the P when it is St>=m, and the leading record address of each track when it is St<m, as the start point of address calculation corresponding to the St, and finding the sector value from each record in order, the positioning of the address on the cache memory 1 corresponding to the St is performed.

Description

【発明の詳細な説明】 〔概要〕 磁気ディスクのディスクキャッシュに対し、磁気ディス
クの指定セクタ値が与えられ、これに対応するディスク
キャッシュ上のアドレス位置を求める際に、前回のアク
セス時に得られたセクタ値とそれに対応するアドレスの
組にした情報を用い。
[Detailed Description of the Invention] [Summary] When a specified sector value of a magnetic disk is given to a disk cache of a magnetic disk, and when finding the corresponding address position on the disk cache, Using information in pairs of sector values and their corresponding addresses.

今回の指定セクタ値と前回のセクタ値の大、小関係に応
じて、今回のアドレス計算の開始点となるレコードのア
ドレスを定めることにより、アドレスの位置づけ時間を
短縮化する。
By determining the address of the record that is the starting point of the current address calculation according to the magnitude relationship between the current specified sector value and the previous sector value, the time for locating the address is shortened.

〔産業上の利用分野〕[Industrial application field]

本発明は計算機に用いられる磁気ディスクのディスクキ
ャッシュに関するものであり、特にセクタ値に対応する
キャッシュメモリの位置づけ方式〔従来の技術〕 従来の可変長記録形式の磁気ディスク上の成るトラック
の記録状態とそのトラックに対応するディスクキャッシ
ュメモリ上の記憶状態とを第4図(al、 (b)に示
す。
The present invention relates to a disk cache of a magnetic disk used in a computer, and particularly relates to a cache memory positioning method corresponding to sector values [prior art]. The storage state on the disk cache memory corresponding to the track is shown in FIGS. 4(al) and 4(b).

第4図(a)において、磁気ディスクのトラックは。In FIG. 4(a), the tracks of the magnetic disk.

インデックスマーク位置を始点として一定区域(語長)
のセクタに区切られ、各セクタにはセクタ値(番号)が
付され、トラック上には、ホームアドレス部HAに続い
て、カウント部Cとデータ部りよりなるレコードRO,
R1,R2・・・が記録される。
A certain area (word length) starting from the index mark position
Each sector is given a sector value (number), and on the track, following the home address section HA, there are records RO, which consist of a count section C and a data section.
R1, R2... are recorded.

第4図(alに示すように、可変長記録形式によればデ
ータ長が可変であるため、セクタ値に対し各一方、この
磁気ディスクのトラックに対応するディスクキャッシュ
のメモリの記憶状態は、第4図(b)に示すように、磁
気ディスクの記録において必ず設けられている記録ギャ
ップG(第4図(alが削除されて、各レコードがメモ
リの連続したアドレス位置に間隙なく順次記憶されてい
る。
As shown in FIG. 4 (al), since the data length is variable according to the variable length recording format, the storage state of the disk cache memory corresponding to the track of this magnetic disk is As shown in Figure 4 (b), the recording gap G (Figure 4 (al) is deleted and each record is stored sequentially at consecutive address positions in the memory without any gaps), which is always provided in magnetic disk recording. There is.

このディスクキャッシュメモリに記録されているトラッ
クのレコードに対し、CPUからのアクセスとして、セ
ントセクタ(Set  5ector )コマンドがあ
る。
There is a cent sector (Set 5ector) command as an access from the CPU to the record of the track recorded in this disk cache memory.

このコマンドは、磁気ディスクの特定のトラック上のセ
クタ値が指定されて与えられるもので。
This command is given by specifying the sector value on a specific track on the magnetic disk.

従来のディスクキャッシュ制御装置では、このコマンド
を実行する場合、当該トラックのディスクキャッシュメ
モリ上の先頭アドレス(HAの記憶位置)がテーブル等
により得られているので、その先頭アドレスと先頭のセ
クタ値0から、指定セクタ値に対応するメモリアドレス
を求める。
In a conventional disk cache control device, when executing this command, since the start address (HA storage location) of the track in the disk cache memory is obtained from a table, etc., the start address and the start sector value 0 are used. Find the memory address corresponding to the specified sector value.

そのために従来は、メモリ、の先頭位置アドレスから一
定語長(HAO語長)の後のアドレス位置のメモリを読
み出すと、第4図(b)に示すように。
For this purpose, conventionally, when reading the memory at an address position after a certain word length (HAO word length) from the head position address of the memory, the result is as shown in FIG. 4(b).

そこにはレコードROのカウント部があり、その内容の
一部にレコードのデータ長が含まれているので1次にレ
コードR1のメモリアドレスが得られる。
There is a record RO count section, and since part of its contents includes the data length of the record, the memory address of record R1 can be obtained as a primary source.

セントセクタコマンドにより指定されたセクタ値がmで
ある場合、メモリアドレスの先頭位置からの各記録部H
A、RO−C,RO−D、R1−C,R1−D、・・・
の語長、各記録部間のギャップGの語長の総和を加算し
て、これを1セクタに固有の語長で除算を行ってセクタ
値への換算を行い。
If the sector value specified by the cent sector command is m, each recording section H from the beginning position of the memory address
A, RO-C, RO-D, R1-C, R1-D,...
, and the total word length of the gap G between each recording section are added, and this is divided by the word length specific to one sector to convert it into a sector value.

その結果がmより小さければ次のレコードのメモリアド
レス(それ以前のレコードのメモリアドレスに今回のレ
コードのカウント部のデータ長を加算して得る)により
キャッシュメモリを読み出して、そのデータ長とギャッ
プ長を加算してセクタ値に換算して2mとの比較を行い
、その値がmと等しいか大になった時に、その時のメモ
リアドレスが指定セクタ値に対応するアドレスが求まり
If the result is smaller than m, read the cache memory using the memory address of the next record (obtained by adding the data length of the count section of the current record to the memory address of the previous record), and add the data length and gap length. is added, converted to a sector value, and compared with 2m. When the value is equal to or greater than m, the address at which the memory address at that time corresponds to the specified sector value is determined.

位置づけの完了となる。This completes the positioning.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

上記したように、従来の指定セクタ値に対するアドレス
の位置づけ方式によると、キャッシュメモリのトラック
の先頭位置から順に各レコードをたどりながら指定セク
タ値に到達する必要があるため5後方のレコードへの位
置づけに時間がかかるという問題があった。
As mentioned above, according to the conventional method of positioning addresses with respect to specified sector values, it is necessary to reach the specified sector value by tracing each record in order from the beginning of the track in the cache memory, so it is difficult to position the address to the record 5 records later. The problem was that it took time.

〔問題点を解決するための手段とその作用〕上記の問題
を解決するために2本発明は、セットセクタ指令により
得られた前回のキャッシュメモリのアドレスと指定セク
タ値とをキャッシュメモリのトラックの特定位置に記憶
しておき2次のセットセクタ指令が与えられると、特定
位置に記憶されたセクタ値と指令にある指定セクタ値を
比較して、指定セクタ値が記憶されたセクタ値より大で
ある場合は、特定位置に記憶されたアドレス位置からの
レコードをたどって指定セクタに対応するアドレスを求
めることにより、従来の常にトラックの先頭位置からの
レコードをたどる方式よりも時間を短縮化するものであ
る。
[Means for Solving the Problems and Their Effects] In order to solve the above problems, the present invention uses the previous cache memory address obtained by the set sector command and the specified sector value in the cache memory track. When the sector value stored in a specific position is given and a secondary set sector command is given, the sector value stored in the specific position is compared with the specified sector value in the command, and if the specified sector value is greater than the stored sector value, In some cases, by tracing the records starting from the address stored at a specific location to find the address corresponding to the specified sector, this method saves time compared to the conventional method of always tracing records from the beginning of the track. It is.

本発明の基本構成を、第1図に示す。また第2図(a)
、 (b)には、それぞれ磁気ディスクのトラックの記
録配置とこれに対応する本発明によるキャッシュメモリ
上の記憶配置を示す。
The basic configuration of the present invention is shown in FIG. Also, Figure 2(a)
, (b) respectively show the recording arrangement of tracks on the magnetic disk and the corresponding storage arrangement on the cache memory according to the present invention.

第1図において、実線枠内はディスクキャッシュ制御装
置、1はキャッシュメモリ、2はデータレジスタ、3は
アドレスレジスタ、4は複数Qレジスタ41ないし46
等からなるデータメモリ。
In FIG. 1, the area within the solid line frame is a disk cache control device, 1 is a cache memory, 2 is a data register, 3 is an address register, and 4 is a plurality of Q registers 41 to 46.
Data memory consisting of etc.

5はXレジスタ、6はYレジスタ、7は演算回路。5 is an X register, 6 is a Y register, and 7 is an arithmetic circuit.

8は判別回路、9は制御回路910はプログラムメモリ
、11.12はバスを示し、制御動作はプログラムによ
り行い、制御回路9は演算回路7や回路間のゲートを制
御する。
8 is a discrimination circuit, 9 is a control circuit 910 is a program memory, 11.12 is a bus, control operations are performed by a program, and a control circuit 9 controls the arithmetic circuit 7 and gates between the circuits.

キャッシュメモリ1に記憶される第2図(,9)のトラ
ックデータの配置は、第2図(blに示される。
The arrangement of the track data of FIG. 2 (, 9) stored in the cache memory 1 is shown in FIG. 2 (bl).

第2図(blのキャッシュメモリの記憶配置のうち。FIG. 2 (of the storage arrangement of the cache memory in BL).

ブリフィックス部は本発明に特有のものである。The brifix portion is unique to this invention.

ブリフィックス部は、当該トラックへのアクセスがある
と、そのアクセス時に指令により与えられた指定セクタ
値とそのセクタ値により求められたキャッシュメモリの
アドレスとを組にして記憶するための領域として用いら
れる。
The bfix section is used as an area for storing a set of a specified sector value given by a command at the time of access and a cache memory address determined by the sector value when the track in question is accessed. .

このブリフィックス部の内容は、アクセスがある毎に書
き換えられ、その内容は1次回“のアクセスを効率化す
るために使用される。ブリフィックス部は、各トラック
のデータ位置の特定位置に設けられ、この例ではトラッ
クのホームアドレス部の前に位置する。
The contents of this brifix section are rewritten every time there is an access, and the contents are used to make the first access more efficient.The brifix section is provided at a specific data position of each track. , in this example, is located before the home address portion of the track.

〔実施例〕〔Example〕

次に本発明の実施例を、第3図の動作フローにしたがっ
て説明する。なお、第1図および第2図+8)、 (b
)が参照される。
Next, an embodiment of the present invention will be described according to the operational flow shown in FIG. In addition, Fig. 1 and Fig. 2 +8), (b
) is referenced.

ステップ■において1図示されていないcPυ側からの
セットセクタコマンドが与えられると。
In step (2), a set sector command is given from the cPυ side (not shown).

その指定セクタ値はデータメモリ4のレジスタ41に格
納される。この場合指定セクタと共にトラックの指定及
びキャッシュメモリの当該トラックの先頭アドレスも与
えられるが、当該トラックのキャッシュメモリ上の先頭
位置のアドレスをOとして説明する。
The designated sector value is stored in the register 41 of the data memory 4. In this case, along with the designated sector, the track designation and the start address of the track in the cache memory are also given, but the description will be made assuming that the address of the start position of the track in the cache memory is O.

セットセクタコマンドを受けとることにより。By receiving a set sector command.

開始された制御動作は2次にステップ■において。The control operation that has been started is carried out in the second step (2).

キャッシュメモリ1の当該トラックのブリフィックス部
(第2図中))をアドレスレジスタ3 (0番地よりに
語だけ前のアドレス、但しkはプリフィックスの語数)
によるアドレスで読み出す。そのブリフィックス部の内
容をデータレジスタ2を介してキャッシュメモリ1の4
2.43にセクタ値m、メモリアドレスPとしてセット
し、それらの内容がO以外か否かく値がセットされてい
るか否か)を演算回路79判別回路8により判別する。
The bfix part (in Figure 2) of the relevant track in cache memory 1 is stored in address register 3 (the address one word before address 0, where k is the number of words in the prefix).
Read by address. The contents of the bfix part are transferred to 4 of cache memory 1 via data register 2.
2.43 as a sector value m and a memory address P, and the arithmetic circuit 79 determines whether the contents are other than O (whether or not a value is set).

値がセットされている場合は、このトラックのいずれか
のレコードのデータに対し以前にアクセスされたことが
明らかとなり1次のステップ■において、前回にアクセ
スされた時のセクタ値(mとする)を保持するレジスタ
42の内容と指定セクタ値Stを保持するレコード41
の内容とを1演算回路71判別回路8で判別する。
If the value is set, it becomes clear that the data of any record in this track has been accessed before, and in the first step ■, the sector value (assumed to be m) at the time of the previous access is determined. The contents of the register 42 that holds , and the record 41 that holds the designated sector value St.
The content of 1 arithmetic circuit 71 is discriminated by discriminating circuit 8.

ここでmm5tである場合には、求める指定セクタ値と
前回にアクセスした時のセクタ値が一致したことになり
、求めるメモリアドレスはキャッシュメモリ1の43に
格納されたブリフィックスのメモリアドレスPそのもの
であるので、ここで終了する。
If it is mm5t, it means that the desired specified sector value matches the sector value when accessed last time, and the desired memory address is the memory address P of the bfix stored in 43 of cache memory 1 itself. So I'll end it here.

ステップ■において、m<Stと判別された場合は、前
回のアクセス時のセクタ値(m)より今回の指定セクタ
値Stの方がトラック上では後方であることが分かり、
アドレス計算を前回のアクセス時のセクタ値mとその時
のメモリアドレスPを基点として開始するために、ステ
ップ■において、m、Pの値をキャッシュメモリ1から
Xレジスタ、Yレジスタにそれぞれ転送する。
In step (2), if it is determined that m<St, it is understood that the specified sector value St this time is later on the track than the sector value (m) at the previous access.
In order to start address calculation based on the sector value m at the time of the previous access and the memory address P at that time, in step (3), the values of m and P are transferred from the cache memory 1 to the X register and the Y register, respectively.

ステップ■は位置づけするプログラムループの終了条件
を判定するもので、当該メモリ位置にインデックスを表
すデータが書かれているかどうかを調べる。
Step (2) is to determine the end condition of the program loop to be located, and it is checked whether data representing an index has been written in the memory location.

この場合、アドレスPにはインデックスが存在しないの
で1次のステップのに制御が移り、ここにおいて2次の
式の演算を実行する。
In this case, since no index exists at the address P, control is transferred to the first step, where the calculation of the second order equation is executed.

X+ (L i +G) /5n−X  −(1)Y+
L i        →Y ・・・・・・ (2)式
(11はXレジスタ5にある前回のセクタ値mに。
X+ (L i +G) /5n-X −(1)Y+
L i →Y ...... (2) Equation (11 is the previous sector value m in the X register 5.

エリア46内のレコードのカウント部にある当該レコー
ドのデータ長Li(カウント部の語長も含む)と記録ギ
ャップ(一定の語長)Gを加算した値を1セクタ語長(
固定の語長)Snで除算した値(当該レコード語長とギ
ャップ長をセクタ数に換算した値)とを加算して、Xレ
ジスタ5に格納する動作を表す。
One sector word length (
This represents the operation of adding the value obtained by dividing the fixed word length (fixed word length) by Sn (the value obtained by converting the record word length and the gap length into the number of sectors) and storing the result in the X register 5.

また式(2)は、Yレジスタ6の内容であるアドレスP
に当該レコードのデータ長を加算して、その結果をYレ
ジスタ6に格納することにより、当該アドレスPのレコ
ードの次のレコードのアドレスを得るものである。
Also, equation (2) is expressed as address P, which is the content of Y register 6.
By adding the data length of the record to and storing the result in the Y register 6, the address of the record next to the record at the address P is obtained.

式(11,(2+の計算に用いられる記録ギャップ長G
及び1セクタ語長Snはデータメモリ4内のレジ計算が
終了すると1次にステップ■に移り、計算により得られ
た次のレコードのセクタ値を格納したXレジスタ5の内
容と指定セクタ値Stを格納したレジスタ41の内容を
比較して、X<Stである場合には、指定セクタ値に対
応するレコードはさらに後の位置にあることが分かるの
でステップ■に戻り、そこから既に述べた動作が行われ
る。
Recording gap length G used for calculation of equation (11, (2+)
and 1 sector word length Sn. When the register calculation in the data memory 4 is completed, the first step proceeds to step 2, and the contents of the X register 5 storing the sector value of the next record obtained by calculation and the specified sector value St are The contents of the stored register 41 are compared, and if X<St, it is found that the record corresponding to the specified sector value is located at a later position, so the process returns to step 3, and from there the operation described above is performed. It will be done.

ステップ■でX≧Stであると判別されると。When it is determined in step (2) that X≧St.

Xレジスタ5のセクタ値が指定セクタ値Stと一致する
かそれを越えているので、この時Yレジスタ6に格納さ
れているメモリアドレス値が指定セクタ値に対応する求
めるメモリ位置であるから。
Since the sector value of the X register 5 matches or exceeds the designated sector value St, the memory address value stored in the Y register 6 at this time is the desired memory location corresponding to the designated sector value.

ここで動作を終了する。The operation ends here.

ここで、ステップ■に説明を戻して、プリフィックス部
にデータがない場合、即ちそれ以前にそのトラックにつ
いてセントセクタコマンドが到来してない場合は、ステ
ップ■に移り、当該トラックの先頭レコードから順にセ
クタ値の計算を行うために、Xレジスタ5にセクタOを
表す値Oをセントすると共にYレジスタ6にキャッシュ
メモリ上の当該トラックの先頭アドレスである0をセッ
トシ1次にステップ■に移り、既に述べた動作を順次行
う。
Now, returning to step ■, if there is no data in the prefix field, that is, if no cent sector command has arrived for that track before then, proceed to step ■, and read the sectors sequentially from the first record of the track. To calculate the value, set the value O representing sector O in the X register 5, and set 0, which is the start address of the track in the cache memory, in the Y register 6. Perform the following actions in sequence.

またステップ■においてmastと判別された場合は、
前回のアクセス時のセクタ値mの方が今回の指定セクタ
値より後に位置するので、プリフィックス部のデータを
使用しないで、当該トラックの先頭のレコードから順に
セクタ値の計算を行うためにステップ■におけるプリフ
ィックス部にデータが無い時と同じ処理をステップ■で
実行する。
Also, if it is determined to be mast in step ■,
Since the sector value m at the time of the previous access is located after the specified sector value this time, in step The same process as when there is no data in the prefix part is executed in step ■.

ステップ■において、Yレジスタ6の内容をアドレスレ
ジスタ3にセントしてキャッシュメモリから読み出しを
行った時に、その内容がレコードデータではなくインデ
ックスの検出を行った場合は、ステップのに移る。この
場合は、レコードを次々にたどる過程において、当該ト
ラックの先頭位置であるインデックス(HA)を検出し
たちので、このことはその前のレコードが最終セクタ位
置までの語長を有し、そのトラックの次のレコード位置
は、vL気ディスクのトラック上では第2図(alに示
すように最初の位置になるので、求めるメモリアドレス
は当該トラックの先頭のメモリアドレスであるからYレ
ジスタ6にOをセットして終了する。
In step (3), when the contents of the Y register 6 are written to the address register 3 and read from the cache memory, if the contents are not record data but an index is detected, the process moves to the next step. In this case, in the process of following records one after another, the index (HA) that is the start position of the track in question is detected, which means that the previous record has the word length up to the final sector position, and the track The next record position will be the first position on the track of the vL disk, as shown in Figure 2 (al), so the memory address to be sought is the first memory address of the track, so set O to the Y register 6. Set and exit.

このようにして、セットセクタコマンドにより与えられ
た指定セクタに対応するキャッシュメモリ上のアドレス
は、Yレジスタ6に得られ位置づけが完了する。
In this way, the address on the cache memory corresponding to the specified sector given by the set sector command is obtained in the Y register 6, and the positioning is completed.

位置づけが行われた後、キャッシュメモリのプリフィッ
クス部に、今回のコマンドによる指定セクタ値と求めら
れたメモリアドレスを書き込んでおくことが必要である
After the positioning is performed, it is necessary to write the sector value specified by the current command and the obtained memory address into the prefix portion of the cache memory.

〔発明の効果〕〔Effect of the invention〕

本発明のキャッシュメモリの位置づけ方式によれば、従
来常にトラックの先頭位置から順次レコードをたどる方
式に比べ、前回の位置づけ時のセフタ値と同じか大きい
場合、特に後方のレコードへの位置づけの場合に指定セ
クタに位置づけるまでの動作回数を減らすことができ1
位置づけ時間を短縮することができる。
According to the cache memory positioning method of the present invention, compared to the conventional method of always sequentially tracing records from the head position of a track, when the setter value is the same as or larger than the previous positioning, especially when positioning to a later record, The number of operations required to locate the specified sector can be reduced.1
Positioning time can be shortened.

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

第1図は1本発明の基本構成を示す図、第2図(alは
磁気ディスクのトラック上の記録フォーマットを示す図
、第2図(b)は本発明によるキャッシュメモリの記憶
配置を示す図、第3図は本発明実施例の動作フローを示
す図、第4図(a)は従来の磁気ディスクのトラック上
の記録フォーマットを示す図、第4図(b)は第4図(
a)に対応する従来方式によるトラックデータのキャッ
シュメモリの記憶配置を示す図である。 第1図中。 l:キャッシュメモリ 2:データレジスタ 3ニアドレスレジスタ 48データメモリ 5.6:X、Yレジスタ 7:演算回路 88判別回路 9:制御回路 10ニブログラムメモリ
FIG. 1 is a diagram showing the basic configuration of the present invention, FIG. 2 (al is a diagram showing the recording format on the track of the magnetic disk, and FIG. 2(b) is a diagram showing the storage arrangement of the cache memory according to the present invention. , FIG. 3 is a diagram showing the operation flow of the embodiment of the present invention, FIG. 4(a) is a diagram showing the recording format on the track of a conventional magnetic disk, and FIG.
FIG. 3 is a diagram showing a storage arrangement of a cache memory for track data according to a conventional method corresponding to item a). In Figure 1. l: Cache memory 2: Data register 3 Near address register 48 Data memory 5.6: X, Y register 7: Arithmetic circuit 88 Discrimination circuit 9: Control circuit 10 Niprogram memory

Claims (1)

【特許請求の範囲】 可変長記録形式の磁気ディスクのディスクキャッシュに
おいて、 磁気ディスクのトラックのセクタ値とこれに対応するキ
ャッシュメモリ上でのアドレスとを組にしてキャッシュ
メモリ上の各トラックに対応する特定位置に各トラック
へのアクセス毎に記憶し、セクタ値を指定したキャッシ
ュメモリの指定トラックへのアクセスに対し、対応する
トラックの前記特定位置に記憶された組情報のうちのセ
クタ値と指定セクタ値とを比較手段により比較し、指定
セクタ値が記憶されたものと同一かそれより大きい場合
には、組にして記憶されたアドレスを指定セクタ値に対
応するアドレス算出の始点とし、指定セクタ値が記憶さ
れたセクタ値より小さい場合には、各トラックの先頭レ
コードアドレスを指定セクタ値に対応するアドレス算出
の始点として、順次各レコードからセクタ値を求めるこ
とにより、指定セクタ値に対応するキャッシュメモリ上
のアドレスに位置づけることを特徴とするキャッシュメ
モリ位置づけ方式。
[Claims] In a disk cache for a magnetic disk in a variable length recording format, a sector value of a track on the magnetic disk and a corresponding address on the cache memory are paired to correspond to each track on the cache memory. The sector value and the specified sector of the set of information stored in the specified position of the corresponding track are stored at a specific position each time each track is accessed, and in response to an access to a specified track of the cache memory that specifies a sector value. If the specified sector value is the same as or larger than the stored value, the stored address as a set is used as the starting point for calculating the address corresponding to the specified sector value, and the specified sector value is is smaller than the stored sector value, the first record address of each track is used as the starting point for calculating the address corresponding to the specified sector value, and the sector value is sequentially calculated from each record. A cache memory positioning method characterized by positioning at the upper address.
JP61296372A 1986-12-12 1986-12-12 Cache memory positioning system Expired - Fee Related JPH0644248B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61296372A JPH0644248B2 (en) 1986-12-12 1986-12-12 Cache memory positioning system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61296372A JPH0644248B2 (en) 1986-12-12 1986-12-12 Cache memory positioning system

Publications (2)

Publication Number Publication Date
JPS63148349A true JPS63148349A (en) 1988-06-21
JPH0644248B2 JPH0644248B2 (en) 1994-06-08

Family

ID=17832697

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61296372A Expired - Fee Related JPH0644248B2 (en) 1986-12-12 1986-12-12 Cache memory positioning system

Country Status (1)

Country Link
JP (1) JPH0644248B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6009498A (en) * 1995-02-16 1999-12-28 Fujitsu Limited Disk control unit for holding track data in cache memory
US6101574A (en) * 1995-02-16 2000-08-08 Fujitsu Limited Disk control unit for holding track data in non-volatile cache memory

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS57111757A (en) * 1980-12-29 1982-07-12 Fujitsu Ltd Track buffer memory system

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS57111757A (en) * 1980-12-29 1982-07-12 Fujitsu Ltd Track buffer memory system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6009498A (en) * 1995-02-16 1999-12-28 Fujitsu Limited Disk control unit for holding track data in cache memory
US6101574A (en) * 1995-02-16 2000-08-08 Fujitsu Limited Disk control unit for holding track data in non-volatile cache memory

Also Published As

Publication number Publication date
JPH0644248B2 (en) 1994-06-08

Similar Documents

Publication Publication Date Title
JPS63148349A (en) Cache memory positioning system
JP2968790B1 (en) Address conversion method for magnetic disk drive, magnetic disk drive, recording medium recording address conversion program
JPS63104284A (en) Disk file access system
JP2770917B2 (en) Information recording / reproducing device
JP2525809B2 (en) Search device
JPS5816212B2 (en) Error retry control method
JPS61115126A (en) Magnetic disk device
JP2570407B2 (en) Programmable controller
JPS6041124A (en) Magnetic disc control device
JPH0341557A (en) Data retrieving device
JP2533484B2 (en) Magnetic tape control system
JPS59221810A (en) Alternate sector device in magnetic storage device
JPH03269744A (en) Cache memory control system
JPH0233786A (en) Optical disk device
JPS5852248B2 (en) Read data length extraction method
JPH04264912A (en) Semiconductor memory device
JPH04350741A (en) Access speed increasing method for indexed sequential file
JPH036634A (en) File storing system for floppy disk
JPH04148224A (en) Disk simulator controlling system
JPH01113844A (en) Disk cache device
JPH03160670A (en) Data reader
JPH05307442A (en) Digital data reproduction device
JPS59161751A (en) Recording device for instruction run address
JPH01114962A (en) Direct memory access controller
JPH0431130B2 (en)

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees