JPH04289947A - Load equilibrium control system - Google Patents

Load equilibrium control system

Info

Publication number
JPH04289947A
JPH04289947A JP5423291A JP5423291A JPH04289947A JP H04289947 A JPH04289947 A JP H04289947A JP 5423291 A JP5423291 A JP 5423291A JP 5423291 A JP5423291 A JP 5423291A JP H04289947 A JPH04289947 A JP H04289947A
Authority
JP
Japan
Prior art keywords
input
output
external storage
route
control device
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP5423291A
Other languages
Japanese (ja)
Other versions
JP3361532B2 (en
Inventor
Hiroyoshi Suzuki
鈴木 啓悦
Masahiko Sawamura
沢村 正彦
Kenichi Kageura
影浦 憲一
Izumi Yuzawa
湯沢 泉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hitachi Ltd
Hitachi Computer Engineering Co Ltd
Original Assignee
Hitachi Ltd
Hitachi Computer Engineering Co 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 Computer Engineering Co Ltd filed Critical Hitachi Ltd
Priority to JP05423291A priority Critical patent/JP3361532B2/en
Publication of JPH04289947A publication Critical patent/JPH04289947A/en
Application granted granted Critical
Publication of JP3361532B2 publication Critical patent/JP3361532B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PURPOSE:To independently equalize the load of an input and an output from each host device in each external storage controller. CONSTITUTION:In a semiconductor storage controller 9 which is interposed between plural channels 2, 3 of a central processor 1, and a semiconductor storage device 10, and processes an input/output request issued to the semiconductor storage device 10 from the channels 2, 3, the input/output request can be equalized by providing block switches 4 and 5 in a signal cable (route A) 11 and a signal cable (route B) 12 through which the input/output request from the channels 2, 3 is issued, respectively, and masking the input/output request from plural channels 2, 3 as required.

Description

【発明の詳細な説明】[Detailed description of the invention]

【0001】0001

【産業上の利用分野】本発明は、負荷均衡制御技術に関
し、特に、複数の上位装置によって共有される外部記憶
装置における入出力負荷の均一化に適用して有効な負荷
均衡制御技術に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a load balancing control technique, and more particularly to a load balancing control technique that is effective when applied to equalize input/output loads in an external storage device shared by a plurality of host devices.

【0002】0002

【従来の技術】近年、計算機システムの高性能・大規模
化に伴い、外部記憶装置においても、高性能化が求めら
れている。外部記憶装置は、複数の計算機システムに接
続されることが多く、各々の計算機システムからの入出
力要求を効率よく処理を行っていく必要がある。このた
め、従来から、外部記憶制御装置にて各々の計算機シス
テムからの負荷を均一化させる負荷均衡制御方式が種々
考案されている。例えば、特開昭63−146147号
公報に開示される技術のように外部記憶装置自身が実行
した入出力回数を計数して真の負荷状況を知るようにし
た入出力負荷監視方式、特開昭63−223939号公
報に開示される技術のように入出力制御装置に入出力負
荷状態を表示させ、ホストシステムで負荷を均一化させ
る方式、特開昭62−6357号公報、特開平2−81
154号公報に開示される技術のように接続された計算
機システムからの要求に優先順位をつけて処理を行い負
荷を均一化する方式、特開平1−229351号公報に
開示される技術のように平均待ち時間を予測する情報を
もとに負荷のバランスをとる方式等がある。
2. Description of the Related Art In recent years, with the increase in the performance and scale of computer systems, there has been a demand for higher performance in external storage devices. External storage devices are often connected to multiple computer systems, and must efficiently process input/output requests from each computer system. For this reason, various load balancing control methods have been devised to equalize the load from each computer system in an external storage control device. For example, there is an input/output load monitoring method that counts the number of input/output operations performed by the external storage device itself, such as the technology disclosed in Japanese Patent Application Laid-Open No. 63-146147, in which the true load status is known. A method of displaying the input/output load status on the input/output control device and equalizing the load in the host system as in the technique disclosed in Japanese Patent Laid-Open No. 62-6357, Japanese Patent Laid-Open No. 2-81
A method of prioritizing and processing requests from connected computer systems to equalize the load, such as the technique disclosed in Publication No. 154, and a technique disclosed in Japanese Patent Application Laid-Open No. 1-229351. There are methods to balance the load based on information that predicts average waiting time.

【0003】0003

【発明が解決しようとする課題】上記従来技術は、外部
記憶装置側で計算機システム側からの任意の入出力要求
の優先処理を行えない点、或いは2つの外部記憶制御装
置間で通信を行えない点についての配慮がされておらず
、外部記憶制御装置1台で独立に各計算機システムから
の入出力負荷を均一化することができないという問題が
あった。
[Problems to be Solved by the Invention] The above conventional technology has the disadvantage that the external storage device cannot prioritize arbitrary input/output requests from the computer system side, or cannot perform communication between two external storage control devices. There was a problem in that the input/output load from each computer system could not be equalized independently by one external storage control device.

【0004】本発明の目的は、個々の外部記憶制御装置
において独立に各上位装置からの入出力動作の負荷を均
一化することが可能な負荷均衡制御技術を提供すること
にある。
An object of the present invention is to provide a load balancing control technique that can independently equalize the load of input/output operations from each host device in each external storage control device.

【0005】本発明の前記ならびにその他の目的と新規
な特徴は、本明細書の記述および添付図面から明らかに
なるであろう。
The above and other objects and novel features of the present invention will become apparent from the description of the present specification and the accompanying drawings.

【0006】[0006]

【課題を解決するための手段】本願において開示される
発明のうち、代表的なものの概要を簡単に説明すれば、
下記のとおりである。
[Means for Solving the Problems] Among the inventions disclosed in this application, a brief overview of typical inventions will be as follows.
It is as follows.

【0007】すなわち、本発明の負荷均衡制御方式は、
揮発性又は不揮発性の記憶媒体を備えた外部記憶装置と
、この外部記憶装置を制御する外部記憶制御装置と、こ
の外部記憶制御装置を介して外部記憶装置を共有し、当
該外部記憶装置に対するデータの書き込みおよび読み出
しなどの入出力を行う複数の上位装置とからなる情報処
理システムであって、外部記憶制御装置は、上位装置か
らの外部記憶装置に対する入出力要求を一時的に待たせ
る入出力要求保留手段を有し、外部記憶制御装置におい
て個々の上位装置からの入出力負荷を均一化させるもの
である。
That is, the load balance control method of the present invention is as follows:
An external storage device equipped with a volatile or nonvolatile storage medium, an external storage control device that controls this external storage device, and an external storage device that is shared via this external storage control device, and data stored in the external storage device is shared. An information processing system consisting of a plurality of host devices that perform input/output such as writing and reading, in which an external storage control device handles input/output requests that temporarily wait for input/output requests from the host device to the external storage device. It has a reservation means and equalizes the input/output load from each host device in the external storage control device.

【0008】また、本発明になる負荷均衡制御方式は、
入出力要求保留手段が、個々の上位装置から外部記憶制
御装置に入出力要求を伝達する情報伝達経路に介設され
、個々の上位装置から外部記憶制御装置への入出力要求
の接続の可否を制御するブロックスイッチからなるもの
である。
[0008] Furthermore, the load balance control method according to the present invention is as follows:
An input/output request holding means is provided in an information transmission path for transmitting input/output requests from each higher-level device to the external storage control device, and determines whether or not the input/output request can be connected from each higher-level device to the external storage control device. It consists of block switches to control.

【0009】また、本発明になる負荷均衡制御方式は、
外部記憶制御装置の一部に、過去における上位装置から
の入出力状況に関する履歴情報を保持する記憶手段を設
け、この履歴情報をもとに、入出力要求保留手段の動作
を制御するようにしたものである。
[0009] Furthermore, the load balance control method according to the present invention is as follows:
A part of the external storage control device is provided with a storage means for retaining historical information regarding input/output status from the host device in the past, and the operation of the input/output request suspension means is controlled based on this historical information. It is something.

【0010】0010

【作用】上記した本発明の負荷均衡制御方式によれば、
外部記憶制御装置に各上位装置からの入出力要求を待た
せる入出力要求保留手段を備えたことにより、当該外部
記憶制御装置において、独立に、各上位装置からの入出
力要求にある程度の優先順位をつけることができるため
、各上位装置からの外部記憶装置への入出力負荷を均一
化することができる。また、外部記憶制御装置に設けら
れた記憶手段に格納されている、上位装置からの入出力
要求の履歴情報に基づいて、入出力要求保留手段の動作
を制御することにより、効率よく各上位装置の入出力要
求にある程度の優先順位をつけることができるため、な
お一層の負荷の均一化を図ることができる。
[Operation] According to the load balance control method of the present invention described above,
By providing the external storage control device with an input/output request holding means that makes the input/output requests from each higher-level device wait, the external storage control device can independently prioritize input/output requests from each higher-level device to a certain degree. , it is possible to equalize the input/output load from each host device to the external storage device. In addition, by controlling the operation of the input/output request holding means based on the history information of input/output requests from the higher-level devices stored in the storage means provided in the external storage control device, each higher-level device can be efficiently Since it is possible to give a certain degree of priority to input/output requests, it is possible to further equalize the load.

【0011】[0011]

【実施例】以下、本発明を図に従って詳細に説明する。 本実施例では、負荷均衡制御方式が適用される外部記憶
装置の一例として、半導体記憶装置サブシステムを用い
る。
DESCRIPTION OF THE PREFERRED EMBODIMENTS The present invention will be explained in detail below with reference to the drawings. In this embodiment, a semiconductor storage device subsystem is used as an example of an external storage device to which the load balancing control method is applied.

【0012】図1は、本実施例の負荷均衡制御方式が行
われる半導体記憶装置サブシステムのハードウェア構成
の一例を示すブロック図である。
FIG. 1 is a block diagram showing an example of the hardware configuration of a semiconductor storage device subsystem in which the load balancing control method of this embodiment is performed.

【0013】本実施例の半導体記憶装置サブシステムは
、半導体記憶制御装置9と、半導体メモリなどを記憶媒
体とする半導体記憶装置10とから構成され、両者はイ
ンタフェースケーブル13を介して接続されている。 一方、半導体記憶制御装置9は、信号ケーブル(ルート
A)11とチャネル2を介して中央処理装置1に、又信
号ケーブル(ルートB)12とチャネル3を介して中央
処理装置1に接続されている。
The semiconductor storage device subsystem of this embodiment is composed of a semiconductor storage control device 9 and a semiconductor storage device 10 using a semiconductor memory or the like as a storage medium, both of which are connected via an interface cable 13. . On the other hand, the semiconductor storage control device 9 is connected to the central processing unit 1 via a signal cable (route A) 11 and channel 2, and to the central processing unit 1 via a signal cable (route B) 12 and channel 3. There is.

【0014】半導体記憶制御装置9は、全体の制御動作
を行うマイクロプロセッサ7と、このマイクロプロセッ
サ7の動作のためのプログラムやデータ、さらには後述
のようないくつかのテーブルが設定されるメモリ8とが
設けられており、両者はバス線14を介して接続されて
いる。
The semiconductor storage control device 9 includes a microprocessor 7 that performs overall control operations, and a memory 8 in which programs and data for the operation of the microprocessor 7 are set, as well as several tables as described below. are provided, and both are connected via a bus line 14.

【0015】また、上位のチャネル2および3にそれぞ
れ接続される信号ケーブル11および信号ケーブル12
は、競合回路6を介してマイクロプロセッサ7に接続さ
れている。そして、チャネル2および3から随時発生す
る半導体記憶装置10に対する入出力要求が、競合回路
6における所定の裁定論理(たとえば先着順)によって
受け付けられ、マイクロプロセッサ7に入力されること
によって、当該入出力要求の実行がなされるように構成
されている。
[0015] Also, signal cables 11 and 12 are connected to upper channels 2 and 3, respectively.
is connected to the microprocessor 7 via a competition circuit 6. Input/output requests to the semiconductor memory device 10 generated from channels 2 and 3 from time to time are accepted by a predetermined arbitration logic (for example, first-come-first-served basis) in the competition circuit 6, and are input to the microprocessor 7, whereby the input/output requests are The execution of the request is configured.

【0016】この場合、複数のチャネル2および3と競
合回路6を結ぶ信号ケーブル11および12の各々には
、当該信号ケーブル11および12を介して、個々のチ
ャネル2および3から半導体記憶制御装置9に発行され
る前述のような入出力要求の、競合回路6に対する伝達
の有無を制御するブロックスイッチ4およびブロックス
イッチ5が介設されており、マイクロプロセッサ7から
の制御信号4aおよび制御信号5aによって動作が制御
されるように構成されている。
In this case, each of the signal cables 11 and 12 connecting the plurality of channels 2 and 3 and the competition circuit 6 is connected to the semiconductor storage control device 9 from each channel 2 and 3 via the signal cable 11 and 12. A block switch 4 and a block switch 5 are interposed to control whether or not to transmit the above-mentioned input/output request issued to the competition circuit 6 to the competition circuit 6. The operation is configured to be controlled.

【0017】以下、本実施例の半導体記憶装置サブシス
テムにおける負荷均衡制御方式の作用の一例を説明する
An example of the operation of the load balancing control method in the semiconductor memory device subsystem of this embodiment will be explained below.

【0018】まず、本実施例における負荷均衡制御方式
の原理を図1を用いて説明する。
First, the principle of the load balancing control method in this embodiment will be explained using FIG.

【0019】中央処理装置1が半導体記憶制御装置9に
対し、チャネル2,3を用い、信号ケーブル(ルートA
)11,信号ケーブル(ルートB)12及びブロックス
イッチ4,ブロックスイッチ5を介し、入出力要求を出
す。
The central processing unit 1 connects the semiconductor storage control device 9 to the signal cable (route A) using channels 2 and 3.
) 11, signal cable (route B) 12, block switch 4, and block switch 5 to issue input/output requests.

【0020】通常はチャネル2及びチャネル3から入出
力要求が出された場合、その要求は信号ケーブル(ルー
トA)11,信号ケーブル(ルートB)12及びブロッ
クスイッチ4,ブロックスイッチ5を介し、競合回路6
に入力され、チャネル2或いはチャネル3のうち、より
早く入出力要求を出したルートを、マイクロプロセッサ
7に通知する。通知を受けたマイクロプロセッサ7は、
メモリ8上にあるマイクロプログラムの指示により、チ
ャネルの入出力要求を受領する。
Normally, when an input/output request is issued from channel 2 and channel 3, the request is transmitted via the signal cable (route A) 11, signal cable (route B) 12, block switch 4, and block switch 5, and circuit 6
, and notifies the microprocessor 7 of the route that issued the input/output request earlier from channel 2 or channel 3. The microprocessor 7 that received the notification,
Channel input/output requests are received according to instructions from a microprogram stored in memory 8.

【0021】本実施例の負荷均衡制御方式においては、
チャネル2及びチャネル3と競合回路6の間に位置する
ブロックスイッチ4,ブロックスイッチ5を用いること
により負荷バランス制御を実現させる。
In the load balancing control method of this embodiment,
Load balance control is realized by using block switches 4 and 5 located between channels 2 and 3 and the competition circuit 6.

【0022】前述のように、ブロックスイッチ4,ブロ
ックスイッチ5は、接続されているチャネル毎に存在し
、チャネル2及びチャネル3の起動に対してゲートとし
ての役割を持ち、たとえば、各々の制御信号4aおよび
5aを“1”とするとブロックスイッチ4及びブロック
スイッチ5が掛かり、チャネル2及びチャネル3からの
入出力要求をマスクする動作を行う。
As mentioned above, the block switch 4 and the block switch 5 exist for each connected channel, and have the role of gates for starting channels 2 and 3, for example, by controlling each control signal. When 4a and 5a are set to "1", block switch 4 and block switch 5 are turned on, and an operation is performed to mask input/output requests from channels 2 and 3.

【0023】又、ブロックスイッチ4及びブロックスイ
ッチ5を各々の制御信号4aおよび5aを“0”とする
と、ブロックスイッチ4および5がはずれ、チャネルか
らの入出力要求が競合回路6に入る。
Further, when the control signals 4a and 5a of the block switches 4 and 5 are set to "0", the block switches 4 and 5 are disconnected, and input/output requests from the channels enter the competition circuit 6.

【0024】このように、ブロックスイッチ4及びブロ
ックスイッチ5を用いることによりチャネル2及びチャ
ネル3対応に入出力の負荷バランスをとることが可能と
なる。
As described above, by using the block switch 4 and the block switch 5, it is possible to balance input and output loads for channels 2 and 3.

【0025】図4は、チャネルルート表示テーブル40
1の構成を示す。チャネルルートとは、チャネルからの
入出力要求が、信号ケーブル(ルートA)11,信号ケ
ーブル(ルートB)12を介して、半導体記憶制御装置
9に到来する経路を示す。
FIG. 4 shows a channel route display table 40.
1 shows the configuration of 1. The channel route indicates a route through which an input/output request from a channel arrives at the semiconductor storage control device 9 via the signal cable (route A) 11 and the signal cable (route B) 12.

【0026】チャネルルート表示テーブル401は展開
するとルートA402、ルートB403で構成される。 ルートA402、ルートB403は、ビット単位、或い
はバイト単位である。ルートA402、ルートB403
は、各チャネルルートに対応しており、ルートA402
は、信号ケーブル(ルートA)11に、ルートB403
は信号ケーブル(ルートB)12に対応している。チャ
ネルルート表示テーブル401を用いることにより、ど
のルートで過去に入出力を行なったのかが判断出来る様
になっている。
When expanded, the channel route display table 401 consists of a route A 402 and a route B 403. Route A 402 and route B 403 are in units of bits or bytes. Route A402, Route B403
corresponds to each channel route, and route A402
connect signal cable (route A) 11 to route B403.
corresponds to the signal cable (route B) 12. By using the channel route display table 401, it is possible to determine which route was used for input/output in the past.

【0027】図5は、入出力回数をカウントする為に用
いられる起動回数表示テーブル501である。起動回数
表示テーブル501は、半導体記憶制御装置9に1つ存
在し、入出力要求があるたびに1ずつカウントアップさ
れる。
FIG. 5 is a startup count display table 501 used to count the number of inputs and outputs. One activation count display table 501 exists in the semiconductor storage control device 9, and is counted up by one every time there is an input/output request.

【0028】本実施例においては、半導体記憶制御装置
9による負荷均衡制御方式として、単に、ブロックスイ
ッチ4及びブロックスイッチ5を用いて制御する方法と
、チャネルルート表示テーブル401および起動回数表
示テーブル501に記憶された各計算機システムからの
起動履歴情報を用いて、ブロックスイッチ4、ブロック
スイッチ5の動作を制御する方法とがある。
In this embodiment, as the load balancing control method by the semiconductor storage control device 9, there is a method of simply controlling the block switch 4 and the block switch 5, and a method of controlling the load by simply using the block switch 4 and the block switch 5. There is a method of controlling the operations of the block switches 4 and 5 using stored startup history information from each computer system.

【0029】まず、図1と図2を用いて、半導体記憶制
御装置による負荷バランスの制御方法について説明する
。図2は、メモリ8に蓄えられたマイクロプログラムの
処理の概要である。図2の処理は、既に一つの入出力動
作を終えて、次にどの入出力要求を受付けるかを判断す
る所に位置するものである。まず、ステップ201でチ
ャネル2又はチャネル3からの入出力要求に対して使用
中を報告したかをチェックする。もし、チャネル2又は
チャネル3に対し、使用中を報告していれば、ステップ
203へ分岐する。ステップ202で、今サービスした
入出力要求は正常終了したかをチェックする。もし、正
常終了していなければ、ステップ204へ分岐する。 ステップ203で、今入出力サービスしたチャネルルー
トにブロックスイッチ4及びブロックスイッチ5を立て
る。つまり、今入出力サービスしたチャネルルートがチ
ャネル2(信号ケーブル(ルートA)11)であれば、
ブロックスイッチ4を立て(制御信号4aを“1”とす
る)、もし入出力サービスしたチャネルルートがチャネ
ル3(信号ケーブル(ルートB)12)であれば、ブロ
ックスイッチ5を立てる(制御信号5aを“1”とする
)。ステップ204で起動受領サービスを行なう。ここ
でのサービスは、ブロックスイッチ4及びブロックスイ
ッチ5のマスクが掛っていないチャネル2及びチャネル
3からの入出力要求を受け付ける。もし、チャネル2及
びチャネル3からの入出力要求があった場合、起動回数
表示テーブル501を“1”カウントアップする。もし
、ここでブロックスイッチ4又はブロックスイッチ5が
掛っていない所に一定時間入出力要求が来ない場合及び
起動受領サービスが終了した場合、ステップ205で全
てのブロックスイッチ4及びブロックスイッチ5を解除
(制御信号4a,5aを“0”とする)し、チャネル2
及びチャネル3からの入出力要求を受領できるようにす
る。
First, a method of controlling load balance by a semiconductor storage control device will be explained using FIGS. 1 and 2. FIG. 2 is an overview of the processing of the microprogram stored in the memory 8. The process in FIG. 2 is located at the point where one input/output operation has already been completed and it is determined which input/output request should be accepted next. First, in step 201, it is checked whether the input/output request from channel 2 or channel 3 has been reported as being in use. If channel 2 or channel 3 is reported to be in use, the process branches to step 203. In step 202, it is checked whether the input/output request just serviced has ended normally. If the process has not ended normally, the process branches to step 204. In step 203, a block switch 4 and a block switch 5 are set up on the channel route for which input/output service has just been performed. In other words, if the channel route for which input/output service has just been performed is channel 2 (signal cable (route A) 11),
Turn on the block switch 4 (set the control signal 4a to "1"), and if the channel route for input/output service is channel 3 (signal cable (route B) 12), turn on the block switch 5 (set the control signal 5a to "1"). (set to “1”). In step 204, activation reception service is performed. The service here accepts input/output requests from unmasked channels 2 and 3 of block switches 4 and 5. If there is an input/output request from channels 2 and 3, the activation count display table 501 is counted up by "1". If there is no input/output request for a certain period of time where the block switch 4 or block switch 5 is not engaged, or if the startup reception service is completed, all block switches 4 and 5 are released in step 205 ( Control signals 4a and 5a are set to “0”), and channel 2
and receive input/output requests from channel 3.

【0030】前記実施例では、半導体記憶制御装置9へ
接続されるチャネル数が少ないと負荷が均一化されるが
、チャネル数が多くなると中央処理装置1からの入出力
要求が競合する。この為、特定のチャネルルートに半導
体記憶制御装置9の入出力サービスが片寄ることが懸念
される。
In the embodiment described above, when the number of channels connected to the semiconductor storage control device 9 is small, the load is equalized, but when the number of channels is large, input/output requests from the central processing unit 1 compete. For this reason, there is a concern that input/output services of the semiconductor storage control device 9 may be biased toward a specific channel route.

【0031】そこで、次に図3、図4、図5を用いて、
ブロックスイッチ4、ブロックスイッチ5及びテーブル
に記憶された各計算機システムからの起動履歴情報を用
いることで前記の懸念を解消する、本発明の他の実施例
である負荷バランスの制御方法について説明する。図3
は、メモリ8に蓄えられたマイクロプログラムの処理の
概要である。
[0031] Next, using FIGS. 3, 4, and 5,
A load balance control method according to another embodiment of the present invention will be described, which eliminates the above concerns by using the block switch 4, block switch 5, and startup history information from each computer system stored in a table. Figure 3
is an outline of the processing of the microprogram stored in the memory 8.

【0032】図3に示す処理は、既に入出力を終えて、
次にどの入出力を受け付けるのか判断をする所に位置付
けられる。
The process shown in FIG. 3 is performed after input/output has already been completed.
Next, it is positioned to decide which input/output will be accepted.

【0033】まず、ステップ301で、チャネル2又は
チャネル3からの入出力要求に対して使用中を報告した
かをチェックする。もし、チャネル2又はチャネル3に
対し、使用中を報告していれば、ステップ303へ分岐
する。ステップ302で、今サービスした入出力要求は
正常終了したかをチェックする。もし、正常終了してい
なければステップ309へ分岐する。
First, in step 301, it is checked whether an input/output request from channel 2 or channel 3 has been reported as being in use. If channel 2 or channel 3 is reported to be in use, the process branches to step 303. In step 302, it is checked whether the input/output request just serviced has ended normally. If the process has not ended normally, the process branches to step 309.

【0034】ステップ303で直前に、入出力要求処理
を行なったチャネル2及びチャネル3のチャネルルート
をチャネルルート表示テーブル401に記憶する。すな
わち、入出力要求処理を行なったチャネルルート対応に
ルートA402及びルートB403をオンにする。
In step 303, the channel routes of channels 2 and 3 for which input/output request processing was performed immediately before are stored in the channel route display table 401. That is, route A 402 and route B 403 are turned on corresponding to the channel route for which input/output request processing has been performed.

【0035】チャネルルート表示テーブル401は“0
0”クリアしない限りその状態は残り、複数のビットが
オンになることもあり得る。
[0035] The channel route display table 401 is “0”.
0'' unless cleared, the state will remain and multiple bits may be turned on.

【0036】次にステップ304でチャネルルート表示
テーブル401に表示されているルートが1ルートかど
うか判断する。もし、1つだけだった場合、ステップ3
06で全てのブロックスイッチ4及びブロックスイッチ
5をクリア(制御信号4a,5aを“0”)とする。こ
れにより、1ルートしか接続されていなかった場合は、
ひとつしかないルートからの入出力要求をマスクして入
出力の妨げとなることがない。
Next, in step 304, it is determined whether the route displayed in the channel route display table 401 is one route. If there is only one, step 3
At 06, all block switches 4 and 5 are cleared (control signals 4a and 5a are set to "0"). As a result, if only one route is connected,
Masks input/output requests from only one route so that input/output is not obstructed.

【0037】又、ステップ304で複数ルートがある場
合は、ステップ305で直前に入出力要求処理を行なっ
たルート以外に過去に起動があった次のルート(図1の
場合、直前に入出力要求処理を行なったルートがブロッ
クスイッチ4の場合、ブロックスイッチ5のルート)以
外のルートを全てブロックスイッチをオン(制御信号4
a,5aを“0”)にして、そのルート(ブロックスイ
ッチ5のルート)に対する起動を優先サービスする様に
する。
If there are multiple routes in step 304, step 305 selects the next route that has been activated in the past in addition to the route for which the input/output request was processed immediately before (in the case of FIG. If the processed route is block switch 4, all routes other than the block switch 5 route are turned on (control signal 4).
a, 5a are set to "0") to give priority service to activation for that route (the route of the block switch 5).

【0038】次にステップ307で起動回数表示テーブ
ル501の値は256になったかを判断し、もし256
なら、ステップ308でチャネルルート表示テーブル4
01を“00”クリアし、ステップ309を実行する。
Next, in step 307, it is determined whether the value of the startup count display table 501 has reached 256.
If so, in step 308 channel route display table 4
01 is cleared to "00" and step 309 is executed.

【0039】これにより、最新のチャネル起動を記憶出
来る様になり常にチャネルの動きに合わせて入出力の負
荷バランスをとることが出来る様になる。又、中央処理
装置1からの入出力要求が競合した場合、半導体記憶制
御装置9のマイクロプロセッサ7がサービスするチャネ
ルルートを特定のチャネルルートに偏らせない効果を持
つ。
[0039] This makes it possible to memorize the latest channel activation and to always balance the input/output load in accordance with the movement of the channel. Furthermore, when input/output requests from the central processing unit 1 conflict, the channel route serviced by the microprocessor 7 of the semiconductor storage control device 9 is prevented from being biased toward a specific channel route.

【0040】又、ステップ307で起動回数表示テーブ
ル501の値が、256に満たない場合は、ステップ3
09へ分岐する。
Further, if the value of the startup count display table 501 is less than 256 in step 307, step 3
Branch to 09.

【0041】次に、ステップ309で起動受領サービス
を行なう。ここでのサービスは、ブロックスイッチ4及
びブロックスイッチ5のマスクが掛っていないチャネル
2及びチャネル3からの入出力を受け付ける。もし、チ
ャネル2及びチャネル3からの入出力要求があった場合
、起動回数表示テーブル501を“1”カウントアップ
する。もしここでブロックスイッチ4及びブロックスイ
ッチ5のマスクが掛っていない所に一定時間入出力要求
がチャネル2及びチャネル3より出てこなかった場合及
び起動受領サービスが終了した場合は、ステップ310
へ処理が進み、ブロックスイッチ4及びブロックスイッ
チ5を解除し、チャネル2及びチャネル3からの入出力
要求を受領出来る様にしてやる。
Next, in step 309, activation reception service is performed. The service here accepts input/output from unmasked channels 2 and 3 of block switch 4 and block switch 5. If there is an input/output request from channels 2 and 3, the activation count display table 501 is counted up by "1". If no input/output request is issued from channels 2 and 3 for a certain period of time to the unmasked block switches 4 and 5, and if the startup reception service is completed, step 310
The process proceeds to release block switch 4 and block switch 5, allowing input/output requests from channel 2 and channel 3 to be received.

【0042】本実施例によれば、複数の計算機システム
からシェアされても各計算機システムからの負荷を均一
化することができる。
According to this embodiment, even when shared by a plurality of computer systems, the load from each computer system can be equalized.

【0043】本実施例は、チャネルルートが2つであっ
たが、チャネルルートが3つ以上の場合でも適用可能で
あることは言うまでもない。又、本実施例では起動回数
表示テーブル501のクリアは起動回数表示テーブル5
01の値が256に達した時点で行なっているが、起動
回数表示テーブル501のクリアの契機としては、当該
起動回数表示テーブル501の値が256の場合に限ら
ない。
In this embodiment, there are two channel routes, but it goes without saying that the present invention can also be applied to a case where there are three or more channel routes. In addition, in this embodiment, the activation count display table 501 is cleared by the activation count display table 5.
Although this is done when the value of 01 reaches 256, the trigger for clearing the activation count display table 501 is not limited to the case where the value of the activation count display table 501 is 256.

【0044】上述の実施例は、半導体記憶装置サブシス
テムに対して本発明を適用したものであったが、磁気デ
ィスク装置サブシステム、磁気テープ装置サブシステム
等の半導体記憶制御装置にも適用できる。
Although the embodiments described above apply the present invention to a semiconductor storage device subsystem, it can also be applied to semiconductor storage control devices such as a magnetic disk device subsystem and a magnetic tape device subsystem.

【0045】又、上述の実施例は、チャネルルート表示
テーブル401及び起動回数表示テーブル501は、特
開昭63−223939号公報のように入出力負荷状態
を入出力制御装置に表示させなくても、各計算機システ
ムからの負荷を均一化することが可能である。
Furthermore, in the above embodiment, the channel route display table 401 and the activation count display table 501 can be used without displaying the input/output load status on the input/output control device as in Japanese Patent Application Laid-Open No. 63-223939. , it is possible to equalize the load from each computer system.

【0046】以上本発明者によってなされた発明を実施
例に基づき具体的に説明したが、本発明は前記実施例に
限定されるものではなく、その要旨を逸脱しない範囲で
種々変更可能であることはいうまでもない。
Although the invention made by the present inventor has been specifically explained above based on examples, the present invention is not limited to the above-mentioned examples, and can be modified in various ways without departing from the gist thereof. Needless to say.

【0047】[0047]

【発明の効果】本願において開示される発明のうち、代
表的なものによって得られる効果を簡単に説明すれば、
以下のとおりである。
[Effects of the Invention] Among the inventions disclosed in this application, the effects obtained by the typical inventions are briefly explained as follows.
It is as follows.

【0048】すなわち、本発明の負荷均衡制御方式によ
れば、個々の半導体記憶制御装置において独立に各上位
装置からの入出力の負荷を均一化することができるとい
う効果が得られる。
That is, according to the load balancing control method of the present invention, it is possible to equalize the input/output loads from each host device independently in each semiconductor storage control device.

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

【図1】本発明の一実施例の負荷均衡制御方式が行われ
る半導体記憶装置サブシステムのハードウェア構成の一
例を示すブロック図である。
FIG. 1 is a block diagram showing an example of the hardware configuration of a semiconductor storage device subsystem in which a load balancing control method according to an embodiment of the present invention is performed.

【図2】本発明の一実施例である負荷均衡制御方式の作
用の一例を示すフローチャートである。
FIG. 2 is a flowchart showing an example of the operation of a load balancing control method according to an embodiment of the present invention.

【図3】本発明の一実施例である負荷均衡制御方式の作
用の一例を示すフローチャートである。
FIG. 3 is a flowchart showing an example of the operation of a load balancing control method according to an embodiment of the present invention.

【図4】本発明の一実施例である負荷均衡制御方式にお
ける、チャネルルート表示テーブルの構成の一例を示す
説明図である。
FIG. 4 is an explanatory diagram showing an example of the configuration of a channel route display table in a load balancing control method according to an embodiment of the present invention.

【図5】本発明の一実施例である負荷均衡制御方式にお
ける、起動回数表示テーブルの一例を示す説明図である
FIG. 5 is an explanatory diagram showing an example of a start-up count display table in a load balancing control method according to an embodiment of the present invention.

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

1  中央処理装置 2  チャネル 3  チャネル 4  ブロックスイッチ 4a  制御信号 5  ブロックスイッチ 5a  制御信号 6  競合回路 7  マイクロプロセッサ 8  メモリ 9  半導体記憶制御装置 10  半導体記憶装置 11  信号ケーブル(ルートA) 12  信号ケーブル(ルートB) 13  インタフェースケーブル 14  バス線 401  チャネルルート表示テーブル401  起動
表示テーブル 501  起動回数表示テーブル
1 Central processing unit 2 Channel 3 Channel 4 Block switch 4a Control signal 5 Block switch 5a Control signal 6 Competitive circuit 7 Microprocessor 8 Memory 9 Semiconductor storage control device 10 Semiconductor storage device 11 Signal cable (Route A) 12 Signal cable (Route B ) 13 Interface cable 14 Bus line 401 Channel route display table 401 Startup display table 501 Startup count display table

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】  揮発性又は不揮発性の記憶媒体を備え
た外部記憶装置と、この外部記憶装置を制御する外部記
憶制御装置と、この外部記憶制御装置を介して前記外部
記憶装置を共有し、当該外部記憶装置に対するデータの
書き込みおよび読み出しなどの入出力を行う複数の上位
装置とからなる情報処理システムであって、前記外部記
憶制御装置は、前記上位装置からの前記外部記憶装置に
対する入出力要求を一時的に待たせる入出力要求保留手
段を有し、前記外部記憶制御装置において個々の上位装
置からの入出力負荷を均一化させることを特徴とする負
荷均衡制御方式。
1. An external storage device including a volatile or non-volatile storage medium, an external storage control device that controls the external storage device, and the external storage device shared through the external storage control device, An information processing system comprising a plurality of host devices that perform input/output such as writing and reading data to and from the external storage device, wherein the external storage control device handles input/output requests from the host device to the external storage device. 1. A load balancing control method, comprising: an input/output request holding means for temporarily waiting for input/output requests, and equalizing input/output loads from individual host devices in the external storage control device.
【請求項2】  前記入出力要求保留手段が、個々の前
記上位装置から前記外部記憶制御装置に入出力要求を伝
達する情報伝達経路に介設され、個々の前記上位装置か
ら前記外部記憶制御装置への前記入出力要求の接続の可
否を制御するブロックスイッチからなることを特徴とす
る請求項1記載の負荷均衡制御方式。
2. The input/output request holding means is interposed in an information transmission path for transmitting input/output requests from each of the higher-level devices to the external storage control device, and 2. The load balancing control system according to claim 1, further comprising a block switch for controlling whether or not the input/output request can be connected to the load balancing control system.
【請求項3】  前記外部記憶制御装置の一部に、過去
における前記上位装置からの入出力状況に関する履歴情
報を保持する記憶手段を設け、前記履歴情報をもとに、
前記入出力要求保留手段の動作を制御することを特徴と
する請求項1または2記載の負荷均衡制御方式。
3. A part of the external storage control device is provided with a storage means for holding history information regarding input/output status from the host device in the past, and based on the history information,
3. The load balancing control system according to claim 1, further comprising controlling the operation of said input/output request holding means.
JP05423291A 1991-03-19 1991-03-19 Storage control system Expired - Fee Related JP3361532B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP05423291A JP3361532B2 (en) 1991-03-19 1991-03-19 Storage control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP05423291A JP3361532B2 (en) 1991-03-19 1991-03-19 Storage control system

Publications (2)

Publication Number Publication Date
JPH04289947A true JPH04289947A (en) 1992-10-14
JP3361532B2 JP3361532B2 (en) 2003-01-07

Family

ID=12964799

Family Applications (1)

Application Number Title Priority Date Filing Date
JP05423291A Expired - Fee Related JP3361532B2 (en) 1991-03-19 1991-03-19 Storage control system

Country Status (1)

Country Link
JP (1) JP3361532B2 (en)

Also Published As

Publication number Publication date
JP3361532B2 (en) 2003-01-07

Similar Documents

Publication Publication Date Title
US5784647A (en) Interface for fetching highest priority demand from priority queue, predicting completion within time limitation then issuing demand, else adding demand to pending queue or canceling
US5675736A (en) Multi-node network with internode switching performed within processor nodes, each node separately processing data and control messages
JPH06105460B2 (en) Multiprocessor processor switching device
US5825773A (en) Switching system for transferring broadcast packet held in broadcast buffer received from input port to output ports according to the state of each output port
JPH04289947A (en) Load equilibrium control system
JPH05274246A (en) Arbiter device
JP3421363B2 (en) Information processing device
US6055607A (en) Interface queue with bypassing capability for main storage unit
WO2018029756A1 (en) Transmission device, system controller, train transmission system, and transmission method
JP2806855B2 (en) I / O control system
JP3505540B2 (en) Data transfer device
JPH08249277A (en) Computer system of input/output device sharing type
JPH1063603A (en) Peripheral control device and its load state setting method
JPH0644234B2 (en) Task management device
JPH0658654B2 (en) Interrupt acceptance control method
JPH0831077B2 (en) Channel path load factor equalization method for I / O subsystem
US20180276037A1 (en) Data processing system and data processing method
JPH04352272A (en) Excution controller
JP2003196222A (en) Information processor
JPH0385660A (en) Input / output control system
JPH08314649A (en) Image processor and its control method
JPH0535629A (en) Communication data managing system
US7451242B2 (en) Systems and methods for providing network access
JPH05189349A (en) Channel priority discriminating circuit
JPH04256054A (en) Controller for priority order of data transfer system

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees