JPH0944438A - Multiple processing method of synchronous type input / output instructions - Google Patents
Multiple processing method of synchronous type input / output instructionsInfo
- Publication number
- JPH0944438A JPH0944438A JP19026995A JP19026995A JPH0944438A JP H0944438 A JPH0944438 A JP H0944438A JP 19026995 A JP19026995 A JP 19026995A JP 19026995 A JP19026995 A JP 19026995A JP H0944438 A JPH0944438 A JP H0944438A
- Authority
- JP
- Japan
- Prior art keywords
- instruction
- output
- input
- processor
- channel
- 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
- 230000001360 synchronised effect Effects 0.000 title claims abstract description 49
- 238000003672 processing method Methods 0.000 title description 2
- 230000004913 activation Effects 0.000 claims abstract description 39
- 238000000034 method Methods 0.000 claims description 14
- 230000003213 activating effect Effects 0.000 claims description 5
- 238000010586 diagram Methods 0.000 description 8
- 230000000694 effects Effects 0.000 description 1
Abstract
(57)【要約】
【目的】 複数の命令プロセッサから同期タイプ入出力
命令が発行されたとき、該命令を多重に処理することに
よって高速化を図る。
【構成】 起動情報格納領域8を獲得した命令プロセッ
サ1は、領域8に起動情報を格納し、領域10に識別情
報(命令プロセッサ番号)を格納する。命令プロセッサ
1は、インタフェース制御装置2を介して入出力プロセ
ッサ4に対して入出力起動をかける。入出力プロセッサ
4は起動応答を返し、チャネル6、デバイスを起動し、
入出力割り込みを報告する。これで、インタフェース2
とチャネルパス5が開放され、他のプロセッサ1からの
入出力命令の起動を可能にする。入出力プロセッサ4
が、命令プロセッサ1に対応した記憶領域11に終了の
通知を書き込むまで、命令プロセッサ1は該記憶領域を
ポーリングする。
(57) [Abstract] [Purpose] When a synchronous type input / output instruction is issued from a plurality of instruction processors, the speed is increased by processing the instructions in a multiplexed manner. [Structure] The instruction processor 1 that has acquired the boot information storage area 8 stores boot information in the area 8 and identification information (command processor number) in the area 10. The instruction processor 1 activates input / output to the input / output processor 4 via the interface control device 2. The input / output processor 4 returns the activation response, activates the channel 6 and the device,
Report I / O interrupts. Now interface 2
The channel path 5 is opened, and the input / output instruction from another processor 1 can be activated. I / O processor 4
However, until the end notification is written in the storage area 11 corresponding to the instruction processor 1, the instruction processor 1 polls the storage area.
Description
【0001】[0001]
【産業上の利用分野】本発明は、複数の命令プロセッサ
から発行される同期タイプ入出力命令を多重に処理する
方法に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method for multiplex processing of synchronous type input / output instructions issued from a plurality of instruction processors.
【0002】[0002]
【従来の技術】同期タイプ入出力命令は、命令プロセッ
サと入出力プロセッサ間のハードウェアのインタフェー
スが、一般に、命令プロセッサから入出力プロセッサへ
の入出力起動と、その応答である入出力起動応答と、命
令終了を報告する入出力割込みからなり、命令プロセッ
サと入出力プロセッサが同期して命令を実行することか
らその名が付けられている。そして、このハードウェア
のインタフェースは、1つの同期タイプ入出力命令の起
動から終了までの間、占有されるため、同時に1つの同
期タイプ入出力命令しか実行できない。2. Description of the Related Art Synchronous type input / output instructions generally consist of an input / output activation from an instruction processor to an input / output processor and an input / output activation response which is a response from the instruction processor , It consists of an input / output interrupt that reports the end of an instruction, and is named because the instruction processor and the input / output processor execute instructions in synchronization. Since this hardware interface is occupied from the start to the end of one synchronous type input / output instruction, only one synchronous type input / output instruction can be executed at the same time.
【0003】同期タイプ入出力命令を多重で処理するた
めに、各命令プロセッサと各入出力プロセッサ間の前記
インタフェースを、各々独立に持つことで、複数の命令
プロセッサからの同期タイプ入出力命令の実行を並行し
て行う方法があるが、命令プロセッサと入出力プロセッ
サの数が増えるに従い、ハードウェア量が膨大になる。In order to process synchronous type input / output instructions in a multiple manner, each instruction processor and the above-mentioned interface between each input / output processor are independently provided to execute synchronous type input / output instructions from a plurality of instruction processors. There is a method of doing the above in parallel, but as the number of instruction processors and I / O processors increases, the amount of hardware becomes enormous.
【0004】一方、非同期タイプの入出力命令は、命令
プロセッサが命令をキューに登録すると次の命令に進
み、入出力プロセッサが非同期にキューから命令を読み
出して命令を実行するもので、多くの入出力命令を処理
することができるが、命令が起動されてから実行される
までの時間が不確定となる。On the other hand, an asynchronous type input / output instruction is such that when an instruction processor registers an instruction in a queue, it advances to the next instruction, and the input / output processor asynchronously reads the instruction from the queue and executes the instruction. The output instruction can be processed, but the time from the activation of the instruction to its execution is uncertain.
【0005】図4は、従来のデータ処理システムを示す
図である。1はプログラムを解析し、入出力プロセッサ
に対して入出力命令の起動と終了処理を行う複数の命令
プロセッサ、2は1つの命令プロセッサと1つの入出力
プロセッサを接続するインタフェース制御装置、3は命
令プロセッサを選択するセレクタ、4は入出力命令の起
動を受け付け、実行し、その終了報告を行う複数の入出
力プロセッサ、5はチャネルを選択して起動するチャネ
ルパス制御部、6はデバイスを起動するチャネル、7は
命令プロセッサ1、入出力プロセッサ4の双方からアク
セス可能な記憶装置、8は複数の命令プロセッサに共通
の同期入出力命令用起動情報の格納領域、9は同期タイ
プ入出力命令と非同期タイプ入出力命令を持つプログラ
ムである。なお、各チャネル6には、図示しないデバイ
ス、あるいは他のデータ処理システムが接続されてい
る。FIG. 4 is a diagram showing a conventional data processing system. 1 is a plurality of instruction processors that analyze a program and perform input / output instruction activation and termination processing for the input / output processor, 2 is an interface control device that connects one instruction processor to one input / output processor, and 3 is an instruction A selector for selecting a processor, a plurality of input / output processors for accepting and executing activation of an input / output instruction and reporting the completion thereof, a channel path control unit for selecting and activating a channel, and a device for activating 6 A channel, 7 is a storage device accessible from both the instruction processor 1 and the input / output processor 4, 8 is a storage area for startup information for synchronous input / output instructions common to a plurality of instruction processors, and 9 is asynchronous with synchronous type input / output instructions. It is a program with type input / output instructions. A device (not shown) or another data processing system is connected to each channel 6.
【0006】図5は、従来の同期タイプ入出力命令の処
理の流れを説明する図である。n台の命令プロセッサ
が、例えば同時に同期タイプ入出力命令を実行するもの
として、その動作を説明する。n台の内の複数の命令プ
ロセッサが同時に入出力命令を実行する場合、あるいは
複数の命令プロセッサが順次入出力命令を実行する場合
でも同様である。FIG. 5 is a diagram for explaining the flow of processing of a conventional synchronous type input / output instruction. The operation will be described assuming that n instruction processors execute synchronous type input / output instructions at the same time, for example. The same applies when a plurality of n instruction processors simultaneously execute input / output instructions or when a plurality of instruction processors sequentially execute input / output instructions.
【0007】n台の命令プロセッサ1は、まず記憶装置
7上の同期入出力命令用起動情報の格納領域8の獲得を
要求する。例えば、命令プロセッサ1aがこの格納領域
8を獲得できたとする。命令プロセッサ1aは、格納領
域8に同期入出力命令用起動情報としてコマンド情報と
起動するデバイスの指示情報を格納する。The n instruction processors 1 first request acquisition of the synchronous input / output instruction activation information storage area 8 on the storage device 7. For example, it is assumed that the instruction processor 1a has acquired this storage area 8. The instruction processor 1a stores command information and instruction information of a device to be activated in the storage area 8 as activation information for synchronous input / output instructions.
【0008】その後、命令プロセッサ1aは、インタフ
ェース制御装置2に対して入出力プロセッサ4を選択す
る選択信号と入出力起動を出す。インタフェース制御装
置2のセレクタ3は、例えば入出力プロセッサ4aを選
択し、入出力起動201を送る。入出力プロセッサ4a
のチャネルパス制御部5は、インタフェース制御装置2
を介して命令プロセッサ1aに入出力起動応答202を
返し、次いで、チャネルパス制御部5は、記憶装置7上
の格納領域8内の起動情報を参照して、チャネル6を選
択し、チャネルを起動する。After that, the instruction processor 1a issues a selection signal for selecting the input / output processor 4 and input / output activation to the interface control device 2. The selector 3 of the interface control device 2 selects, for example, the input / output processor 4a and sends the input / output activation 201. I / O processor 4a
The channel path control unit 5 of the
The input / output activation response 202 is returned to the instruction processor 1a via the, and then the channel path control unit 5 refers to the activation information in the storage area 8 on the storage device 7, selects the channel 6, and activates the channel. To do.
【0009】チャネル6は指定されたデバイスを起動し
て同期タイプ入出力命令の処理203を実行し、このチ
ャネル6とデバイスでの処理が終了すると、チャネル6
はチャネルパス制御部5に終了割込みを報告する。これ
を受けてチャネルパス制御部5はインタフェース制御装
置2を介して命令プロセッサ1aに入出力割込み204
を報告する。命令プロセッサ1aは入出力割込み204
を受け取ると、プログラム9に対して終了報告205を
実行する。The channel 6 starts the designated device, executes the processing 203 of the synchronous type input / output instruction, and when the processing in this channel 6 and the device is completed, the channel 6
Reports an end interrupt to the channel path control unit 5. In response to this, the channel path control unit 5 sends an input / output interrupt 204 to the instruction processor 1a via the interface control device 2.
Report. The instruction processor 1a uses the input / output interrupt 204
When it receives, the end report 205 is executed for the program 9.
【0010】このように、インタフェース制御装置2お
よびチャネルパス制御部5は、入出力起動の受け付けか
ら入出力割込みを報告するまで、1台の命令プロセッサ
によって占有されるため、1台目の命令プロセッサが入
出力命令を終了してから、2台目の命令プロセッサが動
作し、同様にしてn台目の命令プロセッサまで順々に実
行されることになる。従って、このデータ処理システム
の処理能力は、n−1個の命令プロセッサが停止してい
て、1台の命令プロセッサがn個の同期タイプ入出力命
令を実行することに相当し、データ処理システムが複数
の命令プロセッサで構成されていても十分な処理性能が
得られないことになる。As described above, the interface controller 2 and the channel path controller 5 are occupied by one instruction processor from the acceptance of the input / output activation to the reporting of the input / output interrupt, and thus the first instruction processor. After the end of the input / output instruction, the second instruction processor operates, and similarly, the nth instruction processor is sequentially executed. Therefore, the processing capacity of this data processing system is equivalent to the case where n-1 instruction processors are stopped and one instruction processor executes n synchronous type input / output instructions. Even if it is composed of multiple instruction processors, sufficient processing performance cannot be obtained.
【0011】[0011]
【発明が解決しようとする課題】命令プロセッサ数の増
加により、入出力命令の発行数も同時に増加し、これに
対応するために非同期タイプ入出力命令が開発され、少
ないハードウェアで多くの命令を処理できるようになっ
た。しかし、近年、処理速度が要求されることから、再
び同期タイプ入出力命令を用いて高速処理を行う必要が
出てきた。このため、今まで主に非同期タイプ命令を処
理していたシステムにおいても、複数の命令プロセッサ
からの同期タイプ入出力命令を処理しなければならなく
なったが、前述したように、1つの同期タイプ入出力命
令が終了するまで他の同期タイプ入出力命令が実行でき
ないため、他の命令プロセッサが待たされることにな
り、高速に処理することができないという問題があっ
た。As the number of instruction processors increases, the number of I / O instructions issued also increases at the same time. Asynchronous type I / O instructions have been developed to cope with this, and many instructions can be executed with a small amount of hardware. It can be processed. However, in recent years, since processing speed is required, it has become necessary to perform high-speed processing again using synchronous type input / output instructions. For this reason, even in a system that has mainly processed asynchronous type instructions until now, it was necessary to process synchronous type input / output instructions from multiple instruction processors. Since another synchronous type input / output instruction cannot be executed until the output instruction is completed, another instruction processor is made to wait and there is a problem that it cannot process at high speed.
【0012】本発明の目的は、複数の命令プロセッサか
ら同期タイプ入出力命令が発行されたとき、該命令を多
重に処理することによって高速化を図った同期タイプ入
出力命令の多重処理方法を提供することにある。An object of the present invention is to provide a synchronous processing method for synchronous type input / output instructions, which is speeded up by processing the synchronous type input / output instructions when a plurality of instruction processors issue the synchronous type input / output instructions. To do.
【0013】[0013]
【課題を解決するための手段】前記目的を達成するため
に、本発明では、入出力プロセッサに対して同期タイプ
入出力命令(以下、入出力命令という)の起動と該命令
の終了処理を実行する複数の命令プロセッサと、該入出
力命令の起動を受けて、その応答を該命令プロセッサに
返し、起動情報を基にチャネルを選択し起動するチャネ
ルパス制御手段と、該起動情報を基にデバイスを起動し
て前記入出力命令の処理を実行する複数のチャネルとを
備えた複数の入出力プロセッサと、命令プロセッサと該
命令プロセッサによって選択される入出力プロセッサと
の間を接続するインタフェース制御手段と、前記起動情
報が格納され、前記複数の命令プロセッサと複数の入出
力プロセッサからアクセスされる記憶手段と、を備えた
データ処理システムにおいて、前記複数の命令プロセッ
サから発行される入出力命令を多重に処理する方法であ
って、該複数の命令プロセッサの内、起動情報と命令プ
ロセッサを識別する情報を、前記記憶手段に書き込んだ
第1の命令プロセッサが選択され、該第1の命令プロセ
ッサによって選択された入出力プロセッサ内のチャネル
パス制御手段の入出力起動が指示され、該入出力起動に
応じて、該第1の命令プロセッサに応答を返すととも
に、前記起動情報を基にチャネルおよびデバイスが起動
され、該デバイスの起動に応じて、前記チャネルパス制
御手段から第1の命令プロセッサに入出力割り込みが通
知され、該入出力割り込みが通知された時点で、前記イ
ンタフェース制御手段とチャネルパス制御手段を、他の
命令プロセッサに開放することを特徴としている。In order to achieve the above object, in the present invention, a synchronous type input / output instruction (hereinafter referred to as an input / output instruction) is activated and an end process of the instruction is executed for an input / output processor. A plurality of instruction processors, a channel path control unit that receives the activation of the input / output instruction, returns a response to the instruction processor, selects a channel based on the activation information and activates the device, and a device based on the activation information. And a plurality of input / output processors each having a plurality of channels for activating the input / output instructions and executing the processing of the input / output instructions, and interface control means for connecting between the instruction processor and the input / output processor selected by the instruction processor. A data processing system comprising the plurality of instruction processors and a storage unit which is accessed by the plurality of input / output processors. In the method for multiplex processing of input / output instructions issued from the plurality of instruction processors, a method for writing start information and instruction processor identification information among the plurality of instruction processors in the storage means One instruction processor is selected, the input / output activation of the channel path control means in the input / output processor selected by the first instruction processor is instructed, and the first instruction processor is instructed in response to the input / output activation. While returning a response, the channel and the device are activated based on the activation information, and in response to the activation of the device, the channel path control unit notifies the first instruction processor of the input / output interrupt, and the input / output interrupt is notified. At the time of being notified, the interface control means and the channel path control means are opened to another instruction processor. It is.
【0014】また、前記チャネル起動時に、前記記憶手
段から前記識別情報が読み出されてチャネル内に格納さ
れ、前記デバイスにおける処理が終了することに応じ
て、該チャネル内の識別情報で指定される前記記憶手段
内の領域に、終了通知を含む情報が格納され、前記入出
力割り込みが通知された第1の命令プロセッサは、該命
令プロセッサに割り当てられた前記領域に、前記終了通
知を含む情報が格納されるまで、該領域に対してポーリ
ングすることを特徴としている。Further, when the channel is activated, the identification information is read from the storage means and stored in the channel, and is designated by the identification information in the channel in response to the end of the processing in the device. Information including an end notification is stored in an area in the storage unit, and the first instruction processor notified of the input / output interrupt stores information including the end notification in the area assigned to the instruction processor. It is characterized in that the area is polled until it is stored.
【0015】[0015]
【作用】命令プロセッサが入出力プロセッサに対して同
期タイプ入出力命令の起動を出し、入出力プロセッサが
起動受け付け時に、命令プロセッサと入出力プロセッサ
間のインタフェースを開放して、他の命令プロセッサか
らの別の同期タイプ入出力命令を起動可能とする。命令
プロセッサは記憶領域に終了報告が入るまでポーリング
を行い、入出力プロセッサは受け付けた同期タイプ入出
力命令の処理を実行し、処理終了後に記憶領域に終了通
知を格納する。命令プロセッサが終了通知を受けると、
同期タイプ入出力命令を終了させる。これによって、入
出力プロセッサが1つの同期タイプ入出力命令の処理を
実行中に、他の命令プロセッサからの同期タイプ入出力
命令の起動を受け付け、処理を実行することができ、同
期タイプ入出力命令を、命令プロセッサの数まで多重に
処理することができる。When the instruction processor issues a synchronous type input / output instruction to the input / output processor and the input / output processor accepts the activation, the interface between the instruction processor and the input / output processor is opened so that the instruction processor Allows another synchronous type input / output instruction to be activated. The instruction processor performs polling until an end report is input to the storage area, the input / output processor executes the processing of the received synchronous type input / output instruction, and stores the end notification in the storage area after the processing is completed. When the instruction processor receives the end notification,
Terminate the synchronous type I / O command. As a result, while the input / output processor is executing the processing of one synchronous type input / output instruction, it is possible to accept the start of the synchronous type input / output instruction from another instruction processor and execute the processing. Can be processed in multiples up to the number of instruction processors.
【0016】[0016]
【実施例】以下、本発明の一実施例を図面を用いて具体
的に説明する。図1は、本発明のデータ処理システムの
構成を示す図である。命令プロセッサ1、インタフェー
ス制御装置2は、図4で説明した従来のものと同様であ
る。本発明では、記憶装置7に、命令プロセッサに対応
した記憶領域11と、起動情報の格納領域8内に命令プ
ロセッサの識別情報(命令プロセッサの番号)の格納領
域10が設けられている。また、入出力プロセッサ4の
チャネル6内には、命令プロセッサの識別情報とデバイ
ス情報を格納する領域12が設けられている。DESCRIPTION OF THE PREFERRED EMBODIMENTS One embodiment of the present invention will be specifically described below with reference to the drawings. FIG. 1 is a diagram showing a configuration of a data processing system of the present invention. The instruction processor 1 and the interface control device 2 are the same as the conventional ones described in FIG. In the present invention, the storage device 7 is provided with the storage area 11 corresponding to the instruction processor and the storage area 10 for the identification information (instruction processor number) of the instruction processor in the storage area 8 for the boot information. Further, in the channel 6 of the input / output processor 4, an area 12 for storing the identification information of the instruction processor and the device information is provided.
【0017】各命令プロセッサに対応した記憶領域11
は、例えば、命令プロセッサ1aと記憶領域11aが対
応し、命令プロセッサ1bと記憶領域11bが対応して
いて、各命令プロセッサに対応して記憶領域が割り当て
られている。Storage area 11 corresponding to each instruction processor
For example, the instruction processor 1a corresponds to the storage area 11a, the instruction processor 1b corresponds to the storage area 11b, and the storage area is assigned to each instruction processor.
【0018】図3は、命令プロセッサ毎に割り当てられ
た記憶領域11を示す。各記憶領域11は、同期タイプ
入出力命令の終了を通知する情報21と、命令の実行結
果の情報22(例えば、データ転送、メッセージ転送の
成功、失敗)などが格納されている。また、各命令プロ
セッサに割り当てられた記憶領域のアドレスは、それぞ
れ固定のアドレスである。FIG. 3 shows a storage area 11 assigned to each instruction processor. Each storage area 11 stores information 21 for notifying the end of the synchronous type input / output command, information 22 for the execution result of the command (for example, data transfer, message transfer success, failure) and the like. Further, the address of the storage area assigned to each instruction processor is a fixed address.
【0019】また、記憶装置7内の識別情報の格納領域
10は、命令プロセッサ1が、その識別情報(プロセッ
サ番号)を入出力プロセッサ4に対して通知するための
ものである。すなわち、命令プロセッサ1が同期タイプ
の入出力命令の起動時に、識別情報の格納領域10に命
令プロセッサの識別情報を格納し、入出力プロセッサ4
が同期タイプの入出力命令の起動受取時に、この命令プ
ロセッサの識別情報10を読み出す。The identification information storage area 10 in the storage device 7 is used by the instruction processor 1 to notify the input / output processor 4 of the identification information (processor number). That is, when the instruction processor 1 activates a synchronous type input / output instruction, it stores the identification information of the instruction processor in the identification information storage area 10, and the input / output processor 4
When the synchronous type input / output instruction is received, the identification information 10 of this instruction processor is read.
【0020】図2は、本発明の同期タイプ入出力命令の
処理の流れを説明する図である。従来例で説明したと同
様に、n台の命令プロセッサが同時に同期タイプ入出力
命令を実行するものとして、本実施例の動作を説明す
る。FIG. 2 is a diagram for explaining the processing flow of the synchronous type input / output instruction of the present invention. As in the case of the conventional example, the operation of this embodiment will be described assuming that n instruction processors simultaneously execute the synchronous type input / output instructions.
【0021】前述したと同様に、n台の命令プロセッサ
1は、まず記憶装置7上の同期入出力命令用起動情報の
格納領域8の獲得を要求する。例えば、命令プロセッサ
1aがこの格納領域8を獲得できたとすると、命令プロ
セッサ1aは、格納領域8に同期入出力命令用起動情報
としてコマンド情報と起動するデバイスの指示情報を格
納すると共に、識別情報の格納領域10に命令プロセッ
サの番号を格納する。Similarly to the above, the n instruction processors 1 first request acquisition of the storage area 8 of the synchronous input / output instruction activation information on the storage device 7. For example, if the instruction processor 1a can acquire the storage area 8, the instruction processor 1a stores the command information and the instruction information of the device to be activated as the activation information for the synchronous input / output instruction in the storage area 8 and also stores the identification information. The instruction processor number is stored in the storage area 10.
【0022】その後、命令プロセッサ1aは、インタフ
ェース制御装置2に対して入出力プロセッサ4の選択信
号と入出力起動101を出す。インタフェース制御装置
2のセレクタ3は、例えば入出力プロセッサ4aを選択
し、入出力起動を送る。入出力プロセッサ4aのチャネ
ルパス制御部5は、インタフェース制御装置2を介して
命令プロセッサ1aに入出力起動応答102を返し、次
いで、チャネルパス制御部5は、記憶装置7上の格納領
域8内の起動情報を参照して、チャネル6を選択し、チ
ャネルを起動する。After that, the instruction processor 1a issues a selection signal for the input / output processor 4 and the input / output activation 101 to the interface control device 2. The selector 3 of the interface controller 2 selects, for example, the input / output processor 4a and sends an input / output activation. The channel path control unit 5 of the input / output processor 4 a returns the input / output activation response 102 to the instruction processor 1 a via the interface control device 2, and then the channel path control unit 5 stores the data in the storage area 8 on the storage device 7. With reference to the activation information, the channel 6 is selected and the channel is activated.
【0023】チャネル6は、記憶装置7上の起動情報の
格納領域8から起動情報を直接読み出して命令プロセッ
サ1aの識別情報10を得る。あるいは他の実施例とし
て、チャネル起動時にチャネルパス制御部5から起動情
報を受け取って命令プロセッサ1aの識別情報10を得
る。そして、チャネル6は、命令プロセッサ1aの識別
情報を得ると、チャネル6内部の格納部12に、この命
令プロセッサ1aの識別情報と起動されるデバイス情報
を格納する。The channel 6 directly reads the boot information from the boot information storage area 8 on the storage device 7 to obtain the identification information 10 of the instruction processor 1a. Alternatively, as another embodiment, when the channel is activated, the activation information is received from the channel path control unit 5 to obtain the identification information 10 of the instruction processor 1a. Then, upon obtaining the identification information of the instruction processor 1a, the channel 6 stores the identification information of the instruction processor 1a and the activated device information in the storage unit 12 inside the channel 6.
【0024】チャネル6は指定されたデバイスを起動す
ると、チャネルパス制御部5に起動成功を報告し、チャ
ネルパス制御部5は、インタフェース制御装置2を介し
て命令プロセッサ1aに入出力割込み103を報告す
る。入出力割込み103を受け取った命令プロセッサ1
aは、命令プロセッサ1aに対応した記憶領域11aに
終了通知の情報が格納されるまで、該記憶領域11aに
対するポーリング104を開始する。起動されたデバイ
スとチャネルは、同期タイプ入出力命令の処理105の
実行を開始する。When the channel 6 activates the designated device, the channel path controller 5 reports the activation success, and the channel path controller 5 reports the input / output interrupt 103 to the instruction processor 1a via the interface controller 2. To do. Instruction processor 1 that received input / output interrupt 103
The a starts polling 104 for the storage area 11a until the end notification information is stored in the storage area 11a corresponding to the instruction processor 1a. The activated device and channel start executing the process 105 of the synchronous type input / output instruction.
【0025】一方、入出力プロセッサ4のチャネルパス
制御部5から入出力割込み103が報告された時点で、
命令プロセッサ1aと入出力プロセッサ4間のインタフ
ェース制御装置2とチャネルパス制御部5が開放され、
他の命令プロセッサからの同期タイプ入出力命令の入出
力起動を実行することができるようになる。例えば、命
令プロセッサ1bが前述したと同様にして格納領域8を
獲得できたとすると、命令プロセッサ1bは格納領域8
に起動情報(コマンド情報とデバイス情報)を書き込み
(前の情報に上書きされる)、格納領域10に命令プロ
セッサ1bの番号を書き込む。そして、前述したと同様
に、インタフェース制御装置2に対して、入出力プロセ
ッサ4の選択信号と入出力起動を出力する。On the other hand, when the input / output interrupt 103 is reported from the channel path controller 5 of the input / output processor 4,
The interface controller 2 between the instruction processor 1a and the input / output processor 4 and the channel path controller 5 are opened,
It becomes possible to execute input / output activation of a synchronous type input / output instruction from another instruction processor. For example, if the instruction processor 1b can obtain the storage area 8 in the same manner as described above, the instruction processor 1b will acquire the storage area 8
The boot information (command information and device information) is written (overwritten with the previous information), and the number of the instruction processor 1b is written in the storage area 10. Then, as described above, the selection signal of the input / output processor 4 and the input / output activation are output to the interface control device 2.
【0026】従って、起動されたデバイスが入出力命令
の処理実行を行っている間に、次々と他の命令プロセッ
サからの同期タイプ入出力命令の入出力起動が実行され
る。Therefore, while the activated device is processing and executing the input / output instructions, the input / output activation of the synchronous type input / output instructions from the other instruction processors is executed one after another.
【0027】デバイスでの処理が終了すると、チャネル
6は、格納領域12内に記憶していた、デバイスに対応
した命令プロセッサの識別情報を基に、命令プロセッサ
1aに対応した記憶領域11aに、終了通知の情報と実
行結果の情報106を格納する。記憶領域11aをポー
リングしていた命令プロセッサ1aは、終了通知の情報
と実行結果の情報を記憶領域11aから読み出すと、プ
ロセッサ9に終了報告107を実行する。なお、命令プ
ロセッサによるポーリングと、他の命令プロセッサによ
る起動情報などの書き込みによって、記憶装置に対する
アクセスが競合したときは、ポーリングが優先される。When the processing in the device is completed, the channel 6 is completed in the storage area 11a corresponding to the instruction processor 1a based on the identification information of the instruction processor corresponding to the device stored in the storage area 12. The notification information and the execution result information 106 are stored. When the instruction processor 1a polling the storage area 11a reads the information of the end notification and the information of the execution result from the storage area 11a, the instruction processor 1a executes the end report 107 to the processor 9. When access to the storage device conflicts due to polling by an instruction processor and writing of start information by another instruction processor, polling is prioritized.
【0028】以下、同様にして、他の命令プロセッサか
ら出された同期タイプ入出力命令が並行して多重に実行
される。この結果、本発明のデータ処理システムでは、
n台の命令プロセッサが同時に1個の同期タイプ入出力
命令を実行するにほぼ等しい処理能力を得ることができ
る。Thereafter, in the same manner, synchronous type input / output instructions issued from other instruction processors are executed in parallel and in multiples. As a result, in the data processing system of the present invention,
It is possible to obtain a processing capacity which is almost equal to that of n instruction processors executing one synchronous type input / output instruction at the same time.
【0029】[0029]
【発明の効果】以上、説明したように、本発明によれ
ば、同期タイプ入出力命令を、命令プロセッサ数まで多
重に処理することができるので、各命令プロセッサと各
入出力プロセッサ間に各々独立した専用のハードウェア
を設ける必要がなく、少ないハードウェアで効率良く高
速に処理することが可能となる。しかも、1つの同期タ
イプ入出力命令において、デバイスでの処理実行時間が
長い命令ほど、その効果が顕著なものとなる。As described above, according to the present invention, the synchronous type input / output instructions can be processed in multiples up to the number of instruction processors, so that each instruction processor and each input / output processor are independent. It is not necessary to provide the dedicated hardware described above, and it is possible to process efficiently and at high speed with a small amount of hardware. In addition, in one synchronous type input / output instruction, the effect becomes more remarkable as the processing execution time in the device is longer.
【図1】本発明のデータ処理システムの構成を示す図で
ある。FIG. 1 is a diagram showing a configuration of a data processing system of the present invention.
【図2】本発明の同期タイプ入出力命令の処理の流れを
説明する図である。FIG. 2 is a diagram illustrating a flow of processing of a synchronous type input / output instruction of the present invention.
【図3】命令プロセッサ毎に割り当てられた記憶領域を
示す。FIG. 3 shows a storage area allocated for each instruction processor.
【図4】従来のデータ処理システムを示す図である。FIG. 4 is a diagram showing a conventional data processing system.
【図5】従来の同期タイプ入出力命令の処理の流れを説
明する図である。FIG. 5 is a diagram illustrating a flow of processing of a conventional synchronous type input / output instruction.
1 命令プロセッサ 2 インタフェース制御装置 3 セレクタ 4 入出力プロセッサ 5 チャネルパス制御部 6 チャネル 7 記憶装置 8 起動情報の格納領域 9 プログラム 10 命令プロセッサの識別情報格納領域 11 命令プロセッサに対応した記憶領域 12 命令プロセッサの識別情報とデバイス情報を格納
する領域DESCRIPTION OF SYMBOLS 1 instruction processor 2 interface control device 3 selector 4 input / output processor 5 channel path control unit 6 channel 7 storage device 8 startup information storage area 9 program 10 instruction processor identification information storage area 11 storage area corresponding to instruction processor 12 instruction processor Area for storing device identification information and device information
Claims (2)
出力命令(以下、入出力命令という)の起動と該命令の
終了処理を実行する複数の命令プロセッサと、該入出力
命令の起動を受けて、その応答を該命令プロセッサに返
し、起動情報を基にチャネルを選択し起動するチャネル
パス制御手段と、該起動情報を基にデバイスを起動して
前記入出力命令の処理を実行する複数のチャネルとを備
えた複数の入出力プロセッサと、命令プロセッサと、該
命令プロセッサによって選択される入出力プロセッサと
の間を接続するインタフェース制御手段と、前記起動情
報が格納され、前記複数の命令プロセッサと複数の入出
力プロセッサからアクセスされる記憶手段と、を備えた
データ処理システムにおいて、前記複数の命令プロセッ
サから発行される入出力命令を多重に処理する方法であ
って、該複数の命令プロセッサの内、起動情報と命令プ
ロセッサを識別する情報を、前記記憶手段に書き込んだ
第1の命令プロセッサが選択され、該第1の命令プロセ
ッサによって選択された入出力プロセッサ内のチャネル
パス制御手段の入出力起動が指示され、該入出力起動に
応じて、該第1の命令プロセッサに応答を返すととも
に、前記起動情報を基にチャネルおよびデバイスが起動
され、該デバイスの起動に応じて、前記チャネルパス制
御手段から第1の命令プロセッサに入出力割り込みが通
知され、該入出力割り込みが通知された時点で、前記イ
ンタフェース制御手段とチャネルパス制御手段を、他の
命令プロセッサに開放することを特徴とする同期タイプ
入出力命令の多重処理方法。1. A plurality of instruction processors that execute a synchronous type input / output instruction (hereinafter referred to as “input / output instruction”) and end processing of the instruction to an input / output processor, and a start of the input / output instruction. , A channel path control means for returning the response to the instruction processor and selecting and activating a channel based on activation information, and a plurality of channels for activating a device based on the activation information to execute processing of the input / output instruction A plurality of input / output processors each having an instruction processor, an interface control means for connecting between the instruction processor and an input / output processor selected by the instruction processor; And a storage means accessed from the input / output processor of the input / output processor, the input / output issued from the plurality of instruction processors. A method of processing output instructions in a multiplexed manner, wherein, of the plurality of instruction processors, a first instruction processor in which activation information and information for identifying the instruction processor are written in the storage means is selected, and the first instruction processor is selected. Input / output activation of the channel path control means in the input / output processor selected by the instruction processor is instructed, a response is returned to the first instruction processor in response to the input / output activation, and a channel is generated based on the activation information. And a device is activated, and in response to the activation of the device, the channel path control unit notifies the first instruction processor of an input / output interrupt, and at the time when the input / output interrupt is notified, the interface control unit and the channel A method of multiprocessing synchronous type input / output instructions, characterized in that the path control means is opened to another instruction processor.
ら前記識別情報が読み出されてチャネル内に格納され、
前記デバイスにおける処理が終了することに応じて、該
チャネル内の識別情報で指定される前記記憶手段内の領
域に、終了通知を含む情報が格納され、前記入出力割り
込みが通知された第1の命令プロセッサは、該命令プロ
セッサに割り当てられた前記領域に、前記終了通知を含
む情報が格納されるまで、該領域に対してポーリングす
ることを特徴とする請求項1記載の同期タイプ入出力命
令の多重処理方法。2. The identification information is read from the storage means and stored in a channel when the channel is activated,
In response to the end of the process in the device, the information including the end notification is stored in the area in the storage unit designated by the identification information in the channel, and the first input / output interrupt is notified. 2. The synchronous type input / output instruction according to claim 1, wherein the instruction processor polls the area assigned to the instruction processor until information including the end notification is stored in the area. Multiprocessing method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP19026995A JP3219974B2 (en) | 1995-07-26 | 1995-07-26 | Method for multiplexing synchronous type I/O instructions |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP19026995A JP3219974B2 (en) | 1995-07-26 | 1995-07-26 | Method for multiplexing synchronous type I/O instructions |
Publications (2)
Publication Number | Publication Date |
---|---|
JPH0944438A true JPH0944438A (en) | 1997-02-14 |
JP3219974B2 JP3219974B2 (en) | 2001-10-15 |
Family
ID=16255348
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP19026995A Expired - Fee Related JP3219974B2 (en) | 1995-07-26 | 1995-07-26 | Method for multiplexing synchronous type I/O instructions |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP3219974B2 (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2008126138A1 (en) * | 2007-03-26 | 2008-10-23 | Fujitsu Limited | Input/output completion detecting system |
WO2021016931A1 (en) * | 2019-07-31 | 2021-02-04 | 华为技术有限公司 | Integrated chip and sensor data processing method |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US10063376B2 (en) | 2015-10-01 | 2018-08-28 | International Business Machines Corporation | Access control and security for synchronous input/output links |
US10120818B2 (en) | 2015-10-01 | 2018-11-06 | International Business Machines Corporation | Synchronous input/output command |
-
1995
- 1995-07-26 JP JP19026995A patent/JP3219974B2/en not_active Expired - Fee Related
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2008126138A1 (en) * | 2007-03-26 | 2008-10-23 | Fujitsu Limited | Input/output completion detecting system |
WO2021016931A1 (en) * | 2019-07-31 | 2021-02-04 | 华为技术有限公司 | Integrated chip and sensor data processing method |
Also Published As
Publication number | Publication date |
---|---|
JP3219974B2 (en) | 2001-10-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US5349682A (en) | Dynamic fault-tolerant parallel processing system for performing an application function with increased efficiency using heterogeneous processors | |
US4435755A (en) | Balanced channel finding method | |
US4110823A (en) | Soft display word processing system with multiple autonomous processors | |
EP0491342A2 (en) | Method for fast communication between user program and operating system | |
JPH04348451A (en) | Parallel computer | |
EP0409285B1 (en) | Method and apparatus for data transfer between processor elements | |
JPH0944438A (en) | Multiple processing method of synchronous type input / output instructions | |
US5860026A (en) | Information processing system for controlling operations of input/output devices of another clusters according to control instructions issued from a cluster | |
JPH0798663A (en) | Asynchronous I / O control method | |
JP2585905B2 (en) | Multitask execution device | |
JP2000215071A (en) | Virtual computer system | |
JP2755103B2 (en) | Storage device access method | |
JP3252517B2 (en) | Input/Output Control Method and Input/Output Control System | |
JPH0535507A (en) | Central processing unit | |
JPH1185673A (en) | Method and apparatus for controlling shared bus | |
JPH10124438A (en) | Input and output processor | |
JPH01126738A (en) | System for control data set competition in execution of multiple job | |
JPH04232559A (en) | Method of conversation between processors of system, system for conducting this method and use for dispatching | |
JPH06187312A (en) | Processing method and its device in multi-cpu system | |
JP2001229038A (en) | Multi-operating computer system | |
JPH10507548A (en) | Data processing systems and methods and communication systems with such systems | |
JPH0449146B2 (en) | ||
JPH02129724A (en) | Program executing system | |
JP2001344119A (en) | Transaction execution control system and transaction execution control method | |
JP2001014177A (en) | Asynchronous data input / output processing method and its program recording medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
LAPS | Cancellation because of no payment of annual fees |