JPS6131904B2 - - Google Patents
Info
- Publication number
- JPS6131904B2 JPS6131904B2 JP6302779A JP6302779A JPS6131904B2 JP S6131904 B2 JPS6131904 B2 JP S6131904B2 JP 6302779 A JP6302779 A JP 6302779A JP 6302779 A JP6302779 A JP 6302779A JP S6131904 B2 JPS6131904 B2 JP S6131904B2
- Authority
- JP
- Japan
- Prior art keywords
- interrupt
- circuit
- cpu
- processing
- processing device
- 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
Links
- 238000000034 method Methods 0.000 claims description 6
- 238000001514 detection method Methods 0.000 description 7
- 238000010586 diagram Methods 0.000 description 7
- 125000004122 cyclic group Chemical group 0.000 description 1
- 230000000737 periodic effect Effects 0.000 description 1
- 238000003672 processing method Methods 0.000 description 1
Landscapes
- Multi Processors (AREA)
Description
【発明の詳細な説明】
本発明は、負荷分散形のマルチプロセサシステ
ムにおける割込の分散処理方式に関する。DETAILED DESCRIPTION OF THE INVENTION The present invention relates to an interrupt distributed processing method in a load distributed multiprocessor system.
従来、マルチプロセサシステムの割込処理は、
機能分散形のシステムでは、割込源と処理装置
(以下CPUという)とを1対1に対応させる方法
を採り、負荷分散形のシステムでは管理用CPU
が割込要求を一括受付けして他のCPUに、分配
する方法を採るのが一般的であつた。 Traditionally, interrupt processing in multiprocessor systems is
In function distributed systems, interrupt sources and processing units (hereinafter referred to as CPUs) have a one-to-one correspondence, and in load distributed systems, the management CPU
It was common for the CPU to accept interrupt requests all at once and distribute them to other CPUs.
前者は、システムとしての自由度に欠けるとと
もに、頻発する割込要求を受付けるCPUの処理
能力がシステムの処理能力を制限する結果を招い
ていた。 In the former case, the system lacks flexibility, and the processing capacity of the CPU that accepts frequent interrupt requests limits the system's processing capacity.
また後者は、自由度はあるが、割込受付け、分
配を管理用CPUだけが行うため、割込の同時並
列処理の効率が悪くなり、やはりシステムの処理
能力が制限されていた。 Although the latter has a degree of freedom, only the management CPU handles interrupt reception and distribution, which reduces the efficiency of simultaneous parallel processing of interrupts and limits the processing capacity of the system.
割込処理のオーバヘツドが大きいLSIマイクロ
CPUを使つて、発生頻度の高い割込要求を処理
するマルチプロセサシステムにおいては、この欠
点は非常に大きな問題となつていた。 LSI micro with large interrupt processing overhead
This drawback has been a huge problem in multiprocessor systems that use the CPU to process frequently occurring interrupt requests.
本発明の目的は、負荷分散形のマルチプロセス
システムにおける管理用CPUを取除いて、割込
の処理効率を改善する為、割込の同時並列処理を
容易に実行できるマルチプロセサへの割込分配方
式を提供することにある。 An object of the present invention is to provide a method for distributing interrupts to multiple processors that can easily execute simultaneous and parallel processing of interrupts in order to improve interrupt processing efficiency by removing the management CPU in a load distributed multi-process system. Our goal is to provide the following.
本発明によれば、複数のランダムに発生する割
込要求を優先順に1つづつ受付ける回路と、受付
けた割込要求を処理可能なCPUを検出して分配
する回路と、割込先が指定される割込、例えば1
つのCPUから他のCPUへの割込など、を指定さ
れたCPUに分配する回路とから構成され、発生
した割込はハードウエアにより自律的に空き
CPUに分配されるようにしたマルチプロセサへ
の割込分配方式が得られる。 According to the present invention, there is a circuit that accepts a plurality of randomly generated interrupt requests one by one in priority order, a circuit that detects and distributes the accepted interrupt requests to CPUs that can process them, and a circuit that specifies the interrupt destination. interrupt, e.g. 1
It consists of a circuit that distributes interrupts from one CPU to other CPUs to designated CPUs, and generated interrupts are automatically cleared by hardware.
A method for distributing interrupts to a multiprocessor in which the interrupts are distributed to the CPU can be obtained.
次に本発明の実施例について図面を参照して説
明する。 Next, embodiments of the present invention will be described with reference to the drawings.
第1図は本発明の一実施例を示すブロツク図で
ある。割込要求受付け回路100には、優先度の
高い順にタイマ割込、CPU間割込、コンソール
割込、入出力系割込が入力されている。入出力系
割込は、入出力系装置の相互接続により優先順が
決められた1本の割込線である。割込要求受付け
回路100で受付けられ、1つの割込要求だけが
分配回路150に入力される。この割込要求が入
出力系割込要求以外のときは割込先指示回路14
0の指示に従つて分配回路150が動作し指定さ
れたCPUへ割込む。一方入出力系割込要求のと
きは循環指示回路110の指示に従つて分配回路
150が動作し、指示されたCPUに割込む。循
環指示回路110はCPUが割込を受付けたこと
を検出すると次の割込時に次のCPUに循環する
様に内部のカウンタを更新しておく。もし割込ま
れたCPUが割込を受付けられない場合には、
CPU割込不可条件検出回路130が循環スキツ
プ制御回路120を起動し循環指示回路の内部の
カウンタを更新し、次のCPUに割込を循環す
る。 FIG. 1 is a block diagram showing one embodiment of the present invention. A timer interrupt, an inter-CPU interrupt, a console interrupt, and an input/output interrupt are input to the interrupt request receiving circuit 100 in descending order of priority. An input/output interrupt is a single interrupt line whose priority order is determined by interconnection of input/output devices. The interrupt request accepting circuit 100 accepts the interrupt request, and only one interrupt request is input to the distribution circuit 150. If this interrupt request is other than an input/output interrupt request, the interrupt destination instruction circuit 14
The distribution circuit 150 operates according to the instruction of 0 and interrupts the designated CPU. On the other hand, in the case of an input/output system interrupt request, the distribution circuit 150 operates according to instructions from the circulation instruction circuit 110 and interrupts the instructed CPU. When the circulation instruction circuit 110 detects that the CPU has accepted an interrupt, it updates an internal counter so that the cycle will be made to the next CPU at the next interrupt. If the interrupted CPU cannot accept the interrupt,
The CPU interrupt disable condition detection circuit 130 activates the circulation skip control circuit 120, updates the internal counter of the circulation instruction circuit, and circulates the interrupt to the next CPU.
次に循環指示回路110、循環スキツプ制御回
路120およびCPU割込不可条件検出回路の詳
細を第2図〜第4図により説明する。 Next, details of the circulation instruction circuit 110, the circulation skip control circuit 120, and the CPU interrupt disable condition detection circuit will be explained with reference to FIGS. 2 to 4.
第2図は循環指示回路を示すブロツク図であ
る。カウンタ111の出力が、分配回路への出力
信号200となつている。カウンタ111は、
CPU割込受付け信号と循環スキツプ回路の出力
信号201との論理和を前縁微分したパルスによ
り更新し、システムの最大実装数を指定するレジ
ス112の出力205とカウンタの出力200と
をマツチヤ113で比較し、一致すると一致信号
206を前縁微分したパルスによりリセツトす
る。 FIG. 2 is a block diagram showing the circulation instruction circuit. The output of the counter 111 is an output signal 200 to the distribution circuit. The counter 111 is
The output 205 of the register 112 and the output 200 of the counter, which specify the maximum number of system implementations, are updated by a pulse obtained by differentiating the leading edge of the logical sum of the CPU interrupt acceptance signal and the output signal 201 of the cyclic skip circuit, and are output by the matcher 113. They are compared, and if they match, the matching signal 206 is reset by a pulse obtained by differentiating the leading edge.
第3図は循環スキツプ制御回路を示すブロツク
図である。循環指示回路110への循環制御信号
201は、カウンタ111の出力200と、
CPU割込不可条件検出回路の出力202,20
3,204の各々とをマツチヤ121,122,
123で比較し、各々の一致信号の論理和をとつ
たものである。 FIG. 3 is a block diagram showing the circulation skip control circuit. The circulation control signal 201 to the circulation instruction circuit 110 is the output 200 of the counter 111,
Output 202, 20 of CPU interrupt disable condition detection circuit
3,204 and Matsushiya 121, 122,
123, and the logical sum of each matching signal is calculated.
第4図はCPU割込不可条件検出回路を示すブ
ロツク図である。信号202は、各CPUごとに
設けられた障害検出用のタイマのオーバフローを
示す。このタイマは各CPUが障害になつたと
き、プログラムによる定期的なリセツトが停止し
てオーバフローすることにより、障害検出を行う
ものである。信号203は、CPUが実装されて
いないことを示す。この信号は各CPU対応に1
本の信号線で示される。信号204は各CPUご
とに設けられたビジー表示フリツプフロツプの出
力である。このフリツプフロツプは、各CPUが
割込を受付ないときに、自CPUに対応するフリ
ツプフロツプをセツトし、割込を受けつけるとき
に、自CPUに対応するフリツプフロツプをリセ
ツトする。 FIG. 4 is a block diagram showing a CPU interrupt disable condition detection circuit. A signal 202 indicates an overflow of a failure detection timer provided for each CPU. This timer detects a failure by stopping periodic reset by the program and overflowing when each CPU experiences a failure. Signal 203 indicates that no CPU is installed. This signal is one for each CPU.
Indicated by book signal line. Signal 204 is the output of a busy indicating flip-flop provided for each CPU. This flip-flop sets the flip-flop corresponding to each CPU when it does not accept an interrupt, and resets the flip-flop corresponding to its own CPU when it accepts an interrupt.
本発明は、以上説明したような割込分配回路を
用いることにより、割込分配に要する時間が短縮
され、頻繁に発生する割込要求を効率良く分散処
理できる効果がある。。特に割込処理のオーバヘ
ツドの大きいLSI CPUに対して効果的である。 By using the interrupt distribution circuit as described above, the present invention has the advantage that the time required for interrupt distribution is shortened and frequently occurring interrupt requests can be efficiently distributed and processed. . This is particularly effective for LSI CPUs with large interrupt processing overhead.
第1図は、本発明の一実施例を示すブロツク
図、第2図は、第1図に示した循環指示回路の詳
細を示すブロツク図、第3図は第1図に示した循
環スキツプ制御回路の詳細を示すブロツク、第4
図は第1図に示したCPU割込不可条件検出回路
の詳細を示すブロツク図である。
100:割込要求受付け回路、110:循環指
示回路、120:循環スキツプ制御回路、13
0:CPU割込不可条件検出回路、140:循環
先指示回路、150:分配回路。
FIG. 1 is a block diagram showing one embodiment of the present invention, FIG. 2 is a block diagram showing details of the circulation instruction circuit shown in FIG. 1, and FIG. 3 is a circulation skip control shown in FIG. 1. Block showing details of the circuit, 4th
FIG. 1 is a block diagram showing details of the CPU interrupt disable condition detection circuit shown in FIG. 100: Interrupt request acceptance circuit, 110: Circulation instruction circuit, 120: Circulation skip control circuit, 13
0: CPU interrupt disable condition detection circuit, 140: Circulation destination instruction circuit, 150: Distribution circuit.
Claims (1)
チプロセサシステムにおいて、複数の割込源から
発生するランダムな割込要求を優先順に1つづつ
受付ける回路と、受付けた割込要求を各処理装置
に順次循環する様に指示する回路と、割込ませよ
うとする処理装置が割込処理を実行できない条件
を検出して、他の処理装置へ割込先を循環する様
に制御する回路と、割込先処理装置が指定された
割込要求を指定された処理装置に割込む様に指示
する回路と、前記各々の指示回路の出力信号に従
つて、割込要求を各処理装置に分配する回路とを
含み構成されることを特徴とする割込分配方式。1. In a load-balanced multiprocessor system consisting of multiple processing units, there is a circuit that accepts random interrupt requests generated from multiple interrupt sources one by one in priority order, and a circuit that sequentially sends the accepted interrupt requests to each processing unit. A circuit that instructs the interrupt to be circulated, a circuit that detects a condition in which the processing device that is attempting to cause an interrupt cannot execute the interrupt processing, and controls the interrupt destination to be circulated to other processing devices; a circuit that instructs the previous processing device to interrupt the specified interrupt request to the specified processing device; and a circuit that distributes the interrupt request to each processing device according to the output signal of each of the instruction circuits. An interrupt distribution method comprising:
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP6302779A JPS55154653A (en) | 1979-05-22 | 1979-05-22 | Interruption distributing system to multiprocessor |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP6302779A JPS55154653A (en) | 1979-05-22 | 1979-05-22 | Interruption distributing system to multiprocessor |
Publications (2)
Publication Number | Publication Date |
---|---|
JPS55154653A JPS55154653A (en) | 1980-12-02 |
JPS6131904B2 true JPS6131904B2 (en) | 1986-07-23 |
Family
ID=13217426
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP6302779A Granted JPS55154653A (en) | 1979-05-22 | 1979-05-22 | Interruption distributing system to multiprocessor |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPS55154653A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS6167203U (en) * | 1984-10-11 | 1986-05-08 |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS57143670A (en) * | 1981-03-03 | 1982-09-04 | Nec Corp | Parallel processing system |
JPS6292058A (en) * | 1985-10-18 | 1987-04-27 | Fujitsu Ltd | Multiprocessor system |
JP2553094B2 (en) * | 1987-08-13 | 1996-11-13 | 富士通株式会社 | Interrupt controller |
KR20130021637A (en) * | 2011-08-23 | 2013-03-06 | 삼성전자주식회사 | Method and apparatus for interrupt allocation of multi-core system |
CN106095548B (en) * | 2016-06-03 | 2020-07-10 | 青岛海信移动通信技术股份有限公司 | Method and device for distributing interrupts in multi-core processor system |
-
1979
- 1979-05-22 JP JP6302779A patent/JPS55154653A/en active Granted
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS6167203U (en) * | 1984-10-11 | 1986-05-08 |
Also Published As
Publication number | Publication date |
---|---|
JPS55154653A (en) | 1980-12-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US4959781A (en) | System for assigning interrupts to least busy processor that already loaded same class of interrupt routines | |
CA2009055A1 (en) | Arbitration of bus access in digital computers | |
JPS63182749A (en) | Timer controller for computer system | |
JPS6131904B2 (en) | ||
EP0287295A3 (en) | Multiple i/o bus virtual broadcast of programmed i/o instructions | |
Manner | Hardware task/processor scheduling in a polyprocessor environment | |
JPS56114063A (en) | Multiprocessor | |
JPS63223860A (en) | Multi-processor constituting device | |
CA2145553A1 (en) | Multi-Processor System Including Priority Arbitrator for Arbitrating Request Issued from Processors | |
JPH04302353A (en) | Timer interrupting system for symmetrical multi processor computer | |
CN112463388B (en) | SGRT data processing method and device based on multithreading | |
GB2030331A (en) | Real-time Data Processing System for Processing Time Period Commands | |
JPS6448154A (en) | Bus arbitrating circuit with timeout monitor | |
JPH0981528A (en) | Multiprocessor system, method and device for interrupt control used in the same | |
JPH04128959A (en) | Load distribution method in multi-processor system | |
JPS6211958A (en) | Multi-microprocessor system | |
JPS58151661A (en) | Memory device | |
JPH0241782B2 (en) | ||
JPS60564A (en) | Memory access competition controlling system | |
JPS6348994A (en) | System bus control circuit | |
Scott et al. | In Multistage Interconnection Networks | |
JPS6421635A (en) | Software timer management processor | |
JPS6041786B2 (en) | interrupt control system | |
JPS631633B2 (en) | ||
JPH05324570A (en) | Interruption control system for multi-processor system |