JP2003005916A - Disk controller and its data access method - Google Patents

Disk controller and its data access method

Info

Publication number
JP2003005916A
JP2003005916A JP2001192543A JP2001192543A JP2003005916A JP 2003005916 A JP2003005916 A JP 2003005916A JP 2001192543 A JP2001192543 A JP 2001192543A JP 2001192543 A JP2001192543 A JP 2001192543A JP 2003005916 A JP2003005916 A JP 2003005916A
Authority
JP
Japan
Prior art keywords
unit
data
disk
access
memory unit
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
JP2001192543A
Other languages
Japanese (ja)
Other versions
JP4025032B2 (en
JP2003005916A5 (en
Inventor
Tetsuya Abe
哲也 阿部
Mitsuru Inoue
充 井上
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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP2001192543A priority Critical patent/JP4025032B2/en
Publication of JP2003005916A publication Critical patent/JP2003005916A/en
Publication of JP2003005916A5 publication Critical patent/JP2003005916A5/ja
Application granted granted Critical
Publication of JP4025032B2 publication Critical patent/JP4025032B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Memory System Of A Hierarchy Structure (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a disk controller having a cache memory part and a shared memory part capable of making it unnecessary to increase the number of the shared memory part, and preventing access performance form being deteriorated. SOLUTION: A data transferring path is arranged between a cache memory part and a shared memory part, and data for control which are used to be stored in the shared memory part in a conventional manner are stored through the shared memory part in the cache memory part so as to be accessed.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、ディスク制御装置
に係り、特に、磁気ディスク装置に対してリード・ライ
トされるデータを格納するためのキャッシュメモリ部
と、ディスク制御装置の制御用データを格納するための
共有メモリ部の二種の内部メモリを有するディスク制御
装置であって、キャッシュメモリ部を増設しても、それ
に応じた共有メモリ部の増設の必要のないディスク制御
装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a disk control device, and more particularly to a cache memory unit for storing data read / written to / from a magnetic disk device, and control data for the disk control device. The present invention relates to a disk control device having two kinds of internal memories of a shared memory unit for performing the above, and even if the cache memory unit is added, it is not necessary to add the shared memory unit accordingly.

【0002】[0002]

【従来の技術】今日のコンピュータシステムにおいて、
処理性能の向上に対する期待は大きく、特に、補助記憶
装置の代表たる磁気ディスクを記憶媒体とするディスク
サブシステムのI/O性能向上に対する要求は、年々高
いものになっている。このディスクサブシステム(以下
「サブシステム」ともいう。)のI/O性能は、半導体
記憶装置を記憶媒体とするコンピュータの主記憶のI/
O性能に比べて、3〜4桁程度小さく、従来からこの差
を縮めること、すなわちサブシステムのI/O性能を向
上させる努力がなされている。
2. Description of the Related Art In today's computer systems,
There are great expectations for improvement in processing performance, and in particular, demands for improvement in I / O performance of disk subsystems using a magnetic disk, which is a typical auxiliary storage device, as a storage medium are increasing year by year. The I / O performance of this disk subsystem (hereinafter also referred to as “subsystem”) is the I / O performance of the main memory of a computer using a semiconductor memory device as a storage medium.
Compared with the O performance, it is about 3 to 4 orders of magnitude smaller, and efforts have conventionally been made to reduce this difference, that is, to improve the I / O performance of the subsystem.

【0003】また、銀行、証券、電話会社等に代表され
る大企業では、従来各所に分散していたコンピュータお
よびストレージを、データセンターの中に集中化してコ
ンピュータシステムおよびストレージシステム構成する
ことにより、コンピュータシステムおよびストレージシ
ステムの運用、保守、管理に要する費用を削減する傾向
にあり、特に、大型/ハイエンドのストレージシステム
には、数百台以上のホストコンピュータへ接続するため
のチャネルインタフェースのサポート(コネクティビテ
ィ)、数百テラバイト以上の記憶容量のサポートが要求
されている。
Further, in large corporations represented by banks, securities companies, telephone companies, etc., computers and storages, which were conventionally distributed in various places, are centralized in a data center to form a computer system and a storage system. It tends to reduce the cost of operating, maintaining, and managing computer and storage systems, especially for large / high-end storage systems, channel interface support for connecting to hundreds or more host computers (connectivity). ), Support for hundreds of terabytes or more of storage capacity is required.

【0004】サブシステムのI/O性能を向上させるた
めの1つの方法として、複数の磁気ディスク装置でサブ
システムを構成し、データを複数の磁気ディスク装置に
格納する、いわゆるディスクアレイと呼ばれるシステム
が知られている。ディスクアレイの場合、上位コンピュ
ータからのI/Oを記録する複数の磁気ディスク装置
と、上位コンピュータのI/Oを受付け、複数の磁気デ
ィスク装置へ転送するディスクアレイ制御装置(以下、
単に「ディスク制御装置」ということも有る)から構成
されるのが一般的である。
As one method for improving the I / O performance of a subsystem, there is a so-called disk array system in which a subsystem is composed of a plurality of magnetic disk devices and data is stored in the plurality of magnetic disk devices. Are known. In the case of a disk array, a plurality of magnetic disk devices that record I / O from a host computer and a disk array control device that receives the I / O of the host computer and transfers the I / O to the plurality of magnetic disk devices (hereinafter,
It may be simply referred to as a "disk controller").

【0005】このようなディスクアレイ制御装置は、性
能を向上させるために、磁気ディスク装置に対してリー
ド・ライトされるデータをこの制御装置内に格納するた
めのキャッシュメモリ部を持つのが一般的である。
In order to improve the performance, such a disk array control device generally has a cache memory unit for storing the data read / written to / from the magnetic disk device in the control device. Is.

【0006】また、そのようなキャッシュメモリ部とは
別に、ディスクアレイ制御装置の制御用情報を格納を格
納する共有メモリ部を持つことがある。このような制御
用情報としては、例えば、ディスクアレイ制御装置内の
キャッシュメモリの管理情報等がある。
In addition to such a cache memory unit, there may be a shared memory unit for storing control information of the disk array controller. Such control information includes, for example, cache memory management information in the disk array control device.

【0007】以下、図2を用いて、このようなキュッシ
ュメモリ部と共有メモリ部の二種の内部メモリを持つよ
うなディスクアレイ制御装置の構成に関して説明する。
図2は、従来技術に係る内部構成を共有バス結合にした
ディスクアレイ制御装置の構成図である。
The configuration of a disk array controller having such two types of internal memories, a cache memory unit and a shared memory unit, will be described below with reference to FIG.
FIG. 2 is a configuration diagram of a disk array control device in which the internal configuration according to the related art is combined with a shared bus.

【0008】図2に示されるディスクアレイ制御装置2
では、共有バス16により、内部の構成要素であるホス
トIF部11、ディスクIF部12、共有メモリ部1
3、キャッシュメモリ部14が接続されている。
The disk array controller 2 shown in FIG.
Then, the shared bus 16 allows the host IF unit 11, the disk IF unit 12, and the shared memory unit 1 which are internal components.
3. The cache memory unit 14 is connected.

【0009】ホストIF部11は、ホストコンピュータ
50とディスクアレイ制御装置2との間のデータ転送を
実行し、ディスクIF部12は、磁気ディスク装置5と
ディスクアレイ制御装置2間のデータ転送を実行する部
分である。
The host IF section 11 executes data transfer between the host computer 50 and the disk array control apparatus 2, and the disk IF section 12 executes data transfer between the magnetic disk apparatus 5 and the disk array control apparatus 2. It is the part to do.

【0010】また、上で説明したようにキャッシュメモ
リ部14は、磁気ディスク装置20のデータを一時的に
格納するメモリであり、共有メモリ部13は、ディスク
アレイ制御装置2に関する制御情報を格納するメモリで
ある。
Further, as described above, the cache memory unit 14 is a memory for temporarily storing the data of the magnetic disk device 20, and the shared memory unit 13 stores the control information regarding the disk array controller 2. It is a memory.

【0011】そして、1つのディスクアレイ制御装置2
内において,共有メモリ部13、キャッシュメモリ部1
4は、全てのホストIF部11およびディスクIF部1
2からアクセス可能な構成となっている。
Then, one disk array controller 2
Inside, shared memory unit 13 and cache memory unit 1
Reference numeral 4 denotes all host IF units 11 and disk IF units 1.
It is accessible from 2.

【0012】また、ホストIF部11は、ホストコンピ
ュータ50と接続するためのインターフェースおよびホ
ストコンピュータ50に対する入出力を制御するマイク
ロプロセッサ(図示せず)を有している。同様に、ディ
スクIF部12は、磁気ディスク装置5と接続するため
のインターフェースおよび磁気ディスク装置5に対する
入出力を制御するマイクロプロセッサ(図示せず)を有
している。また、ディスクIF部12は、RAID機能
の実行もおこなう。
The host IF unit 11 also has an interface for connecting to the host computer 50 and a microprocessor (not shown) for controlling input / output to / from the host computer 50. Similarly, the disk IF unit 12 has an interface for connecting to the magnetic disk device 5 and a microprocessor (not shown) for controlling input / output to / from the magnetic disk device 5. The disk IF unit 12 also executes the RAID function.

【0013】図2で示した共有バス16に代わってスイ
ッチを用いた相互結合網を介して、各IF部を接続する
Each IF unit is connected through a mutual coupling network using switches instead of the shared bus 16 shown in FIG.

【0014】[0014]

【発明が解決しようとする課題】上記ディスクアレイ制
御装置では、データの種別によって、二種類の内部メモ
リを使い分けて性能向上を図っている。
In the above-mentioned disk array control device, two types of internal memories are selectively used depending on the type of data to improve the performance.

【0015】ところで、ディスクアレイ装置のI/Oス
ループット性能の伸びは大きく、それに対応するため各
IF部の処理性能を向上させる必要がある。この従来技
術に係るディスクアレイ制御装置では、この処理性能の
向上に伴って共有バス16の利用率は飽和状態となり、
それが原因でスループット性能が制限されていた。そこ
で共有バスのスループットを上げるための努力がなされ
たが装置の構成上、バス幅、駆動周波数等を改善するこ
とは難しくスループット向上にも限界があった。
By the way, the I / O throughput performance of the disk array device is greatly increased, and in order to cope with this, it is necessary to improve the processing performance of each IF unit. In the disk array control device according to this conventional technique, the utilization rate of the shared bus 16 becomes saturated as the processing performance is improved.
Due to that, throughput performance was limited. Therefore, efforts have been made to increase the throughput of the shared bus, but it is difficult to improve the bus width, driving frequency, etc. due to the configuration of the device, and there is a limit to throughput improvement.

【0016】一方、キャッシュメモリに対しては近年、
ディスク容量の増大に伴い、メモリ容量も増大化してい
る。ディスク装置の増設に伴って、ユーザは、キャッシ
ュメモリ部のメモリモジュールを増設しなければならな
いこともある。
On the other hand, cache memory has recently been
As the disk capacity increases, so does the memory capacity. As the number of disk devices is increased, the user may have to add more memory modules in the cache memory unit.

【0017】ところが、共有メモリ部は、キャッシュメ
モリアクセスの排他制御のために管理情報を格納するた
めに、キャッシュメモリを増設することにより、共有メ
モリ部のメモリ容量も増設することが必要となる。
However, the shared memory unit needs to increase the memory capacity of the shared memory unit by adding the cache memory in order to store the management information for exclusive control of the cache memory access.

【0018】そのため、上記従来技術に係るディスクア
レイ制御装置の場合に、共有メモリ部とキャッシュメモ
リ部を分離しているが、キャッシュメモリのピーク容量
(使用される可能性のある最大値)に合せて、予め共有
メモリの必要とする最大の容量を搭載しておくか、さも
なければ、キャッシュメモリ増設時にユーザーに対して
共有メモリの増設を促す必要が生じる。そのためにユー
ザにコスト的な負担をかけると言う問題点があった。
Therefore, in the case of the disk array control device according to the above-mentioned conventional technique, the shared memory part and the cache memory part are separated, but according to the peak capacity of the cache memory (maximum value that may be used). Then, the maximum capacity required for the shared memory is installed in advance, or otherwise, it becomes necessary to prompt the user to add the shared memory when the cache memory is added. Therefore, there is a problem that a cost is burdened to the user.

【0019】そこで、その解決策として、キャッシュメ
モリの一部を共有メモリに格納されるべきディスクアレ
イ制御装置の制御情報を格納するために使うことが考え
られる。通常、キャッシュメモリの増設量に比べて、共
有メモリの増設分はかなり小さなものになるからであ
る。
Therefore, as a solution, it is conceivable to use a part of the cache memory to store the control information of the disk array control device to be stored in the shared memory. This is because the amount of additional shared memory is usually much smaller than the amount of additional cache memory.

【0020】しかしながら、共有メモリに格納されるべ
きディスクアレイ制御装置の制御情報は、短く頻繁なア
クセスをおこなうデータであったため、そのように一部
をキャッシュメモリに置いて、アクセスすれば、プロト
コル・オーバーヘッドによる影響をうけ、アクセス性能
は低下してしまうことが予想されると言う問題点があっ
た。
However, since the control information of the disk array control device to be stored in the shared memory is data that is short and frequently accessed, if a part of it is placed in the cache memory and accessed, the protocol There is a problem that access performance is expected to deteriorate due to the influence of overhead.

【0021】本発明は、上記従来技術の問題点を解決す
るためになされたもので、その目的は、キュッシュメモ
リ部と共有メモリ部の二種類のメモリを有するディスク
制御装置において、キュッシュメモリ部の増設に応じ
て、共有メモリ部の増設を必要とせず、しかも、アクセ
ス性能の低下しないようなディスク制御装置を提供する
ことを目的とする。
The present invention has been made in order to solve the above-mentioned problems of the prior art, and an object of the present invention is to provide a disk control device having two types of memories, a cache memory unit and a shared memory unit. It is an object of the present invention to provide a disk control device that does not require the addition of a shared memory unit according to the number of additions and does not deteriorate access performance.

【0022】[0022]

【課題を解決するための手段】キャッシュメモリ部と共
有メモリ部との間に転送パスを設ける。そして、ディス
ク制御装置の制御データは、今まで通り、共用メモリ部
の結合網を利用して転送し、新たに設けたキャッシュメ
モリ部と共有メモリ部の間の転送パスを通じて、キュッ
シュメモリ部の専用バッファへデータを転送する。キャ
ッシュメモリ部アクセス権を、従来のキャッシュアクセ
スとこのキュッシュメモリ部と共有メモリ部の転送パス
経由のアクセスとの間を調停し、メモリへライトをおこ
なう。これによりプロトコル性能を変更せずに、一部の
共有メモリデータをキュッシュメモリに格納することが
可能となる。
A transfer path is provided between a cache memory unit and a shared memory unit. Then, the control data of the disk controller is transferred using the connection network of the shared memory unit as before, and is exclusively used for the cache memory unit through the newly provided transfer path between the cache memory unit and the shared memory unit. Transfer data to the buffer. The cache memory unit access right is arbitrated between the conventional cache access and the access via the transfer path of the cache memory unit and the shared memory unit to write to the memory. This makes it possible to store some shared memory data in the cache memory without changing the protocol performance.

【0023】このようにすれば、アクセスは、共有メモ
リの接続を通じてなされるため、キャッシュメモリに格
納するデータであっても、キャッシュメモリデータのプ
ロトコルによるオーバーヘッドによる性能低下をするこ
となく、アクセスすることが可能となる。また、メモリ
コントローラの制御を工夫することにより、キャッシュ
メモリデータパスからのメモリへのデータの書き込み時
間の隙間に共有メモリ部からのデータをメモリへ格納す
ることができ、メモリパスの効率を上げることが可能で
ある。
In this way, since the access is performed through the connection of the shared memory, even the data stored in the cache memory can be accessed without degrading the performance due to the overhead of the protocol of the cache memory data. Is possible. Also, by devising the control of the memory controller, it is possible to store the data from the shared memory part in the memory in the gap of the writing time of the data from the cache memory data path to the memory, thus improving the efficiency of the memory path. Is possible.

【0024】[0024]

【発明の実施の形態】以下、本発明に係る一実施形態
を、図1、図3ないし図13を用いて説明する。
BEST MODE FOR CARRYING OUT THE INVENTION An embodiment of the present invention will be described below with reference to FIGS. 1 and 3 to 13.

【0025】〔共有メモリとキャッシュメモリの結合
網〕先ず、図3、図4を用いて共有メモリとキャッシュ
メモリの結合網について説明する。図3、図4は、共有
メモリとキャッシュメモリの結合網として、図2に示し
た共有バス16に代わってスイッチを用いた相互結合網
を介して各IF部を接続する別のタイプであるディスク
アレイ制御装置の構成図である。
[Connection Network of Shared Memory and Cache Memory] First, the connection network of shared memory and cache memory will be described with reference to FIGS. 3 and 4. 3 and 4 are disks of another type in which each IF unit is connected through a mutual connection network using switches instead of the shared bus 16 shown in FIG. 2 as a connection network of shared memory and cache memory. It is a block diagram of an array control device.

【0026】ここで、図3に示す例では、共有メモリと
キャッシュメモリの結合網の両者がスイッチを用いた結
合網になっており、図4に示す例では、キャッシュメモ
リの結合網のみがスイッチを用いた結合網になってい
る。
Here, in the example shown in FIG. 3, both the shared network of the shared memory and the cache memory are connected networks using switches, and in the example shown in FIG. 4, only the connected network of the cache memory is switched. It is a connection network using.

【0027】図3のディスクアレイ制御装置2Bでは、
共有メモリ部13と、ホストIF部11、ディスクIF
部12との間、および、キャッシュメモリ部14と、ホ
ストIF部11、ディスクIF部12との間は,それぞ
れクロスバースイッチからなる相互結合網21、およ
び、相互結合網22でそれぞれ接続されている。
In the disk array controller 2B of FIG. 3,
Shared memory unit 13, host IF unit 11, disk IF
The cache memory unit 14 and the host IF unit 11 and the disk IF unit 12 are connected to each other through a mutual connection network 21 and a mutual connection network 22 each of which includes a crossbar switch. There is.

【0028】この方法では相互接続された個々のパスの
スループットは、共有バスの数分の1であるが相互接続
された2点間には複数のパスが存在するため、負荷が分
散され、スループットの向上が可能となる。
According to this method, the throughput of the individual interconnected paths is a fraction of the shared bus, but since there are multiple paths between the two interconnected points, the load is distributed and the throughput is increased. Can be improved.

【0029】さらに、共有メモリとキャッシュメモリの
結合網を別のタイプにした図4に示すディスクアレイ制
御装置も考えられる。
Further, a disk array controller shown in FIG. 4 in which the connection network of the shared memory and the cache memory is of a different type is also conceivable.

【0030】この構成では、キャッシュメモリ部14
と、ホストIF部11、ディスクIF部12との間は,
図3と同じようにクロスバースイッチからなる相互結合
網22であるが、共有メモリ部13は、ホストIF部1
1、ディスクIF部12との間は、ダイレクトに接続さ
れている。
In this configuration, the cache memory unit 14
Between the host IF unit 11 and the disk IF unit 12,
Similar to FIG. 3, the mutual connection network 22 includes crossbar switches, but the shared memory unit 13 includes the host IF unit 1
1 and the disk IF unit 12 are directly connected.

【0031】このように、図4において共有メモリ結合
網21とキャッシュメモリ結合網22は区別し、独立す
る構成にしたのは、両者の取扱うデータの種類に起因す
るものである。すなわち、キャッシュメモリ部14は、
ディスクから読み込むデータをホストへ格納する途中に
一時格納するメモリであるため、データ長の長いパケッ
トデータ転送のようなシーケンシャルなアクセスが多
く、このアクセスには、スループット性能が重要とな
る。
In this way, in FIG. 4, the shared memory connection network 21 and the cache memory connection network 22 are distinguished and made independent because of the type of data handled by both. That is, the cache memory unit 14 is
Since it is a memory that temporarily stores the data read from the disk while storing it in the host, there are many sequential accesses such as packet data transfer with a long data length, and throughput performance is important for this access.

【0032】一方、共有メモリ部13は、装置の制御情
報を格納するためりメモリであるため、ランダムアクセ
スの多いメモリアクセスが多くなり、レスポンス重視と
いう性格がある。この2つのアクセスの性格は、相反す
るもので同じ経路、プロトコルで転送すれば、どちらか
の性能を低下させてしまうことになるからである。
On the other hand, since the shared memory unit 13 is a memory for storing control information of the apparatus, the memory access with a lot of random accesses increases, and the response is emphasized. This is because the characteristics of these two accesses are contradictory, and if they are transferred using the same route and protocol, the performance of either will be degraded.

【0033】図4の装置では、図3と違い、共有メモリ
部13の共有メモリ結合網21は、CSW(クロスバー
スイッチ)部を使わないダイレクト結合になっており、
このためレスポンス時間を短くするには都合が良い。ま
た、反対にキャッシュメモリ部14の、キャッシュメモ
リ結合網22は、構成が大きいが、多重にアクセスをお
こない使用帯域をあげるためにCSW(クロスバースイ
ッチ)部により階層化した構造をとっている。
In the apparatus of FIG. 4, unlike FIG. 3, the shared memory coupling network 21 of the shared memory unit 13 is a direct coupling that does not use a CSW (crossbar switch) unit.
Therefore, it is convenient to shorten the response time. On the contrary, the cache memory connection network 22 of the cache memory unit 14 has a large structure, but has a hierarchical structure by a CSW (Crossbar Switch) unit in order to make multiple accesses and increase the used band.

【0034】〔ディスク制御装置の構成〕次に、図1を
用いて本発明に係るディスク制御装置の構成について説
明する。図1は、本発明に係るディスク制御装置の構成
図である。
[Structure of Disk Controller] Next, the structure of the disk controller according to the present invention will be described with reference to FIG. FIG. 1 is a block diagram of a disk control device according to the present invention.

【0035】本実施形態のディスク制御装置1は、ホス
トコンピュータ50とインタフェースを持つためのホス
トIF部11と、磁気ディスク装置20とインターフェ
ースを持つためのディスクIF部12を有している。通
常、これらのインタフェースは、並列処理により、性能
を上げるため、複数設けられることが多い。図1では、
それぞれ2つずつ図示されている。また、このディスク
制御装置1は、用途の異なるキャッシュメモリ部14
と、共有メモリ部15の二種類のメモリを有し、それぞ
れ、ホストIF部11とディスクIF部12と接続され
ている。なお、以下、キャッシュメモリのことを「C
M」と表記し、共有メモリのことを「SM」と表記する
ことがある。
The disk controller 1 of the present embodiment has a host IF section 11 for interfacing with the host computer 50 and a disk IF section 12 for interfacing with the magnetic disk apparatus 20. Usually, a plurality of these interfaces are often provided in order to improve the performance by parallel processing. In Figure 1,
Two are shown in each case. In addition, the disk control device 1 includes a cache memory unit 14 having different uses.
And a shared memory unit 15, which are two types of memories, and are respectively connected to the host IF unit 11 and the disk IF unit 12. Hereinafter, the cache memory is referred to as "C
The shared memory may be referred to as “M” and the shared memory may be referred to as “SM”.

【0036】ホストIF部11は、ホストIF3、マイ
クロプロセッサ6、CMアクセス制御部4a、SMアク
セス制御部5aを有している。ホストIF3は、ホスト
コンピュータ50とのインタフェースを担当する部分で
ある。マイクロプロセッサ6は、ホストコンピュータ5
0に対する入出力を制御する部分である。CMアクセス
制御部4aは、キャッシュメモリ部14へのアクセスを
制御する部分である。SMアクセス制御部5aは、共有
メモリ部15へのアクセスを制御する部分である。
The host IF section 11 has a host IF 3, a microprocessor 6, a CM access control section 4a, and an SM access control section 5a. The host IF 3 is a part in charge of an interface with the host computer 50. The microprocessor 6 is the host computer 5
This is a part for controlling input / output to / from 0. The CM access control unit 4a is a unit that controls access to the cache memory unit 14. The SM access control unit 5a is a unit that controls access to the shared memory unit 15.

【0037】ホストIF部11は、マイクロプロセッサ
6の制御により、ホストコンピュータ50とキャッシュ
メモリ部14との間のデータ転送を実行する。図1に示
されるようにマイクロプロセッサ6とホストIF3は、
内部バスによって接続され、CMアクセス制御部4も、
ホストIF3に接続されている。
Under the control of the microprocessor 6, the host IF unit 11 executes data transfer between the host computer 50 and the cache memory unit 14. As shown in FIG. 1, the microprocessor 6 and the host IF 3 are
Connected by an internal bus, the CM access control unit 4 also
It is connected to the host IF3.

【0038】また、同様に、SMアクセス制御部5aも
マイクロプロセッサ6の制御により共有メモリ部15と
接続するSMパス40を使用しデータを転送する。
Similarly, the SM access control section 5a transfers data using the SM path 40 connected to the shared memory section 15 under the control of the microprocessor 6.

【0039】ディスクIF部12は、ドライブIF2、
マイクロプロセッサ6、CMアクセス制御部4b、SM
アクセス制御部5aを有している。
The disk IF section 12 includes a drive IF2,
Microprocessor 6, CM access control unit 4b, SM
It has an access control unit 5a.

【0040】ドライブIF2は、磁気ディスク装置20
とのインタフェースを担当する部分である。マイクロプ
ロセッサ6は、磁気ディスク装置20に対する入出力を
制御する部分である。CMアクセス制御部4bは、キャ
ッシュメモリ部14へのアクセスを制御する部分であ
る。SMアクセス制御部5bは、共有メモリ部15への
アクセスを制御する部分である。
The drive IF2 is the magnetic disk device 20.
This is the part in charge of the interface with. The microprocessor 6 is a part that controls input / output to / from the magnetic disk device 20. The CM access control unit 4b is a unit that controls access to the cache memory unit 14. The SM access control unit 5b is a unit that controls access to the shared memory unit 15.

【0041】このディスクIF部12は、マイクロプロ
セッサ6の制御により磁気ディスク装置20とキャッシ
ュメモリ部14間のデータ転送を実行する。図1に示さ
れるようにマイクロプロセッサ6およびドライブIF2
は内部バスによって接続され、CMアクセス制御部4b
は、ドライブIF2に接続されている。また、ディスク
IF部はRAID制御等の演算機能の実行もおこなう。
The disk IF unit 12 executes data transfer between the magnetic disk device 20 and the cache memory unit 14 under the control of the microprocessor 6. As shown in FIG. 1, the microprocessor 6 and the drive IF 2
Are connected by an internal bus, and CM access control unit 4b
Are connected to the drive IF2. Further, the disk IF unit also executes arithmetic functions such as RAID control.

【0042】また、同様に、SMアクセス制御部5もマ
イクロプロセッサ6の制御により共有メモリ部15と接
続するSMパス40を使用しデータを転送する。
Similarly, the SM access control section 5 also transfers data using the SM path 40 connected to the shared memory section 15 under the control of the microprocessor 6.

【0043】キャッシュメモリ部14は、磁気ディスク
装置20に対してリード・ライトされるデータを一時的
に格納し、アクセスすることにより、アクセス性能を上
げるために設けられるメモリである。キャッシュメモリ
部14は、CMコントローラ7、メモリモジュール9を
1つの単位として、磁気ディスク20の容量、性能に対
する要求に応じて、複数設置される。
The cache memory unit 14 is a memory provided for temporarily storing data to be read from and written to the magnetic disk device 20 and accessing it to improve access performance. A plurality of cache memory units 14 are installed with the CM controller 7 and the memory module 9 as one unit according to the demand for the capacity and performance of the magnetic disk 20.

【0044】ホストIF部11とディスクIF部12
は、CMパス0(31)により、クロスバー・スイッチ
部13と接続されていて、キャッシュメモリ部14は、
CMパス1(32)により接続されている。
Host IF section 11 and disk IF section 12
Is connected to the crossbar switch unit 13 by the CM path 0 (31), and the cache memory unit 14 is
They are connected by CM path 1 (32).

【0045】すなわち、ホストIF部11のCMアクセ
ス制御部4aと、ディスクIF部12のCMアクセス制
御部4bにはCMパス0(31)が接続されており、キ
ャッシュメモリ部14のCMコントローラ部7は、CM
パス1(32)が接続されている。そして、複数のCM
アクセス制御部4a,4bに接続するそれぞれのCMパ
ス0(31)と複数のCMコントローラ部7に接続する
それぞれのCMパス1(32)は、クロスバー・スイッ
チ(CSW)部13を経由し、階層的に接続されてい
る。
That is, the CM path 0 (31) is connected to the CM access control section 4a of the host IF section 11 and the CM access control section 4b of the disk IF section 12, and the CM controller section 7 of the cache memory section 14 is connected. Is CM
Path 1 (32) is connected. And multiple CMs
The respective CM paths 0 (31) connected to the access control units 4a and 4b and the respective CM paths 1 (32) connected to the plurality of CM controller units 7 pass through the crossbar switch (CSW) unit 13, They are connected hierarchically.

【0046】共有メモリ部15は、このディスク制御装
置1の制御用データを格納するメモリである。特に、共
有メモリ部15は、制御用データとして、キャッシュメ
モリ部7のアクセスの排他制御等に必要な管理情報を格
納する。この共有メモリ部15も、SMコントローラ
7、メモリモジュール9を1つの単位として、性能に対
する要求に応じて、複数設置される。
The shared memory section 15 is a memory for storing the control data of the disk control device 1. In particular, the shared memory unit 15 stores, as control data, management information necessary for exclusive control of access to the cache memory unit 7. A plurality of shared memory units 15 are also installed with the SM controller 7 and the memory module 9 as one unit in accordance with the demand for performance.

【0047】また、共有メモリ部15は、SMパス40
により、ホストIF部11とディスクIF部12により
接続されている。
Further, the shared memory unit 15 has the SM path 40
Thus, the host IF section 11 and the disk IF section 12 are connected.

【0048】すなわち、ホストIF部11のSMアクセ
ス制御部5aと、ディスクIF部12のSMアクセス制
御部5bには、SMパス40を介して共有メモリ部15
のSMコントローラ部8と接続されている。
That is, the SM access control unit 5a of the host IF unit 11 and the SM access control unit 5b of the disk IF unit 12 are shared by the shared memory unit 15 via the SM path 40.
It is connected to the SM controller unit 8 of.

【0049】ここで、CMパスのようにクロスバースイ
ッチによる階層構造をとらないのは、共有メモリデータ
がキャッシュメモリデータと違って、容量も小さく、ト
ランザクション的なアクセスが多くレスポンス時間が短
いことが性能向上に不可欠なため、スイッチングによる
プロトコル・オーバーヘッド時間を少なくする効果もあ
る。すなわち、キャッシュメモリ部と共有メモリ部を分
離した経路を持つ意味は、データアクセスの性質が相異
なることを考慮している為である。
Unlike the CM path, the hierarchical structure by the crossbar switch is not taken. Unlike the cache memory data, the shared memory data has a small capacity, many transactional accesses are made, and the response time is short. Since it is essential for improving performance, it also has the effect of reducing protocol overhead time due to switching. That is, the reason for having a path in which the cache memory unit and the shared memory unit are separated is because it takes into consideration that the properties of data access are different.

【0050】また、共有メモリ部15のSMコントロー
ラ8と、キャッシュメモリ部14のCMコントローラ8
は、独自のCM/SM転送パス41で接続されていて、
従来なら共有メモリ部15に、格納していた制御データ
をこのCM/SM転送パス41を介して、キャッシュメ
モリ部14にも格納できるようになっている。
Also, the SM controller 8 of the shared memory unit 15 and the CM controller 8 of the cache memory unit 14
Are connected by their own CM / SM transfer path 41,
The control data stored in the shared memory unit 15 in the past can be stored in the cache memory unit 14 via the CM / SM transfer path 41.

【0051】この接続の形態は、共有メモリ部15とキ
ャッシュメモリ部14を1対1で接続する形態でも良い
し、1つの共有メモリ部15に対して、キャッシュメモ
リ部14を複数接続する、1対多で接続する形態でも良
い。
This connection form may be a form in which the shared memory unit 15 and the cache memory unit 14 are connected in a one-to-one manner, or a plurality of cache memory units 14 are connected to one shared memory unit 15. It is also possible to connect to many points.

【0052】〔各ディスク制御装置の各部の詳細構成〕
次に、図5ないし図9を用いて本発明に係るディスク制
御装置の各部のより詳細な構成について説明する。 (I)CMアクセス制御部 先ず、図5を用いてCMアクセス制御部4a,4bの構
成について説明する。図5は、CMアクセス制御部4
a,4bの構成図である。
[Detailed Configuration of Each Part of Each Disk Controller]
Next, a more detailed configuration of each part of the disk control device according to the present invention will be described with reference to FIGS. (I) CM Access Control Unit First, the configuration of the CM access control units 4a and 4b will be described with reference to FIG. FIG. 5 shows the CM access control unit 4.
It is a block diagram of a, 4b.

【0053】CMアクセス制御部4は、セレクタ102
と、アドレス、コマンド、データを一時格納するパケッ
トバッファ103と、クロスバー・スイッチ部13に接
続するCMパス0(31)とのパスIF101と、デー
タのエラーチェック回路部100と、データ転送制御部
110とを有する。
The CM access control unit 4 has a selector 102.
, A packet buffer 103 for temporarily storing addresses, commands, and data, a path IF 101 for a CM path 0 (31) connected to the crossbar switch unit 13, a data error check circuit unit 100, and a data transfer control unit. 110 and.

【0054】セレクタ102の2つのポートは、データ
線29でホストIF3あるいはドライブIF2に接続さ
れている。
The two ports of the selector 102 are connected to the host IF3 or the drive IF2 by the data line 29.

【0055】また、セレクタ102の他の2つのポート
は、パケットバッファ103を介してパスIF101に
接続され、パスIF101は、CMパス0(31)でク
ロスバー・スイッチ部13に接続されている。データ転
送制御部110は、制御線2(33)でクロスバー・ス
イッチ部13内(後の図7に示す)のデータ転送制御部
132に接続されている。データ転送制御部110は、
アービタ108によりホストIF3あるいはドライブI
F2からのアクセス要求のアービトレーション(調停)
をおこない、セレクタ102に切り替えをおこなう。 (II)SMアクセス制御部 次に、図6を用いてSMアクセス制御部5a,5bの構
成について説明する。図6は、SMアクセス制御部5
a,5bの構成図である。
The other two ports of the selector 102 are connected to the path IF 101 via the packet buffer 103, and the path IF 101 is connected to the crossbar switch unit 13 by the CM path 0 (31). The data transfer control unit 110 is connected to the data transfer control unit 132 in the crossbar switch unit 13 (shown in FIG. 7 later) by the control line 2 (33). The data transfer control unit 110
Host IF3 or drive I by arbiter 108
Arbitration of access request from F2
Then, the selector 102 is switched. (II) SM Access Control Unit Next, the configuration of the SM access control units 5a and 5b will be described with reference to FIG. FIG. 6 shows the SM access control unit 5.
It is a block diagram of a, 5b.

【0056】SMアクセス制御部4は、セレクタ112
と、アドレス、コマンド、データを一時格納するパケッ
トバッファ113と、クロスバー・スイッチ部13に接
続するSMパス0(31)とのパスIF111と、デー
タのエラーチェック回路部114と、データ転送制御部
115とを有する。
The SM access control unit 4 uses the selector 112.
A packet buffer 113 for temporarily storing addresses, commands, and data, a path IF 111 for the SM path 0 (31) connected to the crossbar switch unit 13, a data error check circuit unit 114, and a data transfer control unit. 115 and.

【0057】セレクタ102の2つのポートは、データ
線28でホストIF3あるいはドライブIF2に接続さ
れている。
The two ports of the selector 102 are connected to the host IF3 or the drive IF2 by the data line 28.

【0058】また、セレクタ102の他の2つのポート
は、パケットバッファ113を介してパスIF101に
接続され、パスIF101は、SMパス40で、共有メ
モリ部15にダイレクトに接続されている。データ転送
制御部115は、制御線2(36)で共有メモリ部15
内(後の図9に示す)のデータ転送制御部152に接続
されている。データ転送制御部115は、アービタ11
8によりホストIF3あるいはドライブIF2からのア
クセス要求のアービトレーションをおこない、セレクタ
112に切り替えをおこなう。 (III)クロスバー・スイッチ部 次に、図7を用いてクロスバー・スイッチ部13内の構
成について説明する。図7は、クロスバー・スイッチ部
13の構成図である。
The other two ports of the selector 102 are connected to the path IF 101 via the packet buffer 113, and the path IF 101 is directly connected to the shared memory section 15 by the SM path 40. The data transfer control unit 115 uses the control line 2 (36) to share the shared memory unit 15.
It is connected to the internal data transfer control unit 152 (shown in FIG. 9 later). The data transfer control unit 115 uses the arbiter 11
The access request from the host IF 3 or the drive IF 2 is arbitrated by the switch 8 to switch to the selector 112. (III) Crossbar Switch Unit Next, the internal structure of the crossbar switch unit 13 will be described with reference to FIG. FIG. 7 is a configuration diagram of the crossbar switch unit 13.

【0059】クロスバー・スイッチ(CSW)部13
は、CMパス0(31)とCMパス1(32)の両者間
を互いに接続するセレクタ136と、パケットバッファ
133と、パスIF131と、データのエラーチェック
回路部130と、CMアクセス制御部4から送出された
アドレスおよびコマンドを解析するアドレス/コマンド
解析部135と、データ転送制御部132とを有する。
Crossbar switch (CSW) unit 13
From the selector 136, the packet buffer 133, the path IF 131, the data error check circuit unit 130, and the CM access control unit 4, which connect the CM path 0 (31) and the CM path 1 (32) to each other. It has an address / command analysis unit 135 that analyzes the sent address and command, and a data transfer control unit 132.

【0060】CMパス0(31)は、ホストIF部1
1、ディスクIF部12につながっていて、 CMパス
1(32)は、キャッシュメモリ部14の中のCMコン
トローラ7につながっている。
The CM path 0 (31) is connected to the host IF unit 1
1. The CM path 1 (32) is connected to the disk IF unit 12, and is connected to the CM controller 7 in the cache memory unit 14.

【0061】データ転送制御部132は、制御線2(3
3)で、図5に示したCMアクセス制御部4内のデータ
転送部110に接続され、制御線3(34)で、キャッ
シュメモリ部14の中のCMコントローラ7内のデータ
転送制御部148(次の図7に示す)に接続されてい
る。また、データ転送制御部132は、アービタ138
により、アドレス/コマンド解析部135で解析したC
Mパス0(31)からのアクセス要求のアービトレーシ
ョン(調停)を行い、セレクタ136の切り替えをおこ
なう。
The data transfer controller 132 controls the control line 2 (3
3) is connected to the data transfer unit 110 in the CM access control unit 4 shown in FIG. 5, and the control line 3 (34) is used to connect the data transfer control unit 148 in the CM controller 7 in the cache memory unit 14 ( (Shown in FIG. 7 below). In addition, the data transfer control unit 132 uses the arbiter 138.
C analyzed by the address / command analysis unit 135 by
The access request from the M path 0 (31) is arbitrated (arbitrated) and the selector 136 is switched.

【0062】パケットバッファ133は、CMパス0
(31)側のパスとCMパス1(32)側のパスでデー
タ転送速度に差がある場合、速度差を吸収するために、
転送するデータの一部または全部をバッファリングす
る。
The packet buffer 133 has CM path 0
If there is a difference in data transfer speed between the path on the (31) side and the path on the CM path 1 (32) side, in order to absorb the speed difference,
Buffer some or all of the data to be transferred.

【0063】アドレス/コマンド解析部135は、アド
レスおよひコマンドを格納するバッファと、アドレス抽
出部と、コマンド抽出部とを有する(図示はしていな
い)。アドレス/コマンド解析部135は、CMアクセ
ス制御部4に接続される複数のCMパス0(31)、そ
れぞれに割り当てられたバッファに、アドレス、コマン
ドを格納する。アドレス抽出部およびコマンド抽出部で
は、アクセスするCMコントローラ7を割り出し、デー
タ転送制御部132内のアービタ138へ送出する。 (IV)キャッシュメモリ部 次に、図8を用いてキャッシュメモリ部14内の構成に
ついて説明する。図8は、キャッシュメモリ部14の構
成図である。
The address / command analysis section 135 has a buffer for storing addresses and commands, an address extraction section, and a command extraction section (not shown). The address / command analysis unit 135 stores the address and the command in the buffers allocated to each of the CM paths 0 (31) connected to the CM access control unit 4. The address extracting unit and the command extracting unit determine the CM controller 7 to be accessed and send it to the arbiter 138 in the data transfer control unit 132. (IV) Cache Memory Unit Next, the internal structure of the cache memory unit 14 will be described with reference to FIG. FIG. 8 is a configuration diagram of the cache memory unit 14.

【0064】キャッシュメモリ部14は、CMコントロ
ーラ7とメモリモジュール9とを有する。
The cache memory unit 14 has a CM controller 7 and a memory module 9.

【0065】CMコントローラ7は、パスIF141
と、セレクタ144と、データを一時格納するパケット
バッファ143と、データのエラーチェック回路部14
0と、メモリ・モジュール9へのアクセスを制御するメ
モリ制御部147と、CMアクセス制御部4から送出さ
れたアドレスおよびコマンドを解析するアドレス/コマ
ンド解析部145と、データ転送制御部148とを有す
る。
The CM controller 7 uses the path IF 141
A selector 144, a packet buffer 143 for temporarily storing data, and a data error check circuit unit 14
0, a memory control unit 147 that controls access to the memory module 9, an address / command analysis unit 145 that analyzes the address and command sent from the CM access control unit 4, and a data transfer control unit 148. .

【0066】そして、このCMコントローラ7は、CM
パス1(32)によりクロスバー・スイッチ部13につ
ながっているデータ転送制御部148は、アービタ18
0により、アドレス/コマンド解析部145で解析した
CMパス1(32)からのアクセス要求と、本発明の特
徴であるSMコントローラ8(後の図9に示す)に接続
するSM/CMパス41からアクセス要求とのアービト
レーションをおこない、セレクタ144の切り替えをお
こなう。
The CM controller 7 is a CM
The data transfer control unit 148 connected to the crossbar switch unit 13 by the path 1 (32) is connected to the arbiter 18
0, the access request from the CM path 1 (32) analyzed by the address / command analysis unit 145 and the SM / CM path 41 connected to the SM controller 8 (shown in FIG. 9 later), which is a feature of the present invention. Arbitration with the access request is performed, and the selector 144 is switched.

【0067】アドレス/コマンド解析部145は、バッ
ファとアドレス抽出部とコマンド抽出部を有する(図示
はしていない)。アドレス/コマンド解析部145で
は、CMコントローラ7に接続されるCMパス1(3
2)のそれぞれに1つずつ割り当てられたバッファに、
アドレス、コマンドを格納する。アドレス抽出部および
コマンド抽出部ではアクセスするメモリのアドレスとア
クセスの種類を割り出し、メモリ制御部147へ送出す
る。また、CMパス1(32)からのアクセス要求をデ
ータ転送制御部148内のアービタ148へ送出する。 (V)共有メモリ部 次に、図9を用いて共有メモリ部15内の構成について
説明する。図9は、共有メモリ部15の構成図である。
The address / command analysis section 145 has a buffer, an address extraction section, and a command extraction section (not shown). In the address / command analysis unit 145, the CM path 1 (3
In the buffer allocated to each of 2),
Stores address and command. The address extractor and the command extractor determine the address of the memory to be accessed and the type of access, and send it to the memory controller 147. Further, the access request from the CM path 1 (32) is sent to the arbiter 148 in the data transfer control unit 148. (V) Shared Memory Unit Next, the configuration in the shared memory unit 15 will be described with reference to FIG. FIG. 9 is a configuration diagram of the shared memory unit 15.

【0068】共有メモリ部15は、SMコントローラ8
とメモリモジュール9とを有する。
The shared memory unit 15 includes the SM controller 8
And a memory module 9.

【0069】SMコントローラ8は、パスIF151
と、セレクタ156と、データを一時格納するパケット
バッファ153と、データのエラーチェック回路部15
0と、メモリ・モジュール9へのアクセスを制御するメ
モリ制御部157と、SMアクセス制御部4から送出さ
れたアドレスおよびコマンドを解析するアドレス/コマ
ンド解析部155と、データ転送制御部152とを有す
る。
The SM controller 8 uses the path IF 151.
A selector 156, a packet buffer 153 for temporarily storing data, and a data error check circuit unit 15
0, a memory controller 157 that controls access to the memory module 9, an address / command analyzer 155 that analyzes the address and command sent from the SM access controller 4, and a data transfer controller 152. .

【0070】そして、このSMコントローラ8は、SM
パス40により、ダイレクトにSMアクセス制御部5
a,5bにつながっている データ転送制御部152は、アービタ158により、ア
ドレス/コマンド解析部155で解析したSMパス40
からのアクセス要求のアービトレーションをおこな、セ
レクタ154の切り替え、すなわち図10に示されてい
るように、メモリモジュール9への接続するか、あるい
は、パスIF151を介して、図8に示したCMコント
ローラ7へ接続するSM/CMパス41への接続するか
の選択をおこなう。
The SM controller 8 is an SM
The SM access control unit 5 directly through the path 40
The data transfer control unit 152 connected to a and 5b uses the arbiter 158 to analyze the SM path 40 analyzed by the address / command analysis unit 155.
Arbitration of access requests from the CM controller shown in FIG. 8 by switching the selector 154, that is, connecting to the memory module 9 as shown in FIG. 10 or via the path IF 151. 7 to be connected to the SM / CM path 41 is selected.

【0071】アドレス/コマンド解析部155は、バッ
ファとアドレス抽出部とコマンド抽出部を有する(図示
はしていない)。アドレス/コマンド解析部155で
は、SMコントローラ7に接続されるSMパス40のそ
れぞれに1つずつ割り当てられたバッファに、アドレ
ス、コマンドを格納する。アドレス抽出部およびコマン
ド抽出部ではアクセスするメモリのアドレスとアクセス
の種類を割り出し、メモリ制御部157へ送出する。ま
た、SMパス40からのアクセス要求をデータ転送制御
部152内のアービタ158へ送出する。
The address / command analysis section 155 has a buffer, an address extraction section, and a command extraction section (not shown). The address / command analysis unit 155 stores the addresses and commands in the buffers that are assigned to the SM paths 40 connected to the SM controller 7. The address extraction unit and the command extraction unit determine the address of the memory to be accessed and the type of access, and send it to the memory control unit 157. Also, the access request from the SM path 40 is sent to the arbiter 158 in the data transfer control unit 152.

【0072】〔メモリアクセスの動作〕次に、図10な
いし図13を用いて本発明に係るディスク制御装置のメ
モリアクセスの動作について詳細に説明する。 (I)キャシュメモリ部のアクセス 先ず、キャシュメモリ部14のアクセス手順について説
明する。キャッシュメモリ部14へのアクセスする場
合、マイクロプロセッサ6は、ホストIF3あるいはド
ライブIF2へ、キャッシュメモリ部14へのアクセス
開始を指示する。
[Memory Access Operation] Next, the memory access operation of the disk controller according to the present invention will be described in detail with reference to FIGS. 10 to 13. (I) Access to the cache memory unit First, the access procedure of the cache memory unit 14 will be described. When accessing the cache memory unit 14, the microprocessor 6 instructs the host IF 3 or the drive IF 2 to start access to the cache memory unit 14.

【0073】アクセス開始の指示を受けたホストIF3
あるいはドライブIF2は、制御線1(30)により、
図5に示されるCMアクセス制御部4a,4b内のデー
タ転送制御部110へアクセス開始を示す信号を送出
し、それとともにデータ線29を通じてアドレス、コマ
ンド、データを送出する。
Host IF3 that received the instruction to start access
Alternatively, the drive IF2 is controlled by the control line 1 (30).
A signal indicating the start of access is sent to the data transfer control unit 110 in the CM access control units 4a and 4b shown in FIG. 5, and at the same time, the address, command, and data are sent through the data line 29.

【0074】CMアクセス制御部4は、データ線29を
通して送られてきたアドレス、コマンド、データをパケ
ットバッファ103に格納する。データ転送制御部11
0はアービトレーションをおこなってパスIF101の
使用権を決定し、セレクタ102を切り替える。 (I−1)キャッシュライトアクセス ここで、図10を用いてキャッシュメモリ部14へデー
タを書き込む場合の手順について説明する。図10は、
キャッシュメモリ部14へデータを書き込む場合の、C
Mアクセス制御部4a,4bからCMコントローラ7へ
のアクセスの流れを示すシーケンス図である。
The CM access control section 4 stores the address, command and data sent through the data line 29 in the packet buffer 103. Data transfer control unit 11
0 performs arbitration, determines the right to use the path IF 101, and switches the selector 102. (I-1) Cache Write Access Here, the procedure for writing data to the cache memory unit 14 will be described with reference to FIG. Figure 10
C when writing data to the cache memory unit 14
FIG. 6 is a sequence diagram showing a flow of access from the M access control units 4a and 4b to the CM controller 7.

【0075】図5に示されるCMアクセス制御部4a,
4b内のデータ転送部110は、アービトレーションに
よってCMパス0(31)の使用権が決定されると、制
御線2(33)によって、クロスバー・スイッチ部13
内のデータ転送制御部1(32)へアクセス開始を示す
信号(REQ)を出す(シーケンス501)。続いてアド
レスおよびコマンドを送出する(シーケンス502)。
The CM access control unit 4a shown in FIG.
When the right to use the CM path 0 (31) is determined by arbitration, the data transfer unit 110 in 4b sends the crossbar switch unit 13 through the control line 2 (33).
A signal (REQ) indicating the start of access is output to the data transfer control unit 1 (32) therein (sequence 501). Then, the address and command are transmitted (sequence 502).

【0076】図7に示されるクロスバー・スイッチ部1
3内のデータ転送制御部132は、CMアクセス制御部
4からREQ信号を受け取り、次に、CMパス0(3
1)を通じて送られてくるアドレスおよびコマンドを受
信し、アドレス/コマンド解析部135で解析したアク
セス要求に基づいてアービトレーションをおこなう(シ
ーケンス503)。アービトレーションの結果、CMパ
ス1(32)への接続権を得たら、データ転送制御部1
32は、セレクタ136を切り替える(シーケンス50
4)。そして、制御線2(33)によりCMアクセス制
御部4a,4b内のデータ転送制御部110へ、CMパ
ス1(32)への接続が得られたことを示す信号(AC
K)を返す(シーケンス505)。
Crossbar switch unit 1 shown in FIG.
The data transfer control unit 132 in 3 receives the REQ signal from the CM access control unit 4, and then the CM path 0 (3
The address and command sent through 1) are received, and arbitration is performed based on the access request analyzed by the address / command analysis unit 135 (sequence 503). When the connection right to the CM path 1 (32) is obtained as a result of the arbitration, the data transfer control unit 1
32 switches the selector 136 (sequence 50
4). Then, a signal (AC indicating that the connection to the CM path 1 (32) has been obtained to the data transfer control unit 110 in the CM access control units 4a and 4b by the control line 2 (33).
K) is returned (sequence 505).

【0077】次に、クロスバー・スイッチ部13内のデ
ータ転送制御部132は、制御線3(32)によって、
図8に示されるCMコントローラ7内のデータ転送制御
部148へのアクセス開始を示す信号(REQ)を出す
(シーケンス506)。続いてアドレスおよびコマンド
を送出する(シーケンス507)。
Next, the data transfer control unit 132 in the crossbar switch unit 13 is controlled by the control line 3 (32).
A signal (REQ) indicating the start of access to the data transfer control unit 148 in the CM controller 7 shown in FIG. 8 is issued (sequence 506). Then, the address and the command are transmitted (sequence 507).

【0078】CMアクセス制御部4a,4bは、ACK
信号を受け取ると、パケットバッファ103からデータ
を読み出しセレクタ102、パスIF101を介してC
Mパス0(31)へ送出する。クロスバー・スイッチ部
13は、CMパス0(31)を通して送られてきたデー
タを、パスIF131およびセレクタ136を介してC
Mパス1(32)へ送出する(シーケンス509)。
The CM access control units 4a and 4b receive the ACK
When the signal is received, the data is read from the packet buffer 103 and the data is transferred to the C via the selector 102 and the path IF 101.
Send to M path 0 (31). The crossbar switch unit 13 sends the data sent through the CM path 0 (31) to the C path via the path IF 131 and the selector 136.
It is sent to the M path 1 (32) (sequence 509).

【0079】CMコントローラ7内のデータ転送制御部
148は、制御線3(34)によってREQ信号を受け
取ると、次に、CMパス1(32)を通して送られてき
たアドレスおよびコマンドを受信し、アドレス/コマン
ド解析部145で解析したアクセス要求に基づいてアー
ビトレーションをおこない(シーケンス508)、セレク
タ144を切り替える。CMパス1(32)を通じて送
られてくるデータは、パケットバッファ143に格納さ
れる。
When the data transfer control unit 148 in the CM controller 7 receives the REQ signal through the control line 3 (34), it next receives the address and command sent through the CM path 1 (32), / Arbitration is performed based on the access request analyzed by the command analysis unit 145 (sequence 508), and the selector 144 is switched. The data sent through the CM path 1 (32) is stored in the packet buffer 143.

【0080】そして、アービトレーションの結果、メモ
リモジュール9へのアクセス権を得たときに、メモリの
制御情報をメモリ制御部147へ送出し、メモリアクセ
スのための前処理をおこなう(シーケンス510)。次
に、パケットバッファ143からデータが読み出され、
セレクタ304を介してメモリモジュール9へ書き込ま
れる(シーケンス511)。
Then, as a result of the arbitration, when the access right to the memory module 9 is obtained, the control information of the memory is sent to the memory control unit 147, and the preprocessing for the memory access is performed (sequence 510). Next, the data is read from the packet buffer 143,
It is written in the memory module 9 via the selector 304 (sequence 511).

【0081】メモリモジュール9へのアクセスが終了す
ると、CMコントローラ7は、メモリアクセスの後処理
をおこない、データ転送制御部148においてアクセス
結果(アクセス状況)を示すステータス情報(STAT
US)を生成する(シーケンス512)。次に、ステータ
ス情報をクロスバー・スイッチ部13を介してCMアク
セス部4へ送出する(シーケンス513)。クロスバー
・スイッチ部13内のデータ転送制御部148は、ステ
ータス情報(STATUS)を受け取ると、CMコントロ
ーラ107へのREQ信号をオフにする(シーケンス5
14)。
When the access to the memory module 9 is completed, the CM controller 7 performs post-processing for memory access, and the data transfer control unit 148 displays status information (STAT) indicating the access result (access status).
US) is generated (sequence 512). Next, the status information is sent to the CM access unit 4 via the crossbar switch unit 13 (sequence 513). Upon receiving the status information (STATUS), the data transfer control unit 148 in the crossbar switch unit 13 turns off the REQ signal to the CM controller 107 (sequence 5).
14).

【0082】そして、CMアクセス制御部4内のデータ
転送制御部110は、STATUSを受け取るクロスバ
ー・スイッチ部13へのREQ信号をオフにする(シー
ケンス515)。クロスバー・スイッチ部13内のデー
タ転送制御部132は、CMアクセス制御部4からのR
EQ信号のオフを確認すると、CMアクセス制御部4へ
のACK信号をオフする(シーケンス516)。CMア
クセス制御部4内のデータ転送制御部110はステータ
スを受け取ると、制御線1(30)により、ホストIF
11あるいはドライブIF12へキャッシュメモリ部1
4へのアクセスの終了を報告する。 (I−2)キャッシュリードアクセス 次に、キャッシュメモリ部14からデータを読み出す場
合の手順について説明する。
Then, the data transfer control unit 110 in the CM access control unit 4 turns off the REQ signal to the crossbar switch unit 13 which receives STATUS (sequence 515). The data transfer control unit 132 in the crossbar switch unit 13 uses the R from the CM access control unit 4.
When it is confirmed that the EQ signal is off, the ACK signal to the CM access control unit 4 is turned off (sequence 516). Upon receiving the status, the data transfer control unit 110 in the CM access control unit 4 uses the control line 1 (30) to send the host IF.
11 or drive IF 12 to cache memory unit 1
Report the end of access to 4. (I-2) Cache Read Access Next, a procedure for reading data from the cache memory unit 14 will be described.

【0083】キャッシュメモリ部14からデータを読み
出す場合(リード動作)のCMアクセス制御部4からC
Mコントローラ7へのアクセスの流れはシーケンス50
1から508までと同じであり、シーケンス512以降
はデータの書き込みの場合(ライト動作)と同じであ
る。ここでCMアクセス制御部4は、シーケンス506
でACK信号を受けると、データの受信待ち状態に入
る。
When reading data from the cache memory unit 14 (read operation), the CM access control unit 4 to C
The sequence of access to the M controller 7 is sequence 50.
The sequence is the same as that from 1 to 508, and the sequence 512 and thereafter is the same as the case of writing data (write operation). Here, the CM access control unit 4 uses the sequence 506.
When it receives the ACK signal at, it enters a data reception waiting state.

【0084】CMコントローラ7は、シーケンス508
でメモリアクセス権を得ると、メモリモジュール9から
データを読み出し、セレクタ144、パスIF141を
介してCMパス1(32)にデータを送出する。クロス
バー・スイッチ部13は、CMパス1(32)を通じて
データを受信すると、CMパス0(31)に出力し、C
Mアクセス制御部4a,4bは、セレクタ102、デー
タ線29を介してホストIF3あるいはドライブIF2
へデータを送出する。 (II)共有メモリ部のアクセス 次に、共有メモリ部15のアクセス手順について説明す
る。
The CM controller 7 executes the sequence 508.
When the memory access right is obtained at, the data is read from the memory module 9, and the data is sent to the CM path 1 (32) via the selector 144 and the path IF 141. Upon receiving the data through the CM path 1 (32), the crossbar switch unit 13 outputs the data to the CM path 0 (31), and C
The M access control units 4a and 4b are connected to the host IF3 or the drive IF2 via the selector 102 and the data line 29.
Send data to. (II) Access to Shared Memory Unit Next, an access procedure for the shared memory unit 15 will be described.

【0085】共有メモリ部15へのアクセスする場合、
マイクロプロセッサ6は、ホストIF3あるいはドライ
ブIF2へ、共有メモリ部15へのアクセス開始を指示
する。
When accessing the shared memory section 15,
The microprocessor 6 instructs the host IF 3 or the drive IF 2 to start access to the shared memory unit 15.

【0086】アクセス開始の指示を受けたホストIF3
あるいはドライブIF2は、制御線1(35)により、
図6に示されるSMアクセス制御部5a,5b内のデー
タ転送制御部115へアクセス開始を示す信号を送出
し、それとともにデータ線28を通してアドレス、コマ
ンド、データを送出する。
Host IF3 that received the instruction to start access
Alternatively, the drive IF2 is controlled by the control line 1 (35).
A signal indicating the start of access is sent to the data transfer control unit 115 in the SM access control units 5a and 5b shown in FIG. 6, and at the same time, the address, command, and data are sent through the data line 28.

【0087】SMアクセス制御部5a,5bは、データ
線28を通じて送られてきたアドレス、コマンド、デー
タをパケットバッファ113に格納する。データ転送制
御部115は、アービトレーションをおこなって、パス
IF111の使用権を決定し、セレクタ112を切り替
える。 (II−1)共有メモリライトアクセス 先ず、図11を用いて共有メモリ部15へデータを書き
込む場合の手順について説明する。図11は、共有メモ
リ部15へデータを書き込む場合の、SMアクセス制御
部5a,5bからSMコントローラ8へのアクセスの流
れを示すシーケンス図である。
The SM access control units 5a and 5b store the address, command and data sent through the data line 28 in the packet buffer 113. The data transfer control unit 115 performs arbitration, determines the right to use the path IF 111, and switches the selector 112. (II-1) Shared Memory Write Access First, the procedure for writing data to the shared memory unit 15 will be described with reference to FIG. FIG. 11 is a sequence diagram showing a flow of access from the SM access control units 5a and 5b to the SM controller 8 when writing data to the shared memory unit 15.

【0088】図6に示されるSMアクセス制御部5a,
5b内のデータ転送部115は、アービトレーションに
よってSMパス40の使用権が決定されると、制御線2
(36)によってSMアクセス制御部5a,5b内のデ
ータ転送制御部115へアクセス開始を示す信号(RE
Q)を出す(シーケンス601)。続いてアドレスおよ
びコマンドを送出する(シーケンス602)。図9に示
される共有メモリ部15のSMコントローラ8内のデー
タ転送制御部152は、SMアクセス制御部5a,5b
からREQ信号を受け取り、次に、SMパス40を通じ
て送られてくるアドレスおよびコマンドを受信し、アド
レス/コマンド解析部155で解析したアクセス要求に
基づいてアービトレーションをおこなう(シーケンス6
03)。アービトレーションの結果、接続権を得たとき
に、データ転送制御部152はセレクタ156を切り替
える(シーケンス504)。
The SM access controller 5a shown in FIG.
When the right to use the SM path 40 is determined by arbitration, the data transfer unit 115 in 5b controls the control line 2
By (36), a signal (RE indicating the start of access to the data transfer control unit 115 in the SM access control units 5a and 5b)
Q) is output (sequence 601). Then, the address and command are transmitted (sequence 602). The data transfer control unit 152 in the SM controller 8 of the shared memory unit 15 shown in FIG. 9 includes the SM access control units 5a and 5b.
From the SM path 40, the address and command sent from the SM path 40 are received, and arbitration is performed based on the access request analyzed by the address / command analysis unit 155 (sequence 6).
03). When the connection right is obtained as a result of the arbitration, the data transfer control unit 152 switches the selector 156 (sequence 504).

【0089】SMコントローラ8内のデータ転送制御部
152は、制御線2(35)によってREQ信号を受け
取ると、次にSMパス140を通じて送られてきたアド
レスおよびコマンドを受信し、アドレス/コマンド解析
部155で解析したアクセス要求に基づいてアービトレ
ーションをおこない(シーケンス608)、セレクタ1
56を切り替える。SMパス40を通じて送られてくる
データは、パケットバッファ153に格納される。
When the data transfer control unit 152 in the SM controller 8 receives the REQ signal through the control line 2 (35), the data transfer control unit 152 next receives the address and command sent through the SM path 140, and the address / command analysis unit. Arbitration is performed based on the access request analyzed in 155 (sequence 608), and the selector 1
Switch 56. The data sent via the SM path 40 is stored in the packet buffer 153.

【0090】アービトレーションの結果、メモリモジュ
ール9へのアクセス権を得たときに、データ転送制御部
152は、メモリの制御情報をメモリ制御部157へ送
出し、メモリアクセスのための前処理をおこなう(シー
ケンス610)。次に、パケットバッファ153からデ
ータが読み出され、セレクタ156を介してメモリモジ
ュール9へ書き込まれる(シーケンス611)。
When the access right to the memory module 9 is obtained as a result of the arbitration, the data transfer control unit 152 sends the control information of the memory to the memory control unit 157, and performs the preprocessing for the memory access ( Sequence 610). Next, the data is read from the packet buffer 153 and written in the memory module 9 via the selector 156 (sequence 611).

【0091】メモリモジュール9へのアクセスが終了す
ると、SMコントローラ8は、メモリアクセスの後処理
をおこない、データ転送制御部152においてアクセス
結果(アクセス状況)を示すステータス情報(STAT
US)を生成する(シーケンス612)。次に、ステータ
ス情報をSMアクセス制御部5a,5bへ送出する(シ
ーケンス613)。SMアクセス制御部5a,5b内の
データ転送制御部115は、ステータス情報(STAT
US)を受け取ると、SMコントローラ8へのREQ信
号をオフにする(シーケンス614)。制御線1(3
5)により、ホストIF3あるいはドライブIF2へ共
有メモリ部15へのアクセスの終了を報告する。 (II−2)共有メモリリードアクセス 次に、共有メモリ部15からデータを読み出す場合の手
順について説明する。
When the access to the memory module 9 is completed, the SM controller 8 performs post-processing of the memory access, and the data transfer control unit 152 performs status information (STAT) indicating the access result (access status).
US) is generated (sequence 612). Next, the status information is sent to the SM access control units 5a and 5b (sequence 613). The data transfer control unit 115 in the SM access control units 5a and 5b uses the status information (STAT
When receiving (US), the REQ signal to the SM controller 8 is turned off (sequence 614). Control line 1 (3
According to 5), the end of access to the shared memory unit 15 is reported to the host IF 3 or the drive IF 2. (II-2) Shared Memory Read Access Next, a procedure for reading data from the shared memory unit 15 will be described.

【0092】共有メモリ部15からデータを読み出す場
合(リード動作)のSMアクセス制御部5a,5bから
SMコントローラ8へのアクセスの流れはシーケンス6
01からシーケンス608までと同じであり、シーケン
ス612以降はデータの書き込みの場合(ライト動作)
と同じである。
When reading data from the shared memory unit 15 (read operation), the flow of access from the SM access control units 5a and 5b to the SM controller 8 is sequence 6
The sequence is the same as the sequence from 01 to the sequence 608, and after the sequence 612, in the case of writing data (write operation)
Is the same as.

【0093】シーケンス608でメモリアクセス権を得
ると、SMコントローラ8は、メモリモジュール9から
データを読み出し、セレクタ156、パスIF151を
介してSMパス40にデータを送出する。SMアクセス
制御部5a,5bは、セレクタ112、データ線28を
介してホストIF3あるいはドライブIF2へデータを
送出する。 (III)SMデータ/CMアクセス これまで述べてきたように、本発明の特徴は、キャッシ
ュメモリ部14と共有メモリ部15の間にSM/CMパ
ス41を設け、従来なら共有メモリ部15に格納してい
た制御データをこのパスを通じて、キャッシュメモリ部
14に格納できるようにしたことであった。
When the memory access right is obtained in sequence 608, the SM controller 8 reads the data from the memory module 9 and sends the data to the SM path 40 via the selector 156 and the path IF 151. The SM access control units 5a and 5b send data to the host IF3 or the drive IF2 via the selector 112 and the data line 28. (III) SM data / CM access As described above, the feature of the present invention is that the SM / CM path 41 is provided between the cache memory unit 14 and the shared memory unit 15, and is stored in the shared memory unit 15 in the conventional case. That is, the control data that has been stored can be stored in the cache memory unit 14 through this path.

【0094】このような転送をおこなう条件としては、
予め、キャッシュメモリ部に格納するデータを決めてお
く場合(例えば、キャッシュメモリのある番地からある
番地の管理情報は、キャッシュメモリに格納するように
決める)と、共有メモリ部15にデータが格納できなく
なった場合の二通りが考えられる。
The conditions for performing such transfer are:
When the data to be stored in the cache memory unit is determined in advance (for example, the management information from one address of the cache memory to the management information of a certain address is determined to be stored in the cache memory), the data can be stored in the shared memory unit 15. There are two possible cases when it disappears.

【0095】以下では、図12および図13を用いて、
このSM/CMパス41のパスによりSMコントロール
部からCMコントロール部へのデータを転送する手順に
ついて説明する。図12は、SM/CMパス41のパス
を用いて、SMコントロール部からCMコントロール部
へのデータを転送する手順を示すシーケンス図である。
図13は、キャッシュメモリ部14のCMコントローラ
7の動作の概要を示すフローチャートである。
In the following, referring to FIGS. 12 and 13,
A procedure for transferring data from the SM control unit to the CM control unit by the SM / CM path 41 will be described. FIG. 12 is a sequence diagram showing a procedure for transferring data from the SM control unit to the CM control unit by using the SM / CM path 41.
FIG. 13 is a flowchart showing an outline of the operation of the CM controller 7 of the cache memory unit 14.

【0096】共有メモリ部15からデータをキャッシュ
メモリへ転送する場合(ライト動作)のSMアクセス制
御部5a,5bから共有メモリ部15のSMコントロー
ラ8へのアクセスの流れは、図11に示されているシー
ケンス601からシーケンス604までと同じである。
The flow of access from the SM access control units 5a and 5b to the SM controller 8 of the shared memory unit 15 when transferring data from the shared memory unit 15 to the cache memory (write operation) is shown in FIG. This is the same as the sequence 601 to the sequence 604.

【0097】シーケンス602で、アドレス/コマンド
をSMコントローラ8が受信し、さらに、SM/CMパ
ス1(41)を通じて送られてくるデータをSMバッフ
ァ143に格納する(シーケンス704)。SMコント
ローラ8は、すべてのデータを受信して、SM/CMパ
スを通じて、データをCMコントローラ9への送信完了
すると、データ転送制御部152においてアクセス結果
(アクセス状況)を示すステータス情報(STATUS)
を生成する(シーケンス605)。そして、次にステー
タス情報をSMアクセス制御部5a,5bへ送出する
(シーケンス613)。
In sequence 602, the SM controller 8 receives the address / command, and further stores the data sent through the SM / CM path 1 (41) in the SM buffer 143 (sequence 704). When the SM controller 8 receives all the data and completes the transmission of the data to the CM controller 9 through the SM / CM path, the data transfer control unit 152 outputs status information (STATUS) indicating the access result (access status).
Is generated (sequence 605). Then, the status information is then sent to the SM access control units 5a and 5b (sequence 613).

【0098】この場合に、SMコントローラ8は、CM
コントローラ7からの返答を待たずに処理が進められる
ことに注意する。
In this case, the SM controller 8 uses the CM
Note that the process proceeds without waiting for a response from the controller 7.

【0099】SMアクセス制御部5a,5b内のデータ
転送制御部115はステータス情報(STATUS)を受
け取ると、SMコントローラ8へのREQ信号をオフに
する(シーケンス614)。そして、制御線1(35)
により、ホストIF3あるいはドライブIF2へ共有メ
モリ部15へのアクセスの終了を報告する。
When the data transfer control unit 115 in the SM access control units 5a and 5b receives the status information (STATUS), it turns off the REQ signal to the SM controller 8 (sequence 614). And control line 1 (35)
Thus, the end of access to the shared memory unit 15 is reported to the host IF 3 or the drive IF 2.

【0100】一方、CMコントローラ9においては、シ
ーケンス704にてデータを受信後、データアドレス/
コマンド解析部155で解析したアクセス要求に基づい
てアービトレーションをおこない(シーケンス70
5)、メモリモジュール9へのアクセス権を得たとき
に、セレクタ156をSM/CM41への接続に切り替
える(シーケンス706)。そして、 CMコントロー
ラ9は、メモリの制御情報をメモリ制御部147へ送出
し、メモリアクセスのための前処理をおこないパケット
バッファ143からデータを読み出し、セレクタ304
を介してメモリモジュール9へ書き込み(シーケンス7
07)、メモリモジュール9へのアクセスを終了する。
On the other hand, in the CM controller 9, after receiving the data in sequence 704, the data address /
Arbitration is performed based on the access request analyzed by the command analysis unit 155 (sequence 70).
5) When the access right to the memory module 9 is obtained, the selector 156 is switched to the connection to the SM / CM 41 (sequence 706). Then, the CM controller 9 sends memory control information to the memory control unit 147, performs preprocessing for memory access, reads data from the packet buffer 143, and selects the selector 304.
To the memory module 9 via the (sequence 7
07), the access to the memory module 9 is completed.

【0101】この間のキャッシュメモリ部14のCMコ
ントローラ7の動作の概要は、図13に示されるように
なる。
The outline of the operation of the CM controller 7 of the cache memory unit 14 during this period is shown in FIG.

【0102】CMコントローラ7のアドレス/コマンド
解析部145は、REQ ONになっているかを、解析
する(S801,S802)。
The address / command analysis unit 145 of the CM controller 7 analyzes whether REQ is ON (S801, S802).

【0103】REQ ONのときには、データ転送制御
部148のアービタ180により、アービトレーション
をおこなう(S805)。
When REQ is ON, arbitration is performed by the arbiter 180 of the data transfer control unit 148 (S805).

【0104】REQ ONになっていないときには、S
M/CMパス41に接続されているSMバッファ149
にデータが来ていないかを調べ、来ているときには、ア
ドレス/コマンド解析部145によるコマンド解析をお
こなって、データ転送制御部148のアービタ180に
より、アービトレーションをおこなう(S805)。
When REQ is not ON, S
SM buffer 149 connected to M / CM path 41
Whether or not the data has arrived, the address / command analysis unit 145 analyzes the command, and the arbiter 180 of the data transfer control unit 148 performs arbitration (S805).

【0105】その結果、CMパスの出力ポートを獲得で
きたときには(S806)、セレクタを切替え、アドレ
ス/コマンド解析の結果に従い、CMパス1(32)と
メモリモジュール9の接続をする(S807)。そし
て、メモリモジュール9に対して、データをライトした
り、リードしたりする(S808)。
As a result, when the output port of the CM path can be acquired (S806), the selector is switched and the CM path 1 (32) and the memory module 9 are connected according to the result of the address / command analysis (S807). Then, the data is written to or read from the memory module 9 (S808).

【0106】次に、STATUS情報を受信したり、送
信して(S809)、最後にREQOFFを受信して終
了する(S810)。
Then, the STATUS information is received or transmitted (S809), and finally REQOFF is received and the processing is terminated (S810).

【0107】また、SMパスの出力ポートを獲得できた
ときには(S811)、セレクタを切替え、アドレス/
コマンド解析の結果に従い、SM/CMパス41とメモ
リモジュール9の接続をする(S812)。そして、メ
モリモジュール9に対して、データをライトしたり、リ
ードしたりする(S813)。
When the output port of the SM path can be acquired (S811), the selector is switched to change the address / address.
According to the command analysis result, the SM / CM path 41 and the memory module 9 are connected (S812). Then, the data is written to or read from the memory module 9 (S813).

【0108】どちらの出力ポートを獲得できないときに
は、出力ポートを獲得できるまで、アービトレーション
を繰り返す。
When neither output port can be acquired, arbitration is repeated until the output port can be acquired.

【0109】[0109]

【発明の効果】本発明によれば、キュッシュメモリ部と
共有メモリ部の二種類のメモリを有するディスク制御装
置において、キュッシュメモリ部の増設に応じて、共有
メモリ部の増設を必要とせず、しかも、アクセス性能の
低下しないようなディスク制御装置を提供することがで
きる。
According to the present invention, in a disk controller having two types of memories, a cache memory unit and a shared memory unit, it is not necessary to add the shared memory unit in response to the addition of the cache memory unit, and Thus, it is possible to provide a disk control device that does not deteriorate access performance.

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

【図1】本発明に係るディスク制御装置の構成図であ
る。
FIG. 1 is a configuration diagram of a disk control device according to the present invention.

【図2】従来技術に係る内部構成を共有バス結合にした
ディスクアレイ制御装置の構成図である。
FIG. 2 is a configuration diagram of a disk array control device in which an internal configuration according to a conventional technique is coupled to a shared bus.

【図3】共有メモリとキャッシュメモリの結合網とし
て、両者にスイッチを用いた相互結合網を介して各IF
部を接続するディスクアレイ制御装置の構成図である。
[FIG. 3] As a connection network of a shared memory and a cache memory, each IF is connected via a mutual connection network using switches for both.
It is a block diagram of the disk array control apparatus which connects a part.

【図4】共有メモリとキャッシュメモリの結合網とし
て、キャッシュメモリの結合網のみにスイッチを用いた
相互結合網を介して各IF部を接続するディスクアレイ
制御装置の構成図である。
FIG. 4 is a configuration diagram of a disk array controller that connects each IF unit via a mutual connection network using a switch only for the connection network of the cache memory as a connection network of the shared memory and the cache memory.

【図5】CMアクセス制御部4a,4bの構成図であ
る。
FIG. 5 is a configuration diagram of CM access control units 4a and 4b.

【図6】SMアクセス制御部5a,5bの構成図であ
る。
FIG. 6 is a configuration diagram of SM access control units 5a and 5b.

【図7】クロスバー・スイッチ部13の構成図である。7 is a configuration diagram of a crossbar switch unit 13. FIG.

【図8】キャッシュメモリ部14の構成図である。FIG. 8 is a configuration diagram of a cache memory unit 14.

【図9】共有メモリ部15の構成図である。FIG. 9 is a configuration diagram of a shared memory unit 15.

【図10】キャッシュメモリ部14へデータを書き込む
場合の、CMアクセス制御部4a,4bからCMコント
ローラ7へのアクセスの流れを示すシーケンス図であ
る。
FIG. 10 is a sequence diagram showing a flow of access from the CM access control units 4a and 4b to the CM controller 7 when writing data to the cache memory unit 14;

【図11】共有メモリ部15へデータを書き込む場合
の、SMアクセス制御部5a,5bからSMコントロー
ラ8へのアクセスの流れを示すシーケンス図である。
11 is a sequence diagram showing a flow of access from the SM access control units 5a and 5b to the SM controller 8 when writing data to the shared memory unit 15. FIG.

【図12】SM/CMパス41のパスを用いて、SMコ
ントロール部からCMコントロール部へのデータを転送
する手順を示すシーケンス図である。
FIG. 12 is a sequence diagram showing a procedure for transferring data from the SM control unit to the CM control unit by using the SM / CM path 41.

【図13】キャッシュメモリ部14のCMコントローラ
7の動作の概要を示すフローチャートである。
FIG. 13 is a flowchart showing an outline of the operation of the CM controller 7 of the cache memory unit 14.

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

1…ディスク制御装置、2…ドライブIF、3…ホスト
IF、4…CM(キャッシュメモリ)制御部、5…SM
(共有メモリ)アクセス制御部、6…マイクロプロセッ
サ部、11…ホストIF部、12…ディスクIF部、1
3…CSW(クロスバースイッチ)部、14…キャッシ
ュメモリ部、15…共有メモリ部、20…磁気ディスク
装置、31…CM(キャッシュメモリ)パス0、32…
CM(キャッシュメモリ)パス1、40…SM(共有メ
モリメモリ)パス、41CM/SMパス、50ホストコ
ンピュータ。
1 ... Disk control device, 2 ... Drive IF, 3 ... Host IF, 4 ... CM (cache memory) control unit, 5 ... SM
(Shared memory) access control unit, 6 ... Microprocessor unit, 11 ... Host IF unit, 12 ... Disk IF unit, 1
3 ... CSW (crossbar switch) unit, 14 ... Cache memory unit, 15 ... Shared memory unit, 20 ... Magnetic disk device, 31 ... CM (Cache memory) path 0, 32 ...
CM (cache memory) paths 1, 40 ... SM (shared memory memory) paths, 41 CM / SM paths, 50 host computers.

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】 ホストコンピュータにより磁気ディスク
装置をアクセスするためのディスク制御装置において、 前記ホストコンピュータとのインターフェースを持つホ
ストインターフェース部と、 前記磁気ディスク装置とのインターフェースを持つディ
スクインターフェース部と、 前記磁気ディスク装置に対してリード・ライトされるデ
ータを一時的に格納するキャッシュメモリ部と、 このディスク制御装置の制御用データを格納する共有メ
モリ部とを有し、 前記キャッシュメモリ部と前記共有メモリ部との間にデ
ータ転送のパスを設け、 前記制御用データを、前記共有メモリ部を介して、前記
キャッシュメモリ部に格納してアクセスすることを可能
にしたことを特徴とするディスク制御装置。
1. A disk controller for accessing a magnetic disk device by a host computer, comprising: a host interface unit having an interface with the host computer; a disk interface unit having an interface with the magnetic disk device; A cache memory unit for temporarily storing data read / written to / from the disk device, and a shared memory unit for storing control data of the disk control device, the cache memory unit and the shared memory unit A disk control device, wherein a path for data transfer is provided between the disk control device and the control data, and the control data can be stored and accessed in the cache memory unit via the shared memory unit.
【請求項2】 前記キャッシュメモリ部と、前記ホスト
インターフェース部と前記ディスクインターフェース部
との結合をスイッチ結合とし、 前記共有メモリ部と、前記ホストインターフェース部と
前記ディスクインターフェース部との結合をダイレクト
結合にしたことを特徴とする請求項1記載のディスク制
御装置。
2. The connection between the cache memory unit, the host interface unit and the disk interface unit is a switch connection, and the connection between the shared memory unit, the host interface unit and the disk interface unit is a direct connection. The disk control device according to claim 1, wherein
【請求項3】 前記共有メモリ部と前記キャッシュメモ
リ部との前記データ転送のパスによる接続を、1対1の
接続としたことを特徴とする請求項1記載のディスク制
御装置。
3. The disk control device according to claim 1, wherein the connection of the shared memory unit and the cache memory unit through the data transfer path is a one-to-one connection.
【請求項4】 前記共有メモリ部と前記キャッシュメモ
リ部との前記データ転送のパスによる接続を、1対多の
接続としたことを特徴とする請求項1記載のディスク制
御装置。
4. The disk control device according to claim 1, wherein the connection of the shared memory unit and the cache memory unit through the data transfer path is a one-to-many connection.
【請求項5】 ホストコンピュータにより磁気ディスク
装置をアクセスするためのディスク制御装置のデータア
クセス方法において、 このディスク制御装置は、 前記ホストコンピュータとのインターフェースを持つホ
ストインターフェース部と、 前記磁気ディスク装置とのインターフェースを持つディ
スクインターフェース部と、 前記磁気ディスク装置に対してリード・ライトされるデ
ータを一時的に格納するキャッシュメモリ部と、 このディスク制御装置の制御用データを格納する共有メ
モリ部とを有し、 さらに、このディスク制御装置に、前記キャッシュメモ
リ部と前記共有メモリ部との間にデータ転送のパスを設
け、 このディスク制御装置の制御用データを、前記共有メモ
リ部を介して、前記キャッシュメモリ部に格納してアク
セスするディスク制御装置のデータアクセス方法。
5. A data access method of a disk controller for accessing a magnetic disk device by a host computer, wherein the disk controller comprises a host interface section having an interface with the host computer, and the magnetic disk device. A disk interface unit having an interface, a cache memory unit for temporarily storing data read / written to / from the magnetic disk device, and a shared memory unit for storing control data of the disk controller. Further, a path for data transfer is provided in the disk control device between the cache memory unit and the shared memory unit, and control data of the disk control device is transferred to the cache memory via the shared memory unit. Stored in the department Data access method for a disk controller that.
JP2001192543A 2001-06-26 2001-06-26 Disk control device and data access method thereof Expired - Fee Related JP4025032B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001192543A JP4025032B2 (en) 2001-06-26 2001-06-26 Disk control device and data access method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001192543A JP4025032B2 (en) 2001-06-26 2001-06-26 Disk control device and data access method thereof

Publications (3)

Publication Number Publication Date
JP2003005916A true JP2003005916A (en) 2003-01-10
JP2003005916A5 JP2003005916A5 (en) 2005-05-19
JP4025032B2 JP4025032B2 (en) 2007-12-19

Family

ID=19030980

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001192543A Expired - Fee Related JP4025032B2 (en) 2001-06-26 2001-06-26 Disk control device and data access method thereof

Country Status (1)

Country Link
JP (1) JP4025032B2 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008065706A (en) * 2006-09-08 2008-03-21 Hitachi Ltd Storage system, its controlling method, and storage-controlling device
JP2010049716A (en) * 2009-12-01 2010-03-04 Fujitsu Ltd Data storage system
WO2012049709A1 (en) 2010-10-14 2012-04-19 Hitachi, Ltd. Storage control apparatus and method
US9798679B2 (en) 2003-05-06 2017-10-24 Renesas Electronics Corporation Information processing device and processor

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9798679B2 (en) 2003-05-06 2017-10-24 Renesas Electronics Corporation Information processing device and processor
US10289569B2 (en) 2003-05-06 2019-05-14 Renesas Electronics Corporation Information processing device and processor
US10983924B2 (en) 2003-05-06 2021-04-20 Renesas Electronics Corporation Information processing device and processor
JP2008065706A (en) * 2006-09-08 2008-03-21 Hitachi Ltd Storage system, its controlling method, and storage-controlling device
JP2010049716A (en) * 2009-12-01 2010-03-04 Fujitsu Ltd Data storage system
WO2012049709A1 (en) 2010-10-14 2012-04-19 Hitachi, Ltd. Storage control apparatus and method
US8572336B2 (en) 2010-10-14 2013-10-29 Hitachi, Ltd. Storage control apparatus and storage control apparatus memory control method

Also Published As

Publication number Publication date
JP4025032B2 (en) 2007-12-19

Similar Documents

Publication Publication Date Title
US7318122B2 (en) Disk array control device with an internal connection system for efficient data transfer
US6393519B1 (en) Disk array controller with connection path formed on connection request queue basis
US6850998B2 (en) Disk array system and a method for controlling the disk array system
US7020731B2 (en) Disk array control device with two different internal connection systems
US6751703B2 (en) Data storage systems and methods which utilize an on-board cache
US8041890B2 (en) Method for accessing target disk, system for expanding disk capacity and disk array
US7430636B2 (en) Storage system and storage control method comprising router and switch in communication with RAID modules
JP2003140837A (en) Disk array control device
JPH02103649A (en) Controller and information processing system
JP2003345512A (en) Disk controller
JP2723022B2 (en) Disk device interface and control method thereof
JP4025032B2 (en) Disk control device and data access method thereof
JPH11175260A (en) Disk array controller and controlling method therefor
JP3684902B2 (en) Disk array controller
JP2000339101A (en) Disk array controller
JP2002182864A (en) Disk array controller
JP4571963B2 (en) Disk array controller
JP2000250712A (en) Disk array controller
JP2003263279A (en) Disk array control apparatus
JP2000010900A (en) Disk array controller and disk array
JP2006268881A (en) Disk array controller

Legal Events

Date Code Title Description
A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20040714

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20040714

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20061012

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20061205

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20070125

RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20070125

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20070508

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20070702

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: 20070911

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20071004

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20101012

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20111012

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20121012

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20121012

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20131012

Year of fee payment: 6

LAPS Cancellation because of no payment of annual fees