Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JPH0721785B2 - Peripheral control device - Google Patents
[go: Go Back, main page]

JPH0721785B2 - Peripheral control device - Google Patents

Peripheral control device

Info

Publication number
JPH0721785B2
JPH0721785B2 JP63095396A JP9539688A JPH0721785B2 JP H0721785 B2 JPH0721785 B2 JP H0721785B2 JP 63095396 A JP63095396 A JP 63095396A JP 9539688 A JP9539688 A JP 9539688A JP H0721785 B2 JPH0721785 B2 JP H0721785B2
Authority
JP
Japan
Prior art keywords
peripheral control
control device
data
host
buffer
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.)
Expired - Fee Related
Application number
JP63095396A
Other languages
Japanese (ja)
Other versions
JPH01267764A (en
Inventor
清志 酒井
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.)
NEC Corp
Original Assignee
NEC Corp
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 NEC Corp filed Critical NEC Corp
Priority to JP63095396A priority Critical patent/JPH0721785B2/en
Publication of JPH01267764A publication Critical patent/JPH01267764A/en
Publication of JPH0721785B2 publication Critical patent/JPH0721785B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Multi Processors (AREA)

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は周辺制御装置に関し,特に被制御装置を互いに
共有する周辺制御装置に関する。
The present invention relates to a peripheral control device, and more particularly to a peripheral control device sharing controlled devices with each other.

〔従来の技術〕[Conventional technology]

情報処理システムにおいては,周辺装置サブシステムの
高性能化,高信頼性を目的として複数の周辺制御装置を
用いてシステムを構成することが多い。
In an information processing system, a system is often configured by using a plurality of peripheral control devices in order to improve the performance and reliability of the peripheral device subsystem.

従来,この種の周辺制御装置に対してはソフトウェアの
みにより負荷分散処理を行う方法と,被制御装置を共有
する複数の周辺制御装置間にデータ転送路を設け,周辺
制御装置間のみにおいて負荷分散を行う方法があった。
Conventionally, for this type of peripheral control device, a method of performing load distribution processing only by software and a data transfer path between a plurality of peripheral control devices sharing a controlled device to distribute the load only between the peripheral control devices are provided. There was a way to do.

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

従来のソフトウェアのみにより負荷分散を行う方式で
は,各周辺制御装置に互いに通信手段を持たない複数の
上位装置が接続される場合,各上位装置のソフトウェア
は各周辺制御装置の負荷状況を適確に知ることができな
かった。また,データバッファを有する周辺制御装置に
おいて,上位装置とのデータ転送と非同期に被制御装置
との間でデータ転送等が行なわれる場合,ソフトウェア
はその負荷状況を正確に知ることができなかった。
In the conventional load balancing method using only software, when a plurality of host devices without communication means are connected to each peripheral control device, the software of each host device can accurately determine the load status of each peripheral control device. I couldn't know. Further, in the peripheral control device having a data buffer, when data transfer or the like is performed with the controlled device asynchronously with the data transfer with the host device, the software cannot accurately know the load condition.

また,従来の周辺制御装置間にデータ転送路を設ける方
式では,周辺制御装置のハードウェアの量が増大すると
いう問題点があった。
Further, the conventional method of providing the data transfer path between the peripheral control devices has a problem that the amount of hardware of the peripheral control devices increases.

本発明は従来のもののこのような問題点を解決しようと
するもので,複数の上位装置に接続される場合,または
上位装置とは非同期に多大な処理が行なわれる場合にお
いても適確な負荷分散処理を少ないハードウェアにて実
現できる周辺制御装置を提供するものである。
The present invention is intended to solve such a problem of the conventional one, and it is possible to appropriately perform load distribution even when connected to a plurality of host devices or when a large amount of processing is performed asynchronously with the host devices. Provided is a peripheral control device capable of realizing processing with a small amount of hardware.

〔問題点を解決するための手段〕[Means for solving problems]

本発明によると,他の周辺制御装置と互いに被制御装置
を共有し,同一の上位装置に接続する周辺制御装置にお
いて,動作状況を記憶する手段と,前記動作状況を前記
他の周辺制御装置へ互いに通知する手段と,前記記憶し
ている動作状況と前記他の周辺制御装置から通知された
動作状況とを比較し,前記上位装置から指示された新た
な処理をいずれの周辺制御装置で行うべきかを判断する
手段と,前記判断する手段において新たな処理を前記他
の周辺制御装置において処理すべきと判断したとき前記
上位装置に対し他の周辺制御装置を経由しての再試行を
要求する手段とを有することを特徴とする周辺制御装置
が得られる。
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 higher-level device, means for storing the operation status, and the operation status to the other peripheral control device. A means for notifying each other and the stored operating condition and the operating condition notified from the other peripheral control device should be compared, and which peripheral control device should perform new processing instructed by the host device. And a means for determining whether or not a new process should be processed by the other peripheral control device, the higher device is requested to retry via the other peripheral control device. And a peripheral control device.

〔実施例〕〔Example〕

次に本発明について図面を参照して説明する。 Next, the present invention will be described with reference to the drawings.

第1図は本発明の一実施例である磁気テープサブシステ
ムのブロック図である。
FIG. 1 is a block diagram of a magnetic tape subsystem which is an embodiment of the present invention.

磁気テープ制御装置(以下MTCと略称する)1は,ホス
ト接続部(以下CHA)10とデバイス接続部(以下MTA)11
を介して,それぞれホストマシン2と複数のストリーマ
型磁気テープ装置(以下MTU)3に接続されている。各M
TU3は2台のMTC1から共有される形で接続されている。
A magnetic tape control device (hereinafter abbreviated as MTC) 1 includes a host connection unit (hereinafter CHA) 10 and a device connection unit (hereinafter MTA) 11
Via a host machine 2 and a plurality of streamer type magnetic tape units (hereinafter referred to as MTUs) 3, respectively. Each M
TU3 is connected so that it is shared by two MTC1s.

MTC1のデータバッファ12は各MTU3に対応して分割され,C
HA10とMTA11との間で転送されるデータを一時的に蓄え,
CHA10とMTA11の非同期動作を可能にする。マイクロプロ
セッサ13はMTC1の各部を制御する。制御情報記憶部14は
マイクロプロセッサ13の制御情報を始めとする各種情報
を記憶する。負荷情報記憶部15はCHA10またはMTA11にお
けるデータ転送の状況(データ転送中やデータ転送待ち
の数)およびデータバッファ12の使用状況を記憶する。
この負荷情報記憶部15のデータは,結合している他系の
MTC1のマイクロプロセッサ13からも互いに読出すことが
できる。ステータス記憶部16はホストマシン2により要
求された処理が完了した後,その実行結果としてマイク
ロプロセッサ13が編集したステータスを一時的に格納
し,CHA10を介してホストマシン2へこれを送出する。
The data buffer 12 of MTC1 is divided corresponding to each MTU3, and C
Temporarily stores the data transferred between HA10 and MTA11,
Enables asynchronous operation of CHA10 and MTA11. The microprocessor 13 controls each part of the MTC 1. The control information storage unit 14 stores various information including control information of the microprocessor 13. The load information storage unit 15 stores the status of data transfer in the CHA 10 or MTA 11 (the number of data transfers or the number of data transfer waits) and the usage status of the data buffer 12.
The data of the load information storage unit 15 is the data of the other system to which it is connected.
The MTC1 microprocessor 13 can also read from each other. After the processing requested by the host machine 2 is completed, the status storage unit 16 temporarily stores the status edited by the microprocessor 13 as its execution result and sends it to the host machine 2 via the CHA 10.

第2図は第1図における負荷情報記憶部15に記憶されて
いる情報を示す。処理中命令数101は各MTCにおいてホス
トマシン2からMTU3に対して実行中の命令の数を示す。
バッファ使用情報102は各MTU3に対応してビットが割当
てられ,それぞれ各MTU3の処理においてバッファを使用
しているか否かを示す。
FIG. 2 shows the information stored in the load information storage unit 15 in FIG. The number of in-process instructions 101 indicates the number of instructions being executed from the host machine 2 to the MTU 3 in each MTC.
The buffer use information 102 is assigned with a bit corresponding to each MTU 3, and indicates whether or not the buffer is used in the processing of each MTU 3.

次に,本実施例装置の動作を図に基づいて説明する。Next, the operation of the apparatus of this embodiment will be described with reference to the drawings.

第1図のマイクロプロセッサ13はマイクロプログラムに
よりMTC1内の各部を制御しており,特にホストマシン2
からのREAD命令,WRITE命令等に対してはCHA10,MTA11,デ
ータバッファ12の各部を制御してMTU13からのデータの
読出し,MTU3へのデータの書込み等を行う。
The microprocessor 13 shown in FIG. 1 controls each part in the MTC 1 by a micro program, and particularly the host machine 2
In response to a READ command, a WRITE command, etc., the CHA 10, MTA 11, and data buffer 12 are controlled to read data from the MTU 13 and write data to the MTU 3.

マイクロプロセッサ13はホストマシン2からCHA10を介
して命令を受けとると,これをデコードしMTU3にアクセ
スせずにMTC1内で即時実行可能かどうかを判別する。MT
C1内で即時実行可能であればこの命令を実行し,結果を
示すステータス記憶部16へ格納した後,CHA10を介して報
告するか,次の命令を要求する。
When the microprocessor 13 receives an instruction from the host machine 2 via the CHA 10, it decodes the instruction and determines whether it can be immediately executed in the MTC 1 without accessing the MTU 3. MT
If it can be executed immediately in C1, this instruction is executed, stored in the status storage unit 16 showing the result, and then reported via CHA 10, or the next instruction is requested.

ホストマシン2からA系のMTC1へ送った命令が第1のMT
U3へアクセスする命令の場合,マイクロプロセッサ13は
自系(A系)の負荷情報記憶部15と他系(B系)の負荷
情報記憶部15からそれぞれの負荷情報を読出して比較す
る。比較の結果,自系で命令を処理するのが適当と判断
すると,第2図に示す自系の負荷情報記憶部15内の処理
中の命令数101を+1する。次に,当該命令の処理にお
いてバッファを使用する場合には,同じく自系の負荷情
報記憶部15のデータバッファ使用情報102においてMTU3
毎に1ビットずつ割当てられているデータバッファ使用
中ビットをセットする。
The command sent from the host machine 2 to the ATC MTC1 is the first MT
In the case of an instruction to access U3, the microprocessor 13 reads out respective load information from the load information storage unit 15 of its own system (A system) and the load information storage unit 15 of another system (B system) and compares them. As a result of the comparison, when it is judged that it is appropriate to process the instruction in the own system, the number 101 of the instructions being processed in the load information storage unit 15 in the own system shown in FIG. 2 is incremented by one. Next, when the buffer is used in the processing of the instruction, MTU3 is also set in the data buffer use information 102 of the load information storage unit 15 of the own system.
Set the in-use bit of the data buffer, which is assigned one bit for each.

ホストマシン2から受けた命令がWRITE命令のとき,マ
イクロプロセッサはCHA10,データバッファ12に指示して
データ転送を開始する。ホストマシン2から送られたデ
ータはデータバッファ12に順次蓄えられる。送られたデ
ータ量が規準未満のときMTU3に対する動作は開始せず,
ホストマシン2に対し終了報告または次の命令要求を行
う。このとき自系の負荷情報記憶部15に対し,第2図に
示す処理中の命令数101を−1し,データバッファ使用
情報102をそのままとする。
When the instruction received from the host machine 2 is a WRITE instruction, the microprocessor instructs the CHA 10 and the data buffer 12 to start data transfer. The data sent from the host machine 2 is sequentially stored in the data buffer 12. When the amount of data sent is less than the standard, the operation for MTU3 does not start,
The end report or the next command request is issued to the host machine 2. At this time, the load information storage unit 15 of its own system is decremented by the number of in-process instructions 101 shown in FIG.

次に同じMTU3に対し再びWRITE命令がホストマシン2か
ら出されると,負荷情報記憶部15のバッファ使用中ビッ
ト102がセットされているため,自系で命令を処理する
ことを決定しデータ転送を開始しデータバッファ12へ格
納する。データバッファ12において前に格納されている
データブロックと合計してデータ量が規準値を超える
と,マイクロプロセッサ13はMTA11に対し当該MTU3へのW
RITE指示の送出とデータ転送を指示する。ホストマシン
2のデータバッファ12との間でデータ転送が終了する
と,マイクロプロセッサ13は前のWRITE命令と同様にし
て終了処理を行う。このときデータバッファ12と当該MT
U3の間ではWRITE処理を実行中である。
Next, when a WRITE command is issued again from the host machine 2 to the same MTU3, since the buffer busy bit 102 of the load information storage unit 15 is set, it is decided to process the command by its own system and transfer the data. Start and store in data buffer 12. When the total amount of data in the data buffer 12 with the previously stored data block exceeds the reference value, the microprocessor 13 instructs the MTA 11 to send W to the MTU 3 concerned.
Sends RITE instruction and instructs data transfer. When the data transfer with the data buffer 12 of the host machine 2 is completed, the microprocessor 13 carries out the end processing in the same manner as the previous WRITE instruction. At this time, the data buffer 12 and the MT
WRITE processing is being executed between U3.

次にホストマシン2から出された命令が第2のMTU3に対
するWRITE命令で,このときデータバッファ12と第1のM
TU3の間で前述のWRITE処理中であったとすると,マイク
ロプロセッサ13は自系と他系の負荷情報記憶部15からそ
れぞれの負荷情報を読出し,比較する。その結果,当該
MTU3に対し自系のバッファを使用しておらず,かつ他系
の処理中命令数101とバッファ使用情報102が示すバッフ
ァ使用中ドライブの数が自系のそれよりも少なければ他
系からの再試行を要求するステータスをステータス記憶
部16へセットする。
Next, the command issued from the host machine 2 is the WRITE command for the second MTU3, and at this time, the data buffer 12 and the first MTU3.
Assuming that the WRITE processing is being performed between TU3, the microprocessor 13 reads the respective load information from the load information storage units 15 of the own system and the other system and compares them. As a result,
If the buffer of the local system is not used for MTU3, and the number of in-process instructions 101 of the other system and the number of drives in the buffer indicated by the buffer usage information 102 are smaller than that of the local system, the buffer from the other system is re-used. The status requesting the trial is set in the status storage unit 16.

あるいは,他系において当該MTU3に対してデータバッフ
ァ12を使用中であれば,同様のステータスを自系のステ
ータス記憶部16へセットする。ステータスはA系のCHA1
0を経由してホストマシン2へ送出され,それを受けた
ホストマシン2はB系のMTC1へ命令を出し直す。これに
より両系のMTC1の負荷の均衡を保つことになる。
Alternatively, if the data buffer 12 is being used for the MTU 3 in another system, the same status is set in the status storage unit 16 of the own system. Status is CHA1 of system A
It is sent to the host machine 2 via 0, and the host machine 2 which received it reissues the command to the B system MTC 1. This keeps the load of MTC1 in both systems balanced.

A系のMTC1において,データバッファ12と第1のMTU3と
の間でデータ転送を伴うWRITE処理が完了し,データバ
ッファ12内の当該MTU3に対するデータがなくなると,マ
イクロプロセッサ13は負荷情報記憶部15のバッファ使用
情報のうち当該MTU3に対応するビットをクリアする。
In the A-system MTC1, when the WRITE processing involving data transfer between the data buffer 12 and the first MTU3 is completed and there is no data for the MTU3 in the data buffer 12, the microprocessor 13 causes the load information storage unit 15 Clear the bit corresponding to the MTU3 of the buffer usage information of.

以上WRITE命令について記述したが,他の命令について
も同様である。
The WRITE command has been described above, but the same applies to other commands.

また,第1図に示すように各MTC1に2台のホストマシン
2が接続している場合において,ホストマシン間での通
信手段がなくても各MTC1からの指示により負荷分散が可
能であることは容易に類推できる。
In addition, as shown in Fig. 1, when two host machines 2 are connected to each MTC1, load can be distributed by instructions from each MTC1 without communication means between the host machines. Can be easily analogized.

〔発明の効果〕〔The invention's effect〕

以上説明したように本発明は,被制御装置を共有する周
辺制御装置間において,互いの負荷状況を比較する手段
を設け,他系の周辺制御装置にて処理を行う方が効率的
と判断したときには,上位装置に対し他系周辺制御装置
からの再試行を要求する手段を設けることにより,複数
の上位装置に接続される場合,または上位装置とは非同
期に多大な処理が行なわれる場合においても適確な負荷
分散処理を少ないハードウェアにて実現できるという効
果がある。
As described above, according to the present invention, it is more efficient to provide a means for comparing the load statuses of the peripheral control devices that share the controlled device with each other and perform the processing by the peripheral control devices of other systems. In some cases, by providing a means for requesting a retry from the peripheral control device of another system to the host device, even when a plurality of host devices are connected or a large amount of processing is performed asynchronously with the host device. There is an effect that an appropriate load distribution process can be realized with less hardware.

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

第1図は本発明の実施例である磁気テープ制御装置の一
例のブロック図,第2図は第1図に示す負荷情報記憶部
に記憶する情報の種類と形態を示す図である。 記号の説明:1……磁気テープ制御装置(MTC),2……ホ
ストマシン,3……磁気テープ装置(MTU),10……ホスト
接続部(CHA),11……デバイス接続部(MTA),12……デ
ータバッファ,13……マイクロプロセッサ,14……制御情
報記憶部,15……負荷情報記憶部,16……ステータス記憶
部。
FIG. 1 is a block diagram of an example of a magnetic tape controller according to an embodiment of the present invention, and FIG. 2 is a diagram showing types and forms of information stored in the load information storage section shown in FIG. Explanation of symbols: 1 …… Magnetic tape controller (MTC), 2 …… Host machine, 3 …… Magnetic tape unit (MTU), 10 …… Host connection part (CHA), 11 …… Device connection part (MTA) , 12 ... Data buffer, 13 ... Microprocessor, 14 ... Control information storage section, 15 ... Load information storage section, 16 ... Status storage section.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】他の周辺制御装置と互いに被制御装置を共
有し,同一の上位装置に接続する周辺制御装置におい
て,動作状況を記憶する手段と,前記動作状況を前記他
の周辺制御装置へ互いに通知する手段と,前記記憶して
いる動作状況と前記他の周辺制御装置から通知された動
作状況とを比較し,前記上位装置から指示された新たな
処理をいずれの周辺制御装置で行うべきかを判断する手
段と,前記判断する手段において新たな処理を前記他の
周辺制御装置において処理すべきと判断したとき前記上
位装置に対し他の周辺制御装置を経由しての再試行を要
求する手段とを有することを特徴とする周辺制御装置。
1. In a peripheral control device that shares a controlled device with another peripheral control device and is connected to the same higher-level device, means for storing the operating condition and said operating condition to the other peripheral control device. A means for notifying each other and the stored operating condition and the operating condition notified from the other peripheral control device should be compared, and which peripheral control device should perform new processing instructed by the host device. And a means for deciding whether or not a new process should be processed by the other peripheral control device, and requests the host device to retry via the other peripheral control device. And a peripheral control device.
JP63095396A 1988-04-20 1988-04-20 Peripheral control device Expired - Fee Related JPH0721785B2 (en)

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 JPH01267764A (en) 1989-10-25
JPH0721785B2 true 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 (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6934795B2 (en) 1999-09-23 2005-08-23 Netlogic Microsystems, Inc. Content addressable memory with programmable word width and programmable priority
US6944709B2 (en) 1999-09-23 2005-09-13 Netlogic Microsystems, Inc. Content addressable memory with block-programmable mask write mode, word width and priority

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2596192B2 (en) * 1990-07-24 1997-04-02 日本電気株式会社 Load distribution control method for peripheral control device

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6934795B2 (en) 1999-09-23 2005-08-23 Netlogic Microsystems, Inc. Content addressable memory with programmable word width and programmable priority
US6944709B2 (en) 1999-09-23 2005-09-13 Netlogic Microsystems, Inc. Content addressable memory with block-programmable mask write mode, word width and priority
US7246198B2 (en) 1999-09-23 2007-07-17 Netlogic Microsystems, Inc. Content addressable memory with programmable word width and programmable priority

Also Published As

Publication number Publication date
JPH01267764A (en) 1989-10-25

Similar Documents

Publication Publication Date Title
US4701848A (en) System for effectively paralleling computer terminal devices
JP2753706B2 (en) IPL method in computer
EP0305068A2 (en) Controlling asynchronously operating peripherals
US20050251636A1 (en) Method for controlling storage device controller, storage device controller, and program
JPH0721785B2 (en) Peripheral control device
JPH0365734A (en) Inter-vm communication system in virtual machine system
JPH0769879B2 (en) Peripheral control device
JPH02173855A (en) Peripheral controller
JP2755103B2 (en) Storage device access method
JPH02302860A (en) Peripheral controller
JP2803270B2 (en) SCSI host adapter circuit
JP2701739B2 (en) Processor switching method
JPH0769882B2 (en) Input / output control system having cross-call function and dynamic configuration change method in the system
JPH02293954A (en) Right-of-using control method for storage device
JPH01112452A (en) System for controlling disk cash
JPH02291039A (en) Memory control system
JPS6272040A (en) Information tracing system
JPH028929A (en) Peripheral controller
JPH0387941A (en) Decentralized data base processing system
JPS5851293B2 (en) Data exchange control method
JPS5920128B2 (en) input/output control device
JPS63301352A (en) Exchange system for file shared data with communication control
JPH04268652A (en) Filing device
JPH0314155A (en) Instruction control system for local area network
JPS6229831B2 (en)

Legal Events

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