JPS6046452B2 - Disk cache subsystem - Google Patents

Disk cache subsystem

Info

Publication number
JPS6046452B2
JPS6046452B2 JP56203092A JP20309281A JPS6046452B2 JP S6046452 B2 JPS6046452 B2 JP S6046452B2 JP 56203092 A JP56203092 A JP 56203092A JP 20309281 A JP20309281 A JP 20309281A JP S6046452 B2 JPS6046452 B2 JP S6046452B2
Authority
JP
Japan
Prior art keywords
information
data
memory
cache
magnetic disk
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
Application number
JP56203092A
Other languages
Japanese (ja)
Other versions
JPS58105360A (en
Inventor
等 松島
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 JP56203092A priority Critical patent/JPS6046452B2/en
Publication of JPS58105360A publication Critical patent/JPS58105360A/en
Publication of JPS6046452B2 publication Critical patent/JPS6046452B2/en
Expired legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F12/00Accessing, addressing or allocating within memory systems or architectures
    • G06F12/02Addressing or allocation; Relocation
    • G06F12/08Addressing or allocation; Relocation in hierarchically structured memory systems, e.g. virtual memory systems
    • G06F12/0802Addressing of a memory level in which the access to the desired data or data block requires associative addressing means, e.g. caches
    • G06F12/0866Addressing of a memory level in which the access to the desired data or data block requires associative addressing means, e.g. caches for peripheral storage systems, e.g. disk cache

Description

【発明の詳細な説明】 (1)発明の技術分野 本発明はディスク・キャッシュ・サブシステム、特に電
源投入時に予めキャッシュ・メモリ上に磁気ディスク装
置上の必要と思われるデータをステージングしておくよ
うにされたディスク・キャッシュ・サブシステムに関す
るものである。
DETAILED DESCRIPTION OF THE INVENTION (1) Technical Field of the Invention The present invention relates to a disk cache subsystem, in particular, to stage data considered to be necessary on a magnetic disk device on a cache memory in advance when power is turned on. It concerns the disk cache subsystem that has been configured.

(2)技術の背景直接アクセス可能な磁気ディスク装置
は、データ処理システムにおける大容量記憶装置として
非常に多く用いられている。
(2) Background of the Technology Directly accessible magnetic disk drives are widely used as mass storage devices in data processing systems.

しかし、磁気ディスク装置へのアクセスは、例えばヘッ
ドの駆動時間あるいはディスクの回転持ち時間等を必要
とし、通常の主記憶装置へのアクセスに比較して極めて
長時間のアクセス・タイムを要する。そこで、最近、入
出力処理の高速化および効率化のために、磁気ディスク
制御装置と磁気ディスクアダプタとの間に介在させて、
アクセス・データの制御を行うディスク・キャッシュ・
サブシステムが考慮されている。(3)従来技術と問題
点 ディスク・キャッシュ・サブシステムにおいては、磁気
ディスク装置への入出力データをキャッシュ、メモリ上
に格納し、次回に同じデータについての入力命令に対し
、実際に磁気ディスク装置へのアクセスを行わずに、先
に格納されたキャッシュ・メモリ上のデータを入力要求
元へ転送するようにして高速化を図つている。
However, accessing a magnetic disk device requires, for example, a head drive time or a disk rotation time, and requires an extremely long access time compared to accessing a normal main storage device. Therefore, recently, in order to speed up and improve the efficiency of input/output processing, a magnetic disk controller is installed between the magnetic disk controller and the magnetic disk adapter.
Disk cache that controls access data
Subsystems are considered. (3) Prior art and problems In a disk cache subsystem, input/output data to a magnetic disk device is cached and stored in memory, and the next time an input command for the same data is received, the data is actually sent to the magnetic disk device. In order to increase the speed, the previously stored data in the cache memory is transferred to the input request source without accessing the data.

この際、キャッシュ・メモリ上のデータが磁気ディスク
装置上のどのデータに対応するかは、キャッシュ・メモ
リヘのデータ書き込み時に更新されて、キャッシュ・メ
モリ上のデータの管理情報を保持するエクステント・テ
ーブルを参照して行われる。一般に上記キャッシュ・メ
モリおよびエクステント●テーブルは、揮発性メモリで
構成され、そのため例えばその日のサービス終了時間に
なつてシステムの電源が切断された場合には、上記キャ
ッシュ●メモリおよびエクステント●テーブル上のデー
タは消失してしまうことになる。
At this time, which data on the magnetic disk device corresponds to the data on the cache memory is updated when data is written to the cache memory, and the extent table that holds management information for the data on the cache memory is updated. It is done by reference. Generally, the above cache memory and extent table are composed of volatile memory, so if the system is powered off at the end of the day's service, for example, the data on the above cache memory and extent table will be will disappear.

従つて、翌日に電源投入を行つてシステムを始動させた
場合には、キャッシュ・メモリ上には、データが存在し
ないこととなり、必ず入力要求が出された時点で磁気デ
ィスク装置上からデータを読み出す必要があつた。その
ため、システムの立上がり時には、キャッシュ・メモリ
は活用されないという問題があつた。本願発明者は、上
記問題を解決するために、エクステント・テーブルを不
揮発性メモリで構成し、システムへの再電源投入時にエ
クステント●テーブルを参照して、前回アクセスされた
磁気ディスク装置上のデータを予めキャッシュ・メモリ
上ヘステージングしておくようにすることを考慮した。
Therefore, when the power is turned on and the system is started the next day, there will be no data in the cache memory, and data will always be read from the magnetic disk device when an input request is issued. The need arose. Therefore, there was a problem that the cache memory was not utilized when the system started up. In order to solve the above problem, the inventor of the present application configured an extent table in nonvolatile memory, and when the system is powered on again, refers to the extent table and retrieves the data on the magnetic disk device that was accessed last time. Consideration was given to staging the data in cache memory in advance.

しかし、これには次のような問鎮があることが判明した
。第1に、電源を投入してシステムを立ち上げるときに
必要とする磁気ディスク装置上のデータと、サービスが
終了して電源を切断するときのキャッシュ・メモリ上に
保持される磁気ディスク装置上のデータとは食い違いが
大きく、上記考慮によるプリステージングによつても上
記必要とするデータのアドレスが異なるため、キャッシ
ュ●メモリがほとんど活用されないことである。
However, it turns out that there are some problems with this: First, the data on the magnetic disk device that is required when the power is turned on to start up the system, and the data on the magnetic disk device that is retained in cache memory when the power is turned off after service is completed. There is a large discrepancy with the data, and even with prestaging based on the above consideration, the address of the required data differs, so the cache memory is hardly utilized.

また、第2に、例えば本体系の障害によりシステム・ダ
ウンした場合に、不揮発性メモリで構成されたエクステ
ント・メモリの内容は、どの時点で処理が中断されるか
わからないため、完全性を保証することはできず。
Second, if the system goes down due to a system failure, for example, the integrity of the contents of extent memory, which is made up of non-volatile memory, is guaranteed because it is not known at what point the processing will be interrupted. I can't do that.

本体系の障害を復旧させ.てシステムを再起動させたと
きに、当該不完全なエクステント・メモリを参照して、
誤操作を生じさせる可能性があるという問題である。(
4)発明の目的 本発明は、上記問題点の解決を図り、システム.の始動
時においてもキャッシュ●メモリを有効に活用できるよ
うにし、システム全体の立上がりを迅速にスムーズに行
うことができるようにすることを目的としている。
Recover from the main system failure. When you restart the system, referring to the incomplete extent memory,
This is a problem that may lead to erroneous operations. (
4) Purpose of the Invention The present invention aims to solve the above problems and provides a system. The purpose is to enable effective use of cache memory even when starting up the system, allowing the entire system to start up quickly and smoothly.

(5)発明の構成 上記目的達成のため、本発明は、一般にシステムの始動
時に必要とされる磁気ディスク装置上のエリアは、例え
ばVTOC(VOlumeTableOfCOnten
ts)エリア等定型的に大体定まつていることに着目し
、磁気ディスク装置から読み出された情報または磁気デ
ィスク装置へ書き込まれる情報が格納されるキャッシュ
・メモリと、該キャッシュ・メモリ上に格納された情報
と上記磁気ディスク装置上の情報とを対応づける情報が
格納されるエクステント・テーブルと、上記キャッシュ
・メモリおよび上記エクステント・テーブルへの情報設
定および情報読み出しを制御するディスク・キャッシュ
制御装置とをそなえたディスク・キャッシュ●サブシス
テムにおいて、上記エクステント・メモリの内容が退避
される不揮発性メモリと、当該システムへの電源投入後
最初に上記キャッシュ・メモリが満杯になつたときの上
記エクステント・メモリに格納された情報を上記不揮発
性メモリに記録する不揮発性メモリ記録処理部と、再電
源投入時に上記不揮発性メモリ上の情報に基づいて上記
磁気ディスク装置から上記キャッシュ・メモリ上へ情報
を読み出すプリステージング処理部とをそなえ、電源投
入時に上記キャッシュ・メモリ上にプリステージングす
るようにされたことを特徴としている。
(5) Structure of the Invention To achieve the above object, the present invention provides that the area on the magnetic disk device generally required at the time of system startup is, for example, VTOC (VOlumeTableOfCONten).
ts) Focusing on areas that are approximately fixed in a fixed format, we have developed a cache memory in which information read from a magnetic disk device or information written to the magnetic disk device is stored, and information stored on the cache memory. an extent table that stores information that associates the information stored in the data with information on the magnetic disk device; and a disk cache control device that controls information setting and reading of information in the cache memory and the extent table. In a disk cache subsystem equipped with a nonvolatile memory in which the contents of the extent memory are saved, and the extent memory when the cache memory becomes full for the first time after the system is powered on. a nonvolatile memory recording processing unit that records information stored in the nonvolatile memory in the nonvolatile memory, and a processor that reads information from the magnetic disk device onto the cache memory based on the information on the nonvolatile memory when the power is turned on again. It is characterized in that it is equipped with a staging processing section, and is configured to perform prestaging on the cache memory when the power is turned on.

(6)発明の実施例 以下本発明の実施例を図面を参照しつつ説明する。(6) Examples of the invention Embodiments of the present invention will be described below with reference to the drawings.

第1図は本発明の一実施例構成、第2図は不揮発性メモ
リ記録処理部の処理動作例説明図、第3図はプリステー
ジング処理部の処理動作例説明図を示す。
FIG. 1 shows the configuration of an embodiment of the present invention, FIG. 2 shows an explanatory diagram of an example of processing operation of a nonvolatile memory recording processing section, and FIG. 3 shows an explanatory diagram of an example of processing operation of a prestaging processing section.

図中、1は中央処理装置、2は磁気ディスク制御装置(
DKC)、3はディスク・キャッシュ●サブシステム、
4は磁気ディスクアダプタ(DPCA)、5は磁気ディ
スク装置、6はディスク・キャッシュ制御装置、7は不
揮発性メモリ記録処理部、8はプリステージング処理部
、9はキャッシュ・メモリ、10はエクステント・テー
ブル、11はプリステージング・データ●フラグ部、1
2は不揮発性メモリを表わす。
In the figure, 1 is the central processing unit, 2 is the magnetic disk control unit (
DKC), 3 is the disk cache ● subsystem,
4 is a magnetic disk adapter (DPCA), 5 is a magnetic disk device, 6 is a disk cache control device, 7 is a nonvolatile memory recording processing section, 8 is a prestaging processing section, 9 is a cache memory, and 10 is an extent table. , 11 is prestaging data flag section, 1
2 represents non-volatile memory.

中央処理装置1は、磁気ディスク装置5への入出力を行
い、データを処理する装置である。
The central processing unit 1 is a device that performs input/output to the magnetic disk device 5 and processes data.

磁気ディスク制御装置2は、中央処理装置1からの入出
力命令を解読し、配下のディスク・キャッシュ・サブシ
ステム3等へ制御信号等を送出する。ディスク・キャッ
シュ●サブシステム3のディスク●キャッシュ制御装置
6は、キャッシュ●メモリ9、エクステント・テーブル
10および不揮発性メモI川2を管理し、ディスク・キ
ャッシュ・サブシステム3全体の制御を行う。不揮発性
メモリ記録処理部7は、次回の電源投入時にキャッシュ
●メモリ9上ヘプリステージングすることに必要とする
エクステント・テーブル10の情報を不揮発性メモI川
2上に記録するものである。プリステージング処理部8
は、システム始動時に起動され、不揮発性メモリ12上
の情報に基づいて、磁気ディスク装置5上のデータをキ
ャッシュ・メモリ9へ予めステージするものである。キ
ャッシュ・メモリ9は、磁気ディスク装置5への入出力
データが格納されるメモリであり、磁気ディスク装置5
への入出力命令の処理の高速化を図るためのものである
The magnetic disk control device 2 decodes input/output commands from the central processing unit 1 and sends control signals and the like to the disk cache subsystem 3 and the like under its control. The disk cache control device 6 of the disk cache subsystem 3 manages the cache memory 9, the extent table 10, and the nonvolatile memory I river 2, and controls the entire disk cache subsystem 3. The non-volatile memory recording processing section 7 records the information of the extent table 10 necessary for pre-staging on the cache memory 9 at the next power-on on the non-volatile memory I river 2. Prestaging processing section 8
is activated when the system is started, and stages the data on the magnetic disk device 5 in advance to the cache memory 9 based on the information on the nonvolatile memory 12. The cache memory 9 is a memory in which input/output data to the magnetic disk device 5 is stored.
This is to speed up the processing of input/output instructions to the .

キャッシュ・メモリ9のメモリ領域の再利用は、例えば
LRU(LeastRecentlyUsed)法が用
いられる。エクステント・テーブル10は、キャッシュ
●メモリ9上のデータと磁気ディスク装置5上のデータ
とを対応づける情報が格納される制御表であり、特に、
例えばキャッシュ・メモリ9上のデータがプリステージ
ング処理部8によつてステージングされ、かつ中央処理
装置1からのアクセスが電源投入後1度も行われていな
いデータであるときに、その旨を各データ毎に表示する
ためのフラグ用領域であ,るプリステージング・データ
(PD)・フラグ部11を有する。不揮発性メモリ12
は、エクステント・テーブル10と同程度の容量を持ち
、エクステント・テーブル10の情報、特に電源投入後
、初期ステージングされたデータについての工.クステ
ント情報が記録される。第1図において、初めてシステ
ムに組み込まれたディスク●キャッシュ●サブシステム
3は、以下の如く動作する。
For example, the LRU (Least Recently Used) method is used to reuse the memory area of the cache memory 9. The extent table 10 is a control table that stores information that associates data on the cache memory 9 with data on the magnetic disk device 5, and in particular,
For example, if the data on the cache memory 9 has been staged by the prestaging processing unit 8 and has not been accessed by the central processing unit 1 even once since the power was turned on, each data It has a prestaging data (PD) flag section 11, which is a flag area for displaying each time. Non-volatile memory 12
has a capacity similar to that of the extent table 10, and stores the information in the extent table 10, especially the initial staged data after the power is turned on. storage information is recorded. In FIG. 1, the disk cache subsystem 3, which is incorporated into the system for the first time, operates as follows.

中央処理装置1から磁気ディスク装置5に対する入力要
求が出されたときに、磁気ディスク制御装置2は、指定
された磁気ディスク装置5から要求されたアドレスのデ
ータを読み込み、中央処理装置1へ転送すると同時に、
ディスク・キャッシュ●サブシステム3のキャッシュ・
メモリ9上に該データを書き込むことをディスク・キャ
ッシュ制御装置6に要求する。ディスク・キャッシュ制
御装置6は、キャッシュ・メモリ9上の空いている領域
上にデータをセットすると共に、エクステント●テーブ
ル10に磁気ディスク装置5上でのデータの存在位置を
示す情報、例えばデバイス・アドレス・シリンダ番号、
ヘッド番号、レコード番号等を書き込む。また、不揮発
性メモリ記録処理部7を呼び出し、上記エクスノテント
・テーブル10に書き込まれた情報と同じ情報を不揮発
性メモリ12に記録する。この不揮発性メモリ12への
書き込みは、キャッシュ・メモリ9上のすべての領域が
データによつて埋められるまで続けられる。すなわち、
キャッシュ・メ.モリ9が満杯になつた時点で、エクス
テント・テーブル10から不揮発性メモリ12への情報
の移動は停止され、不揮発性メモl川2には、電源投入
後最初にキャッシュ●メモリ9ヘステージングされたデ
ータについての情報だけが記録されることとなる。その
後、サービス終了時間になつて電源が切断され、例えば
翌日再電源が投入された場合にはディスク・キャッシュ
・サブシステム3は、次の如く動作する。電源投入によ
り、最初ディスク・キャッシュ制御装置6のプリステー
ジング処理部8が起動される。プリステージング処理部
8は、不揮発性メモ1川2上に有効データが存するか否
かを判定した上で、有効なデータが存在する場合に、該
データに基づいて磁気ディスク装置5にアクセスし、磁
気ディスク装置5上のデータをキャッシュ・メモリ9上
に書き込む。同時に、不揮発性メモリ12上の情報を、
実際に磁気ディスク装置5にアクセスした結果に基づい
て、必要があれば変更しにうえで、エクステント・テー
ブル10上に書き込む。このとき、キャッシュ・メモリ
9に設定されたデータが、プリステージング・データで
あることを示すフラグを、エクステント・テーブル10
内のプリステージング●データ●フラグ部11にセット
する。このプリステージング●データ●フラグは、この
後、中央処理装置1からの要求により、キャッシュ・メ
モリ9上にある対応するデータがアクセスされるか、ま
たは他のデータに置き換えられたときに、リセットされ
る。
When the central processing unit 1 issues an input request to the magnetic disk device 5, the magnetic disk control device 2 reads data at the requested address from the specified magnetic disk device 5 and transfers it to the central processing unit 1. at the same time,
Disk cache ● Subsystem 3 cache
The disk cache controller 6 is requested to write the data onto the memory 9. The disk cache control device 6 sets data in an empty area on the cache memory 9, and also writes information indicating the location of the data on the magnetic disk device 5 in the extent table 10, such as device address cylinder. number,
Write the head number, record number, etc. Also, the non-volatile memory recording processing section 7 is called and the same information written in the exnotent table 10 is recorded in the non-volatile memory 12. This writing to nonvolatile memory 12 continues until all areas on cache memory 9 are filled with data. That is,
Cash me. When the memory 9 becomes full, the movement of information from the extent table 10 to the non-volatile memory 12 is stopped, and the non-volatile memory 2 contains data that is first staged to the cache memory 9 after power is turned on. Only information about the data will be recorded. Thereafter, when the service end time is reached, the power is turned off, and, for example, when the power is turned on again the next day, the disk cache subsystem 3 operates as follows. When the power is turned on, the prestaging processing section 8 of the disk cache control device 6 is first activated. The prestaging processing unit 8 determines whether or not valid data exists on the nonvolatile memo 1 river 2, and if valid data exists, accesses the magnetic disk device 5 based on the data, The data on the magnetic disk device 5 is written onto the cache memory 9. At the same time, the information on the non-volatile memory 12 is
Based on the result of actually accessing the magnetic disk device 5, the information is changed if necessary and written on the extent table 10. At this time, a flag indicating that the data set in the cache memory 9 is prestaging data is added to the extent table 10.
Set it in the prestaging●data●flag section 11 inside. This prestaging data flag is subsequently reset when the corresponding data on the cache memory 9 is accessed or replaced with other data in response to a request from the central processing unit 1. Ru.

該フラグのリセットの際に、同時に不揮発性メモリ記録
処理部7によつて、エクステント・テーブル10の更新
情報が不揮発性メモリ12に書き込まれる。プリステー
ジング・データ・フラグがリセット状態のときには、不
揮発性メモリ12の更新は行われないので、キャッシュ
・メモリ9上のすべてのデータがプリステージング状態
でなくなつたとき、不揮発性メモリ12上への情報の書
き込みは停止されることとなる。こうすることによつて
、次回の電源投入時に必要とするプリステージング情報
が作成され、不揮発性メモリ12に記録されることにな
る。この記録された情報は、特にシステムの始動時に用
いられた情報であるから、次回の始動の際にも該情報に
よつて対応づけられるデータが利用される確率は大きく
、キャッシュ・メモリ9上にプリステージングしておく
ことにより、キャッシュ・メモリ9上でのヒット率を向
上させることができる。なお、キャッシュ・メモリ9上
の領域割当ては、LRU方式が用いられるため、プリス
テージング領域は、新たなキャッシュ・メモリ9の領域
要求に対し優先的に割当てられ、他のデータによつて優
先的に置き換えられるので、プリステージング・データ
についてのアクセスがない場合でも無駄が生じることは
ない。
At the time of resetting the flag, update information of the extent table 10 is simultaneously written into the nonvolatile memory 12 by the nonvolatile memory recording processing section 7. When the prestaging data flag is in the reset state, the nonvolatile memory 12 is not updated, so when all the data on the cache memory 9 is no longer in the prestaging state, the data on the nonvolatile memory 12 is not updated. Writing of information will be stopped. By doing so, prestaging information required at the next power-on is created and recorded in the nonvolatile memory 12. Since this recorded information is information that was used especially when the system was started, there is a high probability that the data associated with this information will be used at the next startup as well. By prestaging, the hit rate on the cache memory 9 can be improved. Note that since the LRU method is used for area allocation on the cache memory 9, the prestaging area is allocated preferentially to new area requests for the cache memory 9, and is preferentially allocated by other data. Since the prestaging data is replaced, there is no waste even if there is no access to the prestaging data.

上記、不揮発性メモリ記録処理部7の処理動作の概略を
示すと第2図図示の如くになる。
An outline of the processing operation of the nonvolatile memory recording processing section 7 described above is as shown in FIG.

すなわち、キャッシュ・メモリ9へのアクセスがあり、
エクステント●テーブル10が更新されると、不揮発性
メモリ記録処理部7は、まず現在のサービスが最初の電
源投入によるものであるかどうかを判定する。最初の電
源投入、即ち当該ディスク・キャッシュ・サブシステム
が組み込まれて初めての電源投入によるものである場合
には、次にキャッシュ・メモリ9が満杯になつているか
どうかを判定する。キャッシュ・メモリ9が既に満杯に
なつているときには、そのまま処理を終了する。まだ、
満杯になつていない場合には、キャッシュ●メモリ9へ
の書き込まれたデータは、当該領域において最初に書き
込まれたデータであるから、エクステント・テーブル1
0の情報を不揮発性メモリ12に書き込み、次回の電源
投入時におけるプリステージングに備える。現在のサー
ビスが2回以降の電源投入によるものである場合には、
不揮発性メモリ記録処理部7は、アクセスされたキャッ
シュ●メモリ9上のデータに対応するエクステント・テ
ーブル10上のプリステージング・データ(PD)・フ
ラグがオンであるかオフであるかを判定する。
That is, there is an access to the cache memory 9,
When the extent table 10 is updated, the nonvolatile memory recording processing unit 7 first determines whether the current service is due to the first power-on. If it is the first power-on, that is, the first power-on after the disk cache subsystem is installed, then it is determined whether the cache memory 9 is full. If the cache memory 9 is already full, the process is immediately terminated. still,
If it is not full, the data written to the cache memory 9 is the first data written in the area, so the extent table 1
0 information is written into the nonvolatile memory 12 in preparation for prestaging when the power is turned on next time. If the current service is due to two or more power-ups,
The nonvolatile memory recording processing unit 7 determines whether the prestaging data (PD) flag on the extent table 10 corresponding to the accessed data on the cache memory 9 is on or off.

オフの場合には、そのまま処理を終了する。上記PDフ
ラグがオンの場合には、エクステント●テーブル10の
更新情報を不揮発性メモI川2に書き込むと共に、エク
ステント●テーブル10の当該PDフラグをオフにする
。プリステージング処理部8の処理動作の概略を示すと
第3図図示の如くになる。
If it is off, the process ends immediately. If the PD flag is on, the update information of the extent table 10 is written to the nonvolatile memory I river 2, and the PD flag of the extent table 10 is turned off. The outline of the processing operation of the prestaging processing section 8 is as shown in FIG.

すなわち、プリステージング処理部8は、電源投入によ
つて起動されると、最初に不揮発性メモリ12の内容が
有効であるかどうかを判定する。例えば、最初の電源投
入である場合には、不揮発性メモリ12の内容は有効で
ないので、そのまま処理を終了する。有効である場合に
は、不揮発性メモリ12から有効なエクステント情報を
読み出し、その情報に基づいて、磁気ディスク装置5か
らキャッシュ・メモリ9へのステージング処理を行う。
また、不揮発性メモリ12の情報および磁気ディスク装
置5へのアクセス情報に基づいて、エクステント・テー
ブル10を作成する。次にエクステント・テーブル10
のプリステージング・データ・フラグ部11にあるすべ
てのPDフラグをオンにして処理を終了する。(7)発
明の効果 以上説明した如く本発明によれば、システムの”立ち上
がり時に必要と予想されるデータが、キャッシュ・メモ
リ上に予め用意されることとなり、キャッシュ・メモリ
上でのヒット率が向上して、システムの効率を高めるこ
とができる。
That is, when the prestaging processing unit 8 is activated by turning on the power, it first determines whether the contents of the nonvolatile memory 12 are valid. For example, when the power is turned on for the first time, the contents of the nonvolatile memory 12 are not valid, so the process ends. If it is valid, valid extent information is read from the nonvolatile memory 12, and based on that information, staging processing from the magnetic disk device 5 to the cache memory 9 is performed.
Furthermore, the extent table 10 is created based on the information in the nonvolatile memory 12 and the access information to the magnetic disk device 5. Next, extent table 10
All the PD flags in the prestaging data flag unit 11 of the prestaging data flag section 11 are turned on, and the process is ended. (7) Effects of the Invention As explained above, according to the present invention, data that is expected to be required at system start-up is prepared in advance on the cache memory, and the hit rate on the cache memory is reduced. can be improved to increase the efficiency of the system.

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

第1図は本発明の一実施例構成、第2図は不揮発性メモ
リ記録処理部の処理動作説明図、第3図はプリステージ
ング処理部の処理動作例説明図を示す。 図中、1は中央処理装置、2は磁気ディスク制・御装置
、3はディスク◆キャッシュ●サブシステム、4は磁気
ディスクアダプタ、5は磁気ディスク装置、6はディス
ク・キャッシュ制御装置、7は不揮発性メモリ記録処理
部、8はプリステージング処理部、9はキャッシュ・メ
モ1八10は工クステント●テーブル、11はプリステ
ージング・データ・フラグ部、12は不揮発性メモリを
表わす。
FIG. 1 shows the configuration of an embodiment of the present invention, FIG. 2 is a diagram illustrating the processing operation of a nonvolatile memory recording processing section, and FIG. 3 is a diagram illustrating an example of the processing operation of the prestaging processing section. In the figure, 1 is the central processing unit, 2 is the magnetic disk control/control unit, 3 is the disk◆cache● subsystem, 4 is the magnetic disk adapter, 5 is the magnetic disk unit, 6 is the disk/cache control unit, and 7 is the nonvolatile 8 is a prestaging processing section, 9 is a cache memo 18, 10 is a storage table, 11 is a prestaging data flag section, and 12 is a nonvolatile memory.

Claims (1)

【特許請求の範囲】[Claims] 1 磁気ディスク装置から読み出された情報または磁気
ディスク装置へ書き込まれる情報が格納されるキャッシ
ュ・メモリと、該キャッシュ・メモリ上に格納された情
報と上記磁気ディスク装置上の情報とを対応づける情報
が格納されるエクステント・テーブルと、上記キャッシ
ュ・メモリおよび上記エクステント・テーブルへの情報
設定および情報読み出しを制御するディスク・キャッシ
ュ制御装置とをそなえたディスク・キャッシュ・サブシ
ステムにおいて、上記エクステント・メモリの内容が退
避される不揮発性メモリと、当該システムへの電源投入
後最初に上記キャッシュ・メモリが満杯になつたときの
上記エクステント・メモリに格納された情報を上記不揮
発性メモリに記録する不揮発性メモリ記録処理部と、再
電源投入時に上記不揮発性メモリ上の情報に基づいて上
記磁気ディスク装置から上記キャッシュ・メモリ上へ情
報を読み出すプリステージング処理部とをそなえ、電源
投入時に上記キャッシュ・メモリ上にプリステージング
するようにされたことを特徴とするディスク・キャッシ
ュ・サブシステム。
1. A cache memory in which information read from the magnetic disk device or information written to the magnetic disk device is stored, and information that associates the information stored on the cache memory with the information on the magnetic disk device. In a disk cache subsystem, the disk cache subsystem includes an extent table in which the extent memory is stored, and a disk cache control device that controls information setting and reading of information in the cache memory and the extent table. a non-volatile memory in which contents are saved; and a non-volatile memory in which information stored in the extent memory is recorded when the cache memory first becomes full after power is applied to the system. The prestaging section includes a recording processing section and a prestaging section that reads information from the magnetic disk device onto the cache memory based on the information on the non-volatile memory when the power is turned on again, and reads information onto the cache memory when the power is turned on again. A disk cache subsystem characterized by pre-staging.
JP56203092A 1981-12-16 1981-12-16 Disk cache subsystem Expired JPS6046452B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP56203092A JPS6046452B2 (en) 1981-12-16 1981-12-16 Disk cache subsystem

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP56203092A JPS6046452B2 (en) 1981-12-16 1981-12-16 Disk cache subsystem

Publications (2)

Publication Number Publication Date
JPS58105360A JPS58105360A (en) 1983-06-23
JPS6046452B2 true JPS6046452B2 (en) 1985-10-16

Family

ID=16468233

Family Applications (1)

Application Number Title Priority Date Filing Date
JP56203092A Expired JPS6046452B2 (en) 1981-12-16 1981-12-16 Disk cache subsystem

Country Status (1)

Country Link
JP (1) JPS6046452B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2018190405A (en) * 2017-05-10 2018-11-29 慧榮科技股▲分▼有限公司 Storage devices, recording methods, and prefetch methods

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62137786A (en) * 1985-12-09 1987-06-20 Matsushita Electric Ind Co Ltd Storage device
JP2001266452A (en) * 2000-03-22 2001-09-28 Matsushita Electric Ind Co Ltd Magnetic disk unit

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2018190405A (en) * 2017-05-10 2018-11-29 慧榮科技股▲分▼有限公司 Storage devices, recording methods, and prefetch methods
US10635601B2 (en) 2017-05-10 2020-04-28 Silicon Motion, Inc. Flash memory devices and prefetch methods thereof

Also Published As

Publication number Publication date
JPS58105360A (en) 1983-06-23

Similar Documents

Publication Publication Date Title
US7840754B2 (en) Efficiently synchronizing with separated disk caches
US8392670B2 (en) Performance management of access to flash memory in a storage device
KR100238925B1 (en) A recoverable disk control system with a non-volatile memory
JP2006268503A (en) Computer system, disk unit and data update control method
US6697902B1 (en) Data storage device and interface device for the data storage device
US20050251625A1 (en) Method and system for data processing with recovery capability
US4423479A (en) Cache/disk subsystem with acquire write command
JPH06236241A (en) Hard disk device using flash memory
JP2005267602A (en) Further fine and efficient write protection for disk volume
JPH0667812A (en) Patrol seaking system for high density magnetic disk device
JP2006099802A (en) Storage controller, and control method for cache memory
JP2007102436A (en) Storage controller and storage control method
JPS6046452B2 (en) Disk cache subsystem
US9081505B1 (en) Method and system for improving disk drive performance
JPH11282765A (en) External storage device using flash memory
JP2005215940A (en) Storage system, server apparatus, and preceding copy data preparation method
JP2000148404A (en) Computer system
JP4076316B2 (en) Data writing system using non-volatile cache memory
CN110825314B (en) Data scheduling method and device
JPH064228A (en) Semiconductor disk device
JPH01303547A (en) Control system for information memory
US20090077368A1 (en) Controller for a Mass Memory and Method for Providing Data for a Start Process of a Computer
JP3614886B2 (en) File system
JPH0520196A (en) Disk cache controller
JP2864751B2 (en) Nonvolatile memory management method for disk controller