JPH05120136A - Disk cache device - Google Patents

Disk cache device

Info

Publication number
JPH05120136A
JPH05120136A JP3279099A JP27909991A JPH05120136A JP H05120136 A JPH05120136 A JP H05120136A JP 3279099 A JP3279099 A JP 3279099A JP 27909991 A JP27909991 A JP 27909991A JP H05120136 A JPH05120136 A JP H05120136A
Authority
JP
Japan
Prior art keywords
cache
fixed disk
data
host device
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.)
Pending
Application number
JP3279099A
Other languages
Japanese (ja)
Inventor
Kyoichi Sasamoto
享一 笹本
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.)
Toshiba Corp
Original Assignee
Toshiba Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Toshiba Corp filed Critical Toshiba Corp
Priority to JP3279099A priority Critical patent/JPH05120136A/en
Publication of JPH05120136A publication Critical patent/JPH05120136A/en
Pending legal-status Critical Current

Links

Landscapes

  • Bus Control (AREA)
  • Memory System Of A Hierarchy Structure (AREA)

Abstract

PURPOSE:To increase the memory access speed and to improve the system performance by inserting a disk cache device between a host device and a fixed disk device. CONSTITUTION:A data transfer control part 7 controls the transfer of data between a host device 1 and a fixed disk device 2, between the host device 1 and a disk cache device 3 itself, and also between both devices 2 and 3 respectively. At the same time, a cache memory control part 8 writes and reads the data into and out of a cache memory 4. Therefore the disk cache device 3 retrieves the contents stored in the cache memory 4 by the access request given from the host device 1. Then the disk cache device 3 reads the requested data out of the cache memory 4 if stored. If not, the data is read out of the fixed disk device 2. In such a constitution, it is just required to apply the processing procedure similar to that of the fixed disk device 2 to the host device 1.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】この発明は、ホスト装置のSCS
Iインターフェースと固定ディスク装置のSCSIイン
ターフェースとの間に接続されるディスクキャッシュ装
置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an SCS of a host device.
The present invention relates to a disk cache device connected between an I interface and a SCSI interface of a fixed disk device.

【0002】[0002]

【従来の技術】一般に、図3に示すようなホスト装置1
と接続して使用されるSCSI方式の固定ディスク装置
2においては、システムの導入後にその使用頻度が高く
なり、現状のシステムの性能向上が要求されるようにな
ることがよくあるが、このような場合に、ディスクキャ
ッシュ装置を追加することにより性能の向上を図れるこ
とが広く知られている。
2. Description of the Related Art Generally, a host device 1 as shown in FIG.
In the SCSI type fixed disk device 2 used by connecting to the system, the frequency of use becomes high after introduction of the system, and it is often necessary to improve the performance of the current system. In this case, it is widely known that the performance can be improved by adding a disk cache device.

【0003】[0003]

【発明が解決しようとする課題】ところが、従来、元々
ディスクキャッシュ装置を有していない固定ディスク装
置2に新たにディスクキャッシュ装置を追加装備する際
には、ディスクキャッシュ装置用のインターフェースを
追加し、ホスト装置1と固定ディスク装置2とディスク
キャッシュ装置との間でのデータ転送経路を切り換える
転送制御装置を追加し、また各種コマンド処理も変更す
る必要があり、ホスト装置側にも固定ディスク装置側に
も大幅な改造が要求され、設計当初からディスクキャッ
シュ装置を装備する仕様でない限り、固定ディスク装置
については、既存設備への変更量の多さからディスクキ
ャッシュ装置の後付けが実質的に不可能である問題点が
あった。
However, when a fixed disk device 2 which does not originally have a disk cache device is additionally equipped with a new disk cache device, an interface for the disk cache device is added, It is necessary to add a transfer control device for switching the data transfer path among the host device 1, the fixed disk device 2, and the disk cache device, and also to change various command processes. However, it is practically impossible to retrofit the fixed disk unit because of the large amount of changes to the existing equipment unless the specifications for installing the disk cache unit from the beginning of the design. There was a problem.

【0004】この発明は、このような従来の問題点に鑑
みなされたもので、元々ディスクキャッシュ装置の後付
けをサポートしていないような固定ディスク装置に対し
て、ホスト装置並びに固定ディスク装置になんら改造を
施すことなく追加装備してメモリアクセスの高速化がで
き、システムの性能向上が図れるディスクキャッシュ装
置を提供することを目的とする。
The present invention has been made in view of the above-mentioned problems of the prior art. The fixed disk device which originally does not support the retrofitting of the disk cache device is modified into a host device and a fixed disk device. It is an object of the present invention to provide a disk cache device which can be additionally equipped without performing the above to speed up memory access and improve system performance.

【0005】[0005]

【課題を解決するための手段】この発明は、メインメモ
リと固定ディスク装置とのアクセス速度の差を緩衝する
ためのディスクキャッシュ装置において、ターゲット機
能を有するホスト装置接続用のSCSIインターフェー
スと、イニシエータ機能を有する固定ディスク装置接続
用のSCSIインターフェースと、ホスト装置に対する
データ転送の際、キャッシュメモリからのデータ転送と
固定ディスク装置からのデータ転送とを切り換える転送
制御部と、キャッシュメモリに対するデータの書き込み
読み出しを制御するキャッシュメモリ制御部とを備えた
ものである。
SUMMARY OF THE INVENTION In a disk cache device for buffering a difference in access speed between a main memory and a fixed disk device, the present invention provides a SCSI interface for connecting a host device having a target function and an initiator function. A fixed disk device connection SCSI interface, a transfer controller that switches between data transfer from the cache memory and data transfer from the fixed disk device when transferring data to the host device, and write and read data to and from the cache memory. And a cache memory control unit for controlling.

【0006】[0006]

【作用】この発明のディスクキャッシュ装置では、ター
ゲット機能を有するSCSIインターフェースをホスト
装置側に接続し、イニシエータ機能を有するSCSIイ
ンターフェースを固定ディスク装置側に接続する。この
結果、ホスト装置と接続される側のSCSIインターフ
ェースをターゲットとして固定ディスク装置と同等に動
作させることにより、ホスト装置からは従来通りに固定
ディスク装置が接続されているものとして各種の処理を
実行させ、また、固定ディスク装置が接続される側のS
CSIインターフェースをイニシエータとしてホスト装
置と同等に動作させることにより、固定ディスク装置を
従来通りホスト装置に接続されているものとして動作さ
せることができる。
In the disk cache device of the present invention, the SCSI interface having the target function is connected to the host device side, and the SCSI interface having the initiator function is connected to the fixed disk device side. As a result, by operating the SCSI interface on the side connected to the host device as a target and operating in the same manner as the fixed disk device, various processes are executed from the host device assuming that the fixed disk device is connected as usual. , S on the side to which the fixed disk device is connected
By operating the CSI interface as an initiator in the same manner as the host device, the fixed disk device can be operated as if it were connected to the host device as in the conventional case.

【0007】そこで、転送制御部は、固定ディスク装置
に対するホスト装置からのアクセスに対してキャッシュ
メモリを同時にアクセスさせ、キャッシュヒットがあれ
ばそのアクセスに対してキャッシュメモリからデータを
ホスト装置に転送し、キャッシュヒットがなければその
アクセスに対して固定ディスク装置からデータをホスト
装置に転送するようにして、ホスト装置からのアクセス
を高速化する。
Therefore, the transfer control unit causes the cache memory to be simultaneously accessed in response to the access from the host device to the fixed disk device, and if there is a cache hit, transfers the data from the cache memory to the host device, If there is no cache hit, data is transferred from the fixed disk device to the host device in response to the access, and the access from the host device is speeded up.

【0008】[0008]

【実施例】以下、この発明の実施例を図に基づいて詳説
する。
Embodiments of the present invention will now be described in detail with reference to the drawings.

【0009】図1はこの発明の一実施例のシステム構成
を示しており、ホスト装置1とSCSI方式の固定ディ
スク装置2との間に挿入接続されるこの発明の一実施例
のディスクキャッシュ装置3は、キャッシュメモリ4
と、ホスト装置1をイニシエータとし、そのターゲット
機能を有するホスト装置接続用のSCSIインターフェ
ース5と、固定ディスク装置2をターゲットとし、その
イニシエータ機能を有する固定ディスク装置接続用のS
CSIインターフェース6とを備えている。
FIG. 1 shows a system configuration of an embodiment of the present invention. A disk cache device 3 of an embodiment of the present invention inserted and connected between a host device 1 and a SCSI type fixed disk device 2. Is the cache memory 4
And a host device 1 as an initiator, a SCSI interface 5 for connecting a host device having its target function, and an S for connecting a fixed disk device 2 having a fixed disk device 2 as a target and having an initiator function.
And a CSI interface 6.

【0010】また、固定ディスク装置2に対するホスト
装置1からのデータの転送、逆に固定ディスク装置2か
らホスト装置1に対するデータの転送を制御するデータ
転送制御部7と、キャッシュメモリ4に対するデータの
書き込み読み出しを制御するキャッシュメモリ制御部8
を備えている。
A data transfer control unit 7 for controlling data transfer from the host device 1 to the fixed disk device 2, and conversely, data transfer from the fixed disk device 2 to the host device 1, and writing of data to the cache memory 4. Cache memory control unit 8 for controlling reading
Is equipped with.

【0011】次に、上記の構成のディスクキャッシュ装
置の動作について説明する。
Next, the operation of the disk cache device having the above configuration will be described.

【0012】ホスト装置1と接続される側のSCSIイ
ンターフェースを、ターゲットとして固定ディスク装置
2と同等に動作させることにより、従来通り、固定ディ
スク装置2がホスト装置1に直接接続されている場合と
同様にホスト装置1からデータの入出力指令、データの
転送などの各種の処理が実行される。
By operating the SCSI interface on the side connected to the host device 1 as a target in the same manner as the fixed disk device 2, the fixed disk device 2 is directly connected to the host device 1 as in the conventional case. In addition, various processes such as data input / output command and data transfer are executed from the host device 1.

【0013】また、固定ディスク装置2が接続されてい
る側も同じように、従来通り、この固定ディスク装置2
をターゲットとし、ディスクキャッシュ装置3側をイニ
シエータとみなしてデータの入出力指令、データの転送
などの各種処理がなされる。
Further, similarly to the side to which the fixed disk device 2 is connected, this fixed disk device 2 is also conventionally used.
, The disk cache device 3 side is regarded as an initiator, and various processes such as data input / output command and data transfer are performed.

【0014】そして、ホスト装置1と固定ディスク装置
2との間のデータ転送、ホスト装置1とディスクキャッ
シュ装置3自身との間、また固定ディスク装置2とディ
スクキャッシュ装置3自身との間のデータ転送はデータ
転送制御部7が行なう。またキャッシュメモリ4に対す
るデータの書き込み、読み出しはキャッシュメモリ制御
部8が行なう。
Data transfer between the host device 1 and the fixed disk device 2, data transfer between the host device 1 and the disk cache device 3 itself, and between the fixed disk device 2 and the disk cache device 3 itself. Is performed by the data transfer control unit 7. The cache memory control unit 8 writes and reads data to and from the cache memory 4.

【0015】したがって、ホスト装置1からのアクセス
要求に対してディスクキャッシュ装置3がキャッシュメ
モリ4に格納されている内容を検索し、要求があったデ
ータがキャッシュメモリ4に存在している際にはキャッ
シュメモリ4から読み出し、存在しない場合には固定デ
ィスク装置2から読み出すようにして、ホスト装置1か
ら見てデータ転送を従来の固定ディスク装置2のみに対
する処理と同等の処理により実行する。
Therefore, when the disk cache device 3 searches the contents stored in the cache memory 4 in response to the access request from the host device 1 and the requested data exists in the cache memory 4, The data is read from the cache memory 4, and if it does not exist, the data is read from the fixed disk device 2, and the data transfer is performed by the same process as the process for the conventional fixed disk device 2 as viewed from the host device 1.

【0016】このディスクキャッシュ装置の具体的な動
作について、図2のフローチャートに基づいてさらに詳
しく説明すると、ホスト装置1からディスクキャッシュ
装置3に対してシーク要求を発行すると(ステップS
1)、ディスクキャッシュ装置3は固定ディスク装置2
に対してシーク要求を発行する(ステップS2)。
The specific operation of the disk cache device will be described in more detail with reference to the flowchart of FIG. 2. When the host device 1 issues a seek request to the disk cache device 3 (step S).
1), the disk cache device 3 is a fixed disk device 2
A seek request is issued to (step S2).

【0017】そして、ディスクキャッシュ装置3は固定
ディスク装置2のシーク完了を待たずに、ホスト装置1
に対して、シークの完了通知を発行する(ステップS
3)。そこで、ホスト装置1は、ディスクキャッシュ装
置3に対してデータ転送の要求を発行する(ステップS
4)。これを受けて、ディスクキャッシュ装置3は、キ
ャッシュメモリ4に格納されている内容を検索し、キャ
ッシュヒットしているかキャッシュミスヒットしている
かを調べる(ステップS6)。
Then, the disk cache device 3 does not wait for the seek of the fixed disk device 2 to be completed, but to the host device 1
A seek completion notification is issued to the
3). Therefore, the host device 1 issues a data transfer request to the disk cache device 3 (step S).
4). In response to this, the disk cache device 3 searches the contents stored in the cache memory 4 and checks whether there is a cache hit or a cache mishit (step S6).

【0018】このステップS6で、キャッシュヒットし
ている場合には、該当するデータをキャッシュメモリ4
から読み出してホスト装置1との間でデータ転送を行な
う(ステップS7)。この場合には、固定ディスク装置
2のアクセスタイムが必要なくなるために、アクセス時
間のオーバーヘッドが短縮することになる。
If there is a cache hit in step S6, the corresponding data is stored in the cache memory 4
The data is read from the host computer and data is transferred to and from the host device 1 (step S7). In this case, the access time of the fixed disk device 2 is not necessary, and the access time overhead is shortened.

【0019】ステップS6において、キャッシュミスヒ
ットしている場合には、固定ディスク装置2のシーク完
了を待ち(ステップS8)、固定ディスク装置2のシー
クが完了した時点で、ディスクキャッシュ装置3は固定
ディスク装置2に対してデータ転送の要求を発行し(ス
テップS9)、次に、ディスクキャッシュ装置3は、固
定ディスク装置2とホスト装置1との間のデータ転送を
制御する(ステップS10)。なお、このときのデータ
転送が固定ディスク装置2からのデータの読み出しの場
合には、この読み出しデータをキャッシュメモリ4へも
同時に格納する。この場合には、固定ディスク装置2の
アクセスタイムが必要となるので、ディスクキャッシュ
装置の装備されていない図3に示す従来のシステムと同
様のオーバーヘッドが必要となるが、それよりも遅くな
ることはない。
In step S6, if there is a cache miss hit, the completion of the seek of the fixed disk device 2 is waited for (step S8), and when the seek of the fixed disk device 2 is completed, the disk cache device 3 determines the fixed disk. A data transfer request is issued to the device 2 (step S9), and then the disk cache device 3 controls data transfer between the fixed disk device 2 and the host device 1 (step S10). If the data transfer at this time is reading of data from the fixed disk device 2, the read data is also stored in the cache memory 4 at the same time. In this case, since the access time of the fixed disk device 2 is required, the same overhead as that of the conventional system shown in FIG. 3, which is not equipped with the disk cache device, is required, but it is slower than that. Absent.

【0020】[0020]

【発明の効果】以上のようにこの発明のディスクキャッ
シュ装置は、ターゲット機能を有するホスト装置接続用
のSCSIインターフェースと、イニシエータ機能を有
する固定ディスク装置接続用のSCSIインターフェー
スと、ホスト装置に対するデータ転送の際、キャッシュ
メモリからのデータ転送と固定ディスク装置からのデー
タ転送とを切り換える転送制御部を備えているので、単
にホスト装置と固定ディスク装置の間に挿入接続するこ
とにより、ホスト装置に対して固定ディスク装置と同様
の処理手順を実行するだけでディスクキャッシュの機能
を実現することができ、容易に固定ディスク装置の性能
を向上させることができる。
As described above, the disk cache device of the present invention has a SCSI interface for connecting a host device having a target function, a SCSI interface for connecting a fixed disk device having an initiator function, and a data transfer for a host device. At this time, since the transfer control unit for switching the data transfer from the cache memory and the data transfer from the fixed disk device is provided, it is fixed to the host device by simply inserting and connecting it between the host device and the fixed disk device. The disk cache function can be realized simply by executing the same processing procedure as the disk device, and the performance of the fixed disk device can be easily improved.

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

【図1】この発明の一実施例のシステム構成を示すブロ
ック図。
FIG. 1 is a block diagram showing a system configuration of an embodiment of the present invention.

【図2】上記実施例のディスクキャッシュ装置の動作を
示すフローチャート。
FIG. 2 is a flowchart showing the operation of the disk cache device of the above embodiment.

【図3】従来例のシステム構成を示すブロック図。FIG. 3 is a block diagram showing a system configuration of a conventional example.

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

1 ホスト装置 2 固定ディスク装置 3 ディスクキャッシュ装置 4 キャッシュメモリ 5 ターゲット機能を有するSCSIインターフェース 6 イニシエータ機能を有するSCSIインターフェー
ス 7 データ転送制御部 8 キャッシュメモリ制御部
1 Host Device 2 Fixed Disk Device 3 Disk Cache Device 4 Cache Memory 5 SCSI Interface with Target Function 6 SCSI Interface with Initiator Function 7 Data Transfer Controller 8 Cache Memory Controller

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 メインメモリと固定ディスク装置とのア
クセス速度の差を緩衝するためのディスクキャッシュ装
置において、 ターゲット機能を有するホスト装置接続用のSCSIイ
ンターフェースと、イニシエータ機能を有する固定ディ
スク装置接続用のSCSIインターフェースと、ホスト
装置に対するデータ転送の際、キャッシュメモリからの
データ転送と固定ディスク装置からのデータ転送とを切
り換える転送制御部と、キャッシュメモリに対するデー
タの書き込み読み出しを制御するキャッシュメモリ制御
部とを備えて成るディスクキャッシュ装置。
1. A disk cache device for buffering a difference in access speed between a main memory and a fixed disk device, wherein a SCSI interface for connecting a host device having a target function and a fixed disk device for connecting a fixed disk device having an initiator function are provided. A SCSI interface, a transfer control unit that switches between data transfer from the cache memory and data transfer from the fixed disk device when transferring data to the host device, and a cache memory control unit that controls writing and reading of data to and from the cache memory. A disk cache device provided.
JP3279099A 1991-10-25 1991-10-25 Disk cache device Pending JPH05120136A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3279099A JPH05120136A (en) 1991-10-25 1991-10-25 Disk cache device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3279099A JPH05120136A (en) 1991-10-25 1991-10-25 Disk cache device

Publications (1)

Publication Number Publication Date
JPH05120136A true JPH05120136A (en) 1993-05-18

Family

ID=17606404

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3279099A Pending JPH05120136A (en) 1991-10-25 1991-10-25 Disk cache device

Country Status (1)

Country Link
JP (1) JPH05120136A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7340563B2 (en) * 2004-07-01 2008-03-04 Dts, Inc. Data transmission device having the shape of a standard 3.5″ disk

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7340563B2 (en) * 2004-07-01 2008-03-04 Dts, Inc. Data transmission device having the shape of a standard 3.5″ disk

Similar Documents

Publication Publication Date Title
US4593354A (en) Disk cache system
US5293618A (en) Method for controlling access to a shared file and apparatus therefor
US6092170A (en) Data transfer apparatus between devices
JPH09198308A (en) Data storage system
JPS62243044A (en) Control system for disk cache memory
JPS6126702B2 (en)
JPH076088A (en) Information storage device
JPH05120136A (en) Disk cache device
JP3122702B2 (en) Disk device write-back control method
JP4826873B2 (en) Microprocessor system with hot routine memory
JP2000353125A (en) Storage system and information processor
JPS6022376B2 (en) Cache memory control device
JP2002342038A (en) Disk device controlling execution order of commands
KR200216750Y1 (en) Access Speed Enhancement Device at SCS
JP2637934B2 (en) Cache control unit
JPH10254781A (en) Auxiliary storage device
JP2644857B2 (en) Data transfer method
JPS6286425A (en) Magnetic disc control device
JPH05274090A (en) Magnetic disk device
JPH06161897A (en) Control method for disk cache device
JPH05233159A (en) Duplex auxiliary storage system
JPH04264614A (en) File input/output control system
JPH0644012A (en) Data transfer system using pseudo magnetic disk device
JPH07121307A (en) Multiplexed disk device
JPH03286348A (en) Disk cache control system

Legal Events

Date Code Title Description
A621 Written request for application examination

Effective date: 20060124

Free format text: JAPANESE INTERMEDIATE CODE: A621

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20090811

A977 Report on retrieval

Effective date: 20090813

Free format text: JAPANESE INTERMEDIATE CODE: A971007

A521 Written amendment

Effective date: 20091002

Free format text: JAPANESE INTERMEDIATE CODE: A523

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20100316

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20100408

R150 Certificate of patent (=grant) or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130416

Year of fee payment: 3

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130416

Year of fee payment: 3

FPAY Renewal fee payment (prs date is renewal date of database)

Year of fee payment: 4

Free format text: PAYMENT UNTIL: 20140416