JPH0658654B2 - Interrupt acceptance control method - Google Patents
Interrupt acceptance control methodInfo
- Publication number
- JPH0658654B2 JPH0658654B2 JP59036716A JP3671684A JPH0658654B2 JP H0658654 B2 JPH0658654 B2 JP H0658654B2 JP 59036716 A JP59036716 A JP 59036716A JP 3671684 A JP3671684 A JP 3671684A JP H0658654 B2 JPH0658654 B2 JP H0658654B2
- Authority
- JP
- Japan
- Prior art keywords
- interrupt
- processor
- processors
- channel device
- acceptance
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Lifetime
Links
- 238000000034 method Methods 0.000 title description 23
- 102100028043 Fibroblast growth factor 3 Human genes 0.000 description 5
- 108050002021 Integrator complex subunit 2 Proteins 0.000 description 5
- 230000007704 transition Effects 0.000 description 4
- 238000010586 diagram Methods 0.000 description 2
- 230000003111 delayed effect Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F13/14—Handling requests for interconnection or transfer
- G06F13/20—Handling requests for interconnection or transfer for access to input/output bus
- G06F13/24—Handling requests for interconnection or transfer for access to input/output bus using interrupt
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Bus Control (AREA)
Description
【発明の詳細な説明】 〔発明の技術分野〕 本発明は複数のプロセッサを備えたマルチプロセッサシ
ステムに係り、特にチャネル装置からの入出力割込みを
受付けるプロセッサを動的に決定する割込み受付け制御
方式に関する。Description: BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a multiprocessor system having a plurality of processors, and more particularly to an interrupt acceptance control method for dynamically determining a processor that accepts an input / output interrupt from a channel device. .
この種のマルチプロセッサシステムにおいて、例えばチ
ャネル装置からの入出力割込みを受付ける場合の制御方
式としては、以下に示す3つの方式が良く知られてい
る。In this type of multiprocessor system, for example, the following three methods are well known as control methods when receiving an input / output interrupt from a channel device.
(i)方式1 この方式では、入出力処理を行なえるプロセッサは、第
1図に示されるようにシステムを構成する例えば4台の
プロセッサ11〜14のうちの特定の1つ(第1図では
プロセッサ14)に固定されている。そして、この特定
のプロセッサ14がチャネル装置2からすべての入出力
割込みを受付ける。(i) Method 1 In this method, a processor that can perform input / output processing is, for example, a specific one of the four processors 1 1 to 1 4 (the first processor) that configures the system as shown in FIG. in the figure is fixed to the processor 1 4). Then, the specific processor 1 4 accepts all of the input and output interrupt from the channel unit 2.
(ii)方式2 この方式では、第2図に示されるようにチャネル装置2
からの入出力割込みがすべてのプロセッサ11〜14に
伝えられ、最初に割込み受付けを行なったプロセッサが
割込み処理を行なう。(ii) Method 2 In this method, as shown in FIG.
O interrupt from is transmitted to all the processors 1 1 to 1 4, processor performing first reception interrupt performs the interrupt processing.
(iii)方式3 この方式では、第3図に示されるようにプロセッサ11
〜14のうち入出力要求を出したプロセッサ(第3図で
はプロセッサ12)が割り込み処理を行なう。この場
合、チャネル装置2は入出力要求を出したプロセッサ1
2を記憶しておき、当該プロセッサ12に割込みをかけ
ることになる。(iii) Method 3 In this method, the processor 1 1 as shown in FIG.
To 1 (processor 1 2 in FIG. 3) performs the interrupt processing processor which issued the output request of the four. In this case, the channel device 2 is the processor 1 that issued the I / O request.
2 stores the results in interrupting to the processor 1 2.
これら各方式は以下に示すような問題点を有していた。 Each of these methods had the following problems.
(i)方式1 i−i)入出力処理を行なえるプロセッサが障害等でダ
ウンすると、システムダウンとなってしまう。(i) Method 1 i-i) If a processor that can perform input / output processing goes down due to a failure or the like, the system goes down.
i−ii)他のプロセッサが入出力要求を出すためには、
他のプロセッサ用のプログラムが入出力要求を行なえる
プロセッサで再ディスパッチされる必要があり、そのオ
ーバヘッドが大きい。i-ii) In order for another processor to issue an I / O request,
Programs for other processors need to be redispatched on a processor that can make I / O requests, and the overhead is high.
i−iii)入出力処理を行なえるプロセッサが固定され
ているため、当該プロセッサが性能上のボトルネック
(隘路)になりやすい。i-iii) Since the processor that can perform input / output processing is fixed, the processor is likely to become a bottleneck (a bottleneck) in performance.
(ii)方式2 割込みを最初に受付けて割込み処理を行なうプロセッサ
が、システムにおいて割込み処理を行なうのに最適なプ
ロセッサになるとは限らず、割込み処理に伴うオーバヘ
ッドの低減の余地がある。(ii) Method 2 The processor that first accepts an interrupt and performs interrupt processing does not always become the optimum processor for performing interrupt processing in the system, and there is room for reducing the overhead associated with interrupt processing.
(iii)方式3 iii−i)入出力要求を出したプロセッサがチャネル装
置からの入出力割込みを受付けられない状態にあると、
割込み処理が遅れることになる。(iii) Method 3 iii-i) If the processor that issued the I / O request is in a state where it cannot accept the I / O interrupt from the channel device,
Interrupt processing will be delayed.
iii−ii)入出力要求を出したプロセッサが入出力割込
みを受付けるまでの間に障害等によりダウンした場合の
対策が必要となる。iii-ii) It is necessary to take measures when the processor that issued the I / O request is down due to a failure or the like before accepting the I / O interrupt.
本発明は上記事情に鑑みてなされたものでその目的は、
マルチプロセッサシステムにおいて、チャネル装置から
の割込み要求に対する割込み処理を行なうプロセッサ
が、システム内の各プロセッサの負荷状況に応じて動的
に決定され、システム性能および耐障害性の向上、更に
は割込み処理効率の向上が図れる割込み受付け制御方式
を提供することにある。The present invention has been made in view of the above circumstances, and its purpose is to:
In a multiprocessor system, a processor that performs interrupt processing for an interrupt request from a channel device is dynamically determined according to the load status of each processor in the system, improving system performance and fault tolerance, and further interrupt processing efficiency. The object of the present invention is to provide an interrupt acceptance control method capable of improving the above.
本発明では、チャネル装置が割込み処理を要求する場
合、直接プロセッサに対して要求するのではなく、シス
テム制御装置に割込み要求を発するように構成されてい
る。マルチプロセッサシステムを構成する各プロセッサ
は、該当プロセッサの割込み許可/禁止状態、運転状
況、および稼動率を示すステータス情報を生成出力す
る。システム制御装置はチャネル装置からの割込み要求
に応じ、各プロセッサからの各ステータス情報に基づい
て割込み先プロセッサを決定し、当該プロセッサに割込
み処理指令を発する。システム制御装置から割込み処理
指令を与えられたプロセッサは、自身の割込み許可/禁
止状態により、システム制御装置に対して第1割込み受
付けまたは第1割込み受付け拒否を通知する。システム
制御装置は、プロセッサからの第1割込み受付けまたは
第1割込み受付け拒否通知に応じ、チャネル装置にその
旨(第2割込み受付けまたは第2割込み受付け拒否)を
通知する。チャネル装置は、システム制御装置から第2
割込み受付け拒否が通知された場合、再び割込み要求を
システム制御装置に発する。In the present invention, when the channel device requests interrupt processing, it is configured to issue an interrupt request to the system controller instead of directly requesting to the processor. Each processor that constitutes the multiprocessor system generates and outputs status information indicating the interrupt enable / disable state, operating status, and operating rate of the corresponding processor. In response to the interrupt request from the channel device, the system control device determines the interrupt destination processor based on each status information from each processor and issues an interrupt processing command to the processor. The processor given the interrupt processing command from the system controller notifies the system controller of acceptance of the first interrupt or refusal of acceptance of the first interrupt depending on its own interrupt enable / disable state. In response to the first interrupt acceptance or first interrupt acceptance refusal notification from the processor, the system controller notifies the channel device (second interrupt acceptance or second interrupt acceptance refusal). The channel device is the second from the system controller.
When the interruption acceptance refusal is notified, the interruption request is again issued to the system controller.
以下、本発明の一実施例を図面を参照して説明する。な
お、本実施例は、4台のプロセッサを備えたマルチプロ
セッサシステムに実施した場合である。第4図は本発明
が適用されるマルチプロセッサシステムの構成を示す。
同図において、101〜104はプロセッサ、20はプ
ロセッサ101〜104からの入出力要求に応じて入出
力処理を行なうチャネル装置、30はシステム全体を制
御するシステム制御装置(以下、SCUと称する)であ
る。プロセッサ10i(i=1〜4)は、当該プロセッ
サ10iの各種状態を示すステータス情報STATUSiを生
成出力する。このステータス情報STATUSiは、割込み禁
止/許可フラグ(IF)11i、運転状況フラグ(図示
せず)、および稼動率フラグ(図示せず)の各情報から
なる。割込み禁止/許可フラグ11iは、該当プロセッ
サ10iが割込み禁止状態にあるか否かを示す。運転状
況フラグは、該当プロセッサ10iが停止(待機)状態
にあるか否かを示す。また、稼動率フラグは最新の稼動
率を示す。この稼動率は、一定期間(或いは任意期間)
TXにおいてプロセッサ10iが停止中でない期間の合
計をTYとすると、(TY/TX)×100(%)で表さ
れる数値の2値化データである。稼動率フラグの情報
は、遂次、或いは定期的に更新される。プロセッサ10
iで生成出力されるステータス情報STATUSiはSCU30に
供給される。SCU30にはチャネル装置20からの割込
み要求INT−REQも供給される。SCU30は、チャネル装
置20から割込み要求INT−REQが発せられると、プロセ
ッサ101〜104からのステータス情報STATUS1〜STA
TUS4に応じ割込み処理を行なうのに最適なプロセッサ1
0j(jは1〜4のうちの一つ)を決定し、当該プロセ
ッサ10jに対して割込み処理指令INTjを発する。An embodiment of the present invention will be described below with reference to the drawings. It should be noted that the present embodiment is applied to a multiprocessor system including four processors. FIG. 4 shows the configuration of a multiprocessor system to which the present invention is applied.
In the figure, 10 1 to 10 4 are processors, 20 is a channel device that performs input / output processing in response to input / output requests from the processors 10 1 to 10 4 , and 30 is a system control unit (hereinafter, SCU) that controls the entire system. It is called). The processor 10 i (i = 1 to 4) generates and outputs status information STATUS i indicating various states of the processor 10 i . The status information STATUSi includes information of an interrupt prohibition / permission flag (IF) 11 i , an operation status flag (not shown), and an operation rate flag (not shown). The interrupt prohibition / permission flag 11 i indicates whether or not the corresponding processor 10 i is in the interrupt prohibition state. The operation status flag indicates whether or not the corresponding processor 10 i is in a stopped (standby) state. The operating rate flag indicates the latest operating rate. This operating rate is a fixed period (or arbitrary period)
Letting T Y be the total period during which the processor 10 i is not stopped in T X , it is binary data of a numerical value represented by (T Y / T X ) × 100 (%). The information on the operating rate flag is updated sequentially or periodically. Processor 10
The status information STATUSi generated and output by i is supplied to the SCU 30. An interrupt request INT-REQ from the channel device 20 is also supplied to the SCU 30. When an interrupt request INT-REQ is issued from the channel device 20, the SCU 30 receives status information STATUS1 to STA from the processors 10 1 to 10 4.
Optimal processor 1 for interrupt processing according to TUS4
0 j (j is one of 1 to 4) is determined, and an interrupt processing instruction INTj is issued to the processor 10 j .
プロセッサ10jは、SCU30からの割込み処理指令INT
jを受取ると、割込み禁止/許可フラグ11jを参照
し、このフラグ11jの状態に応じて割込み受付けINT
−ACKj、または割込み受付け拒否INT−RJTjのいずれか
一方をSCU30に発するようになっている。またSCU30
は、プロセッサ10jからのINT−ACKj,INT−RJTjに応
じ、割込み受付けINT−ACK、または割込み受付け拒否IN
T−RJTのいずれか一方をチャネル装置20に発するよう
になっている。The processor 10 j receives the interrupt processing command INT from the SCU 30.
When j is received, the interrupt disable / enable flag 11 j is referred to, and the interrupt acceptance INT depending on the state of this flag 11 j
Either -ACKj or interrupt acceptance refusal INT-RJTj is issued to the SCU 30. Also SCU30
Is, INT-ACKj from the processor 10 j, according to INT-RJTj, interrupt reception INT-ACK or interrupt reception deny IN,
Either one of T-RJT is issued to the channel device 20.
次に、本発明の一実施例の動作を第5図のタイミングチ
ャートを参照して説明する。チャネル装置20は、プロ
セッサ101〜104のうちのいずれかのプロセッサか
ら入出力要求が与えられると、対応する入出力処理を開
始する。チャネル装置20は、入出力処理の完了などに
より、プロセッサ101〜104のいずれかに割込み処
理を要求する必要が生じると、SCU30に対して割込み
要求INT−REQを発する。SCU30にはプロセッサ101
〜104で生成出力されるステータス情報STATUS1〜STA
TUS4が供給されている。SCU30は、チャネル装置20
からの割込み要求INT−REQを受取ると、プロセッサ10
1〜104からのステータス情報STATUS1〜STATUS4に基
づいて、その時点で最適な割込み先プロセッサを選択す
る。割込み先プロセッサの選択に際しての、ステータス
情報STATUSi(i=1〜4)の各情報部分の重みは、割
込み禁止状態にあるか否かを示す情報部分が最も重く、
次いで停止状態にあるか否かを示す情報部分、稼動率を
示す情報部分の順となる。本実施例において、割込み禁
止状態にあるプロセッサは、選択の対象外となる。な
お、チャネル装置から割込み要求が出された場合に、割
込み処理を行なうのに最適なプロセッサを、各プロセッ
サからのステータス情報に基づいて選択する上述の技術
は、昭和57年10月29日に本出願人によって提出さ
れた特願昭57−190112号の願書に添付された明
細書および図面に記載されている。本発明は、以下に述
べるように上記技術を更に改良したものである。Next, the operation of the embodiment of the present invention will be described with reference to the timing chart of FIG. When the input / output request is given from any of the processors 10 1 to 10 4 , the channel device 20 starts the corresponding input / output processing. The channel device 20 issues an interrupt request INT-REQ to the SCU 30 when it becomes necessary to request an interrupt process from any of the processors 10 1 to 10 4 due to the completion of input / output processing. The SCU30 processor 10 1
10 status information STATUS1~STA generated output 4
TUS4 is supplied. The SCU 30 is the channel device 20.
When receiving the interrupt request INT-REQ from the processor 10,
Based on the status information STATUS1~STATUS4 from 1 to 10 4, to select an optimum interrupt destination processor at that time. When the interrupt destination processor is selected, the weight of each information part of the status information STATUSi (i = 1 to 4) is the highest in the information part indicating whether or not the interrupt is prohibited,
Next, the information part indicating whether or not the system is in a stopped state and the information part indicating the operating rate are in that order. In this embodiment, the processors in the interrupt disabled state are not selected. It should be noted that, when the interrupt request is issued from the channel device, the above-mentioned technique for selecting the optimum processor for performing the interrupt processing based on the status information from each processor is described in October 29, 1982. It is described in the specification and the drawings attached to the application of Japanese Patent Application No. 57-190112 filed by the applicant. The present invention is a further improvement of the above technique as described below.
今、チャネル装置20からの割込み要求INT−REQに応
じ、例えばプロセッサ102が割込み先プロセッサとし
て選択されたものとする。SCU30は、プロセッサ10
2に対して割込み処理指令INT2を発する。この場合、
プロセッサ102はSCU30からの割込み処理指令INT2
に応じて割込み処理を行なうことになる。しかし、プロ
セッサ102が割込み許可状態から割込み禁止状態に遷
移している場合には、当該プロセッサ102は割込み処
理を実行できなくなる。周知のように、割込み禁止状態
は、割込み処理(ここでは入出力割込み処理)より優先
度の高い他の処理を行うときに設定されるものである。
割込み禁止状態の期間は、これら優先度の高い処理に要
する期間であり、数百T(T;クロック周期)から数千
T、場合によってはそれ以上の期間となるのが通常であ
る。したがって、上記のような特別の場合において、プ
ロセッサ102が、SCU30からの割込み処理指令I
NT2に応じて割込み処理を実行できるようになるまで
には、前記特願昭57−190112号記載の発明(先
願発明)では、数百Tから数千T、或いはそれ以上の期
間を要する。このような不都合は、次に述べるように、
プロセッサ(102)が割込み許可状態から割込み禁止
状態に状態遷移してから、その状態がステータス情報
(STATUS2)としてSCU30に伝達されるまでに通常数T
(T;クロック周期)を必要とすることから生じる。即
ち、SCU30は、数T前のプロセッサ101〜104の
状態により割込み先プロセッサを選択することになるた
め、上記数Tの間に割込み禁止状態に遷移したプロセッ
サに対して(当該プロセッサが割込み禁止状態にあるこ
とを知らずに)割込み指令を発してしまう可能性があ
る。この問題を、プロセッサ102が割込み許可状態か
ら割込み禁止状態に状態遷移した場合を例にとり、第5
図のタイミングチャートを参照して説明する。Now, according to the interrupt request INT-REQ from the channel device 20, for example, the processor 10 2 is the one selected as the interrupt destination processor. The SCU 30 is the processor 10
Issue an interrupt processing command INT2 to 2 . in this case,
Processor 10 2 interrupt processing command from SCU30 INT2
Interrupt processing will be performed in accordance with. However, if the processor 10 2 is transitioning from interrupt enable state to the interrupt disable state, the processor 10 2 can no longer perform the interrupt processing. As is well known, the interrupt disabled state is set when another process having a higher priority than the interrupt process (here, the input / output interrupt process) is performed.
The period in the interrupt disabled state is a period required for these high-priority processes, and is normally several hundred T (T; clock cycle) to several thousand T, and in some cases, a period longer than that. Therefore, in special cases, such as described above, the processor 10 2, the interrupt processing command I from SCU30
In the invention (prior invention) described in Japanese Patent Application No. 57-190112, a period of several hundred T to several thousand T or more is required until the interrupt processing can be executed according to NT2. Such inconvenience is as follows.
Processor from the state transition to the interrupt disable state (10 2) of the interrupt enable state, usually number until the condition is transmitted to SCU30 as status information (STATUS2) T
(T; clock period). That is, since the SCU 30 selects the interrupt destination processor depending on the state of the processors 10 1 to 10 4 before the number T, the SCU 30 determines that the processor that has transitioned to the interrupt disabled state during the number T is ( It is possible to issue an interrupt command (without knowing that it is in a prohibited state). This problem, taking a case where the processor 10 2 is a state transition from the interrupt enable state to the interrupt disable state as an example, the fifth
This will be described with reference to the timing chart in the figure.
第5図の例では、プロセッサ102内の割込み禁止/許
可フラグ(IF)112は、時刻tAまではプロセッサ
102が割込み許可状態にあり、それ以後は割込み禁止
状態にあることを示している。このプロセッサ102の
状態は、ステータス状態STATUS2として、数T、例えば
4T後にSCU30に伝達される。したがって、プロセッ
サ102の割込み禁止状態への状態遷移をSCU30が最
初に検出できるのは時刻tA+4Tである。ところで本
実施例では、SCU30から割込み先プロセッサ10
j(jは1〜4のうちの一つ)に対して割込み処理指令
INTjが発せられるタイミングは、チャネル装置20から
の割込み要求INT−REQの発生タイミングの次のタイミン
グ(クロック周期)である。このため、チャネル装置2
0からの割込み要求INT−REQの発生タイミングが第5図
の符号G1,G2で示されるように、時刻tA−T〜t
A+4Tの間のクロック周期となっている場合、割込み
禁止状態にあるプロセッサ102に対して割込み処理指
令INT2が発せられる可能性がある。In the example of FIG. 5, interrupt disable / enable flag (IF) 11 2 of the processor 10 in the 2, until the time t A is the processor 10 2 interrupt enable state, indicating that it thereafter is in the interrupt disabled state ing. State of the processor 10 2, as a status condition STATUS2, it is transmitted several T, for example, after 4T to SCU30. Therefore, the state transition to the interrupt disable state of the processor 10 2 SCU30 can first detected is the time t A + 4T. By the way, in the present embodiment, the interrupt destination processor 10 from the SCU 30
Interrupt processing command for j (j is one of 1 to 4)
The timing at which INTj is issued is the timing (clock cycle) next to the timing at which the interrupt request INT-REQ from the channel device 20 is generated. Therefore, the channel device 2
As the generation timing of the interrupt request INT-REQ from 0 is designated G1, G2 of FIG. 5, the time t A -T~t
If that is the clock period between A + 4T, interrupt processing instruction INT2 might be issued to the processor 10 2 in the interrupt disabled state.
プロセッサ102は、SCU30からの割込み処理指令INT
2を受取ると、自身の割込み禁止/許可フラグ112を
参照する。この例のように、フラグ112が割込み禁止
を示している場合、プロセッサ102割込み禁止状態が
解除されるまでには多大な時間を要することから、はSC
U30に対して割込み受付け拒否INT−RJT2を発する。
そして、SCU30は、プロセッサ102からの割込み受
付け拒否INT−RJT2を受取ると、チャネル装置20に対
して割込み受付け拒否INT−RJTを発し、チャネル装置2
0からの割込み要求がリジェクトされたことを通知す
る。チャネル装置20は、SCU30からの割込み受付け
拒否INT−RJTを受取ると、SCU30に対して再び割込み
要求INT−REQを発する。これにより、SCU30は、プロ
セッサ101〜104からのステータス情報STATUS1〜S
TATUS4に応じて割込み先プロセッサ再選択を行なう。こ
こで、プロセッサ102がSCU30に割込み受付け拒
否INT−RJT2を発してから、チャネル装置20が
SCU30に再び割込み要求INT−REQを発するま
での期間、いわゆるリトライに要する期間は、せいぜい
数+Tである。一方、プロセッサ102が時刻tAに割
込み禁止状態に遷移してから、再び割込み許可状態に復
帰するには、前記したように数百Tから数千T、或いは
それ以上の期間を要する。したがって、チャネル装置2
0がSCU30に対して再び割込み要求INT−REQ
を発した際には、プロセッサ102からのステータス情
報STATUS2は割込み禁止状態を示しており、プロ
セッサ102が再度選択されることはない。即ち、(プ
ロセッサ102を除く)プロセッサ101,103,1
04の中から割込み先プロセッサが選択され、当該プロ
セッサにより割込み処理が行なわれる。このように本実
施例では、タイミングの問題から割込み禁止状態にある
プロセッサが割込み先プロセッサとして選択されても、
即座に代替プロセッサが選択されるので割込みの保留状
態が発生せず、効率の良い割込み処理が行なえる。The processor 10 2, the interrupt processing command INT from SCU30
Upon receipt of the 2, referring to its interrupt disable / enable flag 11 2. As in this example, if the flag 11 2 indicates the interrupt disabled, it takes a lot of time before the processor 10 2 interrupt disabled state is released, the SC
Issue INT-RJT2 to U30.
Then, SCU30, upon receiving the interrupt reception refusal INT-RJT2 from the processor 10 2, emit interrupt reception refusal INT-RJT to the channel device 20, the channel device 2
Notify that the interrupt request from 0 has been rejected. When receiving the interrupt acceptance refusal INT-RJT from the SCU 30, the channel device 20 again issues the interrupt request INT-REQ to the SCU 30. As a result, the SCU 30 causes the status information STATUS1 to S from the processors 10 1 to 10 4.
Reselect the interrupt destination processor according to TATUS4. Here, the period from issues a reject INT-RJT2 accepted interrupt the processor 10 2 to SCU30, until the channel device 20 issues a re-interrupt request INT-REQ to SCU30, period required for the so-called retry is a matter of + T . On the other hand, from the transition to the interrupt disable state to the processor 10 2 is the time t A, to return again to the interrupt enable state thousands T hundreds T as described above, or requires more time. Therefore, the channel device 2
0 is an interrupt request INT-REQ to the SCU 30 again.
Is issued, the status information STATUS2 from the processor 10 2 indicates the interrupt disabled state, and the processor 10 2 will not be selected again. That is, the processors 10 1 , 10 3 , 1 (excluding the processor 10 2 )
0 4 is the interrupt destination processor is selected from among the interrupt processing is executed by the processor. As described above, in this embodiment, even if the processor in the interrupt disabled state is selected as the interrupt destination processor due to the timing problem,
Since the alternative processor is immediately selected, an interrupt pending state does not occur and efficient interrupt processing can be performed.
これに対し、チャネル装置20からの割込み要求INT−R
EQの発生タイミングが時刻tA−T以前である場合に
は、もしプロセッサ102が割込み先プロセッサとして
選択されるならば、対応する割込み処理指令INT2はプ
ロセッサ102の割込み許可中にSCU30から発せられ
る。プロセッサ102は、SCU30からの割込み処理指
令INT2を受取ると、自身の割込み禁止/許可フラグ1
12を参照する。この例のように、フラグ112が割込
み許可を示している場合、プロセッサ102はSCU30
に対して割込み受付けINT−ACK2を発すると共に、割込
み処理を開始する。そして、SCU30は、プロセッサ1
02からの割込み受付けINT−ACK2を受取ると、チャネ
ル装置20に対して割込み受付けINT−ACKを発し、チャ
ネル装置20からの割込み要求が受付けられたことを通
知する。なお、チャネル装置20からの割込み要求INT
−REQの発生タイミングが時刻TA+4T以降である場
合には、プロセッサ102は選択対象外となる。On the other hand, the interrupt request INT-R from the channel device 20
When the generation timing of the EQ is time t A -T Previously, if the processor 10 2 is selected as an interrupt destination processor, the corresponding interrupt processing instruction INT2 is generated from SCU30 during interrupt enable processor 10 2 To be The processor 10 2, upon receiving the interrupt processing command INT2 from SCU30, its interrupt disable / enable flag 1
Referring to 1 2. As in this example, if the flag 11 2 indicates the interrupt enable, the processor 10 2 SCU30
An interrupt acceptance INT-ACK2 is issued to and an interrupt process is started. The SCU 30 is the processor 1
0 When receiving the interrupt reception INT-ACK2 from 2 issues an interrupt reception INT-ACK to the channel device 20, notifying that the interrupt request from the channel device 20 is accepted. The interrupt request INT from the channel device 20
When the generation timing of -REQ is time T A + 4T later, the processor 10 2 becomes out of selection.
ところで前記実施例は、4台のプロセッサを備えたマル
チプロセッサシステムに実施した場合について説明した
が、本発明は任意のプロセッサ台数のシステムに応用で
きる。By the way, although the above-mentioned embodiment has been described as being applied to a multiprocessor system having four processors, the present invention can be applied to a system having an arbitrary number of processors.
以上詳述したように本発明によれば、チャネル装置から
の割込み要求に対する割込み処理を行なうプロセッサ
が、マルチプロセッサシステム内の各プロセッサの負荷
状況に応じて動的に決定され、システム性能および耐障
害性の向上、更には割込み処理効率の向上が図れる。As described in detail above, according to the present invention, a processor that performs interrupt processing for an interrupt request from a channel device is dynamically determined according to the load status of each processor in a multiprocessor system, and system performance and fault tolerance are improved. And the interrupt processing efficiency can be improved.
第1図乃至第3図は従来の割込み受付け制御方式を説明
するための図、第4図は本発明が適用されるマルチプロ
セッサシステムの一実施例を示すブロック構成図、第5
図は動作を説明するためのタイミングチャートである。 101〜104……プロセッサ、111〜114……割
込み禁止/許可フラグ、20……チャネル装置、30…
…システム制御装置(SCU)。1 to 3 are diagrams for explaining a conventional interrupt acceptance control system, FIG. 4 is a block diagram showing an embodiment of a multiprocessor system to which the present invention is applied, and FIG.
The figure is a timing chart for explaining the operation. 10 1 to 10 4 ... Processor, 11 1 to 11 4 ... Interrupt prohibition / permission flag, 20 ... Channel device, 30 ...
… System control unit (SCU).
Claims (1)
らの入出力要求に応じて入出力処理を行なうチャネル装
置とを備えたマルチプロセッサシステムにおいて、上記
複数のプロセッサから該当プロセッサの割込み許可/禁
止状態、運転状況、および稼動率を示すステータス情報
をそれぞれ生成出力する手段と、上記チャネル装置から
の割込み要求に応じ、上記複数のプロセッサからの上記
各ステータス情報に基づいて割込み先プロセッサを決定
し、当該プロセッサに割込み処理指令を発するシステム
制御装置と、このシステム制御装置からの上記割込み処
理指令に応じ、自身の割込み許可/禁止状態に基づいて
該当プロセッサから上記システム制御装置に第1割込み
受付けまたは第1割込み受付け拒否を通知する手段と、
上記プロセッサからの上記第1割込み受付けまたは第1
割込み受付け拒否に応じ、上記システム制御装置から上
記チャネル装置に第2割込み受付けまたは第2割込み受
付け拒否を通知する手段と、上記システム制御装置から
の上記第2割込み受付け拒否に応じ、上記チャネル装置
から上記システム制御装置に再び上記割込み要求を発す
る手段とを具備することを特徴とする割込み受付け制御
方式。1. A multiprocessor system comprising a plurality of processors and a channel device for performing input / output processing in response to input / output requests from these processors, wherein interrupt enable / disable states of the processors from the plurality of processors are provided. A means for generating and outputting status information indicating an operating condition and an operating rate, and an interrupt destination processor is determined based on the status information from the plurality of processors in response to an interrupt request from the channel device, and the processor A system controller that issues an interrupt processing command to the system controller and a first interrupt acceptance or first interrupt from the processor to the system controller based on its own interrupt enable / disable state in response to the interrupt processing command from the system controller. A means to notify acceptance refusal,
Accepting the first interrupt from the processor or the first
Means for notifying the channel device of the second interruption acceptance or the second interruption acceptance refusal in response to the interruption acceptance refusal, and the channel equipment for responding to the second interruption acceptance refusal from the system control device An interrupt acceptance control system, comprising: means for issuing the interrupt request again to the system control device.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP59036716A JPH0658654B2 (en) | 1984-02-28 | 1984-02-28 | Interrupt acceptance control method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP59036716A JPH0658654B2 (en) | 1984-02-28 | 1984-02-28 | Interrupt acceptance control method |
Publications (2)
Publication Number | Publication Date |
---|---|
JPS60179865A JPS60179865A (en) | 1985-09-13 |
JPH0658654B2 true JPH0658654B2 (en) | 1994-08-03 |
Family
ID=12477470
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP59036716A Expired - Lifetime JPH0658654B2 (en) | 1984-02-28 | 1984-02-28 | Interrupt acceptance control method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH0658654B2 (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP5322567B2 (en) * | 2008-10-02 | 2013-10-23 | ルネサスエレクトロニクス株式会社 | Data processing system and semiconductor integrated circuit |
JP5439983B2 (en) * | 2009-06-29 | 2014-03-12 | 富士通株式会社 | Multiprocessor system, interrupt control method, and interrupt control program |
-
1984
- 1984-02-28 JP JP59036716A patent/JPH0658654B2/en not_active Expired - Lifetime
Also Published As
Publication number | Publication date |
---|---|
JPS60179865A (en) | 1985-09-13 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JPH0650493B2 (en) | Data processing device | |
JPH0454255B2 (en) | ||
US10558237B2 (en) | Information processing apparatus | |
JPH0658654B2 (en) | Interrupt acceptance control method | |
JPH08297581A (en) | Interruption management system of real-time operating system | |
JPH01214939A (en) | Single-chip microcomputer | |
JPH0320845A (en) | Memory access control system | |
JP2947195B2 (en) | Interrupt mask control method | |
JPH09282188A (en) | Interruption processing method and system using the method | |
JP2837698B2 (en) | Direct memory access controller | |
JPH04233028A (en) | Printer | |
JPH09218859A (en) | Multiprocessor control system | |
JPH0830549A (en) | Bus control device | |
JPS6145348A (en) | Bus priority control method | |
JPS6010381A (en) | System for deciding input and output interruption reception processor in multi-processor system | |
JPH06175867A (en) | Interrupt control device | |
JPH1074148A (en) | Interruption processor | |
JP2001306337A (en) | Multitask equivalent processing system and its method | |
JPH0721111A (en) | Priority level determination system | |
JPH0740229B2 (en) | Interrupt input signal control method | |
JP2006146641A (en) | Multi-thread processor and multi-thread processor interrupt method | |
JPH02108149A (en) | Exclusive control mechanism for multiprocessor | |
JPH01243158A (en) | Information processor | |
JPH05189349A (en) | Channel priority discriminating circuit | |
JPH01279348A (en) | Re-execution system for input/output action of information processor |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
EXPY | Cancellation because of completion of term |