JPS60205641A - Selection system for in-use physical volume of multiple volume system - Google Patents

Selection system for in-use physical volume of multiple volume system

Info

Publication number
JPS60205641A
JPS60205641A JP6198584A JP6198584A JPS60205641A JP S60205641 A JPS60205641 A JP S60205641A JP 6198584 A JP6198584 A JP 6198584A JP 6198584 A JP6198584 A JP 6198584A JP S60205641 A JPS60205641 A JP S60205641A
Authority
JP
Japan
Prior art keywords
volume
physical volume
physical
requests
request
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
JP6198584A
Other languages
Japanese (ja)
Other versions
JPH0436412B2 (en
Inventor
Masato Kawamura
正人 河村
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP6198584A priority Critical patent/JPS60205641A/en
Publication of JPS60205641A publication Critical patent/JPS60205641A/en
Publication of JPH0436412B2 publication Critical patent/JPH0436412B2/ja
Granted legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F12/00Accessing, addressing or allocating within memory systems or architectures

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)

Abstract

PURPOSE:To read data efficiently by selecting such a physical volume that the quantity of seeking is minimum if the number of requests for every physical volume is equal when data is read out of the multiple volume system which holds the same data. CONSTITUTION:For example, the number count 1 of requests for a physical volume PV1 is 3, and the final access cylinder number LASTC1 of the physical volume PV1 is (y); and the number of requests for a physical volume PV2 is 3 and a final access cylinder number is (z). Further, the number of a cylinder that accesses an accepted request to read is (x). When the absolute value of the value obtained by subtracting (x) from (y) is smaller than the absolute value of the value obtained by subtracting (x) from (z), the physical volume PV1 is selected and the accepted request connects with the queue of the physical volume PV1 as a queue request Q13. Thus, when a newly accepted request is executed while the number of accepted requests is equal, a side having the smaller quantity of seeking is selected.

Description

【発明の詳細な説明】 【発明の技術分野】 本発明は、同一のデータを保持する複数の物理ボリュー
ムで構成された多重化ボリュームの中からデータを読み
出す場合に、シーク(SEEK)動作量の最も少ない物
理ボリュームから所望のデータを読み出すようにした多
重化ボリューム・システムにおける使用物理ボリューム
選択方式に関するものである。 〔従来技術と問題点〕 信頼性を同上させるために同一のデータを保持する複数
の物理ボリュームで1個の論理ボリューム(多重化ボリ
ュームと同義)を構成することが行われているが、この
種の論理ボリュームに対するREAD要求受は付は時に
おける使用物理ボリュームの選択方式としては、■PR
IMARY方式と■CYCLIC方式とが知られている
。■のPRIMARY方式は常に決った物理ボリューム
を読み出し対象の物理ボリュームとするものであり、C
YCLIC方式は読み出し対象のボリュームを順番に変
更するものである。しかしながら、上述のような従来方
式は、最大の処理効率が得られていないという問題点を
有している。 [発明の目的] 本発明は、上述の考察に基づくものであって。 同一のデータを保持する複数の物理ボリュームで構成さ
れた多重化ボリュームからデータを読み出す処理を効率
よく行い得るようにした多重化ボリューム・シ′ステム
における使用物理ボリューム選択方式を提供することを
目的としている。 [発明の構成〕 そしてそのため、本発明の多重化ボリューム・システム
における使用物理ボリューム選択方式は。 同一のデータを保持する複数の物理ボリュームで構成さ
れた多重化ボリュームからデータを読み出す際、物理ボ
リューム毎の要求数が等しい場合には、シーク量が最小
となるような物理ボリュームを選択し、当該物理ボリュ
ームから所望のデータを読み出すことを特徴とするもの
である。 〔発明の実施例〕 以下、本発明を図面を参批しつ〜説明する。 本発明は、中央処理装置と、同一データを保持する複数
の物理ボリュームがマウントされた複数の磁気ディスク
装置とを具備する計算機システムを前提としている。本
発明を実施するために、主メモリ上に多重化ボリューム
管理テーブルが設けられる。なお、多重化ボリュームが
複数個存在する場合には、各多重化ボリューム毎に多重
化ボリューム管理テーブルが設けられる。多重化ボリュ
ーム管理テーブルP’3に使用物理ボリューム選択のた
めに、要求数フィールド及び最終アクセス・シリンダ番
号フィールドを設ける。要求数フィールドは物理ボリュ
ーム毎に存在するものである。要求数フィールドの数値
データは、現在受付けられている要求数を示し、入出力
要求受付は時には+1され、入出力動作終了Mに−1さ
れる。最終アクセス・シリンダ番号フィールドも物理ボ
リューム毎に存在するものである。最終アクセス・シリ
ンダ番号フィールドのデータは、その物理ボリュームの
待ちキューにつながれている最後の入出力要求で指定さ
れるアクセス・シリンダ番号を示し、待ちキューに新た
な入出力要求がエンキューされた時に更新される。 第1図は中央処理装置で実行される2重化ボリューム制
御プログラムの要部を説明する図である。 第1図において、couyltlは物理ボリュームlの
要求数、 cmuni 2は物理ボリューム2の要求数
、LASTC1は物理ボリューム1の最終アクセス・シ
リンダ番号、LASTC2は物理ボリューム2の最終ア
クセス・シリンダ番号、ACO8CYLは受付は要求の
アクセスするシリンダ番号をそれぞれ示している。なお
、第1図では話を簡J&にするために2重化ボリューム
を対象にし、受付は要求もREADのみとしている。2
重化ボリューム制御プログラムは下記のような処理を行
う。 ■ count 1とcount 2とを比較する。前
者が後者より大であるときは■の処理を行い、前者が後
者よりも小さいときは■の処理を行い、両者が等しいと
きは■の処理を行う。 ■ 物理ボリューム2を選択し、受付は要求を物理ボリ
ューム2の待ちキューにエンキューする。 ■ count 2を+1する。 ■ LASTC2をACC8CYL[更新する。 ■ 物理ボリューム1を選択し、受付は要求を物理ボリ
ューム1の待ちキューにエンキューする。 ■ count 1を+1する。 ■ LASTC1’&ACC8CYLIc更新する。 ■ LASTC1からACC8CYLを減算した値の絶
1対値が、LASTC2からACC8CYL を減算シ
タ値の絶対値より小であるか否かを調べる。Yesのと
きは■の処理を行い、Noのときは@の処理を行う。 ■ 物理ボリューム1を選択し、受付は要求を物理ボリ
ュームの待ちキューにエンキューする。 @l countlを+1する。 ■、 LASTC1ttACC8CYL[更新する。 @ 物理ボリューム2を選択し、物理ボリューム2の待
ちキューに受付は要求をエンキューする。 ◎ count 2を+1jる。 @ LASTC2をACC8CYLK更新スル。 第2図は本発明による使用物理ボリューム選択の具体例
を示す図である。第2図において、pviとPV2は物
理ボリュー ム、Q 1 i (i=:1.2.3. 
・)は物理ボリュームPVIのキュー要素、Q2iは物
理ボリュームPV2のキュー要素をそれぞれ示している
。第2図@)において、物理ボリュームPVIの要求数
count 1が3.物理ボリュームPVIの最終アク
セス・シリンダ番号LASTC1がy、物理ボリューム
PV2の要求1&6X 3 、物Wy?” IJ ニー
ムPV2の最終アクセス・シリンダ番号が2と仮定する
。また、READの受付は要求のアクセスするシリンダ
番号なXとする。いま、yからXを差弓1(・た値の絶
対値が、2からXを差弓1(翫だ値の絶対値より小さい
場合には、物理ボリュームPVIが選択され、受付は要
求はキュー要求Q13として物理ボリュームP■1の待
ちキューにつながれる。このよデうに等負荷(受付は要
求数が等し、・)の状態の下で、新たに受付けた要求を
実行する際にむ1シーク量の少ない側が選択される。な
お、各物理ボリューム毎の受付は要求数の更新および最
終シーク・アドレスの更新はWRITE要求の場合も同
様に行われる。 第3図は本発明による入出力制御処理の概要を示す図で
ある。第3図において、BIO8は基本人出力スーパバ
イザ、DVCFは2重化ボリューム制御プログラムをそ
れぞれ示し、また、第3図において、■は5TARTI
O命令の発行−〇&家SIO又は8IOF命令の発行、
■は入出力割込みの発生、■は入出力要求の完了通卸な
それぞれ示している。 2重化ボリューム制御プログラムDVCFは、論理ボリ
ューム上のデータに対する全ての入出力要求と、この要
求に起因する物理ボリューム上の入出力事象を管理する
。本発明はDVCFの入出力要求受付部においてREA
D要求受付時の物理ボリューム選択処理を行うものであ
る。なお、DVCFの入出力要求受付部では、論理ボリ
ューム(2重化ボリュームと同義)上のデータに対する
入出力要求を受付け、物理ボリューム20入出力要求に
変換し、入出力操作の起動を基本人出カス−25バイザ
BIO8に依頼する処理を行う。 〔発明の効果〕 以上の説明から明らかなように、本発明によれば、多重
化ボリュームを構成する物理ボリュームの受付は要求数
が等しい状態の下では、新しく受付けたREADの要求
をシーク量が少なくなる側の物理ボリュームの待ちキュ
ーにつないでいるので、多重化ボリュームからデータを
読み出す処理な効率よ(行うことが出来る。
Detailed Description of the Invention [Technical Field of the Invention] The present invention reduces the amount of seek (SEEK) operations when reading data from a multiplexed volume composed of a plurality of physical volumes holding the same data. The present invention relates to a method for selecting a physical volume to be used in a multiplexed volume system in which desired data is read from the least physical volume. [Prior art and problems] In order to improve reliability, one logical volume (synonymous with a multiplexed volume) is constructed from multiple physical volumes that hold the same data, but this type of When receiving a READ request for a logical volume, the method for selecting the physical volume to be used is ■PR.
The IMARY method and the CYCLIC method are known. The PRIMARY method (①) always uses a fixed physical volume as the physical volume to be read, and C
The YCLIC method sequentially changes the volume to be read. However, the conventional method as described above has a problem in that maximum processing efficiency cannot be obtained. [Object of the Invention] The present invention is based on the above considerations. The purpose of this invention is to provide a method for selecting physical volumes to be used in a multiplexed volume system that enables efficient processing of reading data from a multiplexed volume that is composed of multiple physical volumes holding the same data. There is. [Configuration of the Invention] Therefore, the physical volume selection method used in the multiplexed volume system of the present invention is as follows. When reading data from a multiplexed volume composed of multiple physical volumes that hold the same data, if the number of requests for each physical volume is equal, select the physical volume that minimizes the seek amount, and It is characterized by reading desired data from a physical volume. [Embodiments of the Invention] The present invention will be described below with reference to the drawings. The present invention is based on a computer system that includes a central processing unit and a plurality of magnetic disk devices on which a plurality of physical volumes holding the same data are mounted. To implement the present invention, a multiplexed volume management table is provided on main memory. Note that if a plurality of multiplexed volumes exist, a multiplexed volume management table is provided for each multiplexed volume. The multiplexed volume management table P'3 is provided with a request number field and a last access cylinder number field for selecting the physical volume to be used. The request number field exists for each physical volume. The numerical data in the number of requests field indicates the number of requests currently being accepted, and is sometimes incremented by 1 when an input/output request is accepted, and is subtracted by 1 when an input/output operation ends M. A last access cylinder number field also exists for each physical volume. The data in the Last Accessed Cylinder Number field indicates the access cylinder number specified by the last I/O request enqueued in the pending queue for that physical volume, and is updated when a new I/O request is enqueued in the pending queue. be done. FIG. 1 is a diagram illustrating a main part of a duplex volume control program executed by a central processing unit. In Figure 1, couyltl is the number of requests for physical volume l, cmuni 2 is the number of requests for physical volume 2, LASTC1 is the last access cylinder number of physical volume 1, LASTC2 is the last access cylinder number of physical volume 2, and ACO8CYL is the number of requests for physical volume 2. Each reception indicates the cylinder number accessed by the request. In addition, in FIG. 1, in order to simplify the discussion, a duplex volume is targeted, and only READ requests are accepted. 2
The weighted volume control program performs the following processing. ■ Compare count 1 and count 2. When the former is greater than the latter, process ``■'' is performed, when the former is smaller than the latter, process ``■'' is performed, and when both are equal, process ``■'' is performed. ■ Physical volume 2 is selected, and the reception enqueues the request into the physical volume 2 waiting queue. ■ Add 1 to count 2. ■ Update LASTC2 to ACC8CYL. ■ Selecting physical volume 1, the receptionist enqueues the request to physical volume 1's waiting queue. ■ Add 1 to count 1. ■ Update LASTC1'&ACC8CYLIc. (2) Check whether the absolute value of the value obtained by subtracting ACC8CYL from LASTC1 is smaller than the absolute value of the value obtained by subtracting ACC8CYL from LASTC2. When Yes, process ■ is performed, and when No, process @ is performed. ■ Selecting physical volume 1, the reception enqueues the request to the physical volume's waiting queue. @l Add 1 to countl. ■, LASTC1ttACC8CYL [Update. @ Selects physical volume 2 and enqueues the request in the waiting queue of physical volume 2. ◎ Increase count 2 by +1j. @ Updated LASTC2 with ACC8CYLK. FIG. 2 is a diagram showing a specific example of selecting a physical volume to be used according to the present invention. In FIG. 2, pvi and PV2 are physical volumes, Q 1 i (i=:1.2.3.
) indicates the queue element of the physical volume PVI, and Q2i indicates the queue element of the physical volume PV2. In Fig. 2 @), the number of physical volume PVI requests count 1 is 3. Last access cylinder number LASTC1 of physical volume PVI is y, request 1&6X 3 of physical volume PV2, object Wy? ” Assume that the final access cylinder number of IJ Neem PV2 is 2. In addition, the READ reception is assumed to be X, which is the cylinder number accessed by the request. Now, the absolute value of X from y is 1 ( ,2 to Under the condition of equal load (the number of requests is equal for each physical volume), when executing a newly accepted request, the one with the smallest seek amount is selected. The update of the number of requests and the update of the final seek address are performed in the same way in the case of a WRITE request. Fig. 3 is a diagram showing an overview of input/output control processing according to the present invention. In Fig. 3, the BIO8 is a basic Human output supervisor and DVCF respectively indicate the duplex volume control program, and in Fig. 3, ■ is 5 TARTI.
Issuance of O order - 〇 & house SIO or 8IOF order issued,
■ indicates the occurrence of an input/output interrupt, and ■ indicates the completion of an input/output request. The duplex volume control program DVCF manages all input/output requests for data on logical volumes and input/output events on physical volumes resulting from these requests. The present invention provides an input/output request reception section of the DVCF that
This is to perform physical volume selection processing when receiving a D request. Note that the input/output request receiving unit of DVCF accepts input/output requests for data on logical volumes (synonymous with duplex volumes), converts them into physical volume 20 input/output requests, and starts input/output operations as a basic human resource. Performs processing requested to the Cas-25 visor BIO8. [Effects of the Invention] As is clear from the above description, according to the present invention, under the condition that the number of requests for physical volumes constituting a multiplexed volume is equal, the amount of seek for a newly accepted READ request is Since it is connected to the waiting queue of the physical volume on the side where the volume is decreasing, it is possible to read data from the multiplexed volume more efficiently.

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

第1図は中央処理装置で実行される本発明の2重化ボリ
ューム制御プログラムの要部を説明する図、第2図は本
発明による使用物理ボリューム選択の具体例を示す図、
第3図は本発明による入出力制御処理を示す図である。 PvlとPV2・・・物理ボリューム、QllないしQ
13・・・キュー要素、Q21とQ22・・・キュー要
素。 特許出願人 富士通株式会社 代理人弁理士 京 谷 四 部 才2図 (イ) LA’3Te l = 才LASTC2−8欠2図 (ロ)
FIG. 1 is a diagram illustrating the main part of the duplex volume control program of the present invention executed by the central processing unit, and FIG. 2 is a diagram illustrating a specific example of selecting a physical volume to be used according to the present invention.
FIG. 3 is a diagram showing input/output control processing according to the present invention. Pvl and PV2...physical volume, Qll or Q
13...Cue element, Q21 and Q22...Cue element. Patent Applicant: Fujitsu Limited Representative Patent Attorney Kyotani Yotsubu Sai 2 Diagram (A) LA'3Te l = Sai LASTC 2-8 Missing 2 Diagram (B)

Claims (1)

【特許請求の範囲】[Claims] 同一のデータを保持する複数の物理ボリュームで構成さ
れた多重化ボリュームからデータを読み出す際、物理ボ
リューム毎の要求数が等しい場合には、シーク量が最小
となるような物理ボリュームを選択し、肖該物理ボリュ
ームから所望のデータを読み出すことを特徴とする多重
化ボリューム・システムにおける使用物理ボリューム選
択方式。
When reading data from a multiplexed volume composed of multiple physical volumes that hold the same data, if the number of requests for each physical volume is equal, select the physical volume that minimizes the amount of seek, and A physical volume selection method for use in a multiplexed volume system characterized by reading desired data from the physical volume.
JP6198584A 1984-03-29 1984-03-29 Selection system for in-use physical volume of multiple volume system Granted JPS60205641A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6198584A JPS60205641A (en) 1984-03-29 1984-03-29 Selection system for in-use physical volume of multiple volume system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6198584A JPS60205641A (en) 1984-03-29 1984-03-29 Selection system for in-use physical volume of multiple volume system

Publications (2)

Publication Number Publication Date
JPS60205641A true JPS60205641A (en) 1985-10-17
JPH0436412B2 JPH0436412B2 (en) 1992-06-16

Family

ID=13186985

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6198584A Granted JPS60205641A (en) 1984-03-29 1984-03-29 Selection system for in-use physical volume of multiple volume system

Country Status (1)

Country Link
JP (1) JPS60205641A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63140351A (en) * 1986-12-02 1988-06-11 Nec Corp Multiplex managing system for library file
EP1318447A3 (en) * 1997-01-14 2004-05-06 Fujitsu Limited Raid apparatus and access control method therefor

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63140351A (en) * 1986-12-02 1988-06-11 Nec Corp Multiplex managing system for library file
EP1318447A3 (en) * 1997-01-14 2004-05-06 Fujitsu Limited Raid apparatus and access control method therefor
US7032069B2 (en) 1997-01-14 2006-04-18 Fujitsu Limited RAID apparatus and access control method therefor which balances the use of the disk units
US7080196B1 (en) 1997-01-14 2006-07-18 Fujitsu Limited Raid apparatus and access control method therefor which balances the use of the disk units

Also Published As

Publication number Publication date
JPH0436412B2 (en) 1992-06-16

Similar Documents

Publication Publication Date Title
US5530897A (en) System for dynamic association of a variable number of device addresses with input/output devices to allow increased concurrent requests for access to the input/output devices
US3447135A (en) Peripheral data exchange
US11151155B2 (en) Memory use in a distributed index and query system
JPH04165541A (en) File rearranging method
US7373467B2 (en) Storage device flow control
US10649967B2 (en) Memory object pool use in a distributed index and query system
US4639862A (en) Computer system
JPH0587854B2 (en)
US20060026598A1 (en) Resource allocation management
JPS60205641A (en) Selection system for in-use physical volume of multiple volume system
US5404549A (en) Method for efficient access of data stored in a nexus table using queue tag indexes in a table portion
US10783096B2 (en) Storage system and method of controlling I/O processing
JPH05289847A (en) Ring buffer control device
CN109324753B (en) Virtual LUN management
JPH0368046A (en) Memory access system
JP2000235551A (en) Data base arrangement retrieval control method and recording medium
JPH0520154A (en) Block managing system
JPH05197599A (en) File space management system
JPH0577101B2 (en)
JPH0520142A (en) Block managing system
JPH0338614B2 (en)
JPS59114657A (en) Memory interface circuit of microcomputer
JPS6174046A (en) Address expansion method
JPS6113354A (en) Dispersed information cache controlling system
JPH09185565A (en) Network system with program transferring function