JPH07230358A - Multiplexed volume device - Google Patents

Multiplexed volume device

Info

Publication number
JPH07230358A
JPH07230358A JP6020432A JP2043294A JPH07230358A JP H07230358 A JPH07230358 A JP H07230358A JP 6020432 A JP6020432 A JP 6020432A JP 2043294 A JP2043294 A JP 2043294A JP H07230358 A JPH07230358 A JP H07230358A
Authority
JP
Japan
Prior art keywords
volume
read
selection table
processing
priority
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
JP6020432A
Other languages
Japanese (ja)
Other versions
JP2975253B2 (en
Inventor
Tadashi Kawamata
忠史 川又
Susumu Okuhara
進 奥原
Susumu Suzuki
進 鈴木
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 JP6020432A priority Critical patent/JP2975253B2/en
Publication of JPH07230358A publication Critical patent/JPH07230358A/en
Application granted granted Critical
Publication of JP2975253B2 publication Critical patent/JP2975253B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Hardware Redundancy (AREA)

Abstract

PURPOSE:To average the loads of read processing to respective volumes by obtaining the volume to be subjected to read processing from a read priority volume selection table to execute the processing in the case or a read instruction to each division unit. CONSTITUTION:When the number of cylinders in first to third volumes 131 to 133 is 3n in total, they are so set that the volume 131 is selected for cylinder numbers l to (n) and the volume 132 is selected for cylinder numbers n+1 to 2n and the volume 133 is selected for cylinder numbers 2n+1 to 3n. when the read instruction is issued to certain data, the volume corresponding to the cylinder number where data to be read exists is selected by a read priority volume selection table 104. Cylinder numbers are so determined that their frequencies in read processing for a certain time just after the issue of the read instruction are equalized, thereby averaging the loads of read processing.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、電子計算機システム等
において、同一内容のデータを複数のボリュームに格納
する多重化ボリューム装置に関し、特にボリューム装置
にキャッシュメモリが装備され、かつデータのリード処
理の回数がライト処理に比べ多い場合に好適な多重化ボ
リューム装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a multiplexed volume device for storing data of the same content in a plurality of volumes in an electronic computer system or the like, and more particularly to a volume device equipped with a cache memory and for reading data. The present invention relates to a multiplexed volume device suitable when the number of times is greater than that of write processing.

【0002】[0002]

【従来の技術】従来において、電子計算機システムで
は、システムの信頼性を向上させるために、データを複
数のボリュームに格納してデータの保全性を高める多重
化ボリューム装置が使用されている。
2. Description of the Related Art Conventionally, in a computer system, in order to improve the reliability of the system, a multiplexed volume apparatus is used which stores data in a plurality of volumes to improve data integrity.

【0003】このような多重化ボリューム装置において
は、一般には、2つのボリュームを使い、一方を正ボリ
ューム、他方を副ボリュームとし、ライト処理は正副両
ボリュームに行ない、リード処理はどちらか一方のボリ
ュームから行なうようにしている。
In such a multiplexed volume device, generally, two volumes are used, one is a primary volume and the other is a secondary volume, and write processing is performed on both primary and secondary volumes, and read processing is performed on either volume. I am going to start from.

【0004】この場合のリード処理を行なうボリューム
を選択する方法として、次のような公知例がある。
As a method for selecting a volume to be read in this case, there are the following known examples.

【0005】公知例1;日立製作所プログラムプロダク
トVOS3ディスク二重書き制御プログラムWDCP/
ES この公知例1においては、正ボリュームを優先してリー
ドする、副ボリュームを優先してリードする、正副ボリ
ュームを交互にリードする、の3つの方法から1つを選
んで使うことができる。
Known example 1; Hitachi Ltd. product VOS3 disk double writing control program WDCP /
ES In this publicly known example 1, one can be selected and used from three methods, that is, the primary volume is preferentially read, the secondary volume is preferentially read, and the primary and secondary volumes are alternately read.

【0006】公知例2;特開平4−186422号公報 この公知例2においては、待ち状態の入出力命令数を比
較し、その数が少ない方のボリュームからリードする。
Known example 2; Japanese Patent Laid-Open No. 4-186422 In this known example 2, the numbers of input / output instructions in the waiting state are compared, and the volume having the smaller number is read.

【0007】[0007]

【発明が解決しようとする課題】ところが、公知例1の
正ボリュームまたは副ボリュームを優先してリードする
方法にあっては、リード処理が一方のボリュームだけに
集中し、負荷が一方のボリュームに偏り、入出力性能を
劣化させるという問題がある。
However, in the method of prioritizing reading of the primary volume or the secondary volume of the known example 1, the read processing is concentrated on only one volume and the load is biased to one volume. However, there is a problem that input / output performance is deteriorated.

【0008】また、公知例1の正副ボリュームを交互に
リードする方法および公知例2の入出力命令数が少ない
方のボリュームをリードする方法では、データが格納さ
れているボリュームにキャッシュメモリを装備させた場
合に、次のような問題が発生する。
In the method of alternately reading the primary and secondary volumes of the known example 1 and the method of reading the volume having the smaller number of input / output instructions in the known example 2, the volume storing the data is equipped with the cache memory. In this case, the following problems will occur.

【0009】すなわち、一方のボリュームのキャッシュ
メモリ上にリードしようとするデータが存在し、他方の
ボリュームのキャッシュ上にはリードしようとするデー
タが存在しない場合であっても、後者のボリュームを選
択してしまう可能性があるが、後者のボリュームを選択
してしまった場合は、前者のボリュームを選択したとき
に比べ、リード処理時間が長くなるという問題がある。
That is, even if there is data to be read in the cache memory of one volume and no data to be read in the cache of the other volume, the latter volume is selected. However, when the latter volume is selected, there is a problem that the read processing time becomes longer than when the former volume is selected.

【0010】また、この時は同一のデータを正副両方の
ボリュームのキャッシュメモリ上に持つことになり、本
来他のデータのために使用できるキャッシュメモリを無
駄に使用してしまうという問題がある。
Further, at this time, the same data is held in the cache memories of both the primary and secondary volumes, and there is a problem that the cache memory originally used for other data is wasted.

【0011】これらの問題は、連続するデータを複数回
のリード命令でリードする時に特に大きな問題となる。
These problems become particularly serious when continuous data is read by a plurality of read commands.

【0012】本発明の目的は、各ボリュームに対するリ
ード処理の負荷を平均化でき、さらに各ボリュームに装
備されたキャッシュメモリを有効に利用し、高速なリー
ド処理が可能になる多重化ボリューム装置を提供するこ
とである。
An object of the present invention is to provide a multiplexed volume apparatus capable of averaging the load of read processing for each volume and effectively utilizing the cache memory equipped in each volume to enable high-speed read processing. It is to be.

【0013】[0013]

【課題を解決するための手段】上記目的を達成するため
に、本発明は、基本的には、同一内容のデータを格納し
た複数のボリュームを一定の大きさの単位(例えばシリ
ンダ)に分割した各分割単位毎に、リード処理を実行す
べきボリュームを決定するボリューム決定手段と、決定
されたボリュームの番号を前記分割単位毎に記憶するリ
ード優先ボリューム選択テーブルと、各分割単位に対す
るリード命令に対し前記リード優先ボリューム選択テー
ブルからリード処理を実行すべきボリュームを求め、そ
のボリュームに対してリード処理を実行するリード処理
実行手段とを設けたものである。
In order to achieve the above object, the present invention basically divides a plurality of volumes storing data of the same content into units of a certain size (for example, cylinders). For each division unit, a volume determination unit that determines a volume for which a read process should be executed, a read priority volume selection table that stores the number of the determined volume for each division unit, and a read command for each division unit A read process execution unit is provided which obtains a volume to execute the read process from the read priority volume selection table and executes the read process on the volume.

【0014】さらに、ボリュームの一部分だけにデータ
が格納されている場合やライト処理によって全ボリュー
ムのキャッシュメモリ上にデータが存在する場合など、
上記リード優先ボリューム選択テーブルの設定値によっ
ては負荷の平均化が十分行なえない場合のために、リー
ド処理やライト処理の発生に応じて上記リード優先ボリ
ューム選択テーブルを一定の時間経過毎またはリード回
数が一定回数に達する度に動的に変更するようにした。
Furthermore, when data is stored in only a part of the volume, or when data exists in the cache memory of all volumes due to write processing,
Depending on the setting value of the read priority volume selection table, if the load cannot be averaged sufficiently, the read priority volume selection table may be read every time a certain period of time or the number of reads is changed according to the occurrence of read processing or write processing. It was changed dynamically every time a certain number of times was reached.

【0015】[0015]

【作用】上記手段によると、複数のボリュームを一定の
大きさの単位(例えばシリンダ)に分割した各分割単位
毎に、リード処理を実行すべきボリュームが決定され
る。この場合、各ボリュームに対するリード処理の負荷
が例えば平均化されるように、各分割単位に対応するボ
リュームが決定される。そして、各分割単位に対するリ
ード命令に対しては、リード優先ボリューム選択テーブ
ルからリード処理を実行すべきボリュームを求め、その
ボリュームに対してリード処理を実行する。
According to the above means, the volume to be read is determined for each division unit obtained by dividing a plurality of volumes into units of a certain size (for example, cylinders). In this case, the volume corresponding to each division unit is determined so that the read processing load on each volume is averaged, for example. Then, in response to the read command for each division unit, the volume for which the read process should be executed is obtained from the read priority volume selection table, and the read process is executed for that volume.

【0016】従って、各ボリュームに対するリード処理
の負荷を平均化できる。さらに、各ボリュームに装備さ
れたキャッシュメモリを有効に利用することができる。
Therefore, the load of read processing for each volume can be averaged. Further, the cache memory equipped in each volume can be effectively used.

【0017】ここで、有効に利用するという意味は、リ
ード命令に対して、キャッシュメモリ上に既に存在する
データをリードすることによって、リード処理時間を短
縮すること、およびデータを2重または多重にキャッシ
ュメモリ上に持たないことである。
Here, to effectively use the data means that the read processing time is shortened by reading the data already existing in the cache memory in response to the read instruction, and the data is duplicated or multiplexed. It is not held in the cache memory.

【0018】[0018]

【実施例】以下、本発明の一実施例を図面により詳細に
説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described in detail below with reference to the drawings.

【0019】図1は本発明の一実施例を示す構成図であ
り、101は命令プロセッサ、102は入出力プロセッ
サ、103はリード回数記憶テーブル、104はリード
優先ボリューム選択テーブル、105はリード優先ボリ
ューム選択テーブル管理プログラム、106はリード処
理プログラム、107はライト処理プログラム、111
〜113は第1〜第3のボリューム制御装置、121〜
123は第1〜第3のボリューム制御装置各々111〜
113に対応するキャッシュメモリ、131〜133は
ボリューム制御装置111〜113に対応する第1〜第
3のボリュームであり、第1〜第3のボリュームの13
1〜133には同一内容のデータが格納されている。
FIG. 1 is a block diagram showing an embodiment of the present invention. 101 is an instruction processor, 102 is an input / output processor, 103 is a read number storage table, 104 is a read priority volume selection table, and 105 is a read priority volume. Selection table management program, 106 is a read processing program, 107 is a write processing program, 111
˜113 are first to third volume control devices, 121˜
Reference numerals 123 to 111 denote first to third volume control devices, respectively.
A cache memory corresponding to 113, 131 to 133 are first to third volumes corresponding to the volume control devices 111 to 113, and 13 of the first to third volumes.
Data of the same contents are stored in 1 to 133.

【0020】この場合、第1〜第3のボリュームの13
1〜133は例えば磁気ディスクメモリ装置で構成され
る。
In this case, the first to third volumes of 13
1 to 133 are composed of, for example, magnetic disk memory devices.

【0021】図2は、リード優先ボリューム選択テーブ
ル104の詳細を示すもので、該テーブル104の左欄
にはシリンダ番号1040、右欄にはリード命令に対し
て選択すべきボリューム番号1041を格納するように
なっており、図2(a)は初期状態、図2(b)は稼働
中の状態を示している。
FIG. 2 shows the details of the read priority volume selection table 104. The left column of the table 104 stores the cylinder number 1040, and the right column stores the volume number 1041 to be selected for the read command. 2A shows the initial state and FIG. 2B shows the operating state.

【0022】ここで、図2(a)の初期状態において
は、第1〜第3のボリュームの131〜133の合計シ
リンダ数を3nとした場合、シリンダ番号1〜nにはボ
リューム131を、シリンダ番号n+1〜2nにはボリ
ューム132を、シリンダ番号2n+1〜3nにはボリ
ューム133を選択するよう設定されている。
Here, in the initial state of FIG. 2A, if the total number of cylinders 131 to 133 of the first to third volumes is 3n, the volume 131 is assigned to the cylinder numbers 1 to n. The volumes n + 1 to 2n are set to select the volume 132, and the cylinder numbers 2n + 1 to 3n are set to select the volume 133.

【0023】この場合、ボリューム番号1041とし
て、「0」が設定されている場合は、どのボリュームか
らリードしても良いことを示す。
In this case, if "0" is set as the volume number 1041, it indicates that any volume can be read.

【0024】今、あるデータに対してリード命令が発行
されると、リード優先ボリューム選択テーブル104に
よって、リードすべきデータが存在するシリンダ番号に
対応するボリュームが選択される。
Now, when a read command is issued for certain data, the read priority volume selection table 104 selects the volume corresponding to the cylinder number in which the data to be read exists.

【0025】図2(b)は、リード命令が発行された直
前における一定時間の間のリード処理の回数が、シリン
ダ番号1〜i、i+1〜j、j+1〜3nの各々に対し
て等しくなるようにi、jを定めた時の内容を示すもの
である。
In FIG. 2B, the number of read processes during a fixed time immediately before the read command is issued is equal to each of the cylinder numbers 1 to i, i + 1 to j, and j + 1 to 3n. Shows the contents when i and j are defined.

【0026】上記のようにi、jを定めたリード優先ボ
リューム選択バッファの例を図3、図4を用いて以下に
説明する。
An example of the read priority volume selection buffer in which i and j are defined as described above will be described below with reference to FIGS. 3 and 4.

【0027】図3は、リード回数に応じたリード優先ボ
リューム選択テーブル104とリード回数記憶テーブル
103の一例を示すもので、リード回数記憶テーブル1
03にはシリンダ1〜3、4〜5、6〜9の各々のリー
ド回数の合計がすべて10回であったことが格納されて
いる。
FIG. 3 shows an example of the read priority volume selection table 104 and the read count storage table 103 according to the read count. The read count storage table 1
In 03, it is stored that the total number of read times of each of the cylinders 1 to 3, 4 to 5, and 6 to 9 is 10 times.

【0028】このようなリード履歴の場合、各ボリュー
ム131〜133をそれぞれ10回ずつリードするよう
にすることにより、リード処理に対する負荷を平均化で
きるので、リード優先ボリューム選択テーブル104に
は、シリンダ1〜3、4〜5、6〜9のデータはそれぞ
れボリューム131〜133からリードするようにボリ
ューム番号が設定される。
In the case of such a read history, by reading each of the volumes 131 to 133 10 times, the load on the read processing can be averaged. Therefore, in the read priority volume selection table 104, the cylinder 1 Volume numbers are set so that the data of ~ 3, 4-5, and 6-9 are read from the volumes 131-133, respectively.

【0029】図4も同様であり、シリンダ1、2〜3、
4〜5の各々のリード回数の合計がすべて10回になっ
ている。また、シリンダ6〜9にはリード命令が発行さ
れなかったためボリューム番号を「0」としている。
The same applies to FIG. 4, in which the cylinders 1, 2 to 3,
The total number of read times of 4 to 5 is all 10. Further, since the read command has not been issued to the cylinders 6 to 9, the volume number is set to "0".

【0030】ボリューム番号として「0」が設定されて
いるシリンダは、全くリード命令が発行されなかった
か、またはライト命令時に全てのボリュームのキャッシ
ュメモリ121〜123にデータをライトしたため、キ
ャッシュ利用効率の面からは、どのボリュームからリー
ドしても良いことを表す。どのボリュームからリードし
ても良いシリンダに対するリード処理時には、公知例1
で示されるようにボリュームを巡回的に選択するか、公
知例2で示されるように入出力命令数が少ないボリュー
ムを選択する。これにより、ボリュームの未使用領域に
新たにデータセットを割り当てたために各シリンダに対
するリード処理回数の分布が急激に変化したような場合
でも、その変化に追従することができる。
For a cylinder for which "0" is set as the volume number, no read command is issued at all, or data is written to the cache memories 121 to 123 of all volumes at the time of a write command. Indicates that it is possible to read from any volume. Known example 1 at the time of read processing for a cylinder that can read from any volume
The volume is cyclically selected as shown in, or the volume with a small number of input / output instructions is selected as shown in the known example 2. As a result, even if the distribution of the number of read processes for each cylinder changes abruptly because a new data set is allocated to the unused area of the volume, the change can be followed.

【0031】図5は、リード優先ボリューム選択テーブ
ル104を管理するために起動される管理プログラム1
05の処理内容を示すフローチャートである。
FIG. 5 shows a management program 1 started to manage the read priority volume selection table 104.
It is a flowchart which shows the processing content of 05.

【0032】まず、シリンダ番号を「1」とした後(ス
テップ501)、リード回数記憶テーブル103から各
ボリューム131〜133の番号「1」のシリンダに対
するリード回数を取り出し、そのリード回数が「0」か
否かを判定する(ステップ502)。
First, after the cylinder number is set to "1" (step 501), the read count for the cylinder of the number "1" of each volume 131 to 133 is retrieved from the read count storage table 103, and the read count is "0". It is determined whether or not (step 502).

【0033】リード回数が「0」であれば、該シリンダ
に対するボリューム番号を「0」とする(ステップ50
4)。
If the read count is "0", the volume number for the cylinder is set to "0" (step 50).
4).

【0034】しかし、リード回数が「0」でなければ、
そのリード回数に応じてボリューム番号を決定する(ス
テップ503)。
However, if the read count is not "0",
The volume number is determined according to the read count (step 503).

【0035】すなわち、シリンダ番号「1」からボリュ
ーム番号を現在決定しようとしているシリンダ番号まで
のリード回数の累計Sと、全てのシリンダ番号のシリン
ダに対するリード回数の合計Tとをリード回数記憶テー
ブル103の記憶内容から求め、 (S/T)・V ……(1) (V=ボリューム数)によって各シリンダに対するリー
ド回数に応じたボリューム番号を決定する。
That is, the cumulative number S of reads from the cylinder number “1” to the cylinder number for which the volume number is currently determined and the total number T of reads for all cylinder numbers are stored in the read number storage table 103. Obtained from the stored contents, (S / T) · V (1) (V = volume number) determines the volume number according to the number of reads for each cylinder.

【0036】この場合、上記式の計算結果の小数点以下
は切り上げる。
In this case, the fractional part of the calculation result of the above equation is rounded up.

【0037】このステップ503がボリューム決定手段
に相当する。
This step 503 corresponds to volume determining means.

【0038】次に、シリンダ番号に「1」を加算してシ
リンダ番号を更新し(ステップ505)、全シリンダに
対するボリューム番号の決定が終わったどうかを判定し
(ステップ506)、終了していなければ、ステップ5
02に戻って次のシリンダに対するボリューム番号の決
定処理を行う。
Next, "1" is added to the cylinder number to update the cylinder number (step 505), and it is judged whether the volume numbers for all cylinders have been decided (step 506). , Step 5
Returning to 02, the volume number determination process for the next cylinder is performed.

【0039】全シリンダのボリューム番号の決定が終了
したならば、リード回数記憶テーブル103を「0」ク
リアする(ステップ507)。
When the volume numbers of all the cylinders are determined, the read number storage table 103 is cleared to "0" (step 507).

【0040】この管理プログラム105は、一定時間経
過毎、あるいはリード処理回数が一定の値に達したとき
にに起動させ、リード優先ボリューム選択テーブル10
4を実施例のシステムの稼働中に動的に更新する。
The management program 105 is started every time a certain period of time elapses or when the number of read processes reaches a certain value, and the read priority volume selection table 10
4 is dynamically updated during the operation of the system of the embodiment.

【0041】図6はリード処理プログラム106の処理
内容を示すフローチャートである。
FIG. 6 is a flowchart showing the processing contents of the read processing program 106.

【0042】まず、リード処理においては、シリンダ番
号nのシリンダに対するリード要求に対し、リード優先
ボリューム選択テーブル104の内容を取り出し、その
シリンダ番号nに対応するボリューム番号が「0」か否
かを判断する(ステップ601)。
First, in the read processing, the contents of the read priority volume selection table 104 are fetched in response to a read request for the cylinder of cylinder number n, and it is judged whether the volume number corresponding to that cylinder number n is "0". (Step 601).

【0043】ボリューム番号が「0」でなければ、その
ボリューム番号のボリュームにリード命令を発行する
(ステップ606)。なお、これに先立ちリード回数記
憶テーブル103のシリンダnに対するリード回数の値
を更新する(ステップ605)。
If the volume number is not "0", a read command is issued to the volume of that volume number (step 606). Prior to this, the value of the read count for cylinder n in the read count storage table 103 is updated (step 605).

【0044】一方、ボリューム番号が「0」であった場
合は、従来の方式でボリュームを選択し(ステップ60
3)、以後そのシリンダに対するリード処理が同一ボリ
ュームで処理されるようリード優先ボリューム選択テー
ブル104に、この時選択したボリューム番号をセット
する(ステップ604)。
On the other hand, if the volume number is "0", the volume is selected by the conventional method (step 60).
3) After that, the volume number selected at this time is set in the read priority volume selection table 104 so that the read processing for that cylinder is processed by the same volume thereafter (step 604).

【0045】図7は、ライト処理プログラム107の処
理内容を示すフローチャートである。まず、ライト処理
においては、すべてのキャッシュメモリ121〜123
にデータをライトするような制御を行なっている方式か
どうかを判定し(ステップ701)、全てにライトする
方式の場合は、直後にそのデータをリードするとき、キ
ャッシュメモリの使用効率の点ではどのボリュームから
リードしても良いので、リード優先ボリューム選択テー
ブル104のボリューム番号を「0」とした後(ステッ
プ702)、全てのボリュームにライト命令を発行する
(ステップ703)。
FIG. 7 is a flowchart showing the processing contents of the write processing program 107. First, in the write processing, all cache memories 121 to 123
It is determined whether or not the method is such that data is controlled to be written to (step 701), and in the case of the method of writing to all, when reading the data immediately after, in terms of cache memory usage efficiency, Since the volume may be read from, the volume number of the read priority volume selection table 104 is set to "0" (step 702), and then the write command is issued to all the volumes (step 703).

【0046】しかし、全てにライトする方式でない場合
は、ボリューム番号を「0」とせずに、全てのボリュー
ムにライト命令を発行する。
However, if it is not the method of writing to all, the write command is issued to all the volumes without setting the volume number to "0".

【0047】以上により、一定時間内のあるデータに対
するリード処理はボリューム131〜133の1つのボ
リュームでだけ実行されるので、キャッシュメモリ12
1〜123上に多重にデータを持つことがなく、またキ
ャッシュメモリ121〜123上にデータが存在すれ
ば、それが使用されるので高速にリード処理が実行でき
る。
As described above, since the read processing for certain data within the fixed time is executed only by one of the volumes 131 to 133, the cache memory 12
If the cache memories 121 to 123 do not have multiple data on the cache memory and data exists on the cache memories 121 to 123, the read processing can be executed at high speed because the cache memories 121 to 123 are used.

【0048】また、各ボリューム131〜133に対す
るリード処理の頻度または一定時間毎にリード優先ボリ
ューム選択テーブル104を更新するので、リード処理
に対する負荷を平均化できる。
Further, since the read priority volume selection table 104 is updated at the frequency of the read processing for each of the volumes 131 to 133 or at regular intervals, the load for the read processing can be averaged.

【0049】図8は、本発明の他の実施例を示す構成図
であり、リード優先ボリューム選択テーブル104およ
びリード回数記憶テーブル103を入出力プロセッサ1
02内に具備した場合の構成図である。
FIG. 8 is a block diagram showing another embodiment of the present invention, in which the read priority volume selection table 104 and the read count storage table 103 are stored in the input / output processor 1.
FIG. 2 is a configuration diagram in the case of being provided in 02.

【0050】このように、リード優先ボリューム選択テ
ーブル104を入出力プロッサ102内に具備すること
により、ボリューム131〜133の選択を入出力プロ
セッサ102で行うことができるので、命令プロセッサ
101の負荷を軽減することができる。
As described above, by providing the read priority volume selection table 104 in the input / output processor 102, the volumes 131 to 133 can be selected by the input / output processor 102, so the load on the instruction processor 101 is reduced. can do.

【0051】なお、実施例においては、ボリュームの分
割単位として、磁気ディスク装置のシリンダを例に挙げ
ているが、磁気テープ装置、フレキシブルディスク装
置、読み書き可能な光ディスク装置など、記憶エリアを
物理的な複数のエリアに分割して使用可能なものであれ
ば、これらの全てに適用することができる。
In the embodiment, the cylinder of the magnetic disk device is taken as an example of the unit of volume division, but a storage area such as a magnetic tape device, a flexible disk device, and a readable / writable optical disk device is a physical storage area. If it can be divided into a plurality of areas and can be used, it can be applied to all of them.

【0052】また、各分割単位に対するボリュームは平
均化するように決定しているが、必ずしも平均化しなく
てもよく、例えば複数のボリュームのうち入出力速度が
他より遅いものについては、リード回数が少なくなるよ
うに分割単位を割当てるようにしてもよい。これによ
り、ボリューム全体から見た入出力性能の平準化を図
れ、入出力速度のバラツキがあっても全体での入出力性
能を向上させることができる。
Further, although the volume for each division unit is determined to be averaged, it is not always necessary to average it. For example, for a volume having a slower input / output speed than others, the read count is You may make it allocate a division unit so that it may become small. As a result, the input / output performance of the entire volume can be leveled, and the overall input / output performance can be improved even if the input / output speed varies.

【0053】[0053]

【発明の効果】以上のように本発明においては、基本的
には、同一内容のデータを格納した複数のボリュームを
一定の大きさの単位(例えばシリンダ)に分割した各分
割単位毎に、リード処理を実行すべきボリュームを決定
するボリューム決定手段と、決定されたボリュームの番
号を前記分割単位毎に記憶するリード優先ボリューム選
択テーブルと、各分割単位に対するリード命令に対し前
記リード優先ボリューム選択テーブルからリード処理を
実行すべきボリュームを求め、そのボリュームに対して
リード処理を実行するリード処理実行手段とを設けたの
で、各ボリュームにおけるリード処理の負荷を平均化
し、ボリューム全体での入出力性能を向上させることが
できる。
As described above, according to the present invention, basically, a plurality of volumes storing data of the same content are divided into units of a fixed size (for example, cylinders), and the read is performed for each divided unit. From the read priority volume selection table for a read command for each division unit, a volume determination means for determining a volume to execute processing, a read priority volume selection table for storing the number of the determined volume for each division unit. Since the read processing execution means for determining the volume to execute the read processing and executing the read processing for the volume is provided, the load of the read processing in each volume is averaged and the input / output performance of the entire volume is improved. Can be made.

【0054】また、リード優先ボリューム選択テーブル
を一定の時間経過毎またはリード回数が一定回数に達す
る度に動的に変更することにより、各ボリュームに装備
されたキャッシュメモリを有効に利用し、高速なリード
処理が可能となる効果がある。
Further, by dynamically changing the read priority volume selection table every time a predetermined time elapses or each time the number of reads reaches a certain number, the cache memory equipped in each volume is effectively used and high speed is achieved. This has the effect of enabling read processing.

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

【図1】本発明の一実施例を示す構成図である。FIG. 1 is a configuration diagram showing an embodiment of the present invention.

【図2】リード優先ボリューム選択テーブルの詳細構成
図である。
FIG. 2 is a detailed configuration diagram of a read priority volume selection table.

【図3】リード優先ボリューム選択テーブルの内容の一
例を示す図である。
FIG. 3 is a diagram showing an example of the contents of a read priority volume selection table.

【図4】リード優先ボリューム選択テーブルの内容の他
の例を示す図である。
FIG. 4 is a diagram showing another example of the contents of a read priority volume selection table.

【図5】リード優先ボリューム選択テーブル管理プログ
ラムの処理内容を示すフローチャートである。
FIG. 5 is a flowchart showing the processing contents of a read priority volume selection table management program.

【図6】リード処理プログラムの処理内容を示すフロー
チャートである。
FIG. 6 is a flowchart showing the processing contents of a read processing program.

【図7】ライト処理プログラムの処理内容を示すフロー
チャートである。
FIG. 7 is a flowchart showing the processing contents of a write processing program.

【図8】リード優先ボリューム選択テーブルを入出力プ
ロセッサ内に具備した場合の他の実施例の構成を示す構
成図である。
FIG. 8 is a configuration diagram showing a configuration of another embodiment when a read priority volume selection table is provided in the input / output processor.

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

101…命令プロセッサ、102…入出力プロセッサ、
103…リード回数記憶テーブル、104…リード優先
ボリューム選択テーブル、105…リード優先ボリュー
ム選択バッファ管理プログラム、106…リード処理プ
ログラム、107…ライト処理プログラム、111〜1
13…ボリューム制御装置、121〜123…キャッシ
ュメモリ、131〜133…ボリューム。
101 ... Instruction processor, 102 ... Input / output processor,
103 ... Read count storage table, 104 ... Read priority volume selection table, 105 ... Read priority volume selection buffer management program, 106 ... Read processing program, 107 ... Write processing program, 111-1
13 ... Volume control device, 121-123 ... Cache memory, 131-133 ... Volume.

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 同一内容のデータを複数のボリュームに
格納する多重化ボリューム装置において、 前記複数のボリュームを一定の大きさの単位に分割した
各分割単位毎に、リード処理を実行すべきボリュームを
決定するボリューム決定手段と、決定されたボリューム
の番号を前記分割単位毎に記憶するリード優先ボリュー
ム選択テーブルと、各分割単位に対するリード命令に対
し前記リード優先ボリューム選択テーブルからリード処
理を実行すべきボリュームを求め、そのボリュームに対
してリード処理を実行するリード処理実行手段とを備え
たことを特徴とする多重化ボリューム装置。
1. A multiplexed volume apparatus for storing data of the same content in a plurality of volumes, wherein a volume to which a read process is to be executed is divided into units of a plurality of units each of which is divided into units of a certain size. Volume determining means for determining, a read priority volume selection table for storing the number of the determined volume for each division unit, and a volume for which a read process is executed from the read priority volume selection table for a read command for each division unit And a read process executing means for executing a read process on the volume.
【請求項2】 前記ボリューム決定手段は、各ボリュー
ムに対するリード処理回数が平均化するようにリード処
理を実行すべきボリュームを決定するものであることを
特徴とする請求項1記載の多重化ボリューム装置。
2. The multiplexed volume apparatus according to claim 1, wherein the volume determining means determines a volume to execute a read process so that the number of read processes for each volume is averaged. .
【請求項3】 前記ボリューム決定手段を一定時間毎ま
たはリード処理回数が一定値に達する度に起動し、前記
リード優先ボリューム選択テーブル内のボリューム番号
を動的に変更することを特徴とする請求項2記載の多重
化ボリューム装置。
3. The volume deciding means is activated every fixed time or every time the number of read processing reaches a fixed value, and the volume number in the read priority volume selection table is dynamically changed. 2. The multiplexed volume device according to 2.
JP6020432A 1994-02-17 1994-02-17 Multiplexed volume device Expired - Lifetime JP2975253B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6020432A JP2975253B2 (en) 1994-02-17 1994-02-17 Multiplexed volume device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6020432A JP2975253B2 (en) 1994-02-17 1994-02-17 Multiplexed volume device

Publications (2)

Publication Number Publication Date
JPH07230358A true JPH07230358A (en) 1995-08-29
JP2975253B2 JP2975253B2 (en) 1999-11-10

Family

ID=12026890

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6020432A Expired - Lifetime JP2975253B2 (en) 1994-02-17 1994-02-17 Multiplexed volume device

Country Status (1)

Country Link
JP (1) JP2975253B2 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006259945A (en) * 2005-03-16 2006-09-28 Nec Corp Redundant system, its configuration control method and its program
JP2007316967A (en) * 2006-05-26 2007-12-06 Fujitsu Ltd Hierarchy control device of hierarchical storage system and method and program for managing maintenance of duplicated media
WO2016006023A1 (en) * 2014-07-07 2016-01-14 株式会社日立製作所 Storage device, computer system and method

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006259945A (en) * 2005-03-16 2006-09-28 Nec Corp Redundant system, its configuration control method and its program
JP2007316967A (en) * 2006-05-26 2007-12-06 Fujitsu Ltd Hierarchy control device of hierarchical storage system and method and program for managing maintenance of duplicated media
US7664914B2 (en) 2006-05-26 2010-02-16 Fujitsu Limited Hierarchical control apparatus of hierarchical storage system and method for maintaining and managing duplexed media
WO2016006023A1 (en) * 2014-07-07 2016-01-14 株式会社日立製作所 Storage device, computer system and method

Also Published As

Publication number Publication date
JP2975253B2 (en) 1999-11-10

Similar Documents

Publication Publication Date Title
JPH07175698A (en) File system
JPH06250928A (en) Information processor
JP4036206B2 (en) Set associative cache system and cache memory control method
JPH0612386A (en) Method and system for synchronizing thread in process
JPS6027964A (en) Memory access control circuit
EP1760581A1 (en) Processing operations management systems and methods
JP4388005B2 (en) Context switching device
JP3034873B2 (en) Information processing device
CN112463333A (en) Data access method, device and medium based on multithreading concurrency
CN108733585B (en) Cache system and related method
JP2001117786A (en) Process scheduling device and process scheduling method
JPH07230358A (en) Multiplexed volume device
JPH0830562A (en) Multiprocessor system
JPS603229B2 (en) Information processing method
JP3880739B2 (en) Operating system processing method and operating system processing method
US20220156074A1 (en) Electronic device and multiplexing method of spatial
JP2571298B2 (en) Data management control method
JP3413369B2 (en) Information processing device
JPH06266619A (en) Page saving/restoring device
JPH10507548A (en) Data processing systems and methods and communication systems with such systems
JP2002251322A (en) System for controlling storage device
JP3022398B2 (en) Virtual computer system
JP2742245B2 (en) Parallel computer
JP2624154B2 (en) Data evacuation system in main memory swapping
JP3251764B2 (en) I / O buffer controller