JP2000181851A - Input and output controller and inter-processor data transfer method to be used in the same - Google Patents

Input and output controller and inter-processor data transfer method to be used in the same

Info

Publication number
JP2000181851A
JP2000181851A JP10355181A JP35518198A JP2000181851A JP 2000181851 A JP2000181851 A JP 2000181851A JP 10355181 A JP10355181 A JP 10355181A JP 35518198 A JP35518198 A JP 35518198A JP 2000181851 A JP2000181851 A JP 2000181851A
Authority
JP
Japan
Prior art keywords
data transfer
channel
data
input
operating system
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.)
Withdrawn
Application number
JP10355181A
Other languages
Japanese (ja)
Inventor
Makoto Niitsuma
誠 新妻
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 Engineering Ltd
Original Assignee
NEC 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 NEC Engineering Ltd filed Critical NEC Engineering Ltd
Priority to JP10355181A priority Critical patent/JP2000181851A/en
Publication of JP2000181851A publication Critical patent/JP2000181851A/en
Withdrawn legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To provide an input/output controller by which necessity for data re-transfer or the like is eliminated and also data is transferred at high speed. SOLUTION: An FW(firmware) part 2 manages and controls channel devices 6-1 to 6-4 under it based on information of a MAC(memory access controller) part 3. The FW part 2 requests the connection of the channel device whose usage is designated to the channel device in a free state in accordance with a data transfer instruction from OS and transfers data by using the whole channel devices which are successfully connected. In this case, the channel devices transfer data by memory requests from a request transmitting circuit 4 based on memory request addresses which are generated in memory request address generating parts 5-1 to 5-4 corresponding to CHU(#0-#3) of the MAC part 3.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は入出力制御装置及び
それに用いるプロセッサ間データ転送方法に関し、特に
プロセッサ間がスイッチ装置を介して接続されるスーパ
コンピュータシステムにおけるプロセッサ間データ転送
方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an input / output control device and a data transfer method between processors used in the input / output control device, and more particularly, to a data transfer method between processors in a super computer system in which processors are connected via a switch device.

【0002】[0002]

【従来の技術】従来、スーパコンピュータシステムにお
いては、複数のプロセッサ間がスイッチ装置を介して接
続されている。このスーパコンピュータシステムにおい
てプロセッサ間のデータ転送を行う時、OS(オペレー
ティングシステム)は使用する物理チャネル装置を入出
力制御装置に指示し,入出力制御装置が指定された物理
チャネル装置を使用してデータ転送を実行している。
2. Description of the Related Art Conventionally, in a super computer system, a plurality of processors are connected via a switching device. When performing data transfer between processors in this supercomputer system, the OS (operating system) instructs the I / O controller which physical channel device to use, and the I / O controller uses the designated physical channel device to transfer data. Performing a transfer.

【0003】この種のデータ転送方法としては、特開平
4−185035号公報に開示された技術がある。この
公報記載のシステムでは物理チャネルの空き状態を管理
し、指定された物理チャネルと併用する制御を行うため
にチャネルステータスフィードバック部が設けられてお
り、指定された物理チャネルと空き物理チャネルとを使
用してデータ転送を行っている。
As a data transfer method of this kind, there is a technique disclosed in Japanese Patent Application Laid-Open No. 4-185035. In the system described in this publication, a channel status feedback unit is provided for managing the free state of the physical channel and performing control for use with the specified physical channel, and uses the specified physical channel and the free physical channel. Data transfer.

【0004】すなわち、チャネルステータスフィードバ
ック部は各物理チャネルの空き状態を検出して確認し、
空き物理チャネルがあった場合に指定された物理チャネ
ルと空き物理チャネルとを使用してデータを送信できる
ように、データを加工生成して送信している。
That is, the channel status feedback unit detects and confirms the idle state of each physical channel,
When there is a free physical channel, the data is processed and generated and transmitted so that the data can be transmitted using the specified physical channel and the free physical channel.

【0005】[0005]

【発明が解決しようとする課題】上述した従来のデータ
転送方法では、データ送信側装置で空き物理チャネルを
検出して確認し、空き物理チャネルがあった時にその空
き物理チャネルをも用いてデータ転送を行っているが、
データ受信側装置の物理チャネルがデータを受信するこ
とができない状態にあった時、再転送等の処理を行う必
要が生じてしまうことがある。
In the above-described conventional data transfer method, a data transmission side device detects and confirms a free physical channel, and when there is a free physical channel, uses the free physical channel to transfer data. But
When the physical channel of the data receiving apparatus cannot receive data, it may be necessary to perform processing such as retransmission.

【0006】そこで、本発明の目的は上記の問題点を解
消し、データの再転送等の必要性を解消することができ
かつ高速なデータ転送を行うことができる入出力制御装
置及びそれに用いるプロセッサ間データ転送方法を提供
することにある。
SUMMARY OF THE INVENTION An object of the present invention is to solve the above-mentioned problems, eliminate the need for re-transfer of data, etc. and perform high-speed data transfer, and an input / output control device and a processor used therefor. Between data transfer methods.

【0007】[0007]

【課題を解決するための手段】本発明による入出力制御
装置は、プロセッサ間のデータ転送を行う時にオペレー
ティングシステムから指示されたチャネル装置を使用し
てデータ転送を実行する入出力制御装置であって、前記
オペレーティングシステムからデータ転送命令が入力さ
れた時に前記指示されたチャネル装置及び空き状態にあ
るチャネル装置各々に接続要求を行う接続要求手段と、
前記接続要求に対して接続が成功した全てのチャネル装
置を使用して前記オペレーティングシステムからデータ
転送命令を実行する実行手段とを備えている。
SUMMARY OF THE INVENTION An input / output control device according to the present invention is an input / output control device for executing data transfer using a channel device designated by an operating system when data transfer between processors is performed. Connection request means for making a connection request to each of the designated channel device and the idle channel device when a data transfer command is input from the operating system;
Executing means for executing a data transfer instruction from the operating system using all the channel devices successfully connected to the connection request.

【0008】本発明によるプロセッサ間データ転送方法
は、プロセッサ間のデータ転送を行う時にオペレーティ
ングシステムから指示されたチャネル装置を使用してデ
ータ転送を実行する入出力制御装置のプロセッサ間デー
タ転送方法であって、前記オペレーティングシステムか
らデータ転送命令が入力された時に前記指示されたチャ
ネル装置及び空き状態にあるチャネル装置各々に接続要
求を行うステップと、前記接続要求に対して接続が成功
した全てのチャネル装置を使用して前記オペレーティン
グシステムからデータ転送命令を実行するステップとを
備えている。
A method for transferring data between processors according to the present invention is a method for transferring data between processors of an input / output control device for executing data transfer using a channel device specified by an operating system when transferring data between processors. Making a connection request to each of the designated channel device and the idle channel device when a data transfer command is input from the operating system; and all the channel devices successfully connected to the connection request. Executing a data transfer instruction from the operating system using

【0009】すなわち、本発明の入出力制御装置は、自
装置に内蔵しているFW(ファームウエア)が配下の物
理チャネル装置の管理及び制御を行い、OS(オペレー
ティングシステム)からのデータ転送命令にしたがって
使用を指定された物理チャネル装置と空き状態にある物
理チャネル装置との接続要求を行い、接続が成功した全
ての物理チャネル装置を使用してデータ転送を行ってい
る。
That is, the input / output control device of the present invention manages and controls the physical channel device under the control of a firmware (FW) incorporated therein, and responds to a data transfer command from an OS (operating system). Therefore, a connection request is made between a physical channel device designated for use and a physical channel device in an idle state, and data transfer is performed using all physical channel devices that have been successfully connected.

【0010】これによって、データ転送を開始する前の
接続確認で接続が成功したチャネル装置のみを使用して
データ転送を行うので、データ転送幅を拡大させること
が可能とり、データの再転送等の必要性を解消しかつ高
速なデータ転送を行うことが可能となる。
[0010] Thus, since the data transfer is performed using only the channel device which has been successfully connected in the connection confirmation before starting the data transfer, the data transfer width can be increased, and the data transfer width and the like can be increased. It is possible to eliminate the need and perform high-speed data transfer.

【0011】[0011]

【発明の実施の形態】次に、本発明の一実施例について
図面を参照して説明する。図1は本発明の一実施例によ
る入出力制御装置の構成を示すブロック図である。図に
おいて、入出力制御装置1はFW(ファームウェア)部
2と、MAC(Memory Access Cont
ro1er)部3とから構成され、MAC部3はリクエ
スト送出回路4と、CHU(#0〜#3)対応メモリリ
クエストアドレス生成部(以下、メモリリクエストアド
レス生成部とする)5−1〜5−4とから構成されてい
る。
Next, an embodiment of the present invention will be described with reference to the drawings. FIG. 1 is a block diagram showing a configuration of an input / output control device according to one embodiment of the present invention. In the figure, an input / output control device 1 includes an FW (firmware) unit 2 and a MAC (Memory Access Content).
The MAC unit 3 is composed of a request sending circuit 4 and a memory request address generation unit (hereinafter, referred to as a memory request address generation unit) corresponding to CHU (# 0 to # 3). And 4.

【0012】FW部2はチャネル装置(CHU#0〜C
HU#3)6−1〜6−4の状態制御を行う。つまり、
FW部2は予めスイッチ切替えテーブル(図示せず)を
持ち、接続要求処理時にこのスイッチ切替えテーブルの
データを参照し、スイッチ切替え情報をスイッチ装置
(図示せず)に送出することによってダイナミックに接
続を切替えることを可能としている。
The FW unit 2 includes channel devices (CHU # 0 to CHU # C).
HU # 3) State control of 6-1 to 6-4 is performed. That is,
The FW unit 2 has a switch switching table (not shown) in advance, refers to the data of the switch switching table at the time of connection request processing, and sends switch switching information to a switch device (not shown) to dynamically connect. It is possible to switch.

【0013】MAC部3はメモリ転送を制御する。つま
り、MAC部3のリクエスト送出回路4は各チャネル装
置6−1〜6−4からのメモリリクエストを調停し、メ
モリ(図示せず)に送出する。メモリリクエストアドレ
ス生成部5−1〜5−4は各チャネル装置6−1〜6−
4対応のメモリリクエストアドレスを生成する。
The MAC unit 3 controls memory transfer. That is, the request sending circuit 4 of the MAC unit 3 arbitrates the memory requests from the respective channel devices 6-1 to 6-4 and sends them to the memory (not shown). The memory request address generation units 5-1 to 5-4 are provided for each of the channel devices 6-1 to 6-
A corresponding memory request address is generated.

【0014】図2は図1のメモリリクエストアドレス生
成部5−1〜5−4(以下、メモリリクエストアドレス
生成部5−1〜5−4をまとめてメモリリクエストアド
レス生成部5とする)の構成を示すブロック図である。
FIG. 2 shows the configuration of the memory request address generators 5-1 to 5-4 in FIG. 1 (hereinafter, the memory request address generators 5-1 to 5-4 are collectively referred to as a memory request address generator 5). FIG.

【0015】図において、メモリリクエストアドレス生
成部5−1〜5−4はセレクタ51,54と、転送量減
算カウンタ52と、メモリリクエストアドレス要素間距
離レジスタ(以下、要素間距離レジスタとする)53
と、次(NEXT)アドレスレジスタ55と、次アドレ
ス生成回路56とから構成されている。
In the figure, memory request address generators 5-1 to 5-4 are provided with selectors 51 and 54, a transfer amount subtraction counter 52, and a memory request address element distance register (hereinafter referred to as an element distance register) 53.
, A next (NEXT) address register 55, and a next address generation circuit 56.

【0016】セレクタ51はFW部2からの初期値(転
送量)と転送量減算カウンタ52の出力とのうちの一方
を選択して転送量減算カウンタ52に出力する。転送量
減算カウンタ52はセレクタ51を介してFW部2から
の初期値が設定されると、その初期値をメモリ転送が行
われる毎にデクリメントする。
The selector 51 selects one of the initial value (transfer amount) from the FW unit 2 and the output of the transfer amount subtraction counter 52 and outputs it to the transfer amount subtraction counter 52. When an initial value from the FW unit 2 is set via the selector 51, the transfer amount subtraction counter 52 decrements the initial value every time a memory transfer is performed.

【0017】要素間距離レジスタ53はFW部2からの
初期値(要素間距離)を保持する。セレクタ54はFW
部2からの初期値(次アドレス)と次アドレス生成回路
56の出力とのうちの一方を選択して次アドレスレジス
タ55に出力する。
The inter-element distance register 53 holds an initial value (inter-element distance) from the FW unit 2. Selector 54 is FW
One of the initial value (next address) from the section 2 and the output of the next address generation circuit 56 is selected and output to the next address register 55.

【0018】次アドレスレジスタ55はFW部2からの
初期値と次アドレス生成回路56で算出された値とを格
納する。次アドレス生成回路56はメモリ転送が行われ
る毎に要素間距離レジスタ53に保持された値と次アド
レスレジスタ55に保持された値とから次メモリリクエ
ストアドレスを算出する。
The next address register 55 stores the initial value from the FW unit 2 and the value calculated by the next address generation circuit 56. The next address generation circuit 56 calculates a next memory request address from the value held in the inter-element distance register 53 and the value held in the next address register 55 every time a memory transfer is performed.

【0019】図3は本発明の一実施例のシステム構成を
示すブロック図である。図において、本発明の一実施例
のシステムは入出力制御装置(IOP)配下に4台のチ
ャネル装置を有するプロセッサ(#0〜#3)7−1〜
7−4がスイッチ回路8を介して互いに接続されるよう
構成されている。
FIG. 3 is a block diagram showing a system configuration according to one embodiment of the present invention. In the figure, a system according to an embodiment of the present invention includes processors (# 0 to # 3) 7-1 to 4 having four channel units under an input / output control unit (IOP).
7-4 are connected to each other via a switch circuit 8.

【0020】図4は本発明の一実施例による送信時のプ
ロセッサ間データ転送動作を示すシーケンスチャートで
あり、図5は本発明の一実施例による受信時のプロセッ
サ間データ転送動作を示すシーケンスチャートである。
また、図6〜図9は本発明の一実施例によるプロセッサ
間データ転送動作を示すフローチャートである。これら
図1〜図9を参照して本発明の一実施例によるプロセッ
サ間データ転送動作について説明する。
FIG. 4 is a sequence chart showing an inter-processor data transfer operation during transmission according to one embodiment of the present invention, and FIG. 5 is a sequence chart showing an inter-processor data transfer operation during reception according to one embodiment of the present invention. It is.
6 to 9 are flow charts showing an inter-processor data transfer operation according to one embodiment of the present invention. The data transfer operation between processors according to one embodiment of the present invention will be described with reference to FIGS.

【0021】まず、送信時のプロセッサ間データ転送動
作を行う場合、OS(オペレータィングシステム)(図
示せず)は入出力制御装置1に対してプロセッサ間デー
タ転送送信命令を発行する。このプロセッサ間データ転
送送信命令の情報にはメモリ初期アドレス、転送量、使
用チャネル番号等が含まれている。ここでは使用チャネ
ル番号がCHU#0の場合について述べる。
First, when performing an inter-processor data transfer operation during transmission, an OS (operating system) (not shown) issues an inter-processor data transfer transmission command to the input / output control device 1. The information of the inter-processor data transfer transmission instruction includes a memory initial address, a transfer amount, a used channel number, and the like. Here, a case where the used channel number is CHU # 0 will be described.

【0022】入出力制御装置1はOSからのプロセッサ
間データ転送命令を受信し(図6ステップS1)、その
プロセッサ間データ転送命令を送信命令と判定すると
(図6ステップS2)、配下の全チャネル装置6−1〜
6−4の状態をチェックし(図6ステップS3)、スイ
ッチ切替えテーブルを参照して指定されたチャネル装置
及び他の使用可能な未使用チャネル装置全てに対してス
イッチ切替え及び接続要求処理を行う(図6ステップS
4)。この場合、接続要求には接続元のプロセッサ番号
等の情報を含んで通知を行う。
The input / output control device 1 receives an inter-processor data transfer command from the OS (step S1 in FIG. 6), and determines that the inter-processor data transfer command is a transmission command (step S2 in FIG. 6). Device 6-1
The state of 6-4 is checked (step S3 in FIG. 6), and switch switching and connection request processing are performed for the designated channel device and all other available unused channel devices with reference to the switch switching table (FIG. 6). FIG. 6 step S
4). In this case, the connection request is notified including information such as the connection source processor number.

【0023】この接続要求に対して接続先のチャネル装
置またはスイッチ回路8からは接続許可または接続拒否
が通知される。スイッチ回路8が接続拒否を通知する場
合は転送要求先のチャネル装置がデータ転送中の場合で
ある。
In response to the connection request, the connection destination channel device or the switch circuit 8 notifies the connection permission or the connection rejection. The case where the switch circuit 8 notifies the connection rejection is a case where the transfer request destination channel device is performing data transfer.

【0024】FW部2は接続要求処理を行った全てのチ
ャネル装置に対する接続許可または接続拒否の通知を待
合せ(図6ステップS5〜S9)、接続が成功したチャ
ネル装置を確認する(図7ステップS10)。ここでは
4台のチャネル装置6−1〜6−4が接続に成功したも
のとする。
The FW unit 2 waits for notification of connection permission or connection rejection for all the channel devices that have performed the connection request processing (steps S5 to S9 in FIG. 6), and confirms the channel device that has succeeded in connection (step S10 in FIG. 7). ). Here, it is assumed that four channel devices 6-1 to 6-4 have successfully connected.

【0025】FW部2は接続要求処理が成功した全ての
チャネル装置6−1〜6−4に対して、分割した転送デ
ータの割当て情報等を接続先チャネル装置に対して送出
する(図7ステップS11)。
The FW unit 2 sends the divided transfer data allocation information and the like to the destination channel device to all the channel devices 6-1 to 6-4 for which the connection request processing has succeeded (step in FIG. 7). S11).

【0026】FW部2は接続が成功した各チャネル装置
6−1〜6−4に対応するメモリリクエストアドレス生
成部5の次アドレスレジスタ55に夫々のメモリリクエ
スト初期アドレスを設定する(図7ステップS12)。
例えば、 CHU#0:メモリリクエスト初期アドレス CHU#1:メモリリクエスト初期アドレス+1 CHU#2:メモリリクエスト初期アドレス+2 CHU#3:メモリリクエスト初期アドレス+3 というように4台のチャネル装置6−1〜6−4夫々に
対応してメモリリクエスト初期アドレスを設定する。
The FW unit 2 sets each memory request initial address in the next address register 55 of the memory request address generation unit 5 corresponding to each of the channel devices 6-1 to 6-4 to which connection was successful (step S12 in FIG. 7). ).
For example, CHU # 0: memory request initial address CHU # 1: memory request initial address + 1 CHU # 2: memory request initial address + 2 CHU # 3: memory request initial address + 3 -4 sets a memory request initial address corresponding to each of them.

【0027】また、FW部2は各チャネル装置6−1〜
6−4対応の要素間距離レジスタ53に接続が成功した
チャネル装置台数「4」を、転送量減算カウンタ52に
全転送量を接続が成功したチャネル装置台数「4」で等
分した値を設定する(図7ステップS13)。
The FW unit 2 is provided with each of the channel devices 6-1 to 6-1.
A value obtained by equally dividing the number of successfully connected channel devices “4” in the 6-4 corresponding element distance register 53 by the number of successfully connected channel devices “4” in the transfer amount subtraction counter 52 is set. (Step S13 in FIG. 7).

【0028】各チャネル装置6−1〜6−4はFW部2
から設定されたメモリリクエストアドレス、要素間距
離、転送量にしたがってデータ転送を行い(図7ステッ
プS14)、全チャネル装置6−1〜6−4のデータ転
送が終了すると(図7ステップS15)、FW部2はO
Sに対してプロセッサ間データ転送の終了を報告する
(図7ステップS16)(図4参照)。
Each of the channel devices 6-1 to 6-4 is connected to the FW unit 2
The data transfer is performed in accordance with the memory request address, the inter-element distance, and the transfer amount set from (step S14 in FIG. 7). When the data transfer of all the channel devices 6-1 to 6-4 is completed (step S15 in FIG. 7), FW part 2 is O
It reports the end of the inter-processor data transfer to S (step S16 in FIG. 7) (see FIG. 4).

【0029】上記の説明は4台のチャネル装置6−1〜
6−4で転送要求処理が成功した場合の動作を示してい
るが、空きチャネル装置への接続要求処理で、接続が接
続拒否の通知によって失敗した場合には接続が成功した
チャネル装置のみを使用することになり、各チャネル装
置のメモリリクエスト初期アドレス、転送量、要素間距
離等の設定を接続が成功したチャネル台数に対応した設
定に変更し、上記と同様にしてデータ転送を行う。ま
た、指定チャネル装置が接続に失敗した場合には、他の
空きチャネル装置が接続に成功した場合でも、FW部2
は転送失敗の旨をOSに対して報告する。
The above description is based on the four channel devices 6-1 to 6-1.
6-4 shows the operation in the case where the transfer request processing is successful, but in the connection request processing for an empty channel device, if the connection fails due to the notification of connection rejection, only the channel device for which connection was successful is used. That is, the settings of the memory request initial address, transfer amount, inter-element distance, etc. of each channel device are changed to settings corresponding to the number of successfully connected channels, and data transfer is performed in the same manner as described above. Further, when the connection of the designated channel device fails, the FW unit 2 does not connect even if another free channel device succeeds in connection.
Reports the transfer failure to the OS.

【0030】次に、受信時のプロセッサ間データ転送動
作を行う場合、OSは入出力制御装置1に対してプロセ
ッサ間データ転送命令を発行する。この命令の情報には
転送元のプロセッサ番号、メモリ初期アドレス、転送
量、使用チャネル番号等が含まれている。ここでは使用
チャネル番号がCHU#0の場合について述べる。
Next, when performing an inter-processor data transfer operation at the time of reception, the OS issues an inter-processor data transfer instruction to the input / output control device 1. The information of this instruction includes a processor number of a transfer source, a memory initial address, a transfer amount, a used channel number, and the like. Here, a case where the used channel number is CHU # 0 will be described.

【0031】入出力制御装置1はOSからのプロセッサ
間データ転送命令を受信し(図6ステップS1)、その
プロセッサ間データ転送命令を受信命令と判定すると
(図6ステップS2)、FW部2は各チャネル装置6−
1〜6−4からの接続要求通知を検出すると(図8ステ
ップS17)、この接続要求通知によって接続元のプロ
セッサ番号とチャネル装置の状態とをチェックし(図8
ステップS18)、接続要求されたチャネル装置を介し
て接続許可または接続拒否を接続要求元チャネル装置に
対して通知する(図8ステップS21,S23)。
When the input / output control device 1 receives an inter-processor data transfer command from the OS (step S1 in FIG. 6) and determines that the inter-processor data transfer command is a reception command (step S2 in FIG. 6), the FW unit 2 Each channel device 6
Upon detecting the connection request notification from 1 to 6-4 (step S17 in FIG. 8), the connection request processor checks the processor number of the connection source and the state of the channel device (FIG. 8).
Step S18), the connection requesting channel device is notified of connection permission or connection rejection via the connection-requested channel device (FIG. 8, steps S21 and S23).

【0032】接続要求通知を検出するときのチャネル装
置の状態は、a)プロセッサ間データ転送命令で指定さ
れたチャネル装置でかつ転送元プロセッサ番号が一致し
ている状態、b)プロセッサ間データ転送命令で指定さ
れたチャネル装置でかつ転送元プロセッサ番号が不一致
である状態、c)プロセッサ間データ転送命令で指定さ
れていない状態の3つの状態のいずれかである。
The state of the channel device when detecting the connection request notification is as follows: a) The channel device specified by the inter-processor data transfer instruction and the transfer source processor number match; b) The inter-processor data transfer instruction And c) the state in which the transfer source processor numbers do not match, and c) the state not specified by the inter-processor data transfer instruction.

【0033】よって、FW部2はa)またはc)の状態
のチャネル装置を検出した接続要求に対して接続許可を
通知し(図8ステップS19,S22,S23)、b)
の状態のチャネル装置を検出した接続要求に対して接続
拒否を通知する(図8ステップS20,S21)。FW
部2は上記のチェックを接続要求を行った全てのチャネ
ル装置に対して繰返し行う(図8ステップS18〜S2
4)。ここでは4台のチャネル装置6−1〜6−4に接
続許可を通知したものとする。
Therefore, the FW unit 2 notifies connection permission in response to the connection request detecting the channel device in the state a) or c) (steps S19, S22, S23 in FIG. 8, b).
A connection rejection is notified in response to the connection request that has detected the channel device in the state (2) (steps S20 and S21 in FIG. 8). FW
The unit 2 repeats the above check for all the channel devices that have issued the connection request (steps S18 to S2 in FIG. 8).
4). Here, it is assumed that the connection permission has been notified to the four channel devices 6-1 to 6-4.

【0034】FW部2はOSから指定されたチャネル装
置と他の未使用状態であった各チャネル装置の接続先チ
ャネル装置からの接続情報とを参照し、該プロセッサ間
データ転送命令に使用するチャネル装置及び分割データ
の割当て情報を得る(図9ステップS25)。
The FW unit 2 refers to the channel device designated by the OS and the connection information from the destination channel device of each unused channel device, and uses the channel used for the data transfer instruction between processors. The allocation information of the device and the divided data is obtained (step S25 in FIG. 9).

【0035】入出力制御装置1は接続された各チャネル
装置6−1〜6−4に対応するメモリリクエストアドレ
ス生成部5の次アドレスレジスタ55に夫々のメモリリ
クエスト初期アドレスを設定する(図9ステップS2
6)。例えば、 CHU#0:メモリリクエスト初期アドレス CHU#1:メモリリクエスト初期アドレス+1 CHU#2:メモリリクエスト初期アドレス+2 CHU#3:メモリリクエスト初期アドレス+3 というように4台のチャネル装置6−1〜6−4夫々に
対応してメモリリクエスト初期アドレスを設定する。
The input / output control device 1 sets each memory request initial address in the next address register 55 of the memory request address generator 5 corresponding to each of the connected channel devices 6-1 to 6-4 (step in FIG. 9). S2
6). For example, CHU # 0: memory request initial address CHU # 1: memory request initial address + 1 CHU # 2: memory request initial address + 2 CHU # 3: memory request initial address + 3 -4 sets a memory request initial address corresponding to each of them.

【0036】また、FW部2は各チャネル装置6−1〜
6−4対応の要素間距離レジスタ53に接続されたチャ
ネル装置台数「4」を、転送量減算カウンタ52に全転
送量を接続された全チャネル装置台数「4」で等分した
値を設定する(図9ステップS27)。
The FW unit 2 is provided with each of the channel devices 6-1 to 6-1.
A value obtained by equally dividing the number of channel devices “4” connected to the element distance register 53 corresponding to 6-4 by the number of all channel devices “4” connected to the transfer amount subtraction counter 52 is set. (Step S27 in FIG. 9).

【0037】各チャネル装置6−1〜6−4はFW部2
から設定されたメモリリクエストアドレス、要素間距
離、転送量にしたがってデータ転送を行い(図9ステッ
プS28)、全チャネル装置6−1〜6−4のデータ転
送が終了すると(図9ステップS29)、FW部2はO
Sに対してプロセッサ間データ転送の終了を報告する
(図9ステップS30)(図5参照)。
Each of the channel devices 6-1 to 6-4 has a FW unit 2
The data transfer is performed in accordance with the memory request address, the inter-element distance, and the transfer amount set from (step S28 in FIG. 9). When the data transfer of all the channel devices 6-1 to 6-4 is completed (step S29 in FIG. 9), FW part 2 is O
It reports the end of the data transfer between processors to S (FIG. 9, step S30) (see FIG. 5).

【0038】上記の説明は4台のチャネル装置6−1〜
6−4に転送許可を通知した場合の動作を示している
が、すでにデータ転送命令を受取っている等の理由によ
って転送拒否を行った場合、接続を許可したチャネル装
置のみを使用することになり、各チャネル装置のメモリ
リクエスト初期アドレス、転送量、要素間距離等の設定
が接続許可したチャネル台数に対応した設定に変更し、
上記と同様にしてデータ転送を行う。
The above description is based on the four channel devices 6-1 to 6-1.
The operation when the transfer permission is notified to 6-4 is shown. However, if the transfer is rejected due to the fact that a data transfer instruction has already been received, only the channel device for which connection has been permitted will be used. The settings of the memory request initial address, transfer amount, distance between elements, etc. of each channel device are changed to settings corresponding to the number of channels permitted to be connected,
Data transfer is performed in the same manner as described above.

【0039】図10は本発明の一実施例による転送デー
タの分割例を示す図である。図において、メモリのアド
レスAに格納されたデータを各チャネル装置CHU#0
〜CHU#3を介して転送する場合、各チャネル装置C
HU#0〜CHU#3毎の転送量は「全転送量/使用す
るチャネル台数」となり、転送データの初期アドレスは
チャネル装置番号で1ワードずつずらした形式で送出さ
れ、受信側でデータの並びを元に戻すことになる。
FIG. 10 is a diagram showing an example of division of transfer data according to one embodiment of the present invention. In the figure, data stored at address A of the memory is transferred to each channel device CHU # 0.
To CHU # 3, each channel device C
The transfer amount for each of HU # 0 to CHU # 3 is "total transfer amount / number of channels to be used". The initial address of the transfer data is sent out in a format shifted by one word by the channel device number, and the receiving side arranges the data. Will be restored.

【0040】すなわち、送信側のチャネル装置CHU#
0はアドレスA+0,アドレスA+4,・・・のデータ
を転送し、チャネル装置CHU#1はアドレスA+1,
アドレスA+5,・・・のデータを転送し、チャネル装
置CHU#2はアドレスA+2,アドレスA+6,・・
・のデータを転送し、チャネル装置CHU#3はアドレ
スA+3,アドレスA+7,・・・のデータを転送す
る。
That is, the channel device CHU # on the transmission side
0 transfers data of address A + 0, address A + 4,..., And channel unit CHU # 1 transfers address A + 1,
The data of the address A + 5,... Is transferred, and the channel unit CHU # 2 is transferred to the address A + 2, the address A + 6,.
, And the channel device CHU # 3 transfers the data of the address A + 3, the address A + 7,...

【0041】一方、受信側のチャネル装置CHU#0は
送信側のチャネル装置CHU#0からのデータa,e,
・・・をメモリのアドレスB+0,アドレスB+4,・
・・に格納し、チャネル装置CHU#1は送信側のチャ
ネル装置CHU#1からのデータb,f,・・・をメモ
リのアドレスB+1,アドレスB+5,・・・に格納
し、チャネル装置CHU#2は送信側のチャネル装置C
HU#2からのデータc,g,・・・をメモリのアドレ
スB+0,アドレスB+4,・・・に格納し、チャネル
装置CHU#3は送信側のチャネル装置CHU#3から
のデータd,h,・・・をメモリのアドレスB+0,ア
ドレスB+4,・・・に格納して元のデータに戻す。
On the other hand, the channel device CHU # 0 on the receiving side receives data a, e,
... are the addresses B + 0, B + 4,.
.., And the channel device CHU # 1 stores the data b, f,... From the transmission-side channel device CHU # 1 at addresses B + 1, B + 5,. 2 is a channel device C on the transmission side
.. Are stored at addresses B + 0, B + 4,... Of the memory, and the channel unit CHU # 3 stores the data d, h,. .. Are stored at addresses B + 0, B + 4,.

【0042】上述した操作は接続直後に送信側チャネル
装置CHU#0〜CHU#3から受信側チャネル装置C
HU#0〜CHU#3へと送られる接続情報によって行
われる。各チャネル装置のデータ転送は同時に実行され
るため、この場合、データ転送時間は1チャネルでデー
タ転送を行った場合の「1/使用したチャネル台数」に
短縮される。
The above-described operation is performed immediately after the connection, from the transmitting-side channel devices CHU # 0 to CHU # 3 to the receiving-side channel device C.
This is performed based on the connection information sent to HU # 0 to CHU # 3. Since the data transfer of each channel device is performed simultaneously, in this case, the data transfer time is shortened to “1 / number of used channels” when data transfer is performed in one channel.

【0043】このように、入出力制御装置1に内蔵され
ているFW部2が配下のチャネル装置6−1〜6−4の
管理及び制御を行い、OSからのデータ転送命令にした
がって使用を指定されたチャネル装置と空き状態にある
チャネル装置との接続要求を行い、接続が成功した全て
のチャネル装置を使用してデータ転送を行うことによっ
て、データ転送を開始する前の接続確認で接続が成功し
たチャネル装置のみを使用してデータ転送を行うので、
データ転送幅を拡大させることができ、データの再転送
等の必要性を解消しかつ高速なデータ転送を行うことが
できる。
As described above, the FW unit 2 built in the input / output control device 1 manages and controls the subordinate channel devices 6-1 to 6-4, and designates use according to a data transfer command from the OS. Makes a connection request between the connected channel device and the idle channel device, and performs data transfer using all the successfully connected channel devices. Since the data transfer is performed using only the channel device
It is possible to increase the data transfer width, eliminate the necessity of re-transfer of data, and perform high-speed data transfer.

【0044】[0044]

【発明の効果】以上説明したように本発明によれば、プ
ロセッサ間のデータ転送を行う時にオペレーティングシ
ステムから指示されたチャネル装置を使用してデータ転
送を実行する入出力制御装置において、オペレーティン
グシステムからデータ転送命令が入力された時に指示さ
れたチャネル装置及び空き状態にあるチャネル装置各々
に接続要求を行い、その接続要求に対して接続が成功し
た全てのチャネル装置を使用してオペレーティングシス
テムからデータ転送命令を実行することによって、デー
タの再転送等の必要性を解消することができかつ高速な
データ転送を行うことができるという効果がある。
As described above, according to the present invention, there is provided an input / output control device for executing data transfer using a channel device designated by an operating system when data is transferred between processors. When a data transfer command is input, a connection request is made to each of the designated channel device and the idle channel device, and data is transferred from the operating system using all the channel devices that have successfully connected to the connection request. By executing the instruction, it is possible to eliminate the necessity of re-transferring data and the like, and it is possible to perform high-speed data transfer.

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

【図1】本発明の一実施例による入出力制御装置の構成
を示すブロック図である。
FIG. 1 is a block diagram illustrating a configuration of an input / output control device according to an embodiment of the present invention.

【図2】図1のメモリリクエストアドレス生成部の構成
を示すブロック図である。
FIG. 2 is a block diagram illustrating a configuration of a memory request address generator of FIG. 1;

【図3】本発明の一実施例のシステム構成を示すブロッ
ク図である。
FIG. 3 is a block diagram illustrating a system configuration according to an embodiment of the present invention.

【図4】本発明の一実施例による送信時のプロセッサ間
データ転送動作を示すシーケンスチャートである。
FIG. 4 is a sequence chart showing an inter-processor data transfer operation during transmission according to one embodiment of the present invention.

【図5】本発明の一実施例による受信時のプロセッサ間
データ転送動作を示すシーケンスチャートである。
FIG. 5 is a sequence chart showing an inter-processor data transfer operation during reception according to an embodiment of the present invention.

【図6】本発明の一実施例によるプロセッサ間データ転
送動作を示すフローチャートである。
FIG. 6 is a flowchart illustrating an inter-processor data transfer operation according to an embodiment of the present invention.

【図7】本発明の一実施例によるプロセッサ間データ転
送動作を示すフローチャートである。
FIG. 7 is a flowchart illustrating an inter-processor data transfer operation according to an embodiment of the present invention.

【図8】本発明の一実施例によるプロセッサ間データ転
送動作を示すフローチャートである。
FIG. 8 is a flowchart illustrating an inter-processor data transfer operation according to an embodiment of the present invention.

【図9】本発明の一実施例によるプロセッサ間データ転
送動作を示すフローチャートである。
FIG. 9 is a flowchart illustrating an inter-processor data transfer operation according to an embodiment of the present invention.

【図10】本発明の一実施例による転送データの分割例
を示す図である。
FIG. 10 is a diagram showing an example of dividing transfer data according to an embodiment of the present invention.

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

1 入出力制御装置 2 ファームウェア部 3 MAC部 4 リクエスト送出回路 5−1〜5−4 CHU(#0〜#3)対応メモリリク
エストアドレス生成部 6−1〜6−4 チャネル装置(CHU#0〜CHU#
3) 7−1〜7−4 プロセッサ(#0〜#3) 8 スイッチ回路 51,54 セレクタ 52 転送量減算カウンタ 53 メモリリクエストアドレス要素間距離レジスタ 55 次アドレスレジスタ 56 次アドレス生成回路
Reference Signs List 1 input / output control device 2 firmware unit 3 MAC unit 4 request transmission circuit 5-1 to 5-4 memory request address generation unit corresponding to CHU (# 0 to # 3) 6-1 to 6-4 channel device (CHU # 0 CHU #
3) 7-1 to 7-4 Processor (# 0 to # 3) 8 Switch circuit 51, 54 Selector 52 Transfer amount subtraction counter 53 Memory request address element distance register 55 Next address register 56 Next address generation circuit

Claims (8)

【特許請求の範囲】[Claims] 【請求項1】 プロセッサ間のデータ転送を行う時にオ
ペレーティングシステムから指示されたチャネル装置を
使用してデータ転送を実行する入出力制御装置であっ
て、前記オペレーティングシステムからデータ転送命令
が入力された時に前記指示されたチャネル装置及び空き
状態にあるチャネル装置各々に接続要求を行う接続要求
手段と、前記接続要求に対して接続が成功した全てのチ
ャネル装置を使用して前記オペレーティングシステムか
らデータ転送命令を実行する実行手段とを有することを
特徴とする入出力制御装置。
1. An input / output control device for executing data transfer using a channel device designated by an operating system when data is transferred between processors, wherein the input / output control device receives a data transfer command from the operating system. A connection request unit for making a connection request to each of the designated channel device and the channel device in an idle state; and a data transfer instruction from the operating system using all the channel devices successfully connected to the connection request. An input / output control device comprising: an execution unit that executes the operation.
【請求項2】 前記接続要求手段及び前記実行手段がフ
ァームウェアからなることを特徴とする請求項1記載の
入出力制御装置。
2. The input / output control device according to claim 1, wherein said connection requesting means and said executing means comprise firmware.
【請求項3】 前記オペレーティングシステムからデー
タ転送命令が送信命令の時に送信すべきデータを前記接
続が成功した全てのチャネル装置で分割して送信するよ
う構成したことを特徴とする請求項1または請求項2記
載の入出力制御装置。
3. The system according to claim 1, wherein data to be transmitted when the data transfer command is a transmission command from the operating system is divided and transmitted by all the channel devices that have succeeded in the connection. Item 2. The input / output control device according to Item 2.
【請求項4】 前記オペレーティングシステムからデー
タ転送命令が受信命令の時に前記接続が成功した全ての
チャネル装置で分割して受信したデータを合成するよう
構成したことを特徴とする請求項3記載の入出力制御装
置。
4. The input device according to claim 3, wherein when the data transfer command from the operating system is a reception command, the received data is divided and synthesized by all the channel devices that have succeeded in the connection. Output control device.
【請求項5】 プロセッサ間のデータ転送を行う時にオ
ペレーティングシステムから指示されたチャネル装置を
使用してデータ転送を実行する入出力制御装置のプロセ
ッサ間データ転送方法であって、前記オペレーティング
システムからデータ転送命令が入力された時に前記指示
されたチャネル装置及び空き状態にあるチャネル装置各
々に接続要求を行うステップと、前記接続要求に対して
接続が成功した全てのチャネル装置を使用して前記オペ
レーティングシステムからデータ転送命令を実行するス
テップとを有することを特徴とするプロセッサ間データ
転送方法。
5. An inter-processor data transfer method of an input / output control device for executing data transfer using a channel device designated by an operating system when data transfer between processors is performed, wherein the data transfer from the operating system is performed. Making a connection request to each of the designated channel device and the idle channel device when a command is input; and, from the operating system, using all the channel devices successfully connected to the connection request. Executing a data transfer instruction.
【請求項6】 前記接続要求を行うステップと前記デー
タ転送命令を実行するステップとがファームウェアから
なることを特徴とする請求項5記載のプロセッサ間デー
タ転送方法。
6. The method according to claim 5, wherein the step of making the connection request and the step of executing the data transfer instruction comprise firmware.
【請求項7】 前記オペレーティングシステムからデー
タ転送命令が送信命令の時に送信すべきデータを前記接
続が成功した全てのチャネル装置で分割して送信するよ
うにしたことを特徴とする請求項5または請求項6記載
のプロセッサ間データ転送方法。
7. The transmission method according to claim 5, wherein data to be transmitted when the data transfer command is a transmission command from the operating system is divided and transmitted by all the channel devices that have succeeded in the connection. Item 7. An inter-processor data transfer method according to Item 6.
【請求項8】 前記オペレーティングシステムからデー
タ転送命令が受信命令の時に前記接続が成功した全ての
チャネル装置で分割して受信したデータを合成するよう
にしたことを特徴とする請求項7記載のプロセッサ間デ
ータ転送方法。
8. The processor according to claim 7, wherein when the data transfer command from the operating system is a reception command, the received data is divided and combined by all the channel devices that have successfully connected. Data transfer method.
JP10355181A 1998-12-14 1998-12-14 Input and output controller and inter-processor data transfer method to be used in the same Withdrawn JP2000181851A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10355181A JP2000181851A (en) 1998-12-14 1998-12-14 Input and output controller and inter-processor data transfer method to be used in the same

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10355181A JP2000181851A (en) 1998-12-14 1998-12-14 Input and output controller and inter-processor data transfer method to be used in the same

Publications (1)

Publication Number Publication Date
JP2000181851A true JP2000181851A (en) 2000-06-30

Family

ID=18442429

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10355181A Withdrawn JP2000181851A (en) 1998-12-14 1998-12-14 Input and output controller and inter-processor data transfer method to be used in the same

Country Status (1)

Country Link
JP (1) JP2000181851A (en)

Similar Documents

Publication Publication Date Title
US7139861B2 (en) Input/output unit access switching system and method
KR900018794A (en) Data Processing System and Its Processing Method
JPH10207804A (en) Dummy terminal system and dummy terminal equipment
JPS6215649A (en) Means for selective connection between several boats and several channels
JPH01270161A (en) Common bus control system
JP4592242B2 (en) Server / client system
US8359564B2 (en) Circuit design information generating equipment, function execution system, and memory medium storing program
JP2002229967A (en) Computer system, cpu/memory-mounted device and input- output device
JPH08289065A (en) Multi-function image processing unit
JP2006304011A (en) Interface circuit
JP2000181851A (en) Input and output controller and inter-processor data transfer method to be used in the same
EP1594068A2 (en) PCI Bus system
JPS62121562A (en) Data communication system
JP2000244585A (en) Bus interface circuit
JP2507140B2 (en) Multiple parallel data bus device
JP3221340B2 (en) Extended input device control method
JP2000322370A (en) Data outputting circuit
JPH0730706A (en) Facsimile equipment
JPH10320345A (en) Bus controller
JP2812265B2 (en) Network management method for information processing system
JPH08185286A (en) Printer controller
JPH04140876A (en) Data processing system
JPH05308399A (en) Duplex communication control
JPH0887477A (en) Service requesting method
JPH10320346A (en) Input and output processor

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20060307