JPS61120259A - Executing system for input and output instruction - Google Patents

Executing system for input and output instruction

Info

Publication number
JPS61120259A
JPS61120259A JP24134784A JP24134784A JPS61120259A JP S61120259 A JPS61120259 A JP S61120259A JP 24134784 A JP24134784 A JP 24134784A JP 24134784 A JP24134784 A JP 24134784A JP S61120259 A JPS61120259 A JP S61120259A
Authority
JP
Japan
Prior art keywords
instruction
input
chp
channel
output instruction
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP24134784A
Other languages
Japanese (ja)
Other versions
JPH0352097B2 (en
Inventor
Koji Mori
毛利 康治
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP24134784A priority Critical patent/JPS61120259A/en
Publication of JPS61120259A publication Critical patent/JPS61120259A/en
Publication of JPH0352097B2 publication Critical patent/JPH0352097B2/ja
Granted legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/10Program control for peripheral devices
    • G06F13/12Program control for peripheral devices using hardware independent of the central processor, e.g. channel or peripheral processor
    • G06F13/122Program control for peripheral devices using hardware independent of the central processor, e.g. channel or peripheral processor where hardware performs an I/O function other than control of data transfer

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)

Abstract

PURPOSE:To deliver simply an I/O instruction by checking a bus connected with an instruction executing priority bus and an I/O device and requesting the processing to a channel processor CHP of another system by means of an inter-CHP communication function in case the instruction is related with another system. CONSTITUTION:An instruction execution cue is set at an LS, for example, of channel processors CHP0 and CHP1 respectively. The central processors CPU0-CPU3 always produce the I/O instructions only for the CHP0 and CHP1 of their own systems. Receiving these I/O instructions, both processors CHP0 and CHP1 check the buses to which I/O devices DA and DB are connected as well as an instruction execution priority bus. If those instructions are related with other systems, both processors CHP0 and CHP2 use an inter-CHP communication function to request the processing to channel processors of other systems.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、複数個のプロセッサ及びチャネルを持つ計算
機システムにおける入出力命令実行方式〔従来の技術〕 複数のプロセッサ及びチャネルを持つ計算機システムは
、第1図に示す如く構成される。CPU0−CPU3は
複数個本例では4個の中央制御装置、CHPO,CHP
Iは複数個本例では2個のチャネルプロセッサで各々に
複数個本例では41固のチャネル要素CHEが配属され
、各々に制御ユニッ)CUを介して複数個の入出力装置
(110デバイス>DA、DBが接続ささる。図ではC
HpQ、CHPIの各1つのCHEに対するCU。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to an input/output instruction execution method in a computer system having a plurality of processors and channels [Prior art] A computer system having a plurality of processors and channels, It is constructed as shown in FIG. CPU0-CPU3 are multiple central control units, CHPO, CHP in this example.
In this example, 41 channel elements CHE are assigned to each channel element CHE, and a plurality of input/output devices (110 devices>DA , DB is connected. In the figure, C
CU for each CHE of HpQ, CHPI.

I10デバイスのみ示すが、他のCHEについても同様
である。チャネルプロセッサCHPO,CHPIは複数
の入出力チャネルCHEを統轄し、そしてCHPOはC
HUO,CPUI及び主記憶装置MSUと、またCHP
 1はCPU2.CPU3及びMSUとシステムコント
ロールユニット5CUO,5CUIを介して接続される
。SCU。
Although only the I10 device is shown, the same applies to other CHEs. Channel processors CHPO and CHPI preside over multiple input/output channels CHE, and CHPO
HUO, CPUI and main storage MSU, and also CHP
1 is CPU2. It is connected to the CPU 3 and MSU via system control units 5CUO and 5CUI. S.C.U.

CHP相互は伝送線ll、  β2により接続されて相
互に通信できる。
The CHPs are connected by transmission lines ll and β2 and can communicate with each other.

CHPO,CHE、CU、DA及びCHP 1゜CHE
、CU、DBなどはチャネルサブシステムと呼ばれ、そ
して本例ではダイナミック型である。
CHPO, CHE, CU, DA and CHP 1°CHE
, CU, DB, etc. are called channel subsystems, and are of dynamic type in this example.

即ちCPUはSCU、CHP、CHF、、CtJを介し
て目的のデバイスと、例えばCPU0は5CUO,CH
PO,CHE、CUを介してDAと接続するが、この接
続ルートは固定でなく、点線で示すようにCPU0,5
CUO,CHPO,ll。
That is, the CPU communicates with the target device via SCU, CHP, CHF, CtJ, for example, CPU0 communicates with 5CUO, CH.
It connects to DA via PO, CHE, and CU, but this connection route is not fixed and connects to CPU0, 5 as shown by the dotted line.
CUO, CHPO, ll.

CHPI、CHE、CU、DAなどのルートでもよい。It may be a route such as CHPI, CHE, CU, or DA.

即ちあるルート(パス)がビジーなら他のルートを調べ
、空きルートであればそれを通して目的のデバイスへア
クセスするという可変ルート方式をとっている。各デバ
イスに用意されているパスは、例えば8パスなどの多数
あり、ビジーであれば移るバス順は予め定められている
。このパスには他系CHPも含まれ、そしてパス決定は
CHPが行なう。またこのシステムではCPUは、必要
に応じて命令を、処理状況とは無関係に発行するという
非同期突き放し型を採用している。
In other words, a variable route method is used in which if a certain route (path) is busy, another route is checked, and if it is an empty route, the target device is accessed through that route. Each device has a large number of paths, for example 8 paths, and the order in which the devices move if the device is busy is predetermined. This path also includes other CHPs, and the CHP determines the path. Furthermore, this system employs an asynchronous release type in which the CPU issues instructions as necessary, regardless of the processing status.

このチャネルサブシステムで用いられる命令はDyna
mic Channel Subsystem機能のR
esume 5ubchannel命令、5Lart 
5ubchannel命令、Halt 5ubchan
nel命令、C1ear 5ubchannel命令、
およびRe5etChannel Path命令などで
あり、CPUはこれらの命令を発行するとコンディショ
ンコードを返し、以後の処理はCHPにまかせる。この
方式はCPUから見れば非常に能率的な方法であるが、
CHPから見ればまだ処理中なのに次の命令が発行され
るから、命令キューを持つ必要がある。
The instructions used in this channel subsystem are Dyna
mic channel subsystem function R
esume 5ubchannel instruction, 5Lart
5ubchannel instruction, Halt 5ubchan
nel instruction, C1ear 5ubchannel instruction,
and Re5etChannel Path commands, etc. When the CPU issues these commands, it returns a condition code and leaves the subsequent processing to the CHP. This method is very efficient from the CPU's point of view, but
From the perspective of the CHP, the next instruction is issued even though it is still being processed, so it is necessary to have an instruction queue.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

CPUがデバイスに起動をかけるときスタート5ubc
hannel命令を出すが、チャネルプロセッサCHP
が複数あると、どのプロセッサに命令を渡すかが問題で
ある。即ち起動対象のデバイスが属するプロセッサに渡
すのがよいが、このようにするにはCPU側でどのデバ
イスはどのプロセッサに属するかを知っており、それに
基ずいてプロセッサを選択せねばならず、これではCP
U専有時間が長くなって非同期突き離し型の利点が薄れ
てしまう。
Start 5ubc when the CPU boots the device
hannel instruction is issued, but the channel processor CHP
If there are multiple processors, the problem is which processor to pass the instruction to. In other words, it is better to pass the boot target device to the processor to which it belongs, but in order to do this, the CPU must know which device belongs to which processor and select the processor based on that. Then C.P.
The U exclusive time becomes long and the advantages of the asynchronous push-off type are diminished.

また命令実行キューはどこに置(べきかが問題である。Another issue is where the instruction execution queue should be placed.

I10命令の対象となるI10装置が複数のCHPにパ
スを持っているダイナミックチャネルサブシステムでは
、一方のパスで起動しようとしたときビジーであれば他
のパスでの起動を試みる必要があるが、これには2つの
CHPで実行可能に設計する必要がある。命令実行キュ
ーを、複数のCHP (及びCPU)が共にアクセスで
きる領域つまりMSUに置けば上記要求は満足されるが
、この方式ではアクセス時間が大であり、他の装置との
排他制御のオーバヘッドが大きく、不利である。
In a dynamic channel subsystem where the I10 device that is the target of the I10 instruction has paths to multiple CHPs, if it is busy when attempting to start up on one path, it is necessary to try starting up on another path. This requires a design that can be executed by two CHPs. The above requirements can be met by placing the instruction execution queue in an area that can be accessed by multiple CHPs (and CPUs), that is, in the MSU, but this method takes a long time to access, and the overhead of exclusive control with other devices is high. Large and disadvantageous.

本発明はか\る点に鑑みてなされたもので、CPUは入
出力命令を簡単に発行でき、また命令実行キューのアク
セスが簡単、迅速に行なえるようにしようとするもので
ある。
The present invention has been devised in view of these points, and is intended to enable a CPU to easily issue input/output instructions, and to enable easy and quick access to an instruction execution queue.

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

本発明は複数の中央処理装置および複数のプロセッサ制
御チャネル装置を備え、チャネルプロセッサは相互の通
信機能を持ち、ダイナミックチャネルサブシステムを構
成する計算機システムの入出力命令実行方式において、
各チャネルプロセッサに命令実行キューを設け、中央処
理装置は入出力命令を自系のチャネルプロセッサへ発行
し、チャネルプロセッサは該入出力命令を自己の命令実
行キューへエンキューし、また該入出力命令の対象入出
力装置へのパスをチェックしてそれが他系に属する場合
は前記通信機能を用いて該入出力命令を他系チャネルプ
ロセッサの命令実行キューへエンキューすることを特徴
とするものである。
The present invention provides an input/output instruction execution method for a computer system comprising a plurality of central processing units and a plurality of processor control channel devices, the channel processors having a mutual communication function, and configuring a dynamic channel subsystem.
Each channel processor is provided with an instruction execution queue, the central processing unit issues input/output instructions to its own channel processor, the channel processor enqueues the input/output instruction to its own instruction execution queue, and The present invention is characterized in that the path to the target input/output device is checked, and if the target input/output device belongs to another system, the communication function is used to enqueue the input/output instruction to the instruction execution queue of the other system channel processor.

本発明ではCPUはI10命令発行を常に自系のCHP
に対してのみ行なう。これを受けて該CHPは命令実行
優先パス及び該当I10装置が接続されているパスをチ
ェックし、他系に係る命令であるとCHP間通間通信金
能って該他系のCHPに処理を依頼する。このようにす
ればCPUのI10命令発行が簡単になり、非同期突き
離し型の利点を保持することができる。
In the present invention, the CPU always issues the I10 instruction to its own CHP.
Do this only for In response to this, the CHP checks the command execution priority path and the path to which the corresponding I10 device is connected, and if the command is related to another system, the CHP communicates with the other system and sends the process to the CHP of the other system. Make a request. In this way, the CPU can easily issue the I10 instruction, and the advantages of the asynchronous push-off type can be maintained.

また命令実行キューは各CHPに独立に存在させるので
、I10命令のエンキュー/デキュー操作を簡単、迅速
に行なうことができる。
Further, since the instruction execution queue exists independently in each CHP, the enqueue/dequeue operation of the I10 instruction can be performed easily and quickly.

〔実施例〕〔Example〕

本発明は第1図の如きマルチプロセッサ、マルチチャネ
ルの計算機システムにおいて、命令実行キューをチャネ
ルプロセッサCHPO及びCHPlの例えばL S (
Local Storage )におき、CPUはI1
0命令を単純に自系のCHPに渡し、エンキュー (e
nqueue )させる。第2図にCHPO。
In a multiprocessor, multichannel computer system as shown in FIG.
Local Storage), and the CPU is I1
0 instruction is simply passed to the own CHP and enqueued (e
nqueue). Figure 2 shows CHPO.

CHP Iに置かれる命令実行キューの構成を示す。The configuration of the instruction execution queue placed in CHP I is shown.

QOがCHPOに置かれる、またQlがCHPIに置か
れる各命令実行キューで、そのボトムへセレクタSO,
SLを介して自系CPUよりのI10命令がエンキュー
される。エンキューされた■10命令はキューのト°ツ
ブまで進んだときデキュ−(dequeue )され、
実行に供されようとするが、このとき該I10命令は自
系I10に対するものか否かがチェックされる。自系な
ら実行に供され、自系のIloでなければ、他系CHP
の命令実行キューQ1ヘエンキューされる。
For each instruction execution queue where QO is placed in CHPO and Ql is placed in CHPI, selector SO,
The I10 instruction from the own system CPU is enqueued via the SL. The enqueued 10 instructions are dequeueed when they reach the top of the queue.
When the I10 instruction is about to be executed, it is checked whether the I10 instruction is for the own system I10. If it is the own system, it will be used for execution, if it is not the own system's Ilo, it will be sent to the other system's CHP.
The instruction is enqueued to the instruction execution queue Q1.

この方式では、CPUはr10命令を単純に自系CHP
へ渡すので負担が少なくなり、またI10命令はCHP
でキューイングされ、実行に際し他系のI10命令なら
他系CHPへ移されるので、キューをMSUなどへ置く
場合に比べてキューアクセスが簡単、迅速になる。
In this method, the CPU simply sends the r10 instruction to its own system CHP.
The burden is reduced because the I10 command is passed to the CHP.
If the instruction is an I10 instruction of another system, it is transferred to the other system's CHP upon execution, making queue access easier and faster than when the queue is placed in an MSU or the like.

他系110命令なら他系CHPへ移す処理は、CPUか
らのI10命令をキューボトムへエンキューする段階で
行なうことも考えられる。但し、このエンキューはスタ
ートサブチャネル命令の一環として行なわれるので、こ
れに更に自系/他系判別、他系への転送処理を加えるの
は負荷が重いという問題はある。一般にエンキューより
デキューの方が処理ステップ数が大である。
If it is a 110 instruction of another system, the process of transferring it to the CHP of another system may be performed at the stage of enqueuing the I10 instruction from the CPU to the queue bottom. However, since this enqueue is performed as part of the start subchannel command, there is a problem in that adding the own system/other system discrimination and transfer processing to the other system is a heavy load. Generally, dequeue requires more processing steps than enqueue.

命令実行キューをチャネルプロセッサCHPのローカル
ストーレッジLSに置くと、該キューのヘッドポインタ
、ボトムポインタなどは該LSに置くことができ、ポイ
ンタ参照及び更新が簡単にできる。キューを主記憶装置
MSUへ置く方式であるとポインタ類も該MSUへ置く
ことになり、ポインタ参照/更新は一々MSUをアクセ
スして行なうことになる二またMSUはCPU、CHP
などの多くの装置がアクセスするので、ある装置がアク
セス中めときは他の装置のアクセスを禁止するロックバ
イトなども必要になるが、LSへ置いて自己のみアクセ
スならロックバイトは不要である。
When the instruction execution queue is placed in the local storage LS of the channel processor CHP, the head pointer, bottom pointer, etc. of the queue can be placed in the LS, and the pointers can be referenced and updated easily. If the queue is placed in the main memory MSU, pointers will also be placed in the MSU, and each pointer reference/update will be performed by accessing the MSU.
Since many devices such as LS access the device, a lock byte is required to prevent other devices from accessing the device when the device is in the middle of accessing the device, but if it is placed in the LS and only the device itself is accessing it, the lock byte is not necessary.

〔発明の効果〕〔Effect of the invention〕

以上説明したように本発明によればマルチプロセッサ、
マルチチャネルシステムにおける■/○命令のエンキュ
ー/デキュー操作を、CPUの負担少なく、またMSU
アクセスなどの時間を要する操作をする必要な〈実施で
き、甚だ有効である。
As explained above, according to the present invention, a multiprocessor,
Enqueue/dequeue operations of ■/○ instructions in multi-channel systems can be performed with less burden on the CPU and on the MSU.
It is possible to perform necessary operations that require time, such as access, and is extremely effective.

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

第1図および第2図は本発明の実施例を示すブロック図
である。 図面で、CPtJは中央処理装置、CHPはチャネルプ
ロセッサ、12は通信機能、Ql、Q2は命令実行キュ
ーである。 第1図 cpu  eP犬処rv 、t4を置  MSU :土
3こaCtC)IP   士ヤネルプOt−ノサ   
L2 :通イ真 線DA、DB  入出力茨置
1 and 2 are block diagrams showing embodiments of the present invention. In the drawing, CPtJ is a central processing unit, CHP is a channel processor, 12 is a communication function, and Ql and Q2 are instruction execution queues. Figure 1 cpu eP dog handling rv, t4 placed MSU: Sat3koaCtC) IP Shiyanelp Ot-Nosa
L2: Through line DA, DB input/output thorns

Claims (1)

【特許請求の範囲】 複数の中央処理装置および複数のチャネルプロセッサを
備え、チャネルプロセッサは相互の通信機能を持ち、ダ
イナミックチャネルサブシステムを構成する計算機シス
テムの入出力命令実行方式において、 各チャネルプロセッサに命令実行キューを設け、中央処
理装置は入出力命令を自系のチャネルプロセッサへ発行
し、チャネルプロセッサは該入出力命令を自己の命令実
行キューへエンキューし、また該入出力命令の対象入出
力装置へのパスをチェックしてそれが他系に属する場合
は前記通信機能を用いて該入出力命令を他系チャネルプ
ロセッサの命令実行キューへエンキューすることを特徴
とする入出力命令実行制御方式。
[Claims] In the input/output instruction execution method of a computer system that includes a plurality of central processing units and a plurality of channel processors, the channel processors have mutual communication functions, and constitutes a dynamic channel subsystem, each channel processor An instruction execution queue is provided, the central processing unit issues an input/output instruction to its own channel processor, the channel processor enqueues the input/output instruction to its own instruction execution queue, and also enqueues the input/output instruction to the target input/output device of the input/output instruction. 1. An input/output instruction execution control method, characterized in that the path to the input/output instruction is checked, and if the input/output instruction belongs to another system, the communication function is used to enqueue the input/output instruction to an instruction execution queue of a channel processor of the other system.
JP24134784A 1984-11-15 1984-11-15 Executing system for input and output instruction Granted JPS61120259A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP24134784A JPS61120259A (en) 1984-11-15 1984-11-15 Executing system for input and output instruction

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP24134784A JPS61120259A (en) 1984-11-15 1984-11-15 Executing system for input and output instruction

Publications (2)

Publication Number Publication Date
JPS61120259A true JPS61120259A (en) 1986-06-07
JPH0352097B2 JPH0352097B2 (en) 1991-08-08

Family

ID=17072943

Family Applications (1)

Application Number Title Priority Date Filing Date
JP24134784A Granted JPS61120259A (en) 1984-11-15 1984-11-15 Executing system for input and output instruction

Country Status (1)

Country Link
JP (1) JPS61120259A (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6693517B2 (en) 2000-04-21 2004-02-17 Donnelly Corporation Vehicle mirror assembly communicating wirelessly with vehicle accessories and occupants
US7370983B2 (en) 2000-03-02 2008-05-13 Donnelly Corporation Interior mirror assembly with display
US7581859B2 (en) 2005-09-14 2009-09-01 Donnelly Corp. Display device for exterior rearview mirror
US7255451B2 (en) 2002-09-20 2007-08-14 Donnelly Corporation Electro-optic mirror cell
US7310177B2 (en) 2002-09-20 2007-12-18 Donnelly Corporation Electro-optic reflective element assembly

Also Published As

Publication number Publication date
JPH0352097B2 (en) 1991-08-08

Similar Documents

Publication Publication Date Title
US5233701A (en) System for managing interprocessor common memory
CA1241762A (en) Interrupt mechanism for multi-microprocessing system having multiple busses
US5507032A (en) Multiprocessor I/O request control system forming device drive queue and processor interrupt queue from rows and cells of I/O request table and interrupt request table
KR100708096B1 (en) Bus system and execution scheduling method for access commands thereof
JPS61120259A (en) Executing system for input and output instruction
CN114461550A (en) I2C communication-based multi-master control equipment access arbitration system and method
EP0164972A2 (en) Shared memory multiprocessor system
JPH0199143A (en) Main memory access control system
JP3791463B2 (en) Arithmetic unit and data transfer system
JPH01263858A (en) Multi-processor system
JPH0544696B2 (en)
JP2504528B2 (en) Bus control system between main memory controllers
JP2568714B2 (en) Distributed control processor
JPS62175851A (en) Memory managing system
JPH0573506A (en) Multiprocessor system
JPH07306843A (en) Cross connecting device
JPH0354374B2 (en)
JPH0895936A (en) System for transferring data between processors
JPH03122744A (en) Computer system
JPH04274524A (en) System for controlling inter-process communication
JPH021044A (en) Memory access control system
JPH1115792A (en) Multi-microprocessor system
JPS60221846A (en) Main storage device
JPH0238279A (en) Data transmission control device
JPH0427584B2 (en)

Legal Events

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