JPH01267764A - Peripheral control device - Google Patents
Peripheral control deviceInfo
- Publication number
- JPH01267764A JPH01267764A JP63095396A JP9539688A JPH01267764A JP H01267764 A JPH01267764 A JP H01267764A JP 63095396 A JP63095396 A JP 63095396A JP 9539688 A JP9539688 A JP 9539688A JP H01267764 A JPH01267764 A JP H01267764A
- Authority
- JP
- Japan
- Prior art keywords
- peripheral control
- control device
- mtu
- buffer
- load
- 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
Links
- 230000002093 peripheral effect Effects 0.000 title claims abstract description 35
- 238000000034 method Methods 0.000 claims description 9
- 238000012545 processing Methods 0.000 abstract description 14
- 238000012546 transfer Methods 0.000 description 12
- 238000010586 diagram Methods 0.000 description 3
- 238000004891 communication Methods 0.000 description 2
- 238000007796 conventional method Methods 0.000 description 2
- 208000027697 autoimmune lymphoproliferative syndrome due to CTLA4 haploinsuffiency Diseases 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000010365 information processing Effects 0.000 description 1
Abstract
Description
【発明の詳細な説明】
〔産業上の利用分野〕
本発明は周辺制御装置に関し、特に被制御装置を互いに
共有する周辺制御装置に関する。DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a peripheral control device, and particularly to a peripheral control device that shares controlled devices with each other.
情報処理システムにおいては9周辺装置サブシステムの
高性能化、高信頼性を目的として複数の周辺制御装置を
用いてシステムを構成することが多い。In an information processing system, a plurality of peripheral control devices are often used to configure the system in order to improve the performance and reliability of nine peripheral device subsystems.
従来、この種の周辺制御装置に対してはソフトウェアの
みによシ負荷分散処理を行う方法と。Conventionally, for this type of peripheral control device, load distribution processing was performed only by software.
被制御装置を共有する複数の周辺制御装置間にデータ転
送路を設け2周辺制御装置間のみにおいて負荷分散を行
う方法があった。′
〔発明が解決しようとする問題点〕
従来のソフトウェアのみにより負荷分散を行う方式では
、各周辺制御装置に互いに通信手段を持たない複数の上
位装置が接続される場合。There has been a method of providing a data transfer path between a plurality of peripheral control devices that share a controlled device and distributing the load only between the two peripheral control devices. [Problems to be Solved by the Invention] In the conventional method of load balancing using only software, each peripheral control device is connected to a plurality of host devices that do not have a means of communication with each other.
各上位装置のソフトウェアは各周辺制御装置の負荷状況
を適確に知ることができなかった。また、データバッフ
ァを有する周辺制御装置において、上位装置とのデータ
転送と非同期に被制御装置との間でデータ転送等が行な
われる場合。The software of each host device could not accurately know the load status of each peripheral control device. Also, in a peripheral control device having a data buffer, data transfer, etc. is performed with a controlled device asynchronously with data transfer with a host device.
ソフトウェアはその負荷状況を正確に知ることができな
かった。The software could not accurately know the load status.
また、従来の周辺制御装置間にデータ転送路を設ける方
式では2周辺制御装置のノ・−ドウエアの量が増大する
という問題点があった。Further, in the conventional method of providing a data transfer path between peripheral control devices, there is a problem in that the amount of hardware for the two peripheral control devices increases.
本発明は従来のもののこのような問題点を解決しようと
するもので、複数の上位装置に接続される場合、または
上位装置とは非同期に多大な処理が行なわれる場合にお
いても適確な負荷分散処理を少ないノ・−ドウエアにて
実現できる周辺制御装置を提供するものである。The present invention aims to solve these problems with conventional devices, and it is possible to achieve appropriate load distribution even when connected to multiple host devices or when a large amount of processing is performed asynchronously with the host devices. The present invention provides a peripheral control device that can perform processing with less hardware.
本発明によると、他の周辺制御装置と互いに被制御装置
を共有し、同一の上位装置に接続する周辺制御装置にお
いて、動作状況を記憶する手段と、前記動作状況を前記
他の周辺制御装置へ互いに通知する手段と、前記記憶し
ている動作状況と前記他の周辺制御装置から通知された
動作状況とを比較し、前記上位装置から指示された新た
な処理をいずれの周辺制御装置で行うべきかを判断する
手段と、前記判断する手段において新たな処理を前記他
の周辺制御装置において処理すべきと判断したとき前記
上位装置に対し他の周辺制御装置を経由しての再試行を
要求する手段とを有することを特徴とする周辺制御装置
が得られる。According to the present invention, in a peripheral control device that shares a controlled device with another peripheral control device and is connected to the same host device, there is provided a means for storing an operating status, and a means for storing the operating status and transmitting the operating status to the other peripheral control device. means for notifying each other; and comparing the stored operating status and the operating status notified from the other peripheral control device, and which peripheral control device should perform the new process instructed by the higher-level device. and a means for determining whether a new process should be processed in the other peripheral control device, requesting the higher-level device to retry via the other peripheral control device. A peripheral control device is obtained, characterized in that it has means.
次に本発明について図面を参照して説明する。 Next, the present invention will be explained with reference to the drawings.
第1図は本発明の一実施例である磁気テープサブシステ
ムのブロック図である。FIG. 1 is a block diagram of a magnetic tape subsystem that is an embodiment of the present invention.
磁気テープ制御装置(以下MTCと略称する)1は、ホ
スト接続部(以下CIA) 10とデバイス接続部(以
下MTA) 11を介して、それぞれホストマシン2と
複数のストリーマ型磁気テープ装置(以下MTU) 3
に接続されている。各MTU3は2台のMTCIから共
有される形で接続されている。 以下示日
MTCIのデータバッファ12は各MTU 3に対応し
て分割され、CHAIOとMTA 11との間で転送さ
れるデータを一時的に蓄え、 CHA 10 、!=
MTAIIの非同期動作を可能にする。マイクロプロ
セッサ13はMTCIの各部を制御する。制御情報記憶
部14 ハマイクロプロセッサ130制御情報を始めと
する各種情報を記憶する。負荷情報記憶部15はCHA
IOまたはMTA 11 Kおけるデータ転送の状況(
データ転送中やデータ転送待ちの数)およびデータバッ
ファ12の使用状況を記憶する。A magnetic tape control device (hereinafter referred to as MTC) 1 connects a host machine 2 and a plurality of streamer type magnetic tape devices (hereinafter referred to as MTU) via a host connection unit (hereinafter referred to as CIA) 10 and a device connection unit (hereinafter referred to as MTA) 11. ) 3
It is connected to the. Each MTU3 is connected in a shared manner from two MTCIs. The data buffer 12 of the MTCI is divided corresponding to each MTU 3, and temporarily stores data transferred between the CHAIO and the MTA 11. =
Enables asynchronous operation of MTA II. The microprocessor 13 controls each part of the MTCI. Control information storage unit 14 (c) Stores various information including control information for the microprocessor 130. The load information storage unit 15 is a CHA
Status of data transfer in IO or MTA 11K (
The number of data being transferred or waiting for data transfer) and the usage status of the data buffer 12 are stored.
この負荷情報記憶部15のデータは、結合している他系
のMTCIのマイクロプロセッサ13からも互いに読出
すことができる。ステータス記憶部16はホストマシン
2により要求された処理が完了した後、その実行結果と
してマイクロプロセッサ13が編集したステータスを一
時的に格納し。The data in the load information storage section 15 can also be read from the microprocessors 13 of the connected MTCIs. After the process requested by the host machine 2 is completed, the status storage unit 16 temporarily stores the status edited by the microprocessor 13 as the execution result.
CHAIOを介してホストマシン2へこれを送出する。This is sent to the host machine 2 via CHAIO.
第2図は第1図における負荷情報記憶部15に記憶され
ている情報を示す。処理中命令数101は各MTCにお
いてホストマシン2からMTU3に対して実行中の命令
の数を示す。バッファ使用情報102は各MTU3に対
応してビットが割当てられ、それぞれ各MTU3の処理
においてバッファを使用しているか否かを示す。FIG. 2 shows information stored in the load information storage section 15 in FIG. 1. The number of instructions being processed 101 indicates the number of instructions being executed from the host machine 2 to the MTU 3 in each MTC. Buffer usage information 102 is assigned bits corresponding to each MTU 3, and indicates whether or not a buffer is used in the processing of each MTU 3.
次に1本実施例装置の動作を図に基づいて説明する。Next, the operation of the apparatus of this embodiment will be explained based on the drawings.
第1図のマイクロプロセッサ13はマイクロプログラム
によυMTCI内の各部を制御しており。The microprocessor 13 shown in FIG. 1 controls each part of the υMTCI by a microprogram.
特にホストマシン2からのREAD命令、 WRITE
命令等に対してはCHAIO,MTAII、データバッ
ファ12の各部を制御してMTU3からのデータの読出
し、 MTU3へのデータの書込み等を行う。In particular, READ commands and WRITE commands from host machine 2
In response to commands and the like, it controls each part of CHAIO, MTAII, and data buffer 12 to read data from MTU3, write data to MTU3, etc.
マイクロプロセッサ13はホストマシン2からCHAI
Oを介して命令を受けとる凰と、これをデコードしMT
U 3にアクセスせずにMTCI内で即時実行可能かど
うかを判別する。MTCI内で即時実行可能であればこ
の命令を実行し、結果を示すステータス記憶部16へ格
納した後、 ClAl0を介して報告するか1次の命
令を要求する。Microprocessor 13 receives CHAI from host machine 2
凰 receives commands via O, decodes them and sends them to MT
Determine whether immediate execution is possible within MTCI without accessing U3. If it can be executed immediately within the MTCI, execute this instruction, store the result in the status storage unit 16, and then report via ClAl0 or request the next instruction.
ホストマシン2からA系のMTCIへ送った命令が第1
のMTU3へアクセスする命令の場合。The command sent from host machine 2 to A-system MTCI is the first
In the case of an instruction that accesses MTU3.
マイクロプロセッサ13は自系(A系)の負荷情報記憶
部15と他系(B系)の負荷情報記憶部15からそれぞ
れの負荷情報を読出して比較する。The microprocessor 13 reads the respective load information from the load information storage section 15 of its own system (A system) and the load information storage section 15 of the other system (B system) and compares them.
比較の結果、自系で命令を処理するのが適当と判断する
と、第2図に示す自系の負荷情報記憶部15内の処理中
の命令数101を+1する。次に。As a result of the comparison, if it is determined that it is appropriate to process the command in the own system, the number of instructions being processed 101 in the load information storage section 15 of the own system shown in FIG. 2 is increased by 1. next.
当該命令の処理においてバッファを使用する場合には、
同じく自系の負荷情報記憶部15のデータバッファ使用
情報102においてMTU3毎に1ビツトずつ割当てら
れているデータバッファ使用中ビットをセットする。When using a buffer in processing the instruction,
Similarly, in the data buffer usage information 102 of the load information storage unit 15 of the own system, the data buffer in use bit, which is assigned one bit for each MTU 3, is set.
ホストマシン2から受けた命令がWRITE命令のとき
、マイクロプロセッサはCHAIO,データバッファ1
2に指示してデータ転送を開始する。When the instruction received from host machine 2 is a WRITE instruction, the microprocessor writes CHAIO and data buffer 1.
2 to start data transfer.
ホストマシン2から送られたデータはデータバッファ1
2に頭次蓄えられる。送られたデータ量が規準未満のと
きMTU3に対する動作は開始せず、ホストマシン2に
対し終了報告または次の命令要求を行う。このとき自系
の負荷情報記憶部15に対し、第2図に示す処理中の命
令数101を−1し、データバッファ使用情報102を
そのままとする。Data sent from host machine 2 is stored in data buffer 1
It is stored in 2. When the amount of data sent is less than the standard, no operation is started for the MTU 3, and a completion report or a next command request is made to the host machine 2. At this time, in the load information storage unit 15 of the own system, the number of instructions being processed 101 shown in FIG. 2 is decremented by 1, and the data buffer usage information 102 is left unchanged.
次に同じMTU3に対し再びWRITE命令がホストマ
シン2から出されると、負荷情報記憶部15のバッファ
使用中ビット102がセットされているため、自系で命
令を処理することを決定しデータ転送を開始しデータバ
ッファ12へ格納する。Next, when the host machine 2 issues a WRITE command to the same MTU 3 again, since the buffer in use bit 102 of the load information storage unit 15 is set, it decides to process the command in its own system and transfers the data. The data is started and stored in the data buffer 12.
データバッファ12において前に格納されているデータ
ブロックと合計してデータ量が規準値を超えると、マイ
クロプロセッサ13はMTAIIに対し当該MTU3へ
のWRIT E指示の送出とデータ転送を指示する。ホ
ストマシン2とデータバッファ12との間でデータ転送
が終了すると2.マイクロプロセッサ13は前のWRI
TE命令と同様にして終了処理を行う。このときデータ
バッファ12と当該MTU3の間ではWRITE処理を
実行中である。When the amount of data combined with the data blocks previously stored in the data buffer 12 exceeds a standard value, the microprocessor 13 instructs the MTA II to send a WRITE instruction to the MTU 3 and transfer the data. When the data transfer between the host machine 2 and the data buffer 12 is completed, 2. Microprocessor 13 is the previous WRI
Termination processing is performed in the same manner as the TE instruction. At this time, WRITE processing is being executed between the data buffer 12 and the MTU 3.
次にホストマシン2から出された命令が第2のMTU3
に対するWRITE命令で、このときデータバッファ1
2と第1のMTU3の間で前述のWRITE処理中であ
ったとすると、マイクロプロセッサ13は自系と他系の
負荷情報記憶部15からそれぞれの負荷情報を読出し、
比較する。その結果。Next, the command issued from the host machine 2 is sent to the second MTU 3.
At this time, data buffer 1 is
2 and the first MTU 3, the microprocessor 13 reads the load information from the load information storage unit 15 of the own system and the other system, and
compare. the result.
当該MTU3に対し自系のバッファを使用しておらず、
かつ他系の処理中命令数101とバッファ使用情報10
2が示すバッファ使用中ドライブの数が自系のそれよシ
も少なければ他系からの再試行を要求するステータスを
ステータス記憶部16ヘセツトする。The local buffer is not used for the MTU3,
And the number of instructions being processed in other systems is 101 and buffer usage information is 10.
If the number of buffer-using drives indicated by 2 is smaller than that of the own system, a status requesting retry from the other system is set in the status storage unit 16.
あるいは、他系において当該MTU3に対してデータバ
ッファ12を使用中であれば、同様のステータスを自系
のステータス記憶部16ヘセツトする。ステータスはA
系のCHAIOを経由してホストマシン2へ送出され、
これを受けたホストマシン2はB系のMTCIへ命令を
出し直す。これによシ両系のMTCIの負荷の均衡を保
つことになる。Alternatively, if the data buffer 12 is being used for the MTU 3 in the other system, the same status is set in the status storage unit 16 of the own system. Status is A
It is sent to host machine 2 via CHAIO of the system,
Upon receiving this, the host machine 2 reissues the command to the B-system MTCI. This maintains the balance of the MTCI loads on both systems.
A系のMTCIにおいて、データバッファ12と第1の
MTU3との間でデータ転送を伴うWRIT E処理が
完了し、データバッファ12内の当該MTU3に対する
データがなくなると、マイクロプロセッサ13は負荷情
報記憶部15のバッファ使用情報のうち当該MTU3に
対応するビットをクリアする。In the A-system MTCI, when the WRITE process involving data transfer between the data buffer 12 and the first MTU 3 is completed and there is no data for the MTU 3 in the data buffer 12, the microprocessor 13 transfers the data to the load information storage unit. The bit corresponding to the MTU3 of the 15 buffer usage information is cleared.
以上WRITE命令について記述したが、他の命令につ
いても同様である。Although the WRITE command has been described above, the same applies to other commands.
また、第1図に示すように各MTCIに2台のホストマ
シン2が接続している場合においソ。In addition, when two host machines 2 are connected to each MTCI as shown in FIG.
ホストマシン間での通信手段がなくても各MTC1から
の指示により負荷分散が可能であることは容易に類推で
きる。It can be easily inferred that load distribution is possible based on instructions from each MTC 1 even without a means of communication between host machines.
以上説明したように本発明は、被制御装置を共有する周
辺制御装置間において、互いの負荷状況を比較する手段
を設け、他系の周辺制御装置にて処理を行う方が効率的
と判断したときには、上位装置に対し他系周辺制御装置
からの再試行を要求する手段を設けることによシ、複数
の上位装置に接続される場合、!たは上位装誼とは非同
期に多大な処理が行なわれる場合においても適確な負荷
分散処理を少ないハードウェアにて実現できるという効
果がある。As explained above, the present invention provides a means for comparing the load status of peripheral control devices that share a controlled device, and determines that it is more efficient to perform processing in a peripheral control device of another system. Sometimes, when connected to multiple host devices, it is possible to provide a means for requesting a retry from a peripheral control device of another system to the host device. This has the advantage that even when a large amount of processing is performed asynchronously with the host system, accurate load distribution processing can be achieved with a small amount of hardware.
第1図は本発明の実施例である磁気テープ制御装置の一
例のブロック図、第2図は第1図に示す負荷情報記憶部
に記憶する情報の種類と形態を示す図である。
記号の説明:l・・・磁気テープ制御装置(MTC)
。
2・・・ホストマシン、3・・・磁気テープ装置(MT
U) 。
10・・・ホスト接続部(CIA)、 11・・・デ
バイス接続i(MTA)、 12・・・データバッフ
ァ、 13・・・マイクロプロセッサ、 14・・・制
御情報記憶部、15・・・負荷情報記憶部、16・・・
ステータス記憶部。FIG. 1 is a block diagram of an example of a magnetic tape control device according to an embodiment of the present invention, and FIG. 2 is a diagram showing the types and formats of information stored in the load information storage section shown in FIG. 1. Explanation of symbols: l...Magnetic tape controller (MTC)
. 2...Host machine, 3...Magnetic tape device (MT
U). DESCRIPTION OF SYMBOLS 10... Host connection part (CIA), 11... Device connection i (MTA), 12... Data buffer, 13... Microprocessor, 14... Control information storage part, 15... Load Information storage section, 16...
Status storage.
Claims (1)
一の上位装置に接続する周辺制御装置において、動作状
況を記憶する手段と、前記動作状況を前記他の周辺制御
装置へ互いに通知する手段と、前記記憶している動作状
況と前記他の周辺制御装置から通知された動作状況とを
比較し、前記上位装置から指示された新たな処理をいず
れの周辺制御装置で行うべきかを判断する手段と、前記
判断する手段において新たな処理を前記他の周辺制御装
置において処理すべきと判断したとき前記上位装置に対
し他の周辺制御装置を経由しての再試行を要求する手段
とを有することを特徴とする周辺制御装置。1. In a peripheral control device that shares a controlled device with other peripheral control devices and is connected to the same host device, means for storing operating conditions and mutually notifying the other peripheral control devices of the operating conditions means, and compares the stored operation status with the operation status notified from the other peripheral control device, and determines which peripheral control device should perform the new process instructed by the higher-level device. and means for requesting the host device to retry via the other peripheral control device when the determining means determines that a new process should be processed in the other peripheral control device. A peripheral control device comprising:
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP63095396A JPH0721785B2 (en) | 1988-04-20 | 1988-04-20 | Peripheral control device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP63095396A JPH0721785B2 (en) | 1988-04-20 | 1988-04-20 | Peripheral control device |
Publications (2)
Publication Number | Publication Date |
---|---|
JPH01267764A true JPH01267764A (en) | 1989-10-25 |
JPH0721785B2 JPH0721785B2 (en) | 1995-03-08 |
Family
ID=14136495
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP63095396A Expired - Fee Related JPH0721785B2 (en) | 1988-04-20 | 1988-04-20 | Peripheral control device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH0721785B2 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH0481960A (en) * | 1990-07-24 | 1992-03-16 | Nec Corp | Load distribution control system for peripheral controller |
-
1988
- 1988-04-20 JP JP63095396A patent/JPH0721785B2/en not_active Expired - Fee Related
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH0481960A (en) * | 1990-07-24 | 1992-03-16 | Nec Corp | Load distribution control system for peripheral controller |
Also Published As
Publication number | Publication date |
---|---|
JPH0721785B2 (en) | 1995-03-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP0305068B1 (en) | Controlling asynchronously operating peripherals | |
US6810440B2 (en) | Method and apparatus for automatically transferring I/O blocks between a host system and a host adapter | |
US4701848A (en) | System for effectively paralleling computer terminal devices | |
US5734918A (en) | Computer system with an input/output processor which enables direct file transfers between a storage medium and a network | |
JPH01267764A (en) | Peripheral control device | |
JPH02173855A (en) | Peripheral controller | |
JPH02302860A (en) | Peripheral controller | |
JPH0769879B2 (en) | Peripheral control device | |
JPH06337836A (en) | Multiple address type bus interface for peripheral equipment | |
JPH0769882B2 (en) | Input / output control system having cross-call function and dynamic configuration change method in the system | |
JPH02234256A (en) | Down load system | |
JPS638500B2 (en) | ||
JPH0668719B2 (en) | Peripheral control device | |
JPS5851293B2 (en) | Data exchange control method | |
JPH02291039A (en) | Memory control system | |
JPS61127005A (en) | Processor of numerical control information | |
JPS61134859A (en) | Backup controlling system of memory | |
JPH01112452A (en) | System for controlling disk cash | |
JPS5920128B2 (en) | input/output control device | |
JPS63228253A (en) | Interruption processing system | |
JPH04268652A (en) | Filing device | |
JPH0412857B2 (en) | ||
JPS63249243A (en) | Secondary storage information saving system | |
JPH01147652A (en) | Bus controller | |
JPH03201154A (en) | Scsi host adaptor circuit |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
LAPS | Cancellation because of no payment of annual fees |