JPS58222350A - Multiplex processing system - Google Patents

Multiplex processing system

Info

Publication number
JPS58222350A
JPS58222350A JP10518082A JP10518082A JPS58222350A JP S58222350 A JPS58222350 A JP S58222350A JP 10518082 A JP10518082 A JP 10518082A JP 10518082 A JP10518082 A JP 10518082A JP S58222350 A JPS58222350 A JP S58222350A
Authority
JP
Japan
Prior art keywords
buffer
job
buffers
counter
request
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
JP10518082A
Other languages
Japanese (ja)
Other versions
JPH0122937B2 (en
Inventor
Mikio Nakamura
幹夫 中村
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Corp
Original Assignee
NEC Corp
Nippon Electric Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Corp, Nippon Electric Co Ltd filed Critical NEC Corp
Priority to JP10518082A priority Critical patent/JPS58222350A/en
Publication of JPS58222350A publication Critical patent/JPS58222350A/en
Publication of JPH0122937B2 publication Critical patent/JPH0122937B2/ja
Granted legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/52Program synchronisation; Mutual exclusion, e.g. by means of semaphores
    • G06F9/524Deadlock detection or avoidance

Landscapes

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

Abstract

PURPOSE:To eliminate the system dead lock and to release the congestion, by providing a device permitting a buffer use request of a low priority only when the number of vacant buffers is a prescribed value or below. CONSTITUTION:A buffer managing device 4 is constituted of a buffer request discriminating circuit 41 and a counter 42. Further, the managing device 4 counts the number of vacant buffers B, and the use is inhibited to the buffer use request of a low priority from an external input device 2 when a value of the counter 42 reaches a prescribed value. When the internal processing is finished and the number of vacant buffers is a prescribed value or over, the low priority buffer use request is also received. Thus, even if an external job demmand exceeds remarkably the prepared buffer size, the job is executed successively from the internal processing having a buffer use request of a high priority. Then, the information processing system attains job processing without intermission.

Description

【発明の詳細な説明】 本発明は情報処理システムの多重処理方式に関する。[Detailed description of the invention] The present invention relates to a multiprocessing method for an information processing system.

多重処理を目的とする情報処理システムにおいては、情
報処理システムに要求される複数のジョブを記憶し、こ
れを内部処理中も記憶し続けるために複数個のバッファ
を含む記憶装置が必要である。それぞれのジョブが完全
に終結するときに、使用されていたバッファは空圧なシ
、ν[しいジョブで使用することが可能となる。情報処
理システ 。
2. Description of the Related Art In an information processing system intended for multi-processing, a storage device including a plurality of buffers is required to store a plurality of jobs required of the information processing system and to continue storing the jobs even during internal processing. When each job is completely finished, the used buffer becomes available for use by a new job. Information processing system.

ムに要求されるジョブには情報処理システムの外部から
要求されて発生するジョブと、いったん情報処理システ
ムの内部に取込まれ、処理中のジョブから要求されて発
生するジョブとがある。第1図は上記ジョブを説明する
だめのシステム構成を示す図である。第1図で1は処理
装置、2は入力装置、3は記憶装置である。
Jobs requested by the system include jobs that are generated by requests from outside the information processing system, and jobs that are generated by requests from jobs that are once taken into the information processing system and are currently being processed. FIG. 1 is a diagram showing a system configuration for explaining the above job. In FIG. 1, 1 is a processing device, 2 is an input device, and 3 is a storage device.

第1図に示す情報処理システムでP、〜”I * ”’
1 #J、〜Ja eJJx t Bl〜八などは多重
処理をモデル化したものである。すなわち、へ〜為は第
1〜第6のバッファである。J1〜J8は情報処理シス
テムの外部から情報処理システムに要求されたジョブを
表わす。J1〜J3は既に内部処理が進んでいて記憶装
置に存在し、処理装置上ではPl、 P、 、 P3と
記しであるジョブを指す、J4〜J8のジョブは末だ内
部処理に入っていないジョブを指す。処理P1から1d
報処理システムに要求したジョブをJJiによって表わ
すことにするが、第1図では内部処理中のPlから情報
処理システムに要求されたジョブJJ1がバッファ上に
存在し、処理装置上ではP且と14ピしである。
In the information processing system shown in Fig. 1, P, ~"I*"'
1 #J, ~Ja eJJx t Bl~8, etc. are models of multiple processing. That is, the buffers are the first to sixth buffers. J1 to J8 represent jobs requested to the information processing system from outside the information processing system. Jobs J1 to J3 are already in internal processing and exist in the storage device, and are marked Pl, P, , P3 on the processing device.J4 to J8 are jobs that have not yet entered internal processing. refers to Processing P1 to 1d
The job requested to the information processing system will be represented by JJi. In FIG. It's pishi.

このようなシステムでは、一般にバッファのメモリサイ
ズが有限なために、情報処理システムの外部から要求さ
れるジョブの要求が高まってくると、バッファがつぎつ
ぎに使用されて満杯になる。いったんバッファが満杯に
なると、内部に取込葦れて処理中のジョブから要求され
るジョブには、これに使用するバッファも用意すること
ができなくなる。この場合には、ひたすらバッファが空
くのを待つのみで、・内部処理を進めることができなく
なるというシステムデッド呻ツクの状態が生じる。
In such a system, the memory size of the buffer is generally limited, so as the demands for jobs from outside the information processing system increase, the buffer is used one after another and becomes full. Once the buffer is full, there will be no buffer available for a job that is requested by a job that has been imported and is currently being processed. In this case, the system simply waits for the buffer to become free, and internal processing cannot proceed, resulting in a system dead state.

第2図は第1図に示したシステム構成においてシステム
デッドロックが生じた状態ケ説明する図である。第1図
の状態で処理p、 、 p、がジョブJJ、 。
FIG. 2 is a diagram illustrating a state in which a system deadlock occurs in the system configuration shown in FIG. 1. In the state shown in FIG. 1, processing p, , p, is job JJ, .

鶴を発生させる以前に、ジョブJ4 # J8がバッフ
ァ面A、l&に入れられて処理P4s ’5を作り出し
、さらに処理P1. PP、が終了してバッファ面A、
B、が空いたときに、バッファlへ、B!にジョブJ6
. JTが入れられてし′まうと、処理装置上のPlが
ジョブJJiを発生させようとしたときにはバッファ面
に空きがなく、処理Piを行う場合にはジョブJJ1の
ためにバッファ面が空くのを待つのみで処理を進めるこ
とができない。
Before generating the crane, job J4 # J8 is put into buffer plane A, l& to create process P4s '5, and further process P1. After PP is completed, the buffer surface A,
When B, becomes free, move B! to buffer l. to job J6
.. Once JT has been inserted, when Pl on the processing device tries to generate job JJi, there is no free space on the buffer surface, and when processing Pi, it is necessary to wait for the buffer surface to become free for job JJ1. You can't proceed with the process by just waiting.

従来、このようなときには保守者、−fたは操作者が介
在し、システムの立上げを行わなければならない。自動
的に事態を解決できないか、またはシステムの立上げを
行っても、システムデッドロックの状態からシステムが
立上がる萱での期間にわたり、保守者、葦たけ操作者は
ジョブを停止させている。このため、情報処理システム
に対する需要によシシδテムが立上った後、集中してバ
ラ1′□1.。
Conventionally, in such a case, a maintenance person, -f, or operator must intervene to start up the system. If the situation cannot be resolved automatically, or even if the system is started up, maintenance personnel and reed rack operators are forced to stop jobs during the period during which the system starts up from a system deadlock state. For this reason, after the system was launched due to demand for information processing systems, the system was concentrated on 1'□1. .

7アの満杯が起シ、再びシステムデッドロックの  □
状態に落人る現象や、システムデッドロックなどをでき
る限り起さないようにするために、情報処理システムに
要求される最悪の事態を見込へ、充分なバッファサイズ
を用意する必要があるため。
7A is full, causing system deadlock again □
In order to prevent situations such as system crashes and system deadlocks as much as possible, it is necessary to prepare a sufficient buffer size in anticipation of the worst-case scenario required of an information processing system.

従来技術によれば経済性が劣ると云う欠点があった。The conventional technology has the drawback of being less economical.

本発明の目的は多重処理を行う情報処理システム構成イ
て、バッファが満杯になったときにもシ、  ステムデ
ッドロックの状態に落人ることなく、一時的な輻較状態
に留めるにすぎない多重処理方式を提供することにある
The purpose of the present invention is to configure an information processing system that performs multiple processing so that even when the buffer becomes full, the system does not fall into a system deadlock state, but only remains in a temporary state of computation. The purpose is to provide a multi-processing method.

既に説明したように、多重処理を目的とする従来の情報
処理システムにおいては、バッファが満杯になることに
よってシステムデッドロックの状態が生じる。こうした
状態を引起さず、内部処理を円滑に遂行させる対策が必
要である。しかし。
As described above, in conventional information processing systems intended for multi-processing, a system deadlock condition occurs when a buffer becomes full. It is necessary to take measures to prevent this situation from occurring and to ensure that internal processing is carried out smoothly. but.

バッファ満杯の事態は1れにしか起ることはないので、
バッファ満杯の状態を起させないためにバッファをあら
ゆる事態に対応した充分な量たけ用意することは既に説
明したように不経済である。
The buffer full situation only happens once, so
As already explained, it is uneconomical to prepare enough buffers to cover all situations in order to prevent the buffer from becoming full.

そこで、通常の需要に対して適正なメモリサイズのバッ
ファを用意し、バッファ使用要求に対して優先度を付け
、低位の優先厩のバッファ使用要求は空きバッファの数
が一定値以下のときのみに許すための装置を付加するこ
とによシ従来方式の問題点を解決した。
Therefore, we prepare buffers with an appropriate memory size for normal demand, prioritize buffer usage requests, and only issue buffer usage requests for lower priority buffers when the number of free buffers is below a certain value. The problems of the conventional method were solved by adding a device for permitting.

すなわち、本発明による多重処理方式では入力装置と、
内部処理用の情報を記憶するだめの複数個のバッファを
含む記憶装置と、処理装置とを具備した多重処理方式に
おいて、バッファ管理装置を付加したものである。バッ
ファ管理装置はカウンタとバッファ要求判定回路とを備
えたものである。カウンタは空いているバッファの数を
計数して表示するものである。優先度を付加した低位の
バッファ使用要求に対し、バッファ要求判定回路はカウ
ンタの値があらかじめ定められた一定値よシ小さくなる
とバッファの使用を禁止する。したがって、低位の優先
度のバッファ使用要求は、空いているバッファの数が一
定値に満たないときにのみ受付けられるように構成した
ものである。
That is, in the multiprocessing method according to the present invention, the input device and
This multiprocessing system includes a storage device including a plurality of buffers for storing information for internal processing, and a processing device, in which a buffer management device is added. The buffer management device includes a counter and a buffer request determination circuit. The counter counts and displays the number of free buffers. In response to a low priority buffer use request, the buffer request determination circuit prohibits the use of the buffer when the counter value becomes smaller than a predetermined constant value. Therefore, the configuration is such that a low-priority buffer use request is accepted only when the number of free buffers is less than a certain value.

次に本発明の芙施例について図面を参照して説明する。Next, embodiments of the present invention will be described with reference to the drawings.

第3図は第1図に示すシステム構成の情報処理システム
に対してバッファ管理装置を伺加した多重処理方式のブ
ロック図である。第3図においてもバッファ管理装+t
 4はバッファ要求判定回路41とカウンタ42とがら
構成されている。
FIG. 3 is a block diagram of a multiprocessing system in which a buffer management device is added to the information processing system having the system configuration shown in FIG. In Figure 3, the buffer management system +t
4 is composed of a buffer request determination circuit 41 and a counter 42.

バッファ管理装置4は空いているバッファの数を計数し
ておシ、カウンタ42の値が一定値に到達すると低位の
バッファ使用要求に対してはバッファ捕捉を禁止してb
る。低位のバッファ使用要求は、処理システムの外部に
ある入力装置から入ってくるジョブに対するバッファ使
用要求を指す。
The buffer management device 4 counts the number of free buffers, and when the value of the counter 42 reaches a certain value, prohibits buffer capture for low-level buffer usage requests.
Ru. Low buffer usage requests refer to buffer usage requests for jobs that come from input devices external to the processing system.

本実施例ではカウンタの初期値は6であシ、バッファが
使用される毎に値は減算され、バッファが空きの状態に
戻される毎に加算さ7Lる。その後、内部処理が終了し
て、望きバッファの数が一定値以上になると低位のバッ
ファ使用要求に対してもバッファ使用要求を許して受付
りる。
In this embodiment, the initial value of the counter is 6, the value is decremented each time the buffer is used, and is incremented by 7L each time the buffer is returned to an empty state. Thereafter, when the internal processing is completed and the number of desired buffers exceeds a certain value, buffer usage requests are allowed and accepted even for low-level buffer usage requests.

このパ・ファ管理装置4にQ ””9 h該当情報処理
システムに対する外部からのジョブ需要が、用意してい
るバッファサイズを大幅に1廻わった際でも、高位のバ
ッファ使用要求ヲ壱する内部処理からジョブがつぎつぎ
に実行されて行くため、設計基準金1廻わる需要に対し
ても清報処理システムの一時的な輻榛に留めることが可
能である。よって、情報処理システムは中断なくジョブ
処理することができ、輻幅状態をよシ効果的に解除でき
る。
This buffer management device 4 has Q ``'' 9h Even when the external job demand for the relevant information processing system is significantly larger than the prepared buffer size, the internal buffer management device 4 keeps high-level buffer usage requests. Since jobs are executed one after another from processing, it is possible to limit the demand for one design standard amount to a temporary congestion of the report processing system. Therefore, the information processing system can process jobs without interruption, and the congestion state can be more effectively relieved.

本実施例でμバッファの優先度が2つの場合を示しであ
る。すなわち、入力装置m 2を通して情報処理システ
ムに入ってくるジョブに対するバッファ使用要求と、既
に内部に取込まれて処理中のジョブから要求されるバッ
ファ使用要求とに対する優先度を取扱う′でいる。シス
テムが複雑化して内部に取込葦れて処理中のジョブから
要求されるバッファ使用要求が複数になる場合でも、ジ
ョブ毎に優先度をつけることによって同様な方法で水沫
を適用することが可能である。
This example shows a case where the μ buffer has two priorities. That is, priority is given to buffer usage requests for jobs entering the information processing system through the input device m2 and buffer usage requests requested from jobs that have already been taken into the system and are being processed. Even if the system becomes complex and there are multiple buffer usage requests requested by the jobs being processed internally, it is possible to apply water droplets in the same way by prioritizing each job. It is.

本発明は以上説明したように、バッファ管理装置を採用
することに::・・:、、、士シバッ7アが満杯の際に
もシステムデッドロック状態を起すことなく、輻晴状態
を円滑に解除できると云う効果がある。
As explained above, the present invention employs a buffer management device to smoothly maintain a congestion state without causing a system deadlock state even when the buffer is full. There is an effect that can be removed.

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

第1図は従来の多重処理方式のジョブの実行を説明する
図、第2図は第1図に示す多重処理方式で発生したシス
、テムデッドロック状態f:説明する図、第8図は本発
明による多重処理方式の実施例を示すブロック図である
。 10拳・処理装置 2・−・入力装置 3@会・記憶装置 4・−・バッファ管理装置 41φΦ・バッファ要求判定回路 42目・カラ/り 特許出願人 日本電気株式会社 代理人 弁理士  井 ノ ロ     都7j図 3 ォ2vA
Figure 1 is a diagram explaining the execution of a job using the conventional multiprocessing method. Figure 2 is a diagram explaining the system deadlock state f that occurs in the multiprocessing method shown in Figure 1. 1 is a block diagram illustrating an embodiment of a multi-processing scheme according to the invention; FIG. 10 fists, processing device 2, input device 3, storage device 4, buffer management device 41φΦ, buffer request determination circuit 42, color, patent applicant NEC Corporation agent, patent attorney Inoro Miyako 7j Figure 3 2vA

Claims (1)

【特許請求の範囲】[Claims] 入力装置と、内部処理用の情報を記憶するための複数個
のバッファを含む記憶装置と、処理装置とを具備した多
重処理方式において、カウンタとバッファ要求判定回路
とから成立つバッファ管理装置を具備し、前記カウンタ
が空いているバッファの数を計数して表示し、且つ、低
位の優先度を有するバッファ使用要求に対し前記バッフ
ァ要求判定回路は前記カウンタの値があらかじめ定めら
れた一定値よシ小さくなると前記バッファの使用を禁止
し、前記低位の優先厩を有する前記バッファ使用要求は
前記空いているバッファの数が前記一定値に満たないと
きにのみ受付けられるように構成したことを特徴とする
多重処理方式。
In a multiprocessing system that includes an input device, a storage device including a plurality of buffers for storing information for internal processing, and a processing device, the buffer management device includes a counter and a buffer request determination circuit. The counter counts and displays the number of free buffers, and the buffer request determination circuit determines whether the value of the counter is a predetermined constant value or not for a buffer use request having a low priority. When the number of free buffers becomes smaller, the use of the buffer is prohibited, and a request to use the buffer having the lower priority is accepted only when the number of free buffers is less than the certain value. Multiprocessing method.
JP10518082A 1982-06-18 1982-06-18 Multiplex processing system Granted JPS58222350A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10518082A JPS58222350A (en) 1982-06-18 1982-06-18 Multiplex processing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10518082A JPS58222350A (en) 1982-06-18 1982-06-18 Multiplex processing system

Publications (2)

Publication Number Publication Date
JPS58222350A true JPS58222350A (en) 1983-12-24
JPH0122937B2 JPH0122937B2 (en) 1989-04-28

Family

ID=14400474

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10518082A Granted JPS58222350A (en) 1982-06-18 1982-06-18 Multiplex processing system

Country Status (1)

Country Link
JP (1) JPS58222350A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61136134A (en) * 1984-12-06 1986-06-24 Mitsubishi Electric Corp Queue resource control system
JPS61290551A (en) * 1985-06-19 1986-12-20 Hitachi Ltd Operating system
JPH08263308A (en) * 1995-03-22 1996-10-11 Nec Software Ltd Memory allocation management system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
FACOM OS F4 VTAM-Fgªc±lxbýÐ E40ibÐc=S55 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61136134A (en) * 1984-12-06 1986-06-24 Mitsubishi Electric Corp Queue resource control system
JPS61290551A (en) * 1985-06-19 1986-12-20 Hitachi Ltd Operating system
JPH08263308A (en) * 1995-03-22 1996-10-11 Nec Software Ltd Memory allocation management system

Also Published As

Publication number Publication date
JPH0122937B2 (en) 1989-04-28

Similar Documents

Publication Publication Date Title
Havender Avoiding deadlock in multitasking systems
DE3611223C2 (en)
EP0351556A2 (en) Semaphore memory to reduce common bus contention
US5313638A (en) Method using semaphores for synchronizing communication between programs or processes resident in a computer system
EP0686915A2 (en) Hierarchical resource management method
US20090172686A1 (en) Method for managing thread group of process
DE2459675A1 (en) DATA PROCESSING SYSTEM
DE4216871A1 (en) EXECUTIVE RULES TO ENSURE SERIAL PRODUCTION OF DISTRIBUTED TRANSACTIONS
JPH0230057B2 (en)
DE3642324A1 (en) MULTIPROCESSOR SYSTEM WITH PROCESSOR ACCESS CONTROL
JP3832341B2 (en) Memory pool management method
JPS58222350A (en) Multiplex processing system
CA1299758C (en) Task scheduling mechanism for large data processing systems
Ackerman et al. An implementation of a multiprocessing computer system
JPS6321941B2 (en)
JPH09223032A (en) Resources lock control mechanism
JPH0115899B2 (en)
JP3036468B2 (en) Exclusive control processing device, exclusive control processing method, and storage medium storing exclusive control processing program
JPH012149A (en) Log information collection control method
DE10148007A1 (en) Method for coordinating resource access in a data processing system, data processing system and computer program
JP2523628B2 (en) Resource management control method
JPS63292456A (en) Control system for medium assignment of plural medium containing type data recorder
JPS60103457A (en) Resource control system for computer system
JPH0756814A (en) Memory managing device for computer system
CN117873739A (en) Spin lock monitoring method and device