JPS63288342A - Disk controller - Google Patents
Disk controllerInfo
- Publication number
- JPS63288342A JPS63288342A JP62122626A JP12262687A JPS63288342A JP S63288342 A JPS63288342 A JP S63288342A JP 62122626 A JP62122626 A JP 62122626A JP 12262687 A JP12262687 A JP 12262687A JP S63288342 A JPS63288342 A JP S63288342A
- Authority
- JP
- Japan
- Prior art keywords
- cache memory
- data
- controller
- disk
- semiconductor
- 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
Links
- 239000004065 semiconductor Substances 0.000 claims abstract description 43
- 238000010586 diagram Methods 0.000 description 3
- 230000006870 function Effects 0.000 description 3
- 238000000034 method Methods 0.000 description 3
- 230000000694 effects Effects 0.000 description 1
- 239000002699 waste material Substances 0.000 description 1
Landscapes
- Memory System Of A Hierarchy Structure (AREA)
- Signal Processing For Digital Recording And Reproducing (AREA)
Abstract
Description
【発明の詳細な説明】
〈産業上の利用分野〉
本発明はディスク制御装置″に関し、入出力効率よく補
助記憶ができるよう企図したものである。DETAILED DESCRIPTION OF THE INVENTION <Industrial Application Field> The present invention relates to a "disk control device" and is intended to enable auxiliary storage to be performed with high input/output efficiency.
〈従来の技術〉
コンピュータの補助記憶装置の一つとじて磁気ディスク
装置がある。磁気ディスク装置は、記憶容量が大きくラ
ンダムアクセスができるという長所を有する。<Prior Art> A magnetic disk device is one of the auxiliary storage devices for computers. Magnetic disk drives have the advantage of large storage capacity and random access.
第3図は磁気ディスク装置を用いたコンピュータシステ
ムを示す。同図に示すようにコンピュータ1と磁気ディ
スク装置2は、I10バス3を通してデータの授受を行
なうものであり、I10バス3の途中には磁気ディスク
コントローラ4を設けている。FIG. 3 shows a computer system using a magnetic disk device. As shown in the figure, a computer 1 and a magnetic disk device 2 exchange data through an I10 bus 3, and a magnetic disk controller 4 is provided in the middle of the I10 bus 3.
磁気ディスク装置2にデータを記憶するときには、制御
ライン5aを介して記憶指令が、またI10バス3を介
してデータが、コンピュータ1かう磁気ディスクコント
ローラ4に送られる。磁気ディスクコントローラ4は、
記憶指令を解読し、制御ライン5bを介して駆動信号を
磁気ディスク装置2に送ってヘッドシークなどの必要な
動作を行なわせるとともに、所要のデータ処理をしたデ
ータを磁気ディスク装W2に送る。これにより磁気ディ
スク装W2にデータが記録される。When data is to be stored in the magnetic disk device 2, a storage command is sent to the magnetic disk controller 4 of the computer 1 via the control line 5a and the data is sent via the I10 bus 3. The magnetic disk controller 4 is
It decodes the storage command and sends a drive signal to the magnetic disk device 2 via the control line 5b to cause it to perform necessary operations such as head seek, and sends the data that has been subjected to necessary data processing to the magnetic disk device W2. As a result, data is recorded on the magnetic disk unit W2.
一方、磁気ディスク装置2からデータを読み出すときに
は、コンピュータ1から続出指令が出力され、磁気ディ
スク装置2から読み出されたデータは、磁気ディスクコ
ントローラ4を通ってコンピュータ1に取り込まれる。On the other hand, when reading data from the magnetic disk device 2, a continuation command is output from the computer 1, and the data read from the magnetic disk device 2 is taken into the computer 1 through the magnetic disk controller 4.
ところで、コンピュータ1の主記憶装置に比較し、磁気
ディスク装置2のアクセス速度は遅い。そこで磁気ディ
スク装置2に対する入出力を高速にし、コンピュータシ
ステムのスルーブツトを向上させるため、従来では、キ
ャッシュメモリや半導体ディスクを付加してシステムを
構成することがある。この両システムを、第4図と第5
図を参照して順次説明する。By the way, compared to the main storage device of the computer 1, the access speed of the magnetic disk device 2 is slow. Therefore, in order to increase the speed of input/output to the magnetic disk device 2 and improve the throughput of the computer system, conventionally, a system is sometimes configured by adding a cache memory or a semiconductor disk. Both systems are shown in Figures 4 and 5.
This will be explained one by one with reference to the figures.
第4図はキャッシュメモリを用いたコンピュータシステ
ムを示す。このシステムでは、磁気ディスクコントロー
ラ4とキャッシュメモリ6とキャッシュメモリディレク
タ7とキャッシュメモリコントローラ8とプロセッサ9
とを一体に組゛み込んで形成したディスク制御装置10
を備えている。FIG. 4 shows a computer system using cache memory. This system includes a magnetic disk controller 4, a cache memory 6, a cache memory director 7, a cache memory controller 8, and a processor 9.
A disk control device 10 formed by integrally incorporating
It is equipped with
前記キャッシュメモリ6は、高速な半導体バッファメモ
リであり、そのメモリ領域はブロック(磁気ディスク装
置2のデータ入出力単位)が格納される複数の領域に分
割されている。そしてコンピュータ1どのやりとりに使
われるブロックは、極力このキャッシュメモリ6との間
での授受ですむようにしている。つまりキャッシュメモ
リ6は高速緩衝記憶機構として機能する。The cache memory 6 is a high-speed semiconductor buffer memory, and its memory area is divided into a plurality of areas in which blocks (data input/output units of the magnetic disk device 2) are stored. The blocks used for any exchange with the computer 1 are made to be exchanged with the cache memory 6 as much as possible. In other words, the cache memory 6 functions as a high-speed buffer storage mechanism.
キャッシュメモリディレクタ7は、キャッシュメモリ6
に記憶したブロックを示すブロック番号及びそのブロッ
クがキャッシュメモリ6のどの記憶領域に記憶されてい
るかを記録する。The cache memory director 7 is the cache memory 6
The block number indicating the block stored in the cache memory 6 and the storage area in which the block is stored in the cache memory 6 are recorded.
コンピュータ1から続出指令が出ると、この指令はプロ
セッサ9を介してキャッシュメモリコントローラ8に送
られる。そうするとキャッシュメモリコントローラ8は
、キャッシュメモリディレクタ7の記録テーブルを参照
して該当するブロックがキャッシュメモリ6に記憶され
ているかどうかを判別する。When a continuation command is issued from the computer 1, this command is sent to the cache memory controller 8 via the processor 9. Then, the cache memory controller 8 refers to the record table of the cache memory director 7 and determines whether the corresponding block is stored in the cache memory 6.
キャッシュメモリ6内に該当ブロックが存在するときに
はキャッシュメモリ6から該当ブロックを読み出す。キ
ャッシュメモリ6内に該当ブロックが存在しないときに
は、磁気ディスク装置2から該当ブロックを読み出して
これをキャッシュメモリ8の未−使用記憶領域に格納し
、このキャッシュメモリ8から該当ブロックを読み出す
。なお、磁気ディスク装置2から読み出したブロックを
キャッシュメモリ8に格納する際に、キャッシュメモリ
8に未使用記憶領域がないときには、プロセッサ9によ
り、適当なアルゴリズムで作成される領域に格納する。When the corresponding block exists in the cache memory 6, the corresponding block is read from the cache memory 6. When the corresponding block does not exist in the cache memory 6, the corresponding block is read from the magnetic disk device 2, stored in an unused storage area of the cache memory 8, and the corresponding block is read from the cache memory 8. Note that when a block read from the magnetic disk device 2 is stored in the cache memory 8, if there is no unused storage area in the cache memory 8, the block is stored in an area created by the processor 9 using an appropriate algorithm.
一方、コンピュータ1から記憶指令が出て、ブロックが
出力されると、このブロックは一旦キャッシュメモリ6
に記憶される。On the other hand, when a storage command is issued from the computer 1 and a block is output, this block is temporarily stored in the cache memory 6.
is memorized.
キャッシュメモリ6に記憶されたブロックのうち、それ
以降はとんど使用しないブロックは磁気ディスク装置2
に移す。Among the blocks stored in the cache memory 6, blocks that are rarely used after that are stored in the magnetic disk device 2.
Move to.
なお、キャッシュメモリ6上で更新したデータと、磁気
ディスク装置2内のデータの一致判定は、ストアスル一
方式やスワップ方式を用いて行なう。Note that the match between the data updated on the cache memory 6 and the data in the magnetic disk device 2 is determined using a store-through method or a swap method.
このように、キャッシュメモリ6を用いたシステムでは
、処理するデータの授受のほとんどをコンピュータ】と
キャッシュメモリ6との間で行なうため、スループット
が向上する。In this way, in a system using the cache memory 6, most of the data to be processed is exchanged between the computer and the cache memory 6, so throughput is improved.
¥IJ5図は半導体ディスクを用いたコンピュータシス
テムを示す。このシステムでは、半導体ディスク11と
半導体ディスクディレクタ12と半導体ディスクコント
ローラ13と、プロセッサ14とでなる半導体ディスク
装置15を備えている。¥IJ5 Figure shows a computer system using semiconductor disks. This system includes a semiconductor disk device 15 consisting of a semiconductor disk 11, a semiconductor disk director 12, a semiconductor disk controller 13, and a processor 14.
前記半導体ディスク11は、I10バス3を通してコン
ピュータ1とデータ(この場合はブロック)の授受を行
なうものであり、磁気ディスク装置2とともに補助記憶
装置としてain=する。また、半導体ディスクディレ
クタ12は、半導体ディスク11に記憶されたブロック
を示すブロック番号及びそのブロックが記憶された記憶
領域を記録する。The semiconductor disk 11 exchanges data (blocks in this case) with the computer 1 through the I10 bus 3, and serves as an auxiliary storage device together with the magnetic disk device 2. The semiconductor disk director 12 also records a block number indicating a block stored on the semiconductor disk 11 and a storage area in which the block is stored.
コンピュータ1から記憶指令または読出指令か半導体デ
ィスク装置15に送られると、この指令はプロセッサ1
4を介して半導体ディスクコントローラ13に送られる
。そうすると、半導体ディスクコントローラ13は、半
導体ティスク°ディレクタ12の記録テーブルを参照し
つつ、半導体ディスク11に対しブロックの入出力を実
行する。半導体ディスク11は、トラックシーク時間や
回転待ち時間などの待ち時間が不要であり、高速にデー
タ処理ができる。When a storage command or a read command is sent from the computer 1 to the semiconductor disk device 15, this command is sent to the processor 1.
4 to the semiconductor disk controller 13. Then, the semiconductor disk controller 13 executes block input/output to the semiconductor disk 11 while referring to the recording table of the semiconductor disk director 12. The semiconductor disk 11 does not require waiting time such as track seek time or rotational waiting time, and can process data at high speed.
〈発明が解決しようとする問題点〉
ところで、キャッシュメモリを用いたシステムと半導体
ディスクを用いたシステムとは、個々に独立して運用さ
れている。そこで、より高い入出力効率を達成するには
両システムを併用しなければならないが、単純に併用し
たシステムとすると、構成が複雑になるとともに、両シ
ステムの役割分担が混乱しかえって効率が低下するお千
わがある。<Problems to be Solved by the Invention> Incidentally, a system using a cache memory and a system using a semiconductor disk are operated independently. Therefore, in order to achieve higher input/output efficiency, both systems must be used together, but if a system is simply used in combination, the configuration will be complicated and the division of roles between the two systems will be confused, resulting in a decrease in efficiency. There is a thousand wa.
本発明は、上記従来技術に鑑み、無駄のない構成て入出
力効率を向上させることのできるディスク制御装置を提
供するものである。In view of the above-mentioned prior art, the present invention provides a disk control device that has a lean configuration and can improve input/output efficiency.
〈問題点を解決するための手段〉
上記間湖を解決する本発明は、磁気ディスクコントロー
ラとキャッシュメモリシステムと半導体ディスクシステ
ムとコントローラとを有機的に一体に組み込んで構成し
たことを特徴とする。<Means for Solving the Problems> The present invention, which solves the above problems, is characterized in that a magnetic disk controller, a cache memory system, a semiconductor disk system, and a controller are organically integrated into one body.
〈実 施 例〉 以下本発明の実施例を図面に基づき詳細に説明する。<Example> Embodiments of the present invention will be described in detail below based on the drawings.
第1図は本発明の実施例を示す、同図において、101
はコンピュータ、102は磁気ディスク装置、103は
本発明の実施例に係るディスク制御装置である。FIG. 1 shows an embodiment of the present invention, in which 101
1 is a computer, 102 is a magnetic disk device, and 103 is a disk control device according to an embodiment of the present invention.
ディスク制御装置!03は、磁気ディスクコントローラ
+04 とキャッシュメモリ105とキャッシュメモリ
ディレクタ+06とキャッシュメモリコントローラ】0
7と半導体ディスク108と半導体ディスクディレクタ
109と半導体ディスクコントローラ110とプロセッ
サII+とを一体に組み込んて構成したものである。な
お、112はI10バスである。Disk control device! 03 is a magnetic disk controller +04, a cache memory 105, a cache memory director +06, and a cache memory controller]0
7, a semiconductor disk 108, a semiconductor disk director 109, a semiconductor disk controller 110, and a processor II+. Note that 112 is an I10 bus.
′fS2図に示すように、ディスク制御装置103の記
憶空間Aは、ブロック番号が1〜n番のn個のブロック
でなる記憶空間Bと、ブロック番号が(n+1)〜m番
の(m−n)個のブロンつてなる記憶空間Cとに分割さ
れている。'fS2 As shown in FIG. It is divided into n) storage spaces C.
コンピュータ1から記憶または読出の指令が出されると
、プロセッサ111は処理すべきブロックの番号を判別
する。判別したブロック番号が1〜nであるときには、
プロセッサII+は、キャッシュメモリコントローラ1
07を作動させる。これにより、キャッシュメモリコン
トローラ】07は、キャッシュメモリディレクタ106
の記録テーブルを参照しつつ、キャッシュメモリ105
に対して処理すべきブロックの入出力を実行する。なお
、磁気ディスクコントローラ104とキャッシュメモリ
105とキャッシュメモリディレクタ106とキャッシ
ュメモリコントローラ107とプロセッサIllとの相
互制御関係は、第4図に示す従来のものと同様である。When a storage or read command is issued from the computer 1, the processor 111 determines the number of the block to be processed. When the determined block number is 1 to n,
Processor II+ has cache memory controller 1
Activate 07. As a result, the cache memory controller]07 becomes the cache memory director 106.
while referring to the record table of the cache memory 105.
Executes input/output of blocks to be processed. Note that the mutual control relationship among the magnetic disk controller 104, cache memory 105, cache memory director 106, cache memory controller 107, and processor Ill is the same as the conventional one shown in FIG.
一方、プロセッサ+11により判別したブロック番号が
n+1〜mであるときには、プロセッサ111は半導体
ディスクコントローラ110を作動させる。これにより
、半導体ディスクコントローラ110は、半導体ディス
クディレクタ109の記録テーブルを参照しつつ、半導
体ディスク108に対して処理すべきブロックの入出力
を実行する。なお、半導体ディスク108と半導体ディ
スクディレクタ10Qと半導体ディスクコントローラ1
10とプロセッサ111との相互制御関係は、第5図に
示す従来のものと同様である。On the other hand, when the block number determined by processor +11 is n+1 to m, processor 111 operates semiconductor disk controller 110. As a result, the semiconductor disk controller 110 performs input/output of blocks to be processed to/from the semiconductor disk 108 while referring to the recording table of the semiconductor disk director 109 . Note that the semiconductor disk 108, the semiconductor disk director 10Q, and the semiconductor disk controller 1
The mutual control relationship between processor 10 and processor 111 is similar to the conventional one shown in FIG.
上述したように、プロセッサ111は、ブロック番号に
応してコントローラ107,110の一方を作動させる
機能のほか、両コントローラ107,110の上位制御
装置としての機能も果している。As described above, the processor 111 not only has the function of operating one of the controllers 107 and 110 according to the block number, but also functions as a higher-level control device for both the controllers 107 and 110.
〈発明の効果〉
本発明ではキャッシュメモリと半導体ディスクという二
つの高速なJ己憶手段を用いているため、入出力効率が
良い。しかも一台のプロセッサにより、ブロックの割り
当てをし、処理すべきブロックに応じて二つの記憶手段
(キャッシュメモリと半導体ディスク)の一方を用いる
ようにしたため、システム全体としての構成や動作に無
駄がなく効率の良いシステムとなる。<Effects of the Invention> Since the present invention uses two high-speed self-storage means, a cache memory and a semiconductor disk, the input/output efficiency is good. Furthermore, a single processor allocates blocks and uses one of two storage means (cache memory or semiconductor disk) depending on the block to be processed, so there is no waste in the overall system configuration or operation. It becomes an efficient system.
第1図は本発明の実胞例を示すブロック図、第2図は記
憶空間の分割を示す説明図、第3図〜第5図は従来技術
の各種例を示すブロック図である。
図面中、
101はコンピュータ、
102は磁気ディスク装置、
103はディスク制御装置、
104は磁気ディスクコントローラ、
105はキャッシュメモリ、
106はキャッシュメモリディレクタ、107はキャッ
シュメモリコントローラ、108は半導体ディスク、
109は半導体ディスクディレクタ、
+10は半導体ディスクコントローラ、111はプロセ
ッサである。FIG. 1 is a block diagram showing an actual example of the present invention, FIG. 2 is an explanatory diagram showing division of storage space, and FIGS. 3 to 5 are block diagrams showing various examples of prior art. In the drawings, 101 is a computer, 102 is a magnetic disk device, 103 is a disk controller, 104 is a magnetic disk controller, 105 is a cache memory, 106 is a cache memory director, 107 is a cache memory controller, 108 is a semiconductor disk, and 109 is a semiconductor 10 is a disk director; +10 is a semiconductor disk controller; and 111 is a processor.
Claims (1)
対するデータの入出力を制御する磁気ディスクコントロ
ーラと、 コンピュータと磁気ディスクコントローラとの間に介在
してデータを記憶し高速緩衝記憶機構として機能するキ
ャッシュメモリと、 キャッシュメモリに記憶したデータを示す データ番号及びそのデータのキャッシュメモリ内におけ
る記憶場所を記録するキャッシュメモリディレクタと、 キャッシュメモリディレクタの記録内容を 参照してキャッシュメモリに対するデータの入出力を制
御するキャッシュメモリコントローラと、 コンピュータとの間でデータの授受を行なってデータを
記憶する半導体ディスクと、 半導体ディスクに記憶したデータを示すデータ番号及び
そのデータの半導体ディスク内における記憶場所を記録
する半導体ディスクディレクタと、 半導体ディスクディレクタの記録内容を参照して半導体
ディスクに対するデータの入出力を制御する半導体ディ
スクコントローラと、 処理するデータのデータ番号に応じてキャッシュメモリ
コントローラか半導体ディスクコントローラかの一方を
作動させるプロセッサとを、一体に組み込んで構成した
ことを特徴とするディスク制御装置。[Claims] A magnetic disk controller that controls data input/output to a magnetic disk device that is an auxiliary storage device of a computer, and a high-speed buffer storage mechanism that is interposed between the computer and the magnetic disk controller to store data. A functioning cache memory, a cache memory director that records data numbers indicating data stored in the cache memory and storage locations of the data in the cache memory, and input of data into the cache memory by referring to the recorded contents of the cache memory director. A cache memory controller that controls output, a semiconductor disk that exchanges data with the computer and stores the data, and records the data number indicating the data stored on the semiconductor disk and the storage location of that data within the semiconductor disk. a semiconductor disk controller that controls data input/output to the semiconductor disk by referring to the recorded contents of the semiconductor disk director; and either a cache memory controller or a semiconductor disk controller depending on the data number of the data to be processed. 1. A disk control device configured by integrally incorporating a processor that operates the disk controller.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP62122626A JPS63288342A (en) | 1987-05-21 | 1987-05-21 | Disk controller |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP62122626A JPS63288342A (en) | 1987-05-21 | 1987-05-21 | Disk controller |
Publications (1)
Publication Number | Publication Date |
---|---|
JPS63288342A true JPS63288342A (en) | 1988-11-25 |
Family
ID=14840620
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP62122626A Pending JPS63288342A (en) | 1987-05-21 | 1987-05-21 | Disk controller |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPS63288342A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH0683708A (en) * | 1992-04-10 | 1994-03-25 | Fujitsu Ltd | Method and device for storing data |
US5761710A (en) * | 1994-10-07 | 1998-06-02 | Matsushita Electric Industrial Co., Ltd. | Information apparatus with cache memory for data and data management information |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS61190644A (en) * | 1985-02-19 | 1986-08-25 | Toshiba Corp | Cache disc subsystem |
JPS6234255A (en) * | 1985-08-08 | 1987-02-14 | Fuji Electric Co Ltd | Control system for disk cache memory |
-
1987
- 1987-05-21 JP JP62122626A patent/JPS63288342A/en active Pending
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS61190644A (en) * | 1985-02-19 | 1986-08-25 | Toshiba Corp | Cache disc subsystem |
JPS6234255A (en) * | 1985-08-08 | 1987-02-14 | Fuji Electric Co Ltd | Control system for disk cache memory |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH0683708A (en) * | 1992-04-10 | 1994-03-25 | Fujitsu Ltd | Method and device for storing data |
US5761710A (en) * | 1994-10-07 | 1998-06-02 | Matsushita Electric Industrial Co., Ltd. | Information apparatus with cache memory for data and data management information |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US4476526A (en) | Cache buffered memory subsystem | |
EP0495518A1 (en) | Data processing apparatus and method for various data formats | |
JPS627572B2 (en) | ||
JPS63288342A (en) | Disk controller | |
JPS60179857A (en) | Control system of cache device | |
JPH01303547A (en) | Control system for information memory | |
JP2556841B2 (en) | File access device and method for accessing the file | |
JPS6331806B2 (en) | ||
JP2994917B2 (en) | Storage system | |
JPH11175261A (en) | Control method for disk | |
JP4209108B2 (en) | Storage device control method, storage device used in this method, disk array device, and disk controller | |
JPH05165579A (en) | Mirrored disk controller | |
JPS63224487A (en) | Digital data recorder controller | |
JPH04341977A (en) | Data reproducing control system | |
JPH011047A (en) | data processing system | |
JPH02259922A (en) | Information processing system | |
JPS6053326B2 (en) | Double data recording method for input/output control equipment | |
JPH03282388A (en) | Composite aperture radar image processing system | |
JPS6234227A (en) | Auxiliary memory device | |
JPS6387690A (en) | Optical disk medium setting controller | |
JPH0448452A (en) | High speed access interface device for magneto-optical disk | |
JPS62121904A (en) | Control system for streaming magnetic tape device | |
JPS60243755A (en) | Disc cache control system | |
JPH0830403A (en) | Magnetic disk storage device | |
JPH01113844A (en) | Disk cache device |