JPH0512038A - Cpu queuing time control dispatching system - Google Patents

Cpu queuing time control dispatching system

Info

Publication number
JPH0512038A
JPH0512038A JP16793891A JP16793891A JPH0512038A JP H0512038 A JPH0512038 A JP H0512038A JP 16793891 A JP16793891 A JP 16793891A JP 16793891 A JP16793891 A JP 16793891A JP H0512038 A JPH0512038 A JP H0512038A
Authority
JP
Japan
Prior art keywords
cpu
jobs
job
priority
queuing time
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
JP16793891A
Other languages
Japanese (ja)
Inventor
Yasuto Kawashima
靖人 川島
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 JP16793891A priority Critical patent/JPH0512038A/en
Publication of JPH0512038A publication Critical patent/JPH0512038A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To secure CPU assignment by introducing the CPU queuing time as a control variable when many and unspecified jobs are supplied to a system and assignment of a CPU resource to jobs is controlled in circumstances of multi-job execution. CONSTITUTION:When plural jobs provided with various characteristics are supplied to a computer system and queuing for assignment of the CPU resource, the precedence of dispatching is changed in accordance with the queuing time of the CPU resource, and the CPU resource is assigned to jobs in the order from the job having the highest priority level. That is, in the system using only priority as a simple system, priority is set as a function 1 of the queuing time as shown in the Figure because trouble that only jobs having higher priority levels are executed occurs in the case of the existence of two jobs having high and low priority levels in the system. The CPU is assigned to a job when its priority level is higher than that of the job executed at present.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明はCPU待ち時間制御ディ
スパッチング方式に関し、特にコンピュータシステムに
おけるマルチジョブコントロール時の各ジョブへのCP
U資源割当てに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a CPU waiting time control dispatching system, and more particularly to a CP for each job during multi-job control in a computer system.
Regarding U resource allocation.

【0002】[0002]

【従来の技術】従来のディスパッチング方式には、ジョ
ブに対しプライオリティをつけることにより制御するプ
ライオリティディスパッチング,ジョブ毎にCPU割り
当て時間を決めそれ以上になったら次のジョブを実行す
るというタイムスライスディスパッチング,I/OやC
PU時間などをプライオリティに反映させコントロール
するダイナミックディスパッチングなどがある。
2. Description of the Related Art Conventional dispatching methods include priority dispatching, which is controlled by giving priority to a job, and time slice dispatching, in which the CPU allocation time is determined for each job and the next job is executed when the CPU allocation time is exceeded. Ng, I / O and C
There is dynamic dispatching, which controls PU time by reflecting it in priority.

【0003】[0003]

【発明が解決しようとする課題】上述した従来のディス
パッチング方式は、CPU資源を各ジョブに割り当てる
為の制御変数としてプライオリティやそのジョブのもつ
特性(例えばI/Oの頻度)が用いられている。しか
し、不特定多数のジョブがシステムに投入された場合に
各ジョブの待ち時間が考慮されていないので、あるジョ
ブは長時間待たされることがあるという欠点が発生して
いる。
In the conventional dispatching method described above, the priority and the characteristic of the job (for example, I / O frequency) are used as control variables for allocating CPU resources to each job. .. However, since the waiting time of each job is not taken into consideration when an unspecified number of jobs are submitted to the system, there is a drawback that a certain job may be kept waiting for a long time.

【0004】[0004]

【課題を解決するための手段】本発明のCPU待ち時間
制御ディスパッチング方式は、雑多な特性をそなえた複
数のジョブがコンピュータシステムに投入されCPU資
源の割当を待っているとき、前記CPU資源の待ち時間
に従ってディスパッチングの優先順位を変更し、前記優
先度の高い順にCPU資源を割当てるようにして構成さ
れる。
According to the CPU latency control dispatching method of the present invention, when a plurality of jobs having various characteristics are submitted to a computer system and waiting for the allocation of the CPU resources, The priority order of dispatching is changed according to the waiting time, and the CPU resources are allocated in the order of high priority.

【0005】[0005]

【実施例】次に、本発明について図面を参照して説明す
る。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Next, the present invention will be described with reference to the drawings.

【0006】まず、簡単なディスパッチング方式にプラ
イオリティのみを用いた方式がある。この方法では、シ
ステムに高低2つのプライオリティをもつジョブが存在
した場合、プライオリティが高いジョブのみ実行される
という不都合が発生する。そこで、待ち時間の関数1と
してプライオリティを図1の様に設定する。現在、実行
されているジョブよりプライオリティが高くなった時点
でそのジョブにCPUの割り当てを行う。
First, there is a simple dispatching method using only priority. In this method, when there are jobs with two high and low priorities in the system, only the job with high priority is executed. Therefore, the priority is set as a function 1 of the waiting time as shown in FIG. When the priority of the currently executed job becomes higher, the CPU is assigned to the job.

【0007】[0007]

【発明の効果】以上説明したように本発明は不特定多数
のジョブがシステムに投入されマルチジョブ実行環境下
においてジョブにCPU資源を割当て制御をする場合、
“CPU待ち時間”という制御変数を導入することによ
り、CPU割り当ての保証ができるという効果がある。
As described above, according to the present invention, when an unspecified number of jobs are submitted to the system and the CPU resources are controlled to be allocated to the jobs under the multi-job execution environment,
By introducing a control variable called "CPU waiting time", there is an effect that CPU allocation can be guaranteed.

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

【図1】CPU待ち時間とディスパッチングプライオリ
ティの関係を例示する説明図。
FIG. 1 is an explanatory diagram illustrating a relationship between a CPU waiting time and a dispatching priority.

【符号の説明】[Explanation of symbols]

1 関数 1 function

Claims (1)

【特許請求の範囲】 【請求項1】 雑多な特性をそなえた複数のジョブがコ
ンピュータシステムに投入されCPU資源の割当を待っ
ているとき、前記CPU資源の待ち時間に従ってディス
パッチングの優先順位を変更し、前記優先度の高い順に
CPU資源を割当てることを特徴とするCPU待ち時間
制御ディスパッチング方式。
1. When a plurality of jobs having miscellaneous characteristics are submitted to a computer system and waiting for CPU resource allocation, the dispatching priority order is changed according to the waiting time of the CPU resource. However, the CPU latency control dispatching method is characterized in that the CPU resources are allocated in the descending order of priority.
JP16793891A 1991-07-09 1991-07-09 Cpu queuing time control dispatching system Pending JPH0512038A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP16793891A JPH0512038A (en) 1991-07-09 1991-07-09 Cpu queuing time control dispatching system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP16793891A JPH0512038A (en) 1991-07-09 1991-07-09 Cpu queuing time control dispatching system

Publications (1)

Publication Number Publication Date
JPH0512038A true JPH0512038A (en) 1993-01-22

Family

ID=15858840

Family Applications (1)

Application Number Title Priority Date Filing Date
JP16793891A Pending JPH0512038A (en) 1991-07-09 1991-07-09 Cpu queuing time control dispatching system

Country Status (1)

Country Link
JP (1) JPH0512038A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02251292A (en) * 1989-03-24 1990-10-09 Shinagawa Nenryo Kk Sterilizing material for cooling tower
JPH06324887A (en) * 1993-05-11 1994-11-25 Nec Corp Production control method for job shop

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02251292A (en) * 1989-03-24 1990-10-09 Shinagawa Nenryo Kk Sterilizing material for cooling tower
JPH0512038B2 (en) * 1989-03-24 1993-02-17 Shinagawa Nenryo Kk
JPH06324887A (en) * 1993-05-11 1994-11-25 Nec Corp Production control method for job shop

Similar Documents

Publication Publication Date Title
US7467385B2 (en) Interrupt and exception handling for multi-streaming digital processors
US7765546B2 (en) Interstream control and communications for multi-streaming digital processors
JPH0628323A (en) Process execution control method
JPH0512038A (en) Cpu queuing time control dispatching system
WO2000070482A1 (en) Interrupt and exception handling for multi-streaming digital processors
JPH07230387A (en) Exclusive control method
JPH1063515A (en) Scheduling method for multitask control
JPH05108380A (en) Data processing system
JP2000040099A (en) Device and method for preparing schedule, selecting method for job and recording medium recording software of schedule preparation
KR20210060181A (en) Electronic device executing application and application controlling method
CN116431335B (en) Control group-based container message queue resource quota control method
JPH0946373A (en) Packet processing method
JP2000259430A (en) Processing method for computer system
JPH04257915A (en) Information processor
JP3169316B2 (en) Task scheduling method
JPS61136134A (en) Queue resource control system
JPH11102349A (en) Load control method for memory sharing multiprocessor system
JPH02281338A (en) Task control method
JPH0644234B2 (en) Task management device
JP2570198B2 (en) Time slice dispatching system
JPH0822396A (en) Device and method for managing task execution
JPS60238938A (en) Operating method of computer system
JP2601693B2 (en) Automatic job scheduling method
JPH0877029A (en) Processing request execution order control system based upon load rate
JP2001282555A (en) Method for managing process of computer system