JPH02226355A - Load balance control method - Google Patents

Load balance control method

Info

Publication number
JPH02226355A
JPH02226355A JP4536989A JP4536989A JPH02226355A JP H02226355 A JPH02226355 A JP H02226355A JP 4536989 A JP4536989 A JP 4536989A JP 4536989 A JP4536989 A JP 4536989A JP H02226355 A JPH02226355 A JP H02226355A
Authority
JP
Japan
Prior art keywords
input
control device
control
output
transfer
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP4536989A
Other languages
Japanese (ja)
Inventor
Akira Yamamoto
彰 山本
Toshiaki Tsuboi
俊明 坪井
Tatsuo Nanba
難波 龍雄
Akira Kurano
倉野 昭
Takashi Doi
隆 土井
Hiroyuki Kitajima
北嶋 弘行
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 Microcomputer System Ltd
Hitachi Ltd
Original Assignee
Hitachi Ltd
Hitachi Microcomputer Engineering 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, Hitachi Microcomputer Engineering Ltd filed Critical Hitachi Ltd
Priority to JP4536989A priority Critical patent/JPH02226355A/en
Publication of JPH02226355A publication Critical patent/JPH02226355A/en
Pending legal-status Critical Current

Links

Abstract

(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。
(57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.

Description

【発明の詳細な説明】 [産業上の利用分野〕 本発明は、入出力装置群と制御装置群との間のデータ転
送路の負荷を均衡させる制御方法に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a control method for balancing the load on a data transfer path between a group of input/output devices and a group of control devices.

〔従来の技術〕[Conventional technology]

従来より、複数のデータ処理装置あるいはブタ転送路の
間で負荷を均衡化する方法としては、例えば特開昭57
−157368号公報に記載された方法がある。これは
、並列データ転送路に作業を割り当てる際に、それぞれ
処理の遅延を計数し、1つの転送路の総計値がその閾値
を越えると、そのデータ転送路の作業割り当ての一部を
他の転送路に移すことにより、負荷の均衡化を図るもの
である。上記公報に記載された方法の具体例では、2台
のカートリッジ型MT(磁気テープ装置)がそれぞれ2
台の制御装置とデータ転送路を介して接続されている。
Conventionally, as a method of balancing the load among multiple data processing devices or pig transfer paths, for example, Japanese Patent Laid-Open No. 57
There is a method described in Japanese Patent No.-157368. When allocating work to parallel data transfer paths, each processing delay is counted, and if the total value of one transfer path exceeds the threshold, a part of the work allocated to that data transfer path is transferred to another transfer path. By shifting the load to the road, the load is balanced. In the specific example of the method described in the above publication, two cartridge-type MTs (magnetic tape devices) each have two
It is connected to the other controller via a data transfer path.

ただし、ある1台のMTが制御装置とデータを転送して
いる時間中には、他のMTはこの制御装置とデータ転送
動作に移ることはできない。制御装置は、各々バッファ
とMTとの間で複数ブロックの先読み・まとめ書きを実
行する。
However, during the time when one MT is transferring data with the control device, other MTs cannot transfer data with this control device. The control device executes pre-reading and collective writing of a plurality of blocks between each buffer and MT.

この場合、1台のMTのデータが複数の制御装置のバッ
ファに分散することを避けて、1台のMTのデータは特
定の1台の制御装置の制御により、この制御装置内のバ
ッファのみとの間で転送を行う。ある特定の制御装置が
制御するMTの集合のうち、1台のMTがチャネルとバ
ッファ間の転送動作に移っているときには、この集合内
の他のMTはこのチャネルとバッファ間の転送動作に入
ることはできない。同じようにして、この集合内の1台
のMTがバッファ間の間でデータ転送動作に移ると、集
合内の他のMTはバッファとの転送動作に移ることはで
きない。従って、各制御装置により制御されるMTの集
合内で、負荷にアンバランスが生じ、その結果データ転
送路に空きが生じて性能の劣化を招くことになる。その
ために、各制御装置の制御下のMTの集合を、適当に移
し替えることにより、各制御装置における負荷を均衡さ
せるのである。
In this case, the data of one MT is controlled by one specific control device and is stored only in the buffer within this control device, to avoid distributing the data of one MT to the buffers of multiple control devices. transfer between. When one MT among a set of MTs controlled by a specific control device is in a transfer operation between a channel and a buffer, other MTs in this set are in a transfer operation between this channel and a buffer. It is not possible. Similarly, if one MT in the set moves to a data transfer operation between buffers, no other MT in the set can move to a transfer operation with the buffer. Therefore, load imbalance occurs within the set of MTs controlled by each control device, resulting in empty data transfer paths and deterioration of performance. For this purpose, the load on each control device is balanced by appropriately transferring the set of MTs under the control of each control device.

また、MTの制御装置に圧縮および復元機能を付加し、
本体よりも高速のチャネルに接続して転送する場合があ
る。これは、制御装置とMTの間のデータ転送量を減少
させることにより、見掛上、Ml?より高速なチャネル
のスループットを得ることを日用している。複数のMT
が動作中の時には、通常、各MTのデータ圧縮率は異な
っていることが多い。その場合、一方の制御装置が制御
する集合内には圧縮率の高いMTが集中し、他方の制御
装置が制御する集合内には圧縮率の低いMTが集中する
と、前者の制御装置はチャネルのスループッ1〜までの
性能が十分に得られるが、後者の制御装置はチャネルま
での性能が得られないことになる。そこで、このような
場合にも、両制御装置に制御されるMTの集合を移し替
えることにより、両制御装置により制御されるMTの集
合の圧縮率を均衡させて、両制御装置の性能をチャネル
のスループットまで向上させることができる。
In addition, compression and decompression functions have been added to the MT control device,
There are cases where the device connects to a channel faster than the main unit and transfers data. This apparently reduces the amount of data transferred between the control device and the MT. It is common practice to obtain faster channel throughput. multiple MTs
When the MT is in operation, the data compression rate of each MT is usually different. In that case, if MTs with high compression ratios are concentrated in the set controlled by one controller, and MTs with low compression ratios are concentrated in the set controlled by the other controller, the former controller controls the channel. Although sufficient performance can be obtained for throughputs up to 1, the latter control device cannot obtain performance up to channels. Therefore, even in such a case, by transferring the set of MTs controlled by both control devices, the compression ratio of the set of MTs controlled by both control devices can be balanced, and the performance of both control devices can be channelized. The throughput can be improved up to .

上記公報に記載された方法では、MTの移し替えを行う
場合の対象となるMTを選別する方法が示されている。
The method described in the above-mentioned publication describes a method for selecting MTs to be subjected to MT transfer.

すなわち、チャネルよりあるMTの入出力要求を受け取
った時、同一の制御装置の制御下にある他のMTがデー
タ転送中等のために、直ちに転送動作に移れなかった回
数を集計する。
That is, when receiving an input/output request for a certain MT from a channel, the number of times that other MTs under the control of the same control device were unable to immediately start a transfer operation due to data transfer or the like is counted.

そして、この回数を各制御装置の制御下に入っている集
合ごとに合計する。この集合ごとの合計値の差が一定値
(閾値)以上になると、制御装置間の負荷が平衡してい
ないものと判断して、MTの移し替えを行うのである。
Then, this number of times is totaled for each set under the control of each control device. When the difference between the total values for each set exceeds a certain value (threshold value), it is determined that the loads between the control devices are not balanced, and the MT is transferred.

この場合に移し替えの対象となるMTは、制御装置ごと
に集計した値、つまり転送に移れなかった回数の差の半
分に近いMTを選んでいる。
In this case, the MT to be transferred is selected to be one that is close to half of the difference in the total number of times the transfer could not be performed, that is, the total value for each control device.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

」二記公報に記載された方法では、前述のように、各M
Tが他のMTが転送中のために、直ちに転送動作に移れ
なかった回数を、同一の制御装置に制御されたMTの集
合ごとに合計した値の差を計数している。そして、直ち
にデータ転送に移れなかった回数が、この差の半分に近
いMTを移し替えの対象にしている。
In the method described in Publication No. 2, as mentioned above, each M
The difference between the summed values for each set of MTs controlled by the same control device is counted for the number of times T could not immediately start a transfer operation because another MT was in the process of transferring. Then, the MT whose number of times it could not immediately move to data transfer is close to half of this difference is targeted for transfer.

この場合、直ちにデータ転送に移れなかった回数の合計
値の大きい制御装置の方が、高負荷であることは明らか
で−ある。しかしながら、その高負荷の方から低負荷の
方に対して、合計値の差の半分に近いMTを移し替えて
も、スループットが最大になるまで向上することはなく
、また両方の負荷が完全に均衡することも少なく、その
根拠は極めて薄弱である。
In this case, it is clear that the control device that has a larger total number of times that it was unable to immediately start data transfer has a higher load. However, even if you transfer MTs that are close to half of the difference in total value from the high load side to the low load side, the throughput will not improve to the maximum, and both loads will not completely increase. It is rarely balanced, and the basis for this is extremely weak.

通常、両制御装置のスループットや利用率等の合計値を
最大にすることの方が、両制御装置の入出力待ち時間等
を均衡させることより重要である。
Normally, it is more important to maximize the total value of the throughput, utilization rate, etc. of both control devices than to balance the input/output waiting times, etc. of both control devices.

また、各MTに対して、制御装置までのアクセス経路が
複数存在する場合には、それらのアクセス経路が均等に
使用される保証はない。一般に、アクセス経路が異なれ
ば、制御装置内で発生する内部処理オーバヘッドも異な
る。
Furthermore, if there are multiple access routes to the control device for each MT, there is no guarantee that these access routes will be used equally. Generally, different access paths cause different internal processing overheads within the control device.

上記公報に記載された方法では、MTを移し替えても、
アクセス経路によって異なる制御装置の内部処理オーバ
ヘッドが減少することはなく、この点については何も考
慮されていない。
In the method described in the above publication, even if the MT is transferred,
The internal processing overhead of different control devices is not reduced depending on the access path, and no consideration is given to this point.

本発明の目的は、このような従来の課題を解決し、両制
御装置のスループットまたは利用率の合計が最大になる
ようなMTを移し替えの対象とし、またスループットの
合計が向上しないときには、入出力待ち時間を均衡させ
るようなMTを移し替えの対象とする負荷均衡制御方法
を提供することにある。
The purpose of the present invention is to solve such conventional problems, to relocate the MT that maximizes the throughput or utilization rate of both control devices, and to replace the MT when the total throughput does not improve. An object of the present invention is to provide a load balancing control method that targets MTs for relocation so as to balance output waiting times.

本発明の他の目的は、各制御装置の負荷を均衡させるよ
うなMTを選択することができる負荷均衡制御方法を提
供することにある。
Another object of the present invention is to provide a load balancing control method that can select an MT that balances the loads of each control device.

本発明のさらに他の目的は、負荷を均衡させながら、入
出力系の内部処理オーバヘッドを減少させることができ
る負荷均衡制御方法を提供することにある。
Still another object of the present invention is to provide a load balancing control method that can reduce the internal processing overhead of the input/output system while balancing the load.

〔課題を解決するための手段〕[Means to solve the problem]

上記目的を達成するため、本発明の負荷均衡制御方法は
、複数のチャネルの各々に接続された複数の制御装置と
、該制御装置の各々に接続された入出力装置群を備え、
各入出力装置は同時には1台の制御装置の制御下にあり
、制御されている制御装置との間でのみデータ転送を行
う計算機システムにおいて、ある制御装置の制御下にあ
る入出力装置を他の制御装置の制御下に移し替える場合
に、移し替え後の各制御装置の制御下に入る入出力装置
の集合の入出力負荷状況を解析モデルを用いて予測計算
を実行するとともに、該予測計算を実行する前に、該予
測計算に必要な情報を収集し、上記予測計算の結果、先
ず最も各制御装置の性能向上が得られる移し替え方を選
択し、移し替えにより性能が向上しない場合には、次に
最も入出力負荷量の均衡が得られるような移し替え方を
選択して、該選択の結果に従って、各制御装置の制御下
にある入出力装置の集合を移し替えることに特徴がある
In order to achieve the above object, the load balancing control method of the present invention includes a plurality of control devices connected to each of the plurality of channels, and a group of input/output devices connected to each of the control devices,
In a computer system in which each input/output device is under the control of one control device at the same time, and data is transferred only between the control device being controlled, the input/output device under the control of one control device can be transferred to another control device. When transferring the input/output devices under the control of each control device after transfer, use an analytical model to perform predictive calculations on the input/output load status of a set of input/output devices that will be under the control of each control device after the transfer, and perform the predictive calculations. Before executing, the information necessary for the prediction calculation is collected, and as a result of the prediction calculation, the transfer method that will improve the performance of each control device the most is selected, and if the transfer does not improve the performance, The method is characterized in that it then selects the relocation method that will best balance the input/output load amount, and then relocates the set of input/output devices under the control of each control device according to the result of the selection. be.

また、複数のチャネルの各々に接続された複数の制御装
置と、該制御装置の各々に接続された入出力装置群を備
え、各入出力装置は同時には1台の制御装置の制御下に
あり、M#されているit!制御装置との間でのみデー
タ転送を行う計算機システムにおいて、ある制御装置の
制御下にある入出力装置を他の制御装置の制御下に移し
替える場合に、制御装置が移し替える入出力装置の選択
順序を決定するとともに、該決定の前に、該選択順序の
決定に必要な予め定められた時間に各制御装置ごとに上
位システムからアクセスされた経路を含む情報を収集し
、入出力負荷が均衡するような選択順序を決定して、各
制御装置の間で制御下にある入出力装置の集合の移し替
えを行うことにも特徴がある。
It also includes a plurality of control devices connected to each of the plurality of channels and a group of input/output devices connected to each of the control devices, and each input/output device is under the control of one control device at the same time. , it has been M#! In a computer system that transfers data only to and from a control device, selection of the input/output device to be transferred by the control device when transferring an input/output device under the control of one control device to the control of another control device. In addition to determining the selection order, before making the determination, information including the routes accessed from the higher-level system for each control device at a predetermined time necessary for determining the selection order is collected, and the input/output load is balanced. Another feature is that the selection order is determined so that the set of input/output devices under control is transferred between each control device.

〔作  用〕[For production]

本発明においては、第1の実施例が(イ)予測計算のた
めのデータ収集と、(ロ)移し替え後の負荷状況の予測
計算の2つの動作からなり、第2の実施例は(a)入出
力装置の選択順序や負荷均衡のためのデータ収集と、(
b)入出力装置の移し替えの2つの動作からなる。すな
わち、第1の実施例では、解析モデルを用いて、データ
転送路のスルプツト、利用率および入出力待ち時間等を
、計算により予測する。その結果、負荷量の大きい制御
装置に制御されているMTを負荷量の小さい制御装置の
制御下に移し替えたときのスループット、利用率、I1
0応答時間を、各MTを移し替えの対象とした時の各ケ
ースについて計算し、移し替えによって面制御装置のス
ループットおよび利用率が最も向上するMTを移し替え
の対象とする。
In the present invention, the first embodiment consists of two operations: (a) data collection for predictive calculation, and (b) predictive calculation of the load status after transfer, and the second example consists of (a) data collection for predictive calculation; ) Collection of data for input/output device selection order and load balancing, and (
b) Consists of two operations: relocation of input/output devices. That is, in the first embodiment, the output, utilization rate, input/output waiting time, etc. of the data transfer path are predicted by calculation using an analytical model. As a result, the throughput, utilization rate, and I
The zero response time is calculated for each case when each MT is targeted for relocation, and the MT whose throughput and utilization rate of the surface control device are most improved by relocation is determined as the target for relocation.

また、スループットおよび利用率が向上しないときには
、最も負荷が均衡するようなMTを移し替えの対象とす
る。
Furthermore, if the throughput and utilization rate do not improve, the MT with the most balanced load is targeted for transfer.

また、第2の実施例では、入出力命令を実行するときの
制御装置間の通信を削減することにより、アクセス経路
により異なる入出力系の内部オーバヘットを確実に削減
する。すなわち、入出力負荷が均衡するように入出力負
荷の移し替えを行う場合、入出力命令を実行する際の制
御装置間の通信を削減させるように、移し替える入出力
装置を選択する。
Furthermore, in the second embodiment, by reducing communications between control devices when executing input/output commands, internal overhead of the input/output system, which varies depending on the access path, is reliably reduced. That is, when transferring input/output loads so that the input/output loads are balanced, the input/output devices to be transferred are selected so as to reduce communication between control devices when executing input/output commands.

これにより、各制御装置の制御下の入出力装置の集合を
適切に選択し、各制御装置に対する入出力負荷を均衡化
することによって、高性能を発揮させることができる。
As a result, high performance can be achieved by appropriately selecting a set of input/output devices under the control of each control device and balancing the input/output loads on each control device.

また、各制御装置に対する入出力負荷を均衡させながら
、入出力系の内部処理オーバヘッドを減少させることが
可能である。
Further, it is possible to reduce the internal processing overhead of the input/output system while balancing the input/output load on each control device.

〔実施例〕〔Example〕

以下、本発明の実施例を、図面により詳細に説明する。 Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.

第2図は、本発明の対象となる計算機システムの構成図
である。
FIG. 2 is a configuration diagram of a computer system to which the present invention is applied.

第2図の計算機システムは、CPU20とこのCPU2
0に接続された2台のチャネルA21゜B22と、これ
らのチャネルA21およびチャネルB22にそれぞれ接
続された制御装置A23゜B24と、これらの面制御装
置A23.B24に共通に接続された複数台のカートリ
ッジ型MT25とから構成される。なお、本実施例では
、人出力装置をカー1−リッジ型MTとして説明するが
、一般の入出力装置の場合でも適用できるのは勿論であ
る。
The computer system in Figure 2 consists of a CPU 20 and this CPU 2.
0, two control devices A23°B24 connected to these channels A21 and B22, respectively, and these surface control devices A23. It is composed of a plurality of cartridge type MT25s commonly connected to the B24. In this embodiment, the human output device will be explained as a cartridge type MT, but it goes without saying that the present invention can also be applied to a general input/output device.

カー1〜リツジ型MT25は、面制御装置1A23゜B
24の各々と接続されているため、構成上はどちらの装
置ともデータ転送を実行することができる。しかしなが
ら、カートリッジ型MT25の各MTは、それぞれが制
御装置A23および制御装置B24のどちらか一方の制
御下に入っているため、実際には制御されている方の制
御装置とのみデータ転送を実行することになる。
Car 1~ridge type MT25 is plane control device 1A23°B
24, it is possible to perform data transfer with either device. However, since each MT of the cartridge type MT 25 is under the control of either the control device A 23 or the control device B 24, data transfer is actually performed only with the control device that is being controlled. It turns out.

第3図は、第2図における制御装置の詳細ブロック図で
ある。
FIG. 3 is a detailed block diagram of the control device in FIG. 2.

制御装置A23と824の構成は同一であるため、説明
は制御装置A23に対してだけ行う。
Since the control devices A23 and 824 have the same configuration, only the control device A23 will be described.

プロセッサA300は、制御装置A23の制御下にある
カートリッジ型MT25のデータ転送を制御する。制御
袋@A23に制御されるカートリッジ型MT25の先読
み・まとめ書きデータが転送されてくると、これらのデ
ータはバッファA3O2に格納される。プロセッサA3
00は、予測情報収集機能(プログラム)A313、予
測計算実行機能(プログラム)A315、制御装置テー
ブルA308およびカートリッジ型MTテーブルA31
0を内蔵しており、図示は省略して□いるが、それ以外
の周知の機能も内蔵している。プロセッサA300は、
予測情報収集機能A313を実行してカートリッジ型M
T25の移し替えに必要な情報を収集した後、予測計算
実行機能A315を実行することにより、予測計算実行
機能A315はプロセッサB501と連絡をとりながら
カートリッジ型MT25の移し替えの方法を決定する。
The processor A300 controls data transfer of the cartridge type MT25 under the control of the control device A23. When the pre-read/collective write data of the cartridge type MT25 controlled by the control bag @A23 is transferred, these data are stored in the buffer A3O2. Processor A3
00 is a prediction information collection function (program) A313, a prediction calculation execution function (program) A315, a control device table A308, and a cartridge type MT table A31.
Although not shown in the figure, other well-known functions are also built in. Processor A300 is
Execute the prediction information collection function A313 and select cartridge type M.
After collecting the information necessary for transferring the T25, the predictive calculation execution function A315 is executed, and the predictive calculation execution function A315 determines a method for transferring the cartridge type MT25 while communicating with the processor B501.

圧縮/復元回路付きデータ転送装置CA304は、制御
装置A23の制御下にあるカートリッジ型MT25に関
して、チャネルA21またはB22とバッファA302
との間のデータ転送を、圧縮/復元処理を行うことによ
り実行する。すなわち、チャネルA21またはB22か
らデータを受け取り、圧縮処理を行ってからバッファA
302にデータを書き込むとともに、逆方向のデータ転
】7 送を実行する際には、復元処理を行ってからチャネルA
21またはB22に送出する。この場合、圧縮/復元回
路付きデータ転送装置CA304は、圧縮された状態の
データ転送量を計測する機能を持っている。一方、デー
タ転送装置DA306は、制御装置A23に制御される
カー1−リッジ型MT25とバッファA302間のデー
タ転送処理を行う。プロセッサA300に内蔵された制
御装置テーブルA308は、制御装置ごとに持つ情報を
格納するテーブルであり、カートリッジ型MTテブルA
310は、カー1−リッジ型MT25ごとに持つ情報を
格納するテーブルである。各カートリッジ型MT25の
情報は、その時に制御されている制御装置内のテーブル
に格納されることになる。
The data transfer device CA304 with a compression/decompression circuit transfers the channel A21 or B22 and the buffer A302 with respect to the cartridge type MT25 under the control of the control device A23.
Data transfer between the computer and the computer is performed by performing compression/decompression processing. That is, data is received from channel A21 or B22, compressed, and then transferred to buffer A.
302, and transfer data in the opposite direction.]7 When performing data transfer, perform restoration processing and then transfer data to channel A.
21 or B22. In this case, the data transfer device CA304 with a compression/decompression circuit has a function of measuring the amount of data transferred in a compressed state. On the other hand, the data transfer device DA306 performs data transfer processing between the cartridge type MT25 controlled by the control device A23 and the buffer A302. The control device table A308 built into the processor A300 is a table that stores information for each control device, and is a table that stores information for each control device.
Reference numeral 310 is a table that stores information for each cartridge type MT 25. Information about each cartridge type MT 25 will be stored in a table within the control device being controlled at that time.

プロセッサA300とB501とを接続する制御情報パ
ス312は、両プロセッサの間で制御情報を交換するた
めのものである。
A control information path 312 connecting processors A300 and B501 is for exchanging control information between both processors.

第3図の装置の動作は、次の通りである。The operation of the apparatus of FIG. 3 is as follows.

プロセッサA300がチャネルA21から入出力要求を
受け取ると、先ずこの入出力要求が制御装置A23が制
御しているカー1へリッジ型MT25に対する要求であ
るか否かをチエツクする。次に、制御下のカートリッジ
型MT25に対する要求であれば、圧縮/復元回路付き
データ転送装置CA304がチャネルB22との間でデ
ータ転送を行っているか否かをチエツクする。データ転
送している場合には、この転送が終了するまでは受取っ
た入出力要求のデータ転送処理に移ることはできない。
When the processor A300 receives an input/output request from the channel A21, it first checks whether the input/output request is a request for the ridge type MT25 of the car 1 controlled by the controller A23. Next, if the request is for the cartridge-type MT25 under control, it is checked whether the data transfer device CA304 with compression/decompression circuit is transferring data with the channel B22. If data is being transferred, it is not possible to proceed to data transfer processing for the received input/output request until this transfer is completed.

また、データ転送を行っていない場合にも、バッファA
302からデータを読み出したくてもデータがないこと
があり、バッファA302にデータを書き込みたくても
空き領域がないことがあるので、このようなときには直
ちにデータ転送に移れない。従って、上述の状態でない
場合にのみ、データ転送動作に移ることができる。
Also, even when data is not being transferred, buffer A
Even if you want to read data from the buffer A 302, there may be no data, and even if you want to write data to the buffer A 302, there may be no free space, so in such cases it is not possible to immediately proceed to data transfer. Therefore, it is possible to proceed to the data transfer operation only when the above-mentioned state is not present.

なお、データ転送に移ることができない場合には、チャ
ネルA21との接続状態は一旦解除して、待ち状態に入
ることになる。また、チャネルΔ21から受け取った入
出力要求が制御装置B24に制御されているカートリッ
ジ型MT25に対する要求である場合には、制御情報パ
ス312を通じてこの要求をプロセッサB501に伝達
する。
Note that if it is not possible to move on to data transfer, the connection state with channel A21 will be temporarily released and a waiting state will be entered. Further, if the input/output request received from the channel Δ21 is a request for the cartridge type MT 25 controlled by the control device B24, this request is transmitted to the processor B501 via the control information path 312.

一方、チャネルB22を通じて制御装置A23により制
御されているカートリッジ型MT25に対して入出力要
求が発行されると、先ず制御装置B24がこの入出力要
求を受け取り、相手方の制御装置A23の制御下である
ことを識別することにより、制御情報パス312を通し
て制御装置A23内のプロセッサA300にこの要求を
伝達する。プロセッサA300はこの要求を受け取ると
、前述のように、この入出力要求のデータ転送処理に移
るか、あるいは待たせるかを決定する。
On the other hand, when an input/output request is issued to the cartridge type MT 25 controlled by the control device A23 through the channel B22, the control device B24 first receives this input/output request and is under the control of the other party's control device A23. This request is communicated to processor A300 in controller A23 through control information path 312. When processor A300 receives this request, it determines whether to move on to data transfer processing for this input/output request or to wait, as described above.

このような制御を行っただけでは、各制御装置に制御さ
れているカーI・リッジ型MT25の負荷が平衡してい
ないならば、一方の制御装置に制御されているカートリ
ッジ型MT25の集合のみにデータ転送待ちが多く生し
ることになる。また、一方の制御装置に制御されている
カートリッジ型MT25の集合のみの圧縮率が低いとき
には、チャネルの最大転送能力が引き出せないことにな
る。
If only such control is performed, and the loads of the cartridge type MT25s controlled by each control device are not balanced, only the set of cartridge type MT25s controlled by one control device will be affected. This results in a lot of waiting for data transfer. Furthermore, if the compression ratio of only the set of cartridge-type MTs 25 controlled by one control device is low, the maximum transfer capacity of the channel cannot be brought out.

そこで、制御装置A23と制御装置B24の間で、各々
制御下にあるカートリッジ型MT25の集合の移し替え
を適切に行うことにより、負荷を均衡させるのである。
Therefore, the load is balanced between the control device A23 and the control device B24 by appropriately transferring the sets of cartridge-type MTs 25 under their respective control.

本実施例においては、先ず条件1を満たすMTの移し替
え方を選択し、条件1を満たすMTの移し替え方がない
場合には、次に条件2を満たすMTの移し替え方を選択
する。
In this embodiment, first, a method of transferring MTs that satisfies condition 1 is selected, and if there is no method of transferring MTs that satisfies condition 1, then a method of transferring MTs that satisfies condition 2 is selected.

条件1→制御装置A23と324のスループットの合計
値、または圧縮/復元回路付きデータ転送装置CA、 
304とCB505のデータ転送利用率等の合計値を、
現在値より向上させることができるMTを移し替える。
Condition 1 → total value of throughput of control devices A23 and 324, or data transfer device CA with compression/decompression circuit,
The total value of data transfer utilization rate etc. of 304 and CB505 is
Transfer MT that can be improved from the current value.

もし、向上させる移し替え方が複数存在するときには、
向上率が最大のものを選択する。
If there are multiple ways to improve the transfer,
Select the one with the greatest improvement rate.

条件2→制御装置A23とB24に対する平均データ転
送応答時間、または平均データ転送待ち時間を、最も均
衡させるようなM、Tを移し替える。
Condition 2 -> M and T are changed so as to best balance the average data transfer response time or average data transfer waiting time for the control devices A23 and B24.

ここでは、条件1として圧縮/復元回路付きブタ転送装
置CA30/3とCB505のデータ転逆利用率の合計
値を最大にする場合、条件2としてデータ転送待ち時間
を等しくする場合について、説明する。
Here, the case where the total value of the data transfer utilization rate of the pig transfer apparatus CA30/3 with a compression/decompression circuit and the CB505 is maximized as condition 1, and the case where the data transfer waiting time is made equal as condition 2 will be described.

先ず、制御装置A23に制御されているカートリッジ型
MT25の集合の平均データ転送待ち時間と、制御装置
B24に制御されているカートリッジ型MT25の集合
の平均データ転送待ち時間を計測するとともに、圧縮/
復元回路付きデータ転送装置CA304のデータ転送路
の利用率と、圧縮/復元回路付きデータ転送装置CB5
05のデータ転送路の利用率を泪測する。この計測の結
果、平均データ転送待ち時間に差がある場合、およびデ
ータ転送装置の一方がボ1ヘルネックになっている場合
には、制御装置A23と824の間で各制御下にあるカ
ートリッジ型MT25の集合の中から適当なMTの集合
を選択して、移し替え処理を実行する。この場合にどの
MTを移し替えたならば、上記条件を満足するかという
ことが最も重要な課題となる。そのため、本実施例では
、移し替えを行った後の各々の制御装置の制御下にある
カートリッジ型MT25の集合の平均データ転送待ち時
間、およびデータ転送路の利用率を予測するのである。
First, the average data transfer waiting time of a set of cartridge-type MTs 25 controlled by the control device A 23 and the average data transfer waiting time of a set of cartridge-type MTs 25 controlled by the control device B 24 are measured.
Utilization rate of data transfer path of data transfer device CA304 with decompression circuit and data transfer device CB5 with compression/decompression circuit
The utilization rate of the data transfer path of 05 is measured. As a result of this measurement, if there is a difference in the average data transfer waiting time, or if one of the data transfer devices is experiencing a bottleneck, the cartridge type MT22 under each control will be An appropriate set of MTs is selected from the set of MTs, and the transfer process is executed. In this case, the most important issue is which MT should be transferred to satisfy the above conditions. Therefore, in this embodiment, the average data transfer waiting time and the utilization rate of the data transfer path of the set of cartridge type MTs 25 under the control of each control device after the transfer is predicted.

平均データ転送待ち時間と転送路の利用率を予測するた
めの解析モデルとしては、従来より、いくかの方法が用
いられている。本実施例においては、転送路の利用率と
データ転送待ち時間を予測するために必要な情報を、各
カートリッジ型MT25の稼動中に計測することにより
、面制御装置A23,824間で各制御下のカー1−リ
ッジ型1.A T 25の移し替えを実行したときの各
制御下のカー1ヘリツジ型MT25の集合の平均データ
転送待ち時間と、データ転送路の利用率の予測計算を行
う。この予測計算の結果、条件]および条件2の内容に
従って、移し替え方を選択するのである。
Conventionally, several methods have been used as analytical models for predicting average data transfer waiting time and transfer path utilization rate. In this embodiment, by measuring the information necessary for predicting the transfer path utilization rate and data transfer waiting time while each cartridge type MT25 is in operation, each control unit between the surface control devices A23 and 824 is Car 1-ridge type 1. The average data transfer waiting time of the set of car 1 heritage type MT25 under each control when the A T 25 transfer is executed and the utilization rate of the data transfer path are predicted and calculated. The transfer method is selected according to the results of this predictive calculation, the conditions] and the contents of condition 2.

利用率と平均待ち時間を予測するための情報を計測する
場合、各解析モデルによってその情報が異なってくる。
When measuring information to predict utilization rates and average waiting times, the information differs depending on each analysis model.

カー1−リッジ型M、T25は通常1つのプログラムに
より占有されているので、モデル内の処理要求数は稼動
中のMT台数に等しく、従って一定数となるタイプの解
析モデルを用いることが望ましい。このような解析モデ
ルとしては、例えば漸近近似法、あるいはマシン・リペ
アマン・モデルがある。これらのモデルを用いた場合の
測針する情報としては、カートリッジ型MT25の稼動
台数、各カートリッジ型MT25の入出力要求の終了時
間と到着時間の平均時間間隔、平均ブタ転送時間、およ
び圧縮率である。本実施例では、これらの6つの情報を
計測することにより、平均待ち時間と、平均応答時間と
、スループットと、利用率とを予測計算することができ
る。
Since the cartridge type M, T25 is normally occupied by one program, it is desirable to use an analytical model in which the number of processing requests in the model is equal to the number of MTs in operation, and therefore a constant number. Examples of such analysis models include the asymptotic approximation method and the machine repairman model. Information to be measured when using these models includes the number of operating cartridge-type MT25s, the average time interval between the end time and arrival time of input/output requests for each cartridge-type MT25, the average pig transfer time, and the compression ratio. be. In this embodiment, by measuring these six pieces of information, it is possible to predict and calculate average waiting time, average response time, throughput, and utilization rate.

ここでは、前述のように、平均待ち時間、および利用率
を均衡させる場合について、詳述する。
Here, as described above, the case where the average waiting time and utilization rate are balanced will be described in detail.

例えば漸近近似法を適用した場合には、平均待ち時間は
次式により得ることが可能である。
For example, when the asymptotic approximation method is applied, the average waiting time can be obtained from the following equation.

(平均待ち時間)= (MT台数−1)×(平均データ
転送時間)XMAX (1,(MTのデータ転送速度)
/(チャネルのデータ転送速度)/(圧縮率))=(入
出力要求の終了時間と到着時間の平均時間間隔)・・・
・・・・・・・・・ (1)ここで、制御装置A23に
関しては、平均待ち時間は制御装置A23のバッファ3
02とチャネルA21間の転送待ち時間であり、平均デ
ータ転送時間も上記各装置間のデータ転送時間であり、
MT台数はA23の制御下のカーI・リッジ型MT25
の台数であり、平均時間間隔は次の要求までの時間間隔
のことである。また、MAX(a、b)は、aとbのう
ちの大きい方の値をとる関数である。
(Average waiting time) = (Number of MTs - 1) x (Average data transfer time) XMAX (1, (MT data transfer speed)
/(Channel data transfer rate)/(Compression ratio)) = (Average time interval between input/output request end time and arrival time)...
(1) Here, regarding the control device A23, the average waiting time is the buffer 3 of the control device A23.
02 and channel A21, and the average data transfer time is also the data transfer time between the above devices,
The number of MTs is Kerr I Ridge type MT25 under the control of A23.
The average time interval is the time interval until the next request. Further, MAX (a, b) is a function that takes the larger value of a and b.

上式(1)が負の値になる場合には、平均待ち時間はO
にする。なお、MTのデータ転送速度、およびチャネル
のデータ転送速度は、通常、よく知られているため、特
に削測する必要はない。
If the above equation (1) takes a negative value, the average waiting time is O
Make it. Note that the data transfer rate of the MT and the data transfer rate of the channel are usually well known, so there is no need to specifically measure them.

次に、利用率は、次式で表わされる。Next, the utilization rate is expressed by the following formula.

(利用率)= (MT台数)×(平均データ転送時間)
XMAX (1,(MTのデータ転送速度)/(チャネ
ルのデータ転送速度)/(圧縮率))/(平均データ転
送時間十人出力要求の終了時間と到着時間の平均時間間
隔)・・・・・・・・・ (2)上式(2)は利用率の
ため、値が1を越えたときには、利用率=1とする。
(Utilization rate) = (Number of MTs) x (Average data transfer time)
XMAX (1, (MT data transfer rate) / (channel data transfer rate) / (compression ratio)) / (average data transfer time 10 people Average time interval between end time and arrival time of output requests)... ... (2) Since the above equation (2) is the utilization rate, when the value exceeds 1, the utilization rate is set as 1.

結局、漸近近似法を用いた場合には、各々の制御下にあ
るカートリッジ型MT25の台数は明らかであるため、
各カー1〜リツジ型MT25の平均データ転送時間、入
出力要求の終了時間と到着時間の平均時間間隔、および
圧縮率の4つの値を計測することにより、カートリッジ
型MT25を逆側の制御装置の制御下に移し替えた時の
各制御装置の制御下にあるカートリッジ型MT25の平
均データ転送待ち時間と利用率を予測計算することが可
能である。
After all, when using the asymptotic approximation method, the number of cartridge-type MT25s under each control is clear, so
By measuring the average data transfer time of each car 1 to cartridge type MT25, the average time interval between the end time and arrival time of input/output requests, and the compression ratio, we can transfer the cartridge type MT25 to the controller on the opposite side. It is possible to predict and calculate the average data transfer waiting time and utilization rate of the cartridge type MT 25 under the control of each control device when the control is transferred.

第4図は、カートリッジ型MTの制御装置の情報を示す
図であり、第8図は、第3図における制御装置テーブル
フォーマット図である。
FIG. 4 is a diagram showing information on the control device of the cartridge type MT, and FIG. 8 is a diagram showing the format of the control device table in FIG. 3.

ココでは、漸近近似法またはマシン・リペアマン・モデ
ルのように、カートリッジ型MT25の台数と、データ
転送時間と、人出カ要求の終了時間および到着時間の平
均時間間隔とを予測することにより、予測計算すること
ができる解析モデルを用いた場合を例にとって、処理の
流れを詳述する。
Here, predictions are made by predicting the number of cartridge-type MT25s, data transfer time, and the average time interval between the end time and arrival time of people's requests, using an asymptotic approximation method or a machine repairman model. The flow of processing will be described in detail, taking as an example the case where an analytical model that can be calculated is used.

第8図には、第3図に示す制御装置テーブルA308お
よび制御装置テーブルB509のフオマットが示されて
いる。これらのテーブルには、いずれも同じ項目に対し
て各々の値が格納されており、MT台数80、チャネル
転送速度81、MT転送速度82が格納される。このう
ち、MT台数80は、現在稼動中でかつ自制御装置の制
御下にあるカーミーリッジ型MT25の台数である。ま
た、チャネル速度81は、チャネルA21と822のデ
ータ転送速度であり、MT転送速度82は、カートリッ
ジ型MT25各々のデータ転送速度である。
FIG. 8 shows the format of the control device table A308 and the control device table B509 shown in FIG. 3. These tables store respective values for the same items, including the number of MTs 80, channel transfer rate 81, and MT transfer rate 82. Among these, the number of MTs 80 is the number of Carmy Ridge type MTs 25 currently in operation and under the control of the self-control device. Further, the channel speed 81 is the data transfer speed of channels A21 and 822, and the MT transfer speed 82 is the data transfer speed of each cartridge type MT 25.

第4図には、第3図に示すカートリッジ型MTテーブル
A310とカートリッジ型MTテーブルB511のフォ
ーマットが示されている。これらの情報は、これらの情
報を持つカー!・リッジ型MT25を制御下に置いてい
る制御装置の方に格納される。最初の入出力終了時間4
0は、前回の入出力処理のデータ転送が終了した時間を
格納する。
FIG. 4 shows the formats of the cartridge type MT table A310 and the cartridge type MT table B511 shown in FIG. 3. These information is a car with these information! - Stored in the control device that controls the ridge type MT25. First input/output end time 4
0 stores the time when data transfer of the previous input/output process ended.

次のデータ転送開始時間41は、データ転送を開始した
時間を格納する。データ転送待ち発生ビット42は、あ
るカートリッジ型MT25の入出力要求を受け取った時
、例えばこのMTを制御している制御装置が他のカート
リッジ型MT25のブタ転送中であるか、あるいは先読
みデータがなかったとき等の理由により、直ちにデータ
転送に移れなかった場合には、このビットをONにする
The next data transfer start time 41 stores the time when data transfer is started. The data transfer wait occurrence bit 42 indicates that when an input/output request for a certain cartridge type MT25 is received, for example, the control device controlling this MT is in the process of transferring data to another cartridge type MT25, or there is no pre-read data. If data transfer cannot be started immediately for some reason, this bit is turned ON.

次のデータ転送待ち開始時間43は、上記ビット42を
ONにした時間を格納する。また、入出力要求数44は
、前回に移し替えるカートリッジ型MT25の選択、計
算を行った後、このカー1〜リツジ型MT25に対して
発行された入出力要求数の合計値である。累積データ転
送待ち時間45と、累積データ転送時間46と、累積入
出力発行時間間隔47は、それぞれ前回移し替えるカー
トリッジ型MT25の選択、計算を行った後のそのカー
トリッジ型MT25データ転送待ち時間とデータ転送時
間と入出力終了時間と到着時間の時間間隔の累積値であ
る。累積圧縮データ転送量48と累積非圧縮データ転送
量49は、それぞれ圧縮された状態でのデータ転送量、
圧縮されていない状態でのデータ転送量であって、累積
圧縮データ転送量48と累積非圧縮転送量49から圧縮
率を得ることが可能である。
The next data transfer wait start time 43 stores the time when the bit 42 is turned ON. Further, the number of input/output requests 44 is the total value of the number of input/output requests issued to the car 1 to the cartridge type MT 25 after the selection and calculation of the cartridge type MT 25 to be transferred last time. The cumulative data transfer waiting time 45, the cumulative data transfer time 46, and the cumulative input/output issuing time interval 47 are the data transfer waiting time and data of the cartridge type MT25 after the previous selection and calculation of the cartridge type MT25 to be transferred, respectively. This is the cumulative value of the time interval between transfer time, input/output end time, and arrival time. The cumulative compressed data transfer amount 48 and the cumulative uncompressed data transfer amount 49 are the data transfer amount in the compressed state,
The compression rate can be obtained from the cumulative compressed data transfer amount 48 and the cumulative uncompressed data transfer amount 49, which is the amount of data transferred in an uncompressed state.

第5図は、入出力要求数は取り時の処理フロチャー1・
であり、第6図は、データ転送開始時の処理フローチャ
ー1・であり、第7図は、データ転送終了時の処理フロ
ーチャートである。これらの処理では、第3図における
予測情報収集機能A313およびB514により、デー
タが収集される。
Figure 5 shows the processing flow 1 when the number of input/output requests is taken.
FIG. 6 is a processing flowchart 1 when data transfer is started, and FIG. 7 is a processing flowchart when data transfer is finished. In these processes, data is collected by the prediction information collection functions A313 and B514 in FIG.

第5図では、先ず現在の時刻から入出力要求の発行対象
となるカー1ヘリツジ型MT25の入出力終了時間40
を減算して、今回の入出力要求発行時間間隔を得た後、
これをこのMTの累積入出力発行時間間隔47に加算す
る(ステップ500)。
In FIG. 5, first, from the current time, the input/output end time 40 of the car 1 heritage type MT25 to which the input/output request is issued is shown.
After subtracting and obtaining the current I/O request issuing time interval,
This is added to the cumulative input/output issue time interval 47 of this MT (step 500).

次に、入出力要求数44を1だけ増加する(ステップ5
01)。次に、この入出力要求に対して、直ちにデータ
転送に移れるか否かをチエツクする(ステップ502)
6直ちに転送に移れるときには、特に処理を行わずに終
了する。また、直ちに転送に移れないときには、データ
転送待ち発生ビット42をONにして、データ転送待ち
開始時間43に現時刻をセットする(ステップ503)
Next, the number of input/output requests 44 is increased by 1 (step 5
01). Next, it is checked whether data transfer can be started immediately in response to this input/output request (step 502).
6. If the transfer can be started immediately, the process ends without any special processing. If the transfer cannot be started immediately, the data transfer wait generation bit 42 is turned on and the data transfer wait start time 43 is set to the current time (step 503).
.

第6図において、データ転送を開始する場合には、デー
タ転送待ち発生ビット42がONになっているか否かを
チエツクする(ステップ600)。
In FIG. 6, when starting data transfer, it is checked whether the data transfer wait occurrence bit 42 is turned on (step 600).

もしONでなければ、直ちに転送できる場合であるから
、現時刻をデータ転送開始時間41にセラ1−する(ス
テップ603)。また、ONになっている場合には、現
時刻からデータ転送待ち開始時間43を減算して、入出
力要求発行間隔時間を得た後、累積入出力発行間隔時間
47に加算する(ステップ601)。次に、データ転送
待ち発生ビット42をOFFする(ステップ602)。
If it is not ON, it means that the data can be transferred immediately, so the current time is set to the data transfer start time 41 (step 603). If it is ON, the data transfer wait start time 43 is subtracted from the current time to obtain the input/output request issuance interval time, which is then added to the cumulative input/output issuance interval time 47 (step 601). . Next, the data transfer wait generation bit 42 is turned off (step 602).

そして、現時刻をデータ転送開始時間41に記憶して、
処理を終了する(ステップ603)。
Then, store the current time in the data transfer start time 41,
The process ends (step 603).

第7図において、データ転送終了時には、データ転送を
終了したカートリッジ型MT25の現時刻からデータ転
送開始時間41を減算して、今回のデータ転送時間を得
た後、これをこのMTの累積データ転送時間46に加算
する(ステップ700)。次に、現時刻を入出力処理終
了時間40にセットする(ステップ701)。さらに、
圧縮/復元回路付きデータ転送回路CA304.CB5
05から圧縮データ転送量および非圧縮データ転送量を
取り出し、それぞれ累積圧縮データ転送量48、累積非
圧縮データ転送量49に加算する(ステップ702)。
In FIG. 7, at the end of data transfer, the data transfer start time 41 is subtracted from the current time of the cartridge type MT 25 that has finished data transfer to obtain the current data transfer time, and this is calculated as the cumulative data transfer time of this MT. Add to time 46 (step 700). Next, the current time is set to the input/output processing end time 40 (step 701). moreover,
Data transfer circuit with compression/decompression circuit CA304. CB5
The compressed data transfer amount and the uncompressed data transfer amount are extracted from 05 and added to the cumulative compressed data transfer amount 48 and cumulative uncompressed data transfer amount 49, respectively (step 702).

第1図は、本発明の一実施例を示すMT移し替え処理の
フローチャートである。
FIG. 1 is a flowchart of MT relocation processing showing one embodiment of the present invention.

これは、本発明の主要処理であって、負荷を平衡させる
ために、予測計算実行機能A315,8316により移
し替えるMTを選択するための処理である。移し替える
カートリッジ型MT25を選択するのは、制御装置A2
3、B24のいずれの側で実行しても差し支えない。負
荷のバランス等により交互に行ってもよいが、これにつ
いては特に限定しないことにする。ただし、第4図およ
び第8図に示した情報は、全て移し替えるカートリッジ
型MT25を選択する制御装置内に収集する必要がある
This is the main process of the present invention, and is a process for selecting an MT to be transferred by the predictive calculation execution function A315, 8316 in order to balance the load. The controller A2 selects the cartridge type MT25 to be transferred.
3. It can be executed on either side of B24. It may be performed alternately depending on load balance, etc., but there is no particular limitation on this. However, all of the information shown in FIGS. 4 and 8 needs to be collected in the control device that selects the cartridge type MT 25 to be transferred.

第1図の処理は、予め定められた時間が経過することに
より実行される。先ず、相手の制御装置からカートリッ
ジ型MT25の移し替え方を選択するために必要な情報
を送るように、要求を発行する(ステップ100)。次
に、この情報が相手の制御装置から送られてくるのを待
機する(ステップ101)。相手側から送られてくる情
報としては、MT台数80、各カートリッジ型MT25
の入出力要求数44、累積データ転送待ち時間45、累
積データ転送時間46、累積入出力発行時間間隔47、
累積圧縮データ転送量48、累積非圧縮データ転送量4
9の7つがある。先ず、両制御装置の制御下にあるカー
トリッジ型MT25の移し替えを行うか否かをチエツク
する(ステップ102)。そのためには、前述の利用率
を算出する式(2)に従って、データ転送路の利用率を
得る。この結果、どちらか一方の装置の利用率が1より
一定値以上小さいときには、利用率向上の可能性ありと
判定して、ステップ104に分岐し、データ転送路の利
用率を最大に向上させる移し替え方を選択する処理に入
る。いずれの利用率も1に近い場合には、利用率向上の
可能性なしと判定し、次にデータ転送待ち時間の差が一
定値以上あるか否かを判定する(ステップ103)。す
なわち、各制御装置の制御下にあるカートリッジ型MT
25の集合ごとに入出力要求数44、累積データ転送待
ち時間45をそれぞれ合計する。各集合ごとに合計した
データ転送待ち時間45を、合計した入出力要求数44
で除算することにより、各集合の平均データ転送待ち時
間を算出することができる。
The process shown in FIG. 1 is executed after a predetermined period of time has elapsed. First, a request is issued from the other party's control device to send information necessary for selecting a method of transferring the cartridge type MT 25 (step 100). Next, it waits for this information to be sent from the other party's control device (step 101). The information sent from the other party is that the number of MTs is 80, and each cartridge type MT25.
number of input/output requests 44, cumulative data transfer waiting time 45, cumulative data transfer time 46, cumulative input/output issue time interval 47,
Cumulative compressed data transfer amount: 48, Cumulative uncompressed data transfer amount: 4
There are 7 of 9. First, it is checked whether or not the cartridge type MT 25 under the control of both control devices is to be transferred (step 102). To do this, the utilization rate of the data transfer path is obtained according to equation (2) for calculating the utilization rate described above. As a result, if the utilization rate of either device is smaller than 1 by a certain value, it is determined that there is a possibility of improving the utilization rate, and the process branches to step 104, where a transfer is performed to maximize the utilization rate of the data transfer path. Starts the process of selecting a replacement method. If both utilization rates are close to 1, it is determined that there is no possibility of improving the utilization rate, and then it is determined whether the difference in data transfer waiting time is equal to or greater than a certain value (step 103). In other words, the cartridge type MT under the control of each control device
The number of input/output requests 44 and the cumulative data transfer waiting time 45 are totaled for each set of 25. The total data transfer waiting time 45 for each set is the total number of input/output requests 44
By dividing by , the average data transfer waiting time of each set can be calculated.

この平均データ転送待ち時間の差が一定値以」二であれ
ば、カートリッジ型MT25の移し替えを行うために、
ステップ108に分岐する。以上の条件を満足しない場
合、つまりデータ転送装置の利用率向」二の可能性もな
く、かつデータ転送待ち時間の差が一定値以上ない場合
には、移し替えは行わないで、処理を終了させる。
If the difference in average data transfer waiting time is more than a certain value, in order to transfer the cartridge type MT25,
The process branches to step 108. If the above conditions are not satisfied, that is, if there is no possibility of the utilization rate of the data transfer device and if the difference in data transfer waiting time is not more than a certain value, the process is terminated without performing the transfer. let

次に、カートリッジ型MT25の移し替え処理を詳述す
る。通常、条件1あるいは条件2を満足させるためには
、複数台のカートリッジ型MT25を移し替える必要が
あるが、複数台のMTを移し替えると、移し替えのパタ
ーンが急激に増大することにより、予測計算量のオーバ
ヘッドが極めて大きくなる。そのため、以下の説明では
、移し替えるカー1−リッジ型MT25の台数を1台と
した場合について述べる。ここでは、利用率が1である
制御装置、または平均データ転送時間が大きい制御装置
の制御下にあるカートリッジ型MT25の集合のうちか
ら、1台のカートリッジ型MT25を選択して移し替え
を実行する。第1図のステップ104〜107が条件1
を満足するMTの選択処理であり、ステップ108〜1
11が条件2を満足するMTの選択処理である。
Next, the process of transferring the cartridge type MT 25 will be described in detail. Normally, in order to satisfy Condition 1 or Condition 2, it is necessary to transfer multiple cartridge-type MT25s, but when multiple MTs are transferred, the transfer pattern increases rapidly, making it difficult to predict The computational overhead becomes extremely large. Therefore, in the following description, a case will be described in which the number of car 1-ridge type MT25 to be transferred is one. Here, one cartridge-type MT25 is selected from a set of cartridge-type MT25s under the control of a control device with a utilization rate of 1 or a control device with a large average data transfer time, and the transfer is executed. . Steps 104 to 107 in Figure 1 are condition 1
This is a process of selecting an MT that satisfies the following, and steps 108 to 1
11 is a process for selecting an MT that satisfies condition 2.

最初に、条件1(データ転送路の利用率の向上)を満足
するMTの選択の場合を説明する。先ず、予測計算を行
うために、平均データ転送路の利用率が1に近い制御装
置の制御下にあるカートリッジ型MT25の集合のうち
から1台のカー1−リッジ型MT25を選択する(ステ
ップ104)。吹に、このカー1−リッジ型MT25を
移し替えた時の各制御装置の制御下にあるカートリッジ
型MT25の集合の圧縮/復元回路付きデータ転送装置
の利用率を計算して、両者の合計値を算出する(ステッ
プ105)。各カートリッジ型MT25の入出力要求数
44、累積データ転送時間46、累積入出力発行時間間
隔47、累積圧縮データ転送量48、累積非圧縮データ
転送量49は、カー1−リッジ型MTテーブルA310
.B3]、1により判明しているので、移し替えを行っ
た後の両制御装置の制御下にあるカートリッジ型MT2
5の集合の平均データ転送時間、平均入出力間隔時間、
および圧縮率を計算することができる。さらに、MT台
数により、移し替え後の各々の集合に属するMT台数は
明らかであるため、前述のように、漸近モデルやマシン
・リペアマン・モデル等を用いることにより、利用率を
計算することが可能である。
First, the case of selecting an MT that satisfies condition 1 (improvement of utilization rate of data transfer path) will be described. First, in order to perform predictive calculation, one cartridge type MT25 is selected from a set of cartridge type MT25s under the control of a control device whose average data transfer path utilization rate is close to 1 (step 104). ). Finally, when this cartridge-type MT25 is transferred, the utilization rate of the data transfer device with compression/decompression circuit of the set of cartridge-type MT25s under the control of each control device is calculated, and the total value of both is calculated. is calculated (step 105). The number of input/output requests 44, cumulative data transfer time 46, cumulative input/output issue time interval 47, cumulative compressed data transfer amount 48, and cumulative uncompressed data transfer amount 49 for each cartridge type MT25 are shown in the cartridge 1-cartridge type MT table A310.
.. B3], 1, so the cartridge type MT2 under the control of both control devices after the transfer
Average data transfer time for the set of 5, average input/output interval time,
and the compression ratio can be calculated. Furthermore, since the number of MTs belonging to each set after transfer is clear from the number of MTs, it is possible to calculate the utilization rate by using an asymptotic model, a machine repairman model, etc., as described above. It is.

次に、利用率がほぼ1である制御装置の制御下のカート
リッジ型MT25に属するカー1〜リツジ型MT25の
うち、移し替え後の予測計算の対象となっていないカー
トリッジ型MT25が残っているか否かをチエツクする
(ステップ106)。
Next, among the car 1 to cartridge type MT25 belonging to the cartridge type MT25 under the control of the control device whose utilization rate is approximately 1, whether there are any remaining cartridge type MT25s that are not subject to the prediction calculation after the transfer. (step 106).

まだ、残っていれば、ステップ104に戻って繰り返し
処理を実行する。また、残っておらずに、全てのカート
リッジ型MT25の予測計算を終了した場合には、最も
利用率の予測結果が大きかったカートリッジ型MT25
を移し替えるMTとして選択する(ステップ107)。
If there are any remaining, the process returns to step 104 and repeats the process. In addition, if there are no remaining cartridge-type MT25s and the prediction calculation has been completed for all cartridge-type MT25s, the cartridge-type MT25 with the highest utilization rate prediction result will be
is selected as the MT to be transferred (step 107).

次に、条件2(平均データ転送待ち時間も均衡させる)
を満足するMTの移し替えについて、詳述する。先ず、
予測計算を行うために、平均データ転送待ち時間が大き
い制御装置の制御下にあるカートリッジ型MT25の集
合のうち、1台のカートリッジ型MT25を選択する(
ステップ108)。選択したカー1〜リツジ型MT25
を移し替えた後の各制御装置の制御下のカートリッジ型
MT25の集合の平均データ転送待ち時間を計算し、両
者の差を求める(ステップ109)。この場合、各カー
1−リッジ型MT25の入出力要求数44、累積データ
転送時間46、累積入出力発行時間間隔47、累積圧縮
データ転送凰48、累積非圧縮データ転送量49はカー
トリッジ型MTテーブルA310.B511から明らか
であるため、移し替えを行った後の両制御装置の制御下
にあるカートリッジ型MT25の集合の平均データ転送
時間、平均入出力間隔時間、および圧縮率を計算するこ
とが可能である。また、MT台数80により移し替えた
後の各集合に属するMT台数は明らかであるため、前述
のように、漸近モデルやマシン・リペアマン・モデル等
を用いることにより平均ブタ転送時ち時間を計算するこ
とが可能である。
Next, condition 2 (balance the average data transfer latency)
The MT relocation that satisfies the following will be explained in detail. First of all,
In order to perform predictive calculation, one cartridge-type MT25 is selected from a set of cartridge-type MT25s under the control of a control device with a large average data transfer waiting time (
Step 108). Selected car 1 ~ Ritsuji type MT25
The average data transfer waiting time of the set of cartridge type MTs 25 under the control of each control device after the transfer is calculated, and the difference between the two is determined (step 109). In this case, the number of input/output requests 44, cumulative data transfer time 46, cumulative input/output issue time interval 47, cumulative compressed data transfer rate 48, and cumulative uncompressed data transfer amount 49 of each cartridge 1-cartridge type MT25 are shown in the cartridge type MT table. A310. Since it is clear from B511, it is possible to calculate the average data transfer time, average input/output interval time, and compression ratio of the set of cartridge-type MT25s under the control of both control devices after the transfer. . In addition, since the number of MTs belonging to each set after transfer is clear based on the number of MTs of 80, the average pig transfer time is calculated by using an asymptotic model, a machine repairman model, etc. as described above. Is possible.

次に、平均データ転送待ち時間が大きかった制御装置の
制御下のカートリッジ型MT25に属するMTのうち、
移し替え後の予測計算の対象となっていないものが残っ
ているか否かをチエツクする(ステップ110)。残っ
ていれば、ステップ108に戻って処理を繰り返す。ま
た、残っておらず、全てのカー1−リッジ型MT25の
予測剖算を終了した場合には、最も平均データ転送待ち
時間の予測結果の差が小さかったカートリッジ型MT2
5を移し替えるMTとして選択する(ステップ]11)
Next, among the MTs belonging to the cartridge type MT25 under the control of the control device, which had a large average data transfer waiting time,
It is checked whether there are any items remaining that are not subject to prediction calculation after the transfer (step 110). If there are any remaining, return to step 108 and repeat the process. In addition, if there is no remaining cartridge type MT25 and the prediction calculation of all cartridge type MT25 is completed, the cartridge type MT2 with the smallest difference in the predicted average data transfer waiting time
Select 5 as the MT to be transferred (Step) 11)
.

最後に、各カートリッジ型MT25の入出力要求数44
、累積データ転送時間45、累積データ転送待ち時間4
6、累積入出力発行間隔時間47、累積圧縮データ転送
量48、累積非圧縮データ転送量49をクリアして、0
にする。そして、この後、選択したカートリッジ型MT
25の移し替え動作に入る。この移し替え処理が終了す
ると、MT台数80の更新を行う。なお、移し替え動作
は、本発明の要旨に直接関係ないため、説明は省略する
Finally, the number of input/output requests for each cartridge type MT25 is 44.
, cumulative data transfer time 45, cumulative data transfer waiting time 4
6. Clear the cumulative input/output issue interval time 47, cumulative compressed data transfer amount 48, and cumulative uncompressed data transfer amount 49, and set it to 0.
Make it. After this, the selected cartridge type MT
25 transfer operation begins. When this transfer process is completed, the number of MTs (80) is updated. Note that the transfer operation is not directly related to the gist of the present invention, so a description thereof will be omitted.

第9図は、本発明において、移し替えMTを選択するた
めに、相手側の制御装置に必要な情報を送る場合の処理
フローチャートである。
FIG. 9 is a processing flowchart for sending necessary information to the other party's control device in order to select a transfer MT in the present invention.

すなわち、ここには移し替えるカートリッジ型MT25
を選択する処理を実行しない側の制御装置の処理を示し
ている。この処理は、移し替えるカー1〜リツジ型MT
25を選択する側の制御装置から、選択処理に必要な情
報を送信するように要求を受け取った時点で実行される
In other words, here is the cartridge type MT25 to be transferred.
The process of the control device that does not execute the process of selecting is shown. This process is carried out from the car 1 to the bridge type MT to be transferred.
This is executed when a request is received from the control device on the side that selects No. 25 to send information necessary for the selection process.

先ず、移し替えるカートリッジ型MT25を選択する側
の制御装置に対して、MT台数80と、この制御装置の
制御下にあるカートリッジ型MT25の入出力要求数4
4と、累積データ転送待ち時間45と、累積データ転送
時間46と、累積入出力発行間隔時間47と、累積圧縮
データ転送量48と、累積非圧縮データ転送量49とを
送出する(ステップ900)。次に、入出力要求数44
、累積データ転送待ち時間45、累積データ転送時間4
6、累積入出力発行間隔時間47、累積圧縮データ転送
量4日、累積非圧縮データ転送量49を、それぞれクリ
アしてOにする(ステップ901)。この後に、相手側
の制御装置において、予測計算結果に従ってカー1〜リ
ツジ型MT25の移し替えが実行される。移し替えが終
了した時点で。
First, to the control device that selects the cartridge type MT25 to be transferred, the number of MTs is 80, and the number of input/output requests of the cartridge type MT25s under the control of this control device is 4.
4, cumulative data transfer waiting time 45, cumulative data transfer time 46, cumulative input/output issue interval time 47, cumulative compressed data transfer amount 48, and cumulative uncompressed data transfer amount 49 (step 900). . Next, the number of input/output requests is 44
, cumulative data transfer waiting time 45, cumulative data transfer time 4
6. Clear the cumulative input/output issue interval time 47, cumulative compressed data transfer amount 4 days, and cumulative uncompressed data transfer amount 49 to O (step 901). After this, in the control device of the other party, the transfer of the car 1 to the bridge type MT 25 is executed according to the prediction calculation result. Once the transfer is complete.

MT台数80の更新が行われる。The number of MTs is updated to 80.

なお、本実施例においては、カー1〜リツジ型MT25
の移し替えを、予め定められた時間が経過4〇− するごとに実行する。そのため、下記の処理を追加すれ
ば、移し替え処理が実行される時間と次の移し替え処理
の実行される時間の間に、制御装置の制御下にあるカー
トリッジ型MT25の台数が0台になる確率を減少させ
ることが可能である。
In addition, in this example, the car 1 to the rigid type MT25
The transfer is performed every 40-times after a predetermined period of time has elapsed. Therefore, by adding the following process, the number of cartridge-type MT25s under the control of the control device will be zero between the time when the transfer process is executed and the time when the next transfer process is executed. It is possible to reduce the probability.

すなわち、制御装置の制御下にあるカートリッジ型MT
25の台数が1台の場合には、上記時間内にそのカート
リッジ型MT25に対する処理が終了すると、制御装置
の制御下にあるカー1−リッジ型MT25の台数が0台
となって、上位システムから新たなカートリッジ型MT
25の処理要求が発生しないとき、上記時間が経過する
まで制御装置は空きの状態となってしまう。このような
場合を回避するため、各制御装置の制御下にあるカドリ
ッジ型MT25の台数が2台以上になるように、移し替
えに次のような制限を設ける。
In other words, the cartridge type MT under the control of the control device
If the number of MT25s is one, if the processing for that cartridge type MT25 is completed within the above time, the number of cartridge type MT25s under the control of the control device becomes 0, and the host system New cartridge type MT
When the processing request No. 25 is not generated, the control device remains idle until the above-mentioned time period elapses. In order to avoid such a case, the following restrictions are placed on transfer so that the number of quadrilateral MT25s under the control of each control device is two or more.

先ず、制御装置の制御下にあるカートリッジ型MT25
の台数が2台以下である制御装置に対して、制御下にあ
るカー1〜リツジ型M T 25を移し替えの対象外と
するのである。このときには、そのカートリッジ型MT
25について移し替え後の予測計算を行わずに、処理時
間を減らす。また、制御装置の制御下のカートリッジ型
MT25の台数が1台以下である制御装置が存在する場
合、その制御装置の制御下にあるカートリッジ型MT2
5を移し替えるため、その制御装置の制御下にカドリッ
ジ型MT25を移し替えた後の予測計算のみを行えばよ
い。これにより、1台になると、その制御装置の制御下
に移すことにより台数を増加できる一方、他の制御装置
の制御下に移し替えて0台になることはない。また、2
台になると、対象外となって予測計算が行われないので
、これより減少することはない。
First, the cartridge type MT25 under the control of the control device
For control devices in which the number of units is two or less, the cars 1 to 25 that are under control are excluded from the transfer. At this time, the cartridge type MT
To reduce processing time by not performing post-transfer prediction calculation for No. 25. In addition, if there is a control device in which the number of cartridge-type MT25s under the control of the control device is one or less, the cartridge-type MT25 under the control of that control device
5, it is only necessary to perform predictive calculation after transferring the quadrilateral MT 25 under the control of the control device. As a result, when the number of units reaches one, it is possible to increase the number of units by moving them under the control of that control device, but the number does not become zero by transferring them to the control of another control unit. Also, 2
Once it reaches this level, it is no longer a target and prediction calculations are not performed, so it will not decrease any further.

第11図は、本発明の別の実施例7を示す負荷均衡制御
方式を適用する計算機システムのブロック図である。
FIG. 11 is a block diagram of a computer system applying a load balancing control method showing another embodiment 7 of the present invention.

第11図において、1100はカートリッジ型MTに入
出力命令を発行するCPU、1101 。
In FIG. 11, reference numeral 1100 denotes a CPU 1101 that issues input/output commands to the cartridge type MT.

1102はそれぞれチャネルA、B、1103゜110
4はそれぞれ制御装置A、B、1105は面制御装置A
、Bに接続されているカートリッジ型MTである。なお
、この実施例においても、入出力装置としてカートリッ
ジ型MTとして説明しているが、これに限定されずに、
一般の入出力装置に適用することができる。
1102 are channels A and B, respectively, 1103°110
4 are control devices A and B, respectively, and 1105 is surface control device A.
, B is a cartridge type MT connected to the MT. Although this embodiment is also described as a cartridge type MT as an input/output device, the input/output device is not limited to this.
It can be applied to general input/output devices.

カートリッジ型MT1105は、面制御装置A1103
、Bll○4に接続されているため、いずれの制御装置
との間でもデータ転送を・行うことが可能である。ただ
、カートリッジ型MTIIO5の各MTはいずれか一方
の制御下に入っているので、制御下に入っている側の制
御装置とだけデータ転送が可能となる。上位システム、
ここではCPUl100との間のデータ転送は、入出力
命令を受けた制御装置が実行する。制御装置B1104
の制御下のカートリッジ型MT1105に対する入出力
命令が、チャネルA11o1を介して制御装置A110
3に発行された場合には、面制御装置A、B間の連絡路
1106を通して制御装置A1103からB1104に
その入出力命令を転送する。
Cartridge type MT1105 is surface control device A1103
, Bll○4, it is possible to transfer data with any control device. However, since each MT of the cartridge type MTIIO 5 is under the control of one of them, data transfer is possible only with the control device under its control. upper system,
Here, data transfer to and from the CPU 100 is executed by a control device that receives an input/output command. Control device B1104
An input/output command to the cartridge type MT1105 under the control of the control device A110 is sent via the channel A11o1.
3, the input/output command is transferred from control device A 1103 to control device B 1104 through communication path 1106 between surface control devices A and B.

この実施例では、制御袋[A1103とB 13−04
の間の入出力負荷を均衡させる場合、入出力系の内部処
理オーバヘッドを減少させながら、負荷均衡のためのカ
ートリッジ型MTの移し替えを実行する。先ず、制御装
置A1103の制御下にあるカートリッジ型MT110
5の集合の入出力負荷と、制御装置B1104の制御下
にあるカドリッジ型M、Ti105の集合の入出力負荷
を計測する。この結果、両者に差があるときには、各制
御装置の制御下にあるカートリッジ型MTIIO5の集
合の中から適当なMTを選択して、移し替えを実行する
ことにより、両者の均衡を図る。
In this example, control bags [A1103 and B 13-04
When balancing the input/output load during the period, cartridge type MTs are transferred for load balancing while reducing the internal processing overhead of the input/output system. First, the cartridge type MT110 under the control of the control device A1103
The input/output load of the set of M and Ti 105 under the control of the control device B 1104 is measured. As a result, if there is a difference between the two, an appropriate MT is selected from the set of cartridge-type MTIIOs 5 under the control of each control device and the transfer is executed to balance the two.

この場合に、どのような選択の順序で移し替えを実行す
ると、入出力系としての内部処理オーバヘッドが減少す
るかが課題となる。
In this case, the question is what order of selection should be used to perform the transfer in order to reduce internal processing overhead as an input/output system.

本実施例では、先ず各制御装置の制御下にある入出力装
置を、上位システムからのアクセス経路により分け、入
出力命令を実行するために制御装置間通信を減少させる
ような選択の順序で、各入出力装置群内の入出力装置を
移し替えれば、人出力負荷が均衡するか否かを判定する
。判定の結果入出力負荷が均衡するならば、その移し替
え方に従って入出力サブシステムの内部処理オーバヘッ
ドを減少させながら、制御装置間で制御下にある入出力
装置の集合の移し替えを行う。
In this embodiment, first, the input/output devices under the control of each control device are divided by the access route from the higher-level system, and in order to reduce communication between the control devices in order to execute input/output commands, It is determined whether the human output load will be balanced if the input/output devices in each input/output device group are relocated. If the input/output loads are balanced as a result of the determination, the set of input/output devices under control is transferred between the control devices while reducing the internal processing overhead of the input/output subsystem according to the transfer method.

第12図は、本発明の制御装置内のプログラムを示す図
である。
FIG. 12 is a diagram showing a program within the control device of the present invention.

制御装置A1103および制御装置B1104の内部メ
モリ1200には、選択順序情報収集プログラム120
1と選択順序決定プログラム1202が格納されている
。次に、これらの各プログラムの処理の流れについて、
詳述する。
The selection order information collection program 120 is stored in the internal memory 1200 of the control device A 1103 and the control device B 1104.
1 and a selection order determination program 1202 are stored. Next, regarding the processing flow of each of these programs,
Explain in detail.

第13図は、第12図における選択順序情報収集プログ
ラムの処理フローチャー1〜である。
FIG. 13 is a processing flowchart 1 to 1 of the selection order information collection program in FIG. 12.

この選択順序情報収集プログラム1201は、上位シス
テムから入出力命令を受け取る度ごとに、入出力処理の
対象となる入出力装置を制御する制御装置により実行さ
れる。そして、選択順序情報収集プログラムは、制御装
置内で入出力装置ごとに読み出されて実行される。
This selection order information collection program 1201 is executed by a control device that controls an input/output device to be subjected to input/output processing each time an input/output command is received from a host system. Then, the selection order information collection program is read and executed for each input/output device within the control device.

先ず、受け取った入出力命令が巾制御装置に接続された
チャネルからのアクセスか否かを判定する(ステップ1
301)。巾制御装置に接続されたチャネルからのアク
セスでない場合には、別制御装置に接続されたチャネル
からのアクセス回数に1を加算する(ステップ1302
)。巾制御装置に接続されたチャネルからのアクセスの
場合には、チャネルからの総アクセス回数に1を加算す
る(ステップ1303)。
First, it is determined whether the received input/output command is an access from a channel connected to the width control device (step 1).
301). If the access is not from a channel connected to the width control device, 1 is added to the number of accesses from a channel connected to another control device (step 1302
). In the case of access from a channel connected to the width control device, 1 is added to the total number of accesses from the channel (step 1303).

第14図は、アクセス経路判定処理のフローチャートで
ある。
FIG. 14 is a flowchart of the access route determination process.

巾制御装置に接続されたチャネルからのアクセスである
か否かを判定する処理であって、この処理は、予め定め
られた時間が経過することにより、各制御装置の制御下
にある入出力装置に対して実行される。すなわち、第1
3図において、別制御装置に接続されたチャネルからの
アクセス回数とチャネルからの総アクセス回数とに基づ
いて、入出力装置ごとにアクセス経路を判定する。
This process determines whether the access is from a channel connected to a width control device, and this process determines whether the input/output device under the control of each control device is executed against. That is, the first
In FIG. 3, an access route is determined for each input/output device based on the number of accesses from a channel connected to another control device and the total number of accesses from the channel.

先ず、チャネルからの総アクセス回数が0であるか否か
を判定して(ステップ1401)、そのカドリッジ型M
T1105が負荷均衡処理の移し替え対象となるか否か
を判定する。すなわち、チャネルからの総アクセス回数
が0のときには、そのカートリッジ型MT1105は計
測時間内に稼動していないので、負荷均衡処理の移し替
え対象からはずす(ステップ1502)。また、総アク
セス回数がOでないときには、別制御装置に接続された
チャネルからのアクセス回数が0であるか否かを判定す
ることにより、そのカー1〜リツジ型MT1105が別
制御装置に接続されたチャネルからのみアクセスされた
カートリッジ型MTII05群に含まれるか否かを判定
する(ステップ1403)。別制御装置に接続されたチ
ャネルからのアクセス回数が0のときには、そのカート
リッジ型MT1105は巾制御装置に接続されたチャネ
ルからのみアクセスされたカートリッジ型MT1105
群に含まれていることを記録する(ステップ1404)
。また、別制御装置に接続されたチャネルからのアクセ
ス回数がOでないときには、チャネルからの総アクセス
回数と別制御装置に接続されたチャネルからのアクセス
回数とが等しいか否かを判定する(ステップ14.05
)。これにより、そのカートリッジ型M T 1.10
5が巾制御装置に接続されたチャネルと別制御装置に接
続されたチャネルの両方からアクセスされたカートリッ
ジ型MT1105群に含まれるか、または別制御装置に
接続されたチャネルからのみアクセスされたカートリッ
ジ型MT1105群に含まれるかが判別できる。チャネ
ルからの総アクセス回数と他制御装置に接続されたチャ
ネルからのアクセス回数が等しいときには、そのカート
リッジ型MT1105は、別制御装置に接続されたチャ
ネルからのみアクセスされたカートリッジ型MT110
5群に含まれることを記録する(ステップ1406)。
First, it is determined whether the total number of accesses from the channel is 0 (step 1401), and the cartridge type M
It is determined whether T1105 is to be transferred in the load balancing process. That is, when the total number of accesses from the channel is 0, the cartridge type MT 1105 is not operating within the measurement time, and is therefore excluded from the transfer target of load balancing processing (step 1502). Furthermore, when the total number of accesses is not O, the car 1 to the bridge type MT1105 are connected to another control device by determining whether the number of accesses from a channel connected to another control device is 0 or not. It is determined whether it is included in the cartridge type MTII05 group accessed only from the channel (step 1403). When the number of accesses from a channel connected to another control device is 0, the cartridge type MT1105 is a cartridge type MT1105 accessed only from the channel connected to the width control device.
Record that it is included in the group (step 1404)
. Further, when the number of accesses from a channel connected to another control device is not O, it is determined whether the total number of accesses from the channel is equal to the number of accesses from a channel connected to another control device (step 14 .05
). This allows the cartridge type M T 1.10
5 is a cartridge type that is accessed from both the channel connected to the width control device and the channel connected to another control device, or is included in the MT1105 group, or the cartridge type that is accessed only from the channel connected to another control device It can be determined whether it is included in the MT1105 group. When the total number of accesses from a channel is equal to the number of accesses from a channel connected to another control device, the cartridge type MT1105 is a cartridge type MT110 accessed only from a channel connected to another control device.
It is recorded that it is included in Group 5 (step 1406).

また、総アクセス回数と他制御装置に接続されたチャネ
ルからのアクセス回数とが等しくないときには、そのカ
ートリッジ型MT1105は、巾制御装置に接続された
チャネルと別制御装置に接続されたチャネルの両方から
アクセスされたカー1−=47 リッジ型MT1105群に含まれることを記録する(ス
テップ1407)。
Furthermore, if the total number of accesses is not equal to the number of accesses from channels connected to other control devices, the cartridge type MT1105 will receive access from both channels connected to the width control device and channels connected to another control device. It is recorded that the accessed car 1-=47 is included in the ridge type MT 1105 group (step 1407).

第14図に示す処理により、予め定められた時間内の入
出力装置ごとのアクセス経路が判定される。
Through the process shown in FIG. 14, the access route for each input/output device within a predetermined time is determined.

制御装置A1103とB1104のいずれが移し替える
カートリッジ型MT1105を選択しても差し支えはな
い。しかし、第14図に示すアクセス経路に関する情報
を集めるのは、移し替えるカートリッジ型MT1105
を選択する側の制御装置でなければならない。なお、制
御装置Al103とB1104の入出力負荷の差が、一
定値以下であるときには、負荷は均衡しているものとし
てカー1−リッジ型MT1105の移し替えは行われな
い。
It does not matter which of the control devices A1103 and B1104 selects the cartridge type MT1105 to be transferred. However, it is the cartridge type MT1105 that collects the information regarding the access route shown in Figure 14.
must be the control device that selects the Note that when the difference between the input and output loads of the control devices Al 103 and B 1104 is less than a certain value, it is assumed that the loads are balanced, and the cartridge 1-ridge type MT 1105 is not transferred.

次に、カートリッジ型MTII○5の移し替えの際の問
題について、述べる。
Next, we will discuss the problems when transferring the cartridge type MTII○5.

通常、両制御装置の間で平均データ転送待ち時間を最も
均衡させるためには、n台(nは1以」二の整数)のカ
ー1−リッジ型MT1105を移し替える必要が生じる
。しかしながら、n台の移し替えを行うと、移し替えの
パターンが急激に増大するので、予測計算量のオーバヘ
ッドが大きくなり過ぎるという問題がある。そこで、こ
の実施例では、移し替えるカートリッジ型MT1105
の台数を1台として説明する。すなわち、平均データ転
送時間の大きい制御装置の制御下にあるカートリッジ型
MT1105の集合のうちから1台のカドリッジ型MT
1105を選択した後、このMTの移し替えを実行する
Normally, in order to best balance the average data transfer waiting time between both control devices, it is necessary to relocate n units (n is an integer of 1 or more) of the carriage type MTs 1105. However, if n units are transferred, the number of transfer patterns increases rapidly, so there is a problem that the overhead of the predicted calculation amount becomes too large. Therefore, in this embodiment, the cartridge type MT1105 to be transferred is
The following explanation assumes that the number of units is one. In other words, one cartridge type MT is selected from among a set of cartridge type MT1105s under the control of a control device with a long average data transfer time.
After selecting 1105, this MT transfer is executed.

第10図は、第12図における選択順序決定プログラム
の処理フローチャートである。
FIG. 10 is a processing flowchart of the selection order determination program in FIG. 12.

この選択順序決定処理は、予め定められた時間が経過す
ると、アクセス経路判定処理(第14図参照)に続いて
実行される。
This selection order determination process is executed following the access route determination process (see FIG. 14) after a predetermined time has elapsed.

先ず、移し替え先の制御装置に制御されているカー1−
リッジ型MT1105のうち、移し替え元の制御装置に
接続されたチャネルのみからアクセスされたカートリッ
ジ型MT11.05が有るか否かを判定する(ステップ
1001)。そのようなカトリッジ型MT11.05が
有る場合には、移し替え元の制御装置に制御されている
カートリッジ型MT1105のうち、移し替え先の制御
装置に接続されたチャネルのみからアクセスされたカド
リッジ型MT1105が有るか否かを判定する(ステッ
プ1002)。また、そのようなカートリッジ型MT1
105が無い場合にも、」二記と全く同じ判定を行う(
ステップ1003)。すなわち、移し替え元の制御装置
に制御されているカー1−リッジ型MT1105のうち
、移し替え先の制御装置に接続されたチャネルのみから
アクセスされたカートリッジ型MT1105が有るか否
かを判定する。これらの判定(ステップ1,002,1
003)の結果、そのようなカー1〜リツジ型MT11
05が有る場合には、いずれも移し替え元の制御装置に
制御されているカートリッジ型MTIIO5のうち、移
し替え先の制御装置に接続されたチャネルのみからアク
セスされたカートリッジ型MT1105の中で、制御装
置間の入出力負荷を均衡させるカートリッジ型MT1.
105を選択対象とする(ステップ1004..101
.0)。一方、」二記判定(ステップ1002.100
3)の結果、そのようなカー1ヘリツジ型MT1105
が無い場合には、移し替え元の制御装置に制御されてい
る力1ヘリッジ型MT1.105のうち、移し替え元の
制御装置に接続されたチャネルと、移じ替え先の制御装
置に接続されたチャネルの両方からアクセスされたカー
トリッジ型MT1105の中で、制御装置間の入出力負
荷を均衡させるカー1〜リツジ型MT1.105を選択
対象とする(ステップ1007)。次に、移し替え先の
制御装置に接続されたチャネルのみからアクセスされた
入出力装置を選択した場合(ステップ1004)で、か
つ移し替え先の入出力装置のうち、移し替え元の制御装
置に接続されたチャネルのみからアクセスされた入出力
装置が無い場合(ステップ1.0 O1)には、制御装
置間の入出力負荷を均衡させるカー1〜リツジ型MT1
105が有るか否かを判定する(ステップ1005)。
First, the car 1- controlled by the transfer destination control device
It is determined whether or not there is a cartridge type MT 11.05 among the ridge type MTs 1105 that has been accessed only from the channel connected to the transfer source control device (step 1001). If there is such a cartridge type MT11.05, among the cartridge type MT1105s controlled by the transfer source control device, the cartridge type MT1105 accessed only from the channel connected to the transfer destination control device. It is determined whether or not there is (step 1002). In addition, such a cartridge type MT1
Even if there is no 105, the same judgment as in Section 2 is made (
Step 1003). That is, it is determined whether or not there is a cartridge type MT 1105 that is accessed only from a channel connected to the transfer destination control device among the cartridge one-cartridge type MTs 1105 controlled by the transfer source control device. These determinations (steps 1,002,1
003), such Kerr 1 to Ritsuji type MT11
05, among the cartridge type MTIIO5s that are all controlled by the transfer source control device, among the cartridge type MT1105s that are accessed only from the channel connected to the transfer destination control device, the control Cartridge type MT1 that balances input and output loads between devices.
105 as the selection target (step 1004..101
.. 0). On the other hand, "2nd judgment (step 1002.100
3) As a result, such Kerr 1 heritage type MT1105
If there is no channel connected to the transfer source control device and the channel connected to the transfer destination control device among the force 1 herriage type MT1.105 controlled by the transfer source control device. Among the cartridge type MTs 1105 accessed from both channels, the car 1 to the cartridge type MTs 1.105 that balance the input/output load between the control devices are selected (step 1007). Next, if an input/output device accessed only from a channel connected to the transfer destination control device is selected (step 1004), and among the transfer destination input/output devices, the transfer source control device If there is no input/output device that is accessed only from the connected channel (step 1.0 O1), the controller 1--rigid MT1 balances the input/output load between the control devices.
105 is present (step 1005).

また、両方のチャネルからアクセスされた入出力装置を
選択の対象とした場合(ステップ1007)には、同じ
ように、制御装置間の入出力負荷を均衡させるカートリ
ッジ型MT1105が有るか否かを判定する(ステップ
1008)。いずれの場合も、判定結果が有るときには
Furthermore, if the input/output device accessed from both channels is selected (step 1007), it is similarly determined whether there is a cartridge type MT1105 that balances the input/output load between the control devices. (step 1008). In either case, when there is a judgment result.

処理を終了する。また、判定結果が無しのときには(ス
テップ1005)、移し替え元の制御装置に制御されて
いるカートリッジ型MT11.05のうち、移し替え元
の制御装置に接続されたチャネルと、移し替え先の制御
装置に接続されたチャネルの両方からアクセスされたカ
ー1〜リツジ型MT1105の中で、制御装置間の入出
力負荷を均衡させるカートリッジ型MT1105を選択
の対象とする(ステップ1006)。同じく判定結果が
無しのときには(ステップ1008)、移し替え元の制
御装置に制御されているカートリッジ型MTIIO5の
うち、移し替え元の制御装置に接続されたチャネルのみ
からアクセスされたカートリッジ型MT1105の中で
、制御装置間の入出力負荷を均衡させるカー1〜リツジ
型MT1105を選択の対象とする(ステップ1009
)。そして、いずれも選択順序決定処理を終了する。
Finish the process. If there is no determination result (step 1005), among the cartridge type MT11.05 controlled by the transfer source control device, the channel connected to the transfer source control device and the transfer destination control device Among the car 1 to cartridge type MTs 1105 accessed from both channels connected to the device, the cartridge type MT 1105 that balances the input/output load between the control devices is selected (step 1006). Similarly, if there is no determination result (step 1008), among the cartridge type MTIIO5s controlled by the transfer source control device, the cartridge type MT1105 accessed only from the channel connected to the transfer source control device. Then, car 1 to bridge type MT1105, which balance the input/output load between the control devices, are selected (step 1009).
). Then, in both cases, the selection order determination process ends.

第10図の選択順序決定処理が終了した後、第13図に
示す選択順序情報をクリアする。
After the selection order determination process shown in FIG. 10 is completed, the selection order information shown in FIG. 13 is cleared.

〔発明の効果〕〔Effect of the invention〕

以上説明したように、本発明によれば、複数の制御装置
に接続された入出力装置群を備え、各入出力装置がある
1つの制御装置の制御下に入り、制御されている制御装
置のみとデータ転送を行うような計算機システムにおい
て、面制御装置のスループットまたは利用率の合計が最
大となるように入出力装置の移し替えを行い、また各制
御装置の負荷を均衡させるように入出力装置の移し替え
を行うので、各制御装置に対する入出力負荷を均衡させ
ることが可能となり、かつ入出力系の内部処理オーバヘ
ッドを減少させて、高性能を引き出すことが可能となる
As explained above, according to the present invention, a group of input/output devices connected to a plurality of control devices is provided, each input/output device is under the control of one control device, and only the control device being controlled is provided with a group of input/output devices connected to a plurality of control devices. In a computer system that transfers data to and from the computer, the input/output devices are relocated so that the total throughput or utilization rate of the surface control devices is maximized, and the input/output devices are relocated to balance the load on each control device. Since the input/output load on each control device can be balanced, the internal processing overhead of the input/output system can be reduced, and high performance can be achieved.

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

第1図は本発明の一実施例を示す負荷均衡制御のための
移し替えMTを選択する処理フローチャ=1・、第2図
は本発明が適用される計算機システムのブロック図、第
3図は第2図におけるカー1〜リツジ型MTの制御装置
の構成図、第4図は第3図におけるMT子テーブル格納
された情報を示す図、第5図は本発明における入出力要
求骨は取り時の処理フローチャー1・、第6図は本発明
におけるデータ転送開始時の処理フローチャート、第7
図は本発明におけるデータ転送終了時の処理フロチャー
ト、第8図は第3図における制御装置テブルに格納され
た情報を示す図、第9図は本発明において、移し替えM
Tの選択のために、相手側の制御装置に必要な情報を転
送する処理のフロチャー1〜、第10図は第12図にお
ける入出力装置の選択順序決定処理のフローチャー1・
、第11図は本発明の別の実施例を示す計算機システム
のブロック図、第12図は第11図における制御装置内
のメモリに格納されたプログラム群を示す図、第13図
は第12図における選択順序情報収集の処理フローチャ
ート、第14図は第12図における選択順序決定処理と
ともに実行されるアクセス経路判定処理のフローチャー
トである。 20 : CPU、21,22:チャネルA、B、23
.24:制御装置A、B、25:カー1−リッジ型MT
、300,301 :プロセッサA、B、302.30
3:バッフ7A、B、304,305:圧縮/復元回路
付きデータ転送装置CA、CB、306.307:デー
タ転送装置DA、DB、308.309:制御装置テー
ブルA、B、310゜311=力−トリツジ型MTテー
ブルA、B、312:制御情報パス、313,31.4
.:予測情報収集機能A、B、315,316:予測計
算実行機能A、B、1100:CPU、1101,11
02:チャネ)LIA、B、11.03,1.104=
制御装置A、B、1105:カートリッジ型MT、12
00:制御装置内メモリ、120 ]、 :選択順序情
報収集プログラム、1202:選択順序決定プログラム
。 第 図 第 図 第 図 第 図 第 図 第 図 第 図
FIG. 1 shows an embodiment of the present invention, and FIG. 2 is a block diagram of a computer system to which the present invention is applied, and FIG. Fig. 2 is a configuration diagram of the control device of the car 1 to the rigid type MT, Fig. 4 is a diagram showing information stored in the MT child table in Fig. 3, and Fig. 5 is a diagram showing the timing of input/output request bone in the present invention. Processing flowchart 1., FIG. 6 is a processing flowchart at the start of data transfer in the present invention, and FIG.
8 is a diagram showing the information stored in the control device table in FIG. 3. FIG.
Flowcharts 1 to 1 of the process of transferring necessary information to the other party's control device for selection of T. FIG.
, FIG. 11 is a block diagram of a computer system showing another embodiment of the present invention, FIG. 12 is a diagram showing a program group stored in the memory in the control device in FIG. 11, and FIG. 13 is a block diagram of a computer system showing another embodiment of the present invention. FIG. 14 is a flowchart of the access route determination process that is executed together with the selection order determination process in FIG. 20: CPU, 21, 22: Channels A, B, 23
.. 24: Control device A, B, 25: Car 1-ridge type MT
, 300, 301: Processor A, B, 302.30
3: Buffer 7A, B, 304, 305: Data transfer device with compression/decompression circuit CA, CB, 306.307: Data transfer device DA, DB, 308.309: Control device table A, B, 310°311=force - Toritsuji type MT table A, B, 312: Control information path, 313, 31.4
.. : Prediction information collection function A, B, 315, 316: Prediction calculation execution function A, B, 1100: CPU, 1101, 11
02: Channel) LIA, B, 11.03, 1.104=
Control device A, B, 1105: Cartridge type MT, 12
00: Memory in the control device, 120 ], : Selection order information collection program, 1202: Selection order determination program. fig fig fig fig fig fig fig fig fig fig fig fig fig fig fig fig fig fig fig fig fig fig.

Claims (1)

【特許請求の範囲】 1、複数のチャネルの各々に接続された複数の制御装置
と、該制御装置の各々に接続された入出力装置群を備え
、各入出力装置は同時には1台の制御装置の制御下にあ
り、制御されている制御装置との間でのみデータ転送を
行う計算機システムにおいて、ある制御装置の制御下に
ある入出力装置を他の制御装置の制御下に移し替える場
合に、移し替え後の各制御装置の制御下に入る入出力装
置の集合の入出力負荷状況を解析モデルを用いて予測計
算を実行するとともに、該予測計算を実行する前に、該
予測計算に必要な情報を収集し、上記予測計算の結果、
先ず最も各制御装置の性能向上が得られる移し替え方を
選択し、移し替えにより性能が向上しない場合には、次
に最も入出力負荷量の均衡が得られるような移し替え方
を選択して、該選択の結果に従って、各制御装置の制御
下にある入出力装置の集合を移し替えることを特徴とす
る負荷均衡制御方法。 2、請求項1に記載の負荷均衡制御方法において、上記
解析モデルとして漸近モデル、ないしマシン・リペアマ
ン・モデルを用いることを特徴とする負荷均衡制御方法
。 3、請求項1に記載の負荷均衡制御方法において、上記
予測計算に必要な情報として、各入出力装置に対する平
均データ転送時間、各入出力装置の入出力処理が完了し
た後に次の入出力要求を受け取るまでの平均間隔時間、
各制御装置の制御下にある入出力装置の台数、およびデ
ータ圧縮率とすることを特徴とする負荷均衡制御方法。 4、請求項1に記載の負荷均衡制御方法において、上記
予測計算の結果、移し替えた後の各制御装置の制御下に
ある入出力装置の集合に対する入出力要求を受け取って
からデータ転送に移るまでの平均待ち時間が最も小さい
ような、ないしは移し替えた後の各制御装置の制御下に
ある入出力装置の集合に対する入出力要求を受け取って
からデータ転送が終了するまでの平均応答時間が最も短
かいような移し替え方を選択することを特徴とする負荷
均衡制御方法。 5、請求項1に記載の負荷均衡制御方法において、上記
性能が向上するという予測計算の結果は、移し替えた後
の各制御装置のスループットが最も大となるような、な
いしは移し替えた後の各制御装置とチャネルとのデータ
転送路の利用率が最も大となるような移し替え方を選択
することを特徴とする負荷均衡制御方法。 6、請求項1に記載の負荷均衡制御方法において、上記
予測計算の実行に際して、制御下にある入出力装置の台
数が2台以下である制御装置の制御下の入出力装置は移
し替え対象外とし、予測計算を行わないようにするか、
移し替え先の制御装置の制御下にある入出力装置の台数
が2台以上となるように移し替えを行うか、制御下にあ
る入出力装置の台数が1台以下である制御装置がある時
には、当該制御装置の制御下に入出力装置を移し替えた
後の予測計算のみを行うことを特徴とする負荷均衡制御
方法。 7、複数のチャネルの各々に接続された複数の制御装置
と、該制御装置の各々に接続された入出力装置群を備え
、各入出力装置は同時には1台の制御装置の制御下にあ
り、制御されている制御装置との間でのみデータ転送を
行う計算機システムにおいて、ある制御装置の制御下に
ある入出力装置を他の制御装置の制御下に移し替える場
合に、制御装置が移し替える入出力装置の選択順序を決
定するとともに、該決定の前に、該選択順序の決定に必
要な予め定められた時間に各制御装置ごとに上位システ
ムからアクセスされた経路を含む情報を収集し、入出力
負荷が均衡するような選択順序を決定して、各制御装置
の間で制御下にある入出力装置の集合の移し替えを行う
ことを特徴とする負荷均衡制御方法。 8、請求項7に記載の負荷均衡制御方法において、上記
選択順序として、移し替え先の制御装置に接続されたチ
ャネルからのみアクセスされた入出力装置群、移し替え
元の制御装置に接続されたチャネルと移し替え先の制御
装置に接続されたチャネルの両方からアクセスされた入
出力装置群、移し替え元の制御装置に接続されたチャネ
ルからのみアクセスされた入出力装置群の順序で行い、
各入出力装置群内に該当する入出力装置がない場合か、
入出力負荷が均衡する移し替え方が得られない場合には
、次順序の入出力装置群内で選択することを特徴とする
負荷均衡制御方法。 9、請求項7に記載の負荷均衡制御方法において、上記
選択順序として、移し替え先の制御装置の制御下にある
入出力装置のうち、移し替え元の制御装置に接続された
チャネルからのみアクセスされている入出力装置がなく
、移し替え元の制御装置の制御下にある入出力装置のう
ち、移し替え先の制御装置に接続されたチャネルからの
みアクセスされている入出力装置がある場合、移し替え
元の制御装置の制御下にある入出力装置のうち、移し替
え元の制御装置に接続されたチャネルからのみアクセス
された入出力装置を選択対象外とすることを特徴とする
負荷均衡制御方法。 10、請求項7に記載の負荷均衡制御方法において、上
記選択順序として、移し替え先の制御装置の制御下にあ
る入出力装置のうち、移し替え元の制御装置に接続され
たチャネルからのみアクセスされた入出力装置があり、
かつ移し替え元の制御装置の制御下にある入出力装置の
うち、移し替え先の制御装置に接続されたチャネルから
のみアクセスされた入出力装置がある場合、移し替え元
の制御装置の制御下にある入出力装置のうち、移し替え
先の制御装置に接続されたチャネルからのみアクセスさ
れた入出力装置のみを選択対象とすることを特徴とする
負荷均衡制御方法。 11、請求項7に記載の負荷均衡制御方法において、上
記選択順序として、移し替え先の制御装置に接続された
チャネルからのアクセス回数の多い入出力装置の順序で
選択対象とするか、移し替え元の制御装置に接続された
チャネルからのアクセス回数に対する移し替え先の制御
装置に接続されたチャネルからのみのアクセス回数の比
率が大きい入出力装置の順序で選択対象とすることを特
徴とする負荷均衡制御方法。
[Claims] 1. A plurality of control devices connected to each of the plurality of channels, and a group of input/output devices connected to each of the control devices, each input/output device controlling one device at the same time. In a computer system that is under the control of a device and transfers data only to and from the controlled control device, when transferring an input/output device that is under the control of one control device to the control of another control device. , use an analytical model to predict the input/output load status of the set of input/output devices that will be under the control of each control device after the transfer, and before executing the predictive calculation, As a result of the above prediction calculation,
First, select the relocation method that will most likely improve the performance of each control device, and if relocation does not improve performance, then select the relocation method that will best balance the input and output loads. , a load balancing control method characterized in that a set of input/output devices under the control of each control device is transferred according to the result of the selection. 2. The load balancing control method according to claim 1, wherein an asymptotic model or a machine repairman model is used as the analytical model. 3. In the load balancing control method according to claim 1, the information necessary for the prediction calculation includes the average data transfer time for each input/output device, and the next input/output request after the input/output processing of each input/output device is completed. The average interval time to receive the
A load balancing control method characterized by determining the number of input/output devices under control of each control device and the data compression rate. 4. In the load balancing control method according to claim 1, data transfer is started after receiving an input/output request for a set of input/output devices under control of each transferred control device as a result of the predictive calculation. The average response time from receiving an input/output request to the end of data transfer for the set of input/output devices under the control of each controller after transfer is the lowest. A load balancing control method characterized by selecting a short transfer method. 5. In the load balancing control method according to claim 1, the result of the predictive calculation that the performance will be improved is such that the throughput of each control device after the transfer is maximized or the throughput after the transfer is A load balancing control method characterized by selecting a transfer method that maximizes the utilization rate of a data transfer path between each control device and a channel. 6. In the load balance control method according to claim 1, when performing the above prediction calculation, input/output devices under the control of a control device in which the number of input/output devices under control is two or less are not subject to transfer. and do not perform predictive calculations, or
Transfer so that the number of input/output devices under the control of the transfer destination control device is two or more, or if there is a control device with the number of input/output devices under control of one or less. , a load balancing control method characterized by performing only predictive calculation after relocating an input/output device under the control of the control device. 7. Equipped with a plurality of control devices connected to each of the plurality of channels and a group of input/output devices connected to each of the control devices, each input/output device being under the control of one control device at the same time. , in a computer system that transfers data only to and from the control device being controlled, when an input/output device under the control of one control device is transferred to the control of another control device, the transfer is performed by the control device. Determining the selection order of the input/output devices, and before the determination, collecting information including routes accessed from the host system for each control device at a predetermined time necessary for determining the selection order, A load balancing control method characterized by determining a selection order such that input/output loads are balanced, and transferring a set of input/output devices under control between each control device. 8. In the load balancing control method according to claim 7, the selection order includes input/output devices that are accessed only from channels connected to the transfer destination control device, and input/output devices that are accessed only from channels connected to the transfer source control device. The input/output device groups are accessed from both the channel and the channel connected to the transfer destination control device, and the input/output device groups are accessed only from the channel connected to the transfer source control device.
If there is no corresponding input/output device in each input/output device group, or
1. A load balancing control method, characterized in that, when a transfer method that balances input and output loads cannot be obtained, selection is made within a group of input and output devices in the next order. 9. In the load balancing control method according to claim 7, in the selection order, among the input/output devices under the control of the transfer destination control device, access is made only from the channel connected to the transfer source control device. If there are no input/output devices that are under the control of the source control device and that are accessed only from channels connected to the destination control device, A load balancing control characterized in that among input/output devices under the control of a transfer source control device, input/output devices accessed only from a channel connected to the transfer source control device are excluded from selection. Method. 10. In the load balancing control method according to claim 7, in the selection order, among the input/output devices under the control of the transfer destination control device, access is made only from the channel connected to the transfer source control device. There are input/output devices that are
And among the input/output devices under the control of the transfer source control device, if there is an input/output device that is accessed only from the channel connected to the transfer destination control device, the input/output device is under the control of the transfer source control device. 1. A load balancing control method characterized in that, among input/output devices located in a transfer destination, only input/output devices accessed only from a channel connected to a transfer destination control device are selected. 11. In the load balancing control method according to claim 7, as the selection order, the input/output devices are selected in the order of the number of accesses from the channel connected to the transfer destination control device, or the transfer A load characterized in that the input/output devices are selected in the order of input/output devices having a large ratio of the number of accesses only from the channel connected to the transfer destination control device to the number of accesses from the channel connected to the original control device. Balance control method.
JP4536989A 1989-02-28 1989-02-28 Load balance control method Pending JPH02226355A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4536989A JPH02226355A (en) 1989-02-28 1989-02-28 Load balance control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4536989A JPH02226355A (en) 1989-02-28 1989-02-28 Load balance control method

Publications (1)

Publication Number Publication Date
JPH02226355A true JPH02226355A (en) 1990-09-07

Family

ID=12717358

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4536989A Pending JPH02226355A (en) 1989-02-28 1989-02-28 Load balance control method

Country Status (1)

Country Link
JP (1) JPH02226355A (en)

Similar Documents

Publication Publication Date Title
US6378039B1 (en) Storage subsystem which balances loads across a plurality of disk controllers
US5530845A (en) Storage control subsystem implemented with an application program on a computer
US6754738B2 (en) Low overhead I/O interrupt
US4727487A (en) Resource allocation method in a computer system
CN102257469B (en) Storage system and method for controlling the same
JP4402997B2 (en) Storage device
US6880021B2 (en) Intelligent interrupt with hypervisor collaboration
JP2008217216A (en) Load balancing method and computer system
JP5040050B2 (en) Multi-channel DMA controller and processor system
US6792483B2 (en) I/O generation responsive to a workload heuristics algorithm
CN120104521B (en) Partition method, device, equipment, medium and product of cache region
CN1378148A (en) Direct memory access controller and its control method
CN109947531B (en) Storage capacity expansion method, device and storage medium of hyper-converged integrated machine
JP6227841B1 (en) Data processing system and data processing method
JPH02226355A (en) Load balance control method
US6748460B2 (en) Initiative passing in an I/O operation without the overhead of an interrupt
JPH01229351A (en) System for controlling load balance
JP2000250713A (en) Disk array controller
JP2591782B2 (en) Load balancing control method for I/O to auxiliary storage devices
JPH01128115A (en) Data input/output processing method
JPH0754494B2 (en) Asynchronous data transfer control device
KR0145932B1 (en) Dma controller in high speed computer system
JPH0727510B2 (en) Asynchronous transfer control device
JPH02304617A (en) Device and method for controlling storage device
CN121658394A (en) Large model training dynamic memory management method based on multi-layer hierarchical caching mechanism