JPH0351920A - Resources waiting control system - Google Patents

Resources waiting control system

Info

Publication number
JPH0351920A
JPH0351920A JP18478989A JP18478989A JPH0351920A JP H0351920 A JPH0351920 A JP H0351920A JP 18478989 A JP18478989 A JP 18478989A JP 18478989 A JP18478989 A JP 18478989A JP H0351920 A JPH0351920 A JP H0351920A
Authority
JP
Japan
Prior art keywords
job
resources
resource
queue
waiting
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.)
Pending
Application number
JP18478989A
Other languages
Japanese (ja)
Inventor
Yasuaki Fujimoto
藤元 康彰
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
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 filed Critical NEC Corp
Priority to JP18478989A priority Critical patent/JPH0351920A/en
Publication of JPH0351920A publication Critical patent/JPH0351920A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To improve the operating performance of a resources waiting control system by defining the resources assignment priority among job classes when a system environment is set and producing a resources queue for each job class. CONSTITUTION:A resources assignment order setting means 1 sets the resources assignment priority among job classes (job executing classes) when a system environment is set. Thus a resources assignment order table 11 is obtained. Then a resources queue production means 2 produces the resources queues 12 for each job class at the start of a system. When a job securing the resources is through, a resources assignment job class deciding means 4 decides the next job class to which the resources are assigned by reference to the table 11. A resource queue take-out means 5 takes a job out of the resources queue corresponding to the decided job class. Thus an emergency job, etc., can immediately secure the resources.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は,多重プログラミングシステムに用いられ,各
ジョブに割り当てる資源の待ち合わせ制御方式に関する
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention is used in a multiple programming system and relates to a method for controlling the waiting of resources to be allocated to each job.

〔従来の技術〕[Conventional technology]

従来,計算機システムにおいて,各ジョブが共有する資
源に対して割り当て/解放/待ち合わせの制御を行う際
,各ジョブで使用する資源の待ち合わせ制御を行うため
のキューはジョブクラス(ジョブの実行クラス)に関係
なく一つである。
Conventionally, in computer systems, when controlling the allocation/release/waiting of resources shared by each job, the queue for controlling the waiting of resources used by each job is stored in the job class (job execution class). It is one regardless.

以下余白 〔発明が解決しようとする課題〕 上述のように従来の計算機システムでは,待ち合わせキ
ューが一つであったため,実行ジョブが終了し資源が解
放された場合,資源待ちジョブに対する優先度はなく,
待ち状態になった順序に従い資源が割り当てられること
となり,緊急ジョブ等が直ちに資源を確保できずに待ち
状態のまま実行できないという課題がある。
Blank space below [Problem to be solved by the invention] As mentioned above, in conventional computer systems, there is only one waiting queue, so when an executing job ends and resources are released, there is no priority given to jobs waiting for resources. ,
Resources are allocated according to the order in which jobs enter the waiting state, and there is a problem in that emergency jobs, etc. cannot immediately secure resources and cannot be executed while remaining in the waiting state.

本発明の目的は緊急ジコプ等が直ちに資源を確保できる
資源待ち合わせ制御方式を提供することにある。
An object of the present invention is to provide a resource queuing control system that can immediately secure resources for emergencies.

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

本発明の資源の待ち合わせ制御方式は,ジョブにて共有
する資源に対して割り当て/解放/待ち合わせを制御す
る際,システム環境設定時に,ジョブの実行クラス(以
下,単にジョブクラスと呼ぶ)に対する資源割り当での
優先度を設定し資源割り当て順序表を作成する資源割り
当て順序設定手段と,システム立ち上がり時に,各ジョ
ブクラス毎に資源待ちジョブを登録するためのキューを
作成する資原待ちキュー作成手段と,システム稼働中に
おいて,ジョブが資源待ちとなった場合に前記資源待ち
キュー作成手段によう作成されたキューのうちの該当す
るジョブクラスのキューにジョブを登録する資源待ちキ
ュー登録手段と,ジョブが終了し資源が解放された際,
資源割り当て順序設定手段により設定された順序表をも
とに資源を割り当てるジョブクラスを決定する資源割り
当てジョブクラス決定手段と,該決定手段により決定さ
れたジョブクラスに該当する資源待ちキューよりジョブ
を取り出す資源待ちキュー取り出し手段と,前記取り出
し手段により取り出したジョブに解放された資源を割り
当てる資源割り当て手段とを有することを特徴としてい
る。
The resource waiting control method of the present invention, when controlling the allocation/release/waiting of resources shared by jobs, allocates resources to job execution classes (hereinafter simply referred to as job classes) when setting the system environment. resource allocation order setting means for setting current priorities and creating a resource allocation order table; and resource waiting queue creation means for creating a queue for registering resource waiting jobs for each job class at system startup. , resource waiting queue registration means for registering the job in a queue of a corresponding job class among the queues created by the resource waiting queue creation means when the job is waiting for resources while the system is running; When finished and resources are released,
Resource allocation job class determining means for determining a job class to which resources are to be allocated based on the order table set by the resource allocation order setting means, and retrieving a job from a resource waiting queue corresponding to the job class determined by the determining means. The present invention is characterized by comprising a resource waiting queue retrieving means, and a resource allocation means for allocating the resources released to the job retrieved by the retrieval means.

〔実施例〕〔Example〕

次に,本発明について実施例によって説明する。 Next, the present invention will be explained using examples.

第1図を参照して,システム100は,資源割り当て順
序設定手段1,資源待ちキュー作成千段2,資源待ちキ
ュー登録手段5,資源割り当てジョブクラス決定手段4
,資源待ちキュー取り出し手段5,資源割り当て千段6
,資源割り当て順序表11及び資源待ち合わせキュー1
2を備えている。
Referring to FIG. 1, a system 100 includes a resource allocation order setting means 1, a resource waiting queue creation step 2, a resource waiting queue registration means 5, a resource allocation job class determining means 4.
, resource waiting queue retrieval means 5, resource allocation 1,000 stages 6
, resource allocation order table 11 and resource waiting queue 1
2.

ジョブが実行するための資源としてはファイルやメモリ
など種々のものがあシ,資源は複数のジョブにて共用さ
れるが,この個々の資源における待ち合わせ制御を行う
上で以下動作が行われる。
There are various resources such as files and memory used for job execution, and the resources are shared by multiple jobs, but the following operations are performed to control the waiting of these individual resources.

システム環境設定時に,資源割り当て順序設定手段1に
より各ジョブクラス(ジョブの実行クラス)間の資源割
り当て優先度を設定し,資源割り当て順序表11を作成
する。
When setting up the system environment, the resource allocation order setting means 1 sets resource allocation priorities among each job class (job execution class), and creates a resource allocation order table 11.

システム立ち上がり時に,資源待ちキュー作或手段2に
より各ジョブクラス毎に資源待ち合わせキュー12を作
成する。
When the system is started up, the resource waiting queue creation means 2 creates a resource waiting queue 12 for each job class.

システム稼働中において,資源の確保ならびに解放の際
,あるジョブが資源待ちとなった場合,資源待ちキュー
登録手段6により資源待ち合わせキュー12のなかでそ
のジョブの実行クラスに該当するキューに登録される。
While the system is running, when a job is waiting for resources when securing or releasing resources, the resource waiting queue registration means 6 registers the job in the queue corresponding to the execution class of the job in the resource waiting queue 12. .

資源を確保していたジョブが終了した場合,資源割り当
て順序表11をもとに次にその資源を割υ当てるべきジ
ゴプクラスが資源割り当てジョブクラス決定手段4によ
り決定される。資源待ちキュー取り出し手段5は,資源
割り当てジョブクラス決定手段4により決定されたジョ
ブクラスに対応する資源待ちキューからジョブを取り出
す。この際資源待ちキューが空の場合には,資源割り当
て順序表11において次の優先度を持つジョブクラスが
選択される。このようにして決定されたジョブに対して
,資源割り当て手段乙により解放された資源が割り当て
られる。
When the job that has secured the resource ends, the resource allocation job class determining means 4 determines the next job class to which the resource should be allocated based on the resource allocation order table 11. The resource waiting queue retrieving means 5 retrieves a job from the resource waiting queue corresponding to the job class determined by the resource allocation job class determining means 4. At this time, if the resource waiting queue is empty, the job class with the next priority in the resource allocation order table 11 is selected. The resources released by the resource allocation means B are allocated to the job determined in this manner.

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

以上説明したように本発明では,資源待ちジョブに対し
て資源の最割り当てを行う際,ジョブクラス間の資源割
り当て優先度を設け,この優先度システム環境設定時に
定義し,ジョブクラスごとに資源待ち合わせキューを作
成スるようにしたから,システムの運用性を向上させる
という効果がある。
As explained above, in the present invention, when re-allocating resources to jobs waiting for resources, resource allocation priorities are established between job classes, this priority is defined when setting the system environment, and resource waiting is performed for each job class. The ability to create queues has the effect of improving system operability.

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

第1図は本発明の一実施例を示したブロック図である。 1・・・資源割り当て順序設定手段,2・・・資源待ち
キュー作成手段,3・・・資源待ちキュー登録手段,4
・・・資源割り当てジョブクラス決定手段,5・・・資
源待ちキュー取り出し手段,6・・・資源割り当て手段
,11・・・資源割り当て順序表,12・・・資源待ち
合わせキュー。
FIG. 1 is a block diagram showing one embodiment of the present invention. 1... Resource allocation order setting means, 2... Resource waiting queue creation means, 3... Resource waiting queue registration means, 4
. . . resource allocation job class determining means, 5 . . . resource waiting queue retrieval means, 6 . . . resource allocation means, 11 .

Claims (1)

【特許請求の範囲】[Claims] 1、ジョブにて共有する資源に対して割り当て/解放/
待ち合わせを制御する際、システム環境設定時に、ジョ
ブの実行クラスに対する資源割り当ての優先度を設定し
資源割り当て順序表を作成する資源割り当て順序設定手
段と、システム立ち上がり時に、各ジョブクラス毎に資
源待ちジョブを登録するためのキューを作成する資源待
ちキュー作成手段と、システム稼働の際、ジョブが資源
待ちとなると前記キューのうちの該当するジョブクラス
のキューに該ジョブを登録する資源待ちキュー登録手段
と、資源が解放された際、前記順序表に基づいて資源を
割り当てる実行クラスを決定する資源割り当てジョブク
ラス決定手段と、該ジョブクラス決定手段により決定さ
れた実行クラスに該当する資源待ちキューよりジョブを
取り出す資源待ちキュー取り出し手段と、前記取り出し
手段により取り出したジョブに解放された資源を割り当
てる資源割り当て手段とを有することを特徴とする資源
待ち合わせ制御方式。
1. Allocate/release/allocate resources shared by jobs
When controlling waiting, there is a resource allocation order setting means that sets resource allocation priorities for job execution classes and creates a resource allocation order table when setting the system environment, and a resource waiting job for each job class at system startup. resource waiting queue creation means for creating a queue for registering a job; and resource waiting queue registration means for registering a job in a queue of a corresponding job class among the queues when a job is waiting for resources during system operation. , resource allocation job class determining means for determining an execution class to allocate the resource based on the order table when the resource is released; 1. A resource waiting control system comprising: a resource waiting queue extracting means for extracting a resource waiting queue; and a resource allocating means for allocating resources released to the job extracted by the extracting means.
JP18478989A 1989-07-19 1989-07-19 Resources waiting control system Pending JPH0351920A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP18478989A JPH0351920A (en) 1989-07-19 1989-07-19 Resources waiting control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP18478989A JPH0351920A (en) 1989-07-19 1989-07-19 Resources waiting control system

Publications (1)

Publication Number Publication Date
JPH0351920A true JPH0351920A (en) 1991-03-06

Family

ID=16159322

Family Applications (1)

Application Number Title Priority Date Filing Date
JP18478989A Pending JPH0351920A (en) 1989-07-19 1989-07-19 Resources waiting control system

Country Status (1)

Country Link
JP (1) JPH0351920A (en)

Similar Documents

Publication Publication Date Title
US6948172B1 (en) Preemptive multi-tasking with cooperative groups of tasks
JPH064405A (en) Computer with extended virtual storage
JP2004326755A (en) Management of dispatching function in virtual computer environment
EP1031925A2 (en) Cooperative processing of tasks in multi-threaded computing system
JP3644042B2 (en) Multitask processing device
JPH0351920A (en) Resources waiting control system
JPH01258135A (en) Transaction execution control system
JPS63636A (en) Task control system
JPH05113894A (en) File resource managing system in virtual computer system
JP2692647B2 (en) Multitask control method and control system
JPH11249917A (en) Parallel computers, their batch processing method, and storage medium
JPH05204875A (en) Scheduling system for thread
JPH10105415A (en) Real time os
JPH07152685A (en) Decentralized editing control system
JPH11312093A (en) Distributed processing system
JPH0460842A (en) Computer system
JPH02281338A (en) Task control method
JPH05113893A (en) Volume resource managing system in virtual computer
JPH0387935A (en) Task preemption controlling system
JPH0512038A (en) Cpu queuing time control dispatching system
JPH02127732A (en) Job control system
JPH0581048A (en) Management system for resource
JPH0378837A (en) Task control system
JPH02126330A (en) Resources queuing system
JPH113235A (en) Task control system using virtual processor