JPH01177638A - System for scheduling job - Google Patents

System for scheduling job

Info

Publication number
JPH01177638A
JPH01177638A JP215988A JP215988A JPH01177638A JP H01177638 A JPH01177638 A JP H01177638A JP 215988 A JP215988 A JP 215988A JP 215988 A JP215988 A JP 215988A JP H01177638 A JPH01177638 A JP H01177638A
Authority
JP
Japan
Prior art keywords
job
cpu
jobs
schedule
priority
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
JP215988A
Other languages
Japanese (ja)
Inventor
Akira Ueshima
上嶋 曉
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 JP215988A priority Critical patent/JPH01177638A/en
Publication of JPH01177638A publication Critical patent/JPH01177638A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To average the processing of the whole calculation system by scheduling a selective job and suppressing the schedule according to the load condition of a CPU decided based on the number of CPU queuing jobs at every job priority. CONSTITUTION:A CPU queuing job number measuring means 1 measures the number of the CPU queue jobs which is the number of the jobs made into a CPU queuing condition at every job priority designated to respective jobs. A schedule deciding means 2 obtains the CPU load of the selective job based on the number of the CPU queuing jobs at every job priority measured by the CPU queuing job number measuring means 1, and whether the schedule is executed or not is decided. Further, a job scheduling means 3 executes either of the schedule of the selective job or the suppression of the schedule of the selective job based on the decision of the schedule deciding means 2. Thus, a condition can be reduced in which, while many resources are assigned to the job in the CPU queuing condition, the resources cannot be utilized by the other jobs, and the using efficiency of the resources of the computer system can be improved.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明はジョブスケジューリング方式に関し、特に複数
のジョブが実行される計算機システムにおけるジョブス
ケジューリング方式に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a job scheduling method, and particularly to a job scheduling method in a computer system in which a plurality of jobs are executed.

〔従来の技術〕[Conventional technology]

従来、この種のジョブスケジューリング方式では、ジョ
ブの優先度に基づいてジョブのスケジュール(ジョブ起
動要求を出すべきジョブの選択。
Conventionally, in this type of job scheduling method, job scheduling (selection of jobs for which a job start request should be issued) is performed based on the priority of the job.

複数のジョブについて適宜に各ジョブのスケジュールを
行ったりスケジュールの抑止を行ったりする制御をスケ
ジューリングという)を行う方式やジョブをスケジュー
ルクラスにクラス分けしてそのスケジュールクラス毎に
ジョブの優先度に基づいてジョブをスケジュールする方
式等が行われていた。
Scheduling is a method of controlling multiple jobs by appropriately scheduling each job or inhibiting the schedule, or by dividing jobs into schedule classes and dividing jobs into schedule classes based on the priority of the job. A method of scheduling jobs was used.

これらの方式はいずれも、基本的にはジョブ毎にユーザ
等によって指定されているジョブの優先度の高い順にジ
ョブをスケジュールする方式である。
All of these methods basically schedule jobs in descending order of priority specified by a user or the like for each job.

ただし、スケジュールクラスを使用する方式では、まず
ジョブが主に利用する資源(入出力装置。
However, in the method of using schedule classes, the resources (input/output devices) that are mainly used by jobs are the first resource.

外部記憶装置、特殊装置およびCPU(Central
  Processing  Unjt)等)によって
各ジョブがスケジュールクラスに分割され、各スケジュ
ールクラスについてスケジュールクラス間の優先度およ
び最大スケジュールジョブ数等が設定される。それによ
り、各スケジュールクラス内ではジョブの優先度の高い
順にスケジューリングが行われるが、特定の資源を利用
するジョブばかりがスケジュールされることを避けるた
めにスケジュールクラスが異なるジョブの間ではジョブ
優先度が低いジョブであっても場合によっては優先的に
スケジュールされる制御が行われている。
External storage devices, special devices, and CPU (Central
Each job is divided into schedule classes according to the method (Processing Unjt), etc.), and the priority among schedule classes, the maximum number of scheduled jobs, etc. are set for each schedule class. As a result, within each schedule class, jobs are scheduled in descending order of priority, but in order to avoid only jobs that use specific resources being scheduled, job priorities are changed between jobs in different schedule classes. Even low-ranking jobs are controlled to be scheduled preferentially in some cases.

しかしながら、これらのジョブスケジューリング方式で
はCPUの負荷状態(CPUの使用頻度の高低)に無関
係にジョブのスケジュール(ジョブ起動要求)が行われ
ていた。すなわち、スケジュールクラスを使用する方式
であってもCPUの負荷状態にかかわらず各スケジュー
ルクラスに設定されているスケジュールクラス間の優先
度および最大スケジュールジョブ数のみに基づいてジョ
ブ起動要求が出されていた。
However, in these job scheduling methods, jobs are scheduled (job activation requests) regardless of the load state of the CPU (the frequency of use of the CPU). In other words, even with a method that uses schedule classes, a job start request is issued based only on the priority between schedule classes and the maximum number of scheduled jobs set for each schedule class, regardless of the CPU load status. .

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

上述した従来のジョブスケジューリング方式では、CP
Uの負荷状態に無関係にジョブのスケジュールが行われ
ているので、CPUの能力を越えてジョブがCPUに投
入されてCPUの負荷が高くなり(CP Uの使用頻度
が高くなりCPU待ち状態のジョブが多数になる)計算
機システム全体の処理が非常に遅くなるという欠点があ
る。
In the conventional job scheduling method described above, the CP
Since jobs are scheduled regardless of the load status of the CPU, jobs are submitted to the CPU in excess of the CPU's capacity, resulting in a high CPU load (the CPU is used more frequently and jobs are waiting for the CPU). The disadvantage is that the processing of the entire computer system becomes extremely slow.

また、このようにCPU待ち状態のジョブが多数になる
ので、これらのジョブに割り当てられているCPU以外
の資源が他のジョブにより利用できなくなるという欠点
がある。
Furthermore, since there are a large number of jobs waiting for the CPU as described above, there is a drawback that resources other than the CPU allocated to these jobs cannot be used by other jobs.

本発明の目的は、上述の点に鑑み、CPUの能力を越え
てCPUにジョブが投入されるということが発生せずに
計算機システム全体の処理が平均化され(処理速度が速
くなるときもあるが非常に遅くなるときもあるというこ
とが生じな(なる)、CPU以外の多くの資源がCPU
待ち状態のジョブに割り当てられたままで他のジョブか
ら利用できなくなるという状態が減少して計算機システ
ムの資源の利用効率が向上するジョブスケジューリング
方式を提供することにある。
In view of the above-mentioned points, an object of the present invention is to average out the processing of the entire computer system (in some cases, increase the processing speed) without causing jobs to be submitted to the CPU in excess of the CPU's capacity. It happens that the CPU is very slow at times, and many resources other than the CPU are used by the CPU.
To provide a job scheduling method that improves the utilization efficiency of resources of a computer system by reducing the situation where a job remains assigned to a waiting job and cannot be used by other jobs.

〔課題を解決するだめの手段〕[Failure to solve the problem]

本発明のジョブスケジューリング方式は、CPU待ち状
態になっているジョブの数であるCPU待ちジョブ数を
各ジョブに指定されているジョブ優先度毎に計測するC
PU待ちジョブ数計測手段と、このCPU待ちジョブ数
計測手段により計測されているジョブ優先度毎のCPU
待ちジョブ数に基づき選択ジョブのCPU負荷を求め選
択ジョブをスケジュールするか否かの判定を行うスケジ
ュール判定手段と、このスケジュール判定手段の判定に
基づき選択ジョブのスケジュールおよび選択ジョブのス
ケジュールの抑止のいずれかを行うジョブスケジュール
手段とを有する。
The job scheduling method of the present invention measures the number of CPU-waiting jobs, which is the number of jobs in a CPU-waiting state, for each job priority specified for each job.
PU waiting job number measuring means and CPU for each job priority measured by this CPU waiting job number measuring means
A schedule determining means for calculating the CPU load of the selected job based on the number of waiting jobs and determining whether or not to schedule the selected job, and either scheduling the selected job or inhibiting the scheduling of the selected job based on the determination by the schedule determining means. and job scheduling means for doing so.

〔作用〕[Effect]

本発明のジョブスケジューリング方式では、CPU待ち
ジョブ数計測手段がCPU待ち状態になっているジョブ
の数であるCPU待ちジョブ数を各ジョブに指定されて
いるジョブ優先度毎に計測し、スケジュール判定手段が
CPU待ちジョブ数計測手段により計測されているジョ
ブ優先度毎のCPU待ちジョブ数に基づき選択ジョブの
CPU負荷を求め選択ジョブをスケジュールするか否か
の判定を行い、ジョブスケジュール手段がスケジュール
判定手段の判定に基づき選択ジョブのスケジュールおよ
び選択ジョブのスケジュールの抑止のいずれかを行う。
In the job scheduling method of the present invention, the CPU waiting job number measuring means measures the number of CPU waiting jobs, which is the number of jobs in the CPU waiting state, for each job priority specified for each job, and the schedule determining means determines whether or not to schedule the selected job by determining the CPU load of the selected job based on the number of CPU waiting jobs for each job priority measured by the CPU waiting job number measuring means, and the job scheduling means determines whether or not to schedule the selected job. Based on the determination, either the schedule of the selected job or the schedule of the selected job is suppressed.

〔実施例〕〔Example〕

次に、本発明について図面を参照して説明する。 Next, the present invention will be explained with reference to the drawings.

第1図は、本発明のジョブスケジューリング方式の一実
施例の構成を示すブロック図である。本実施例のジョブ
スケジューリング方式は、CPU(図示せず)待ち状態
になっているジョブの数であるCPU待ちジョブ数を各
ジョブに指定されているジョブ優先度毎にCPU待ちジ
ョブ数テーブル4 (第2回参照)を利用して計測する
cpu待ちジョブ数計測手段1と、CPU待ちジョブ数
計測手段1により計測されているジョブ優先度毎のCP
U待ちジョブ数に基づき選択ジョブ(「選択ジョブ」の
内容については後述する)のCPU負荷(選択ジョブが
有するジョブ優先度以上のジョブ優先度を有するCPU
待ち状態のジョブが多い場合に「選択ジョブのCPU負
荷が高い」という)を求め選択ジョブをスケジュールす
るか否かの判定を行うスケジュール判定手段2と、スケ
ジュール判定手段2の判定に基づき選択ジョブのスケジ
ュールおよび選択ジョブのスケジュールの抑止のいずれ
かを行うジョブスケジュール手段3とから構成されてい
る。
FIG. 1 is a block diagram showing the configuration of an embodiment of the job scheduling method of the present invention. The job scheduling method of this embodiment calculates the number of jobs waiting for the CPU, which is the number of jobs waiting for the CPU (not shown), according to the job priority specified for each job in the table 4 for the number of jobs waiting for the CPU ( CP for each job priority measured by the CPU waiting job number measuring means 1 (see Part 2) and the CPU waiting job number measuring means 1
Based on the number of U-waiting jobs, the CPU load of the selected job (the contents of the "selected job" will be described later) (CPU with a job priority higher than the job priority of the selected job)
A schedule determining means 2 determines whether or not to schedule the selected job by determining whether or not to schedule the selected job by determining whether the selected job has a high CPU load when there are many jobs in the waiting state; The job scheduling unit 3 includes a job scheduling unit 3 that performs either scheduling or inhibiting the schedule of a selected job.

第2図を参照すると、CPU待ちジョブ数計測手段1に
よる計測で利用されるCPU待ちジョブ数テーブル4は
、その時点でCPU待ち状態になっているジョブ優先度
i  (i=o〜10゜説明の便宜のためにジョブ優先
度は0〜10の整数で指定されており数値が大きいほど
優先的にジョブ起動要求が出されるものとする。ジョブ
優先度がこれらの数値に限定されないことはいうまでも
ない)のジョブの数n1(no〜n1o(0および正整
数))が格納されているジョブ優先度O用エントリ〜ジ
ョブ優先度10用エントリを有して構成されている。
Referring to FIG. 2, the CPU waiting job number table 4 used for measurement by the CPU waiting job number measuring means 1 has the job priority i (i=o~10°) of the job waiting for the CPU at that time. For convenience, the job priority is specified as an integer from 0 to 10, and the larger the number, the more preferentially a job start request is issued.It goes without saying that the job priority is not limited to these numbers. It is configured with an entry for job priority O to an entry for job priority 10, in which the number n1 (no to n1o (0 and positive integer)) of jobs of 0 to 10 are stored.

第3図を参照すると、スケジュール判定手段2およびジ
ョブスケジュール手段3の処理は、ジョブ選択ステップ
10と、資源割当てステップ11と、割当て成功判定ス
テップ12と、資源解放ステップ13と、スケジュール
可/不可判定ステップ14と、ジョブ起動要求ステップ
15とからなる。
Referring to FIG. 3, the processes of the schedule determining means 2 and the job scheduling means 3 include a job selection step 10, a resource allocation step 11, an allocation success determination step 12, a resource release step 13, and a schedulability/impossibility determination. It consists of step 14 and job start request step 15.

次に、このように構成された本実施例のジョブスケジュ
ーリング方式の動作について説明する。
Next, the operation of the job scheduling method of this embodiment configured as described above will be explained.

本実施例のジョブスケジューリング方式を有する計算機
システム上の複数のジョブのスケジューリングのために
、CPU待ちジョブ数計測手段1によりジョブ優先度毎
のCPU待ちジョブ数が計測される。
In order to schedule a plurality of jobs on a computer system having the job scheduling method of this embodiment, the number of CPU waiting jobs is measured by the CPU waiting job number measuring means 1 for each job priority.

この計測においては、CPU待ちジョブ数テーブル4が
利用される(CPU待ちジョブ数テーブル4を利用する
以外の方法による計測が可能であることはいうまでもな
い)。
In this measurement, the table 4 for the number of jobs waiting for the CPU is used (it goes without saying that measurement can be performed by a method other than using the table 4 for the number of jobs waiting for the CPU).

すなわち、新たにジョブ優先度iのジョブのジョブ起動
要求が出された場合および時分割処理等により強制的に
ジョブ優先度iのジョブがCPUを解放してCPU待ち
状態になった場合等には、CPU待ちジョブ数計測手段
1によりCPU待ちジョブ数テーブル4内のジョブ優先
度量用エントリ中のniに1が加えられる。
In other words, when a new job start request is issued for a job with job priority i, or when a job with job priority i is forcibly released from the CPU due to time-sharing processing or the like and enters the CPU wait state, etc. , 1 is added to ni in the job priority quantity entry in the CPU waiting job number table 4 by the CPU waiting job number measuring means 1.

また、CPU待ち状態にあったジョブ優先度iのジョブ
に対するCPUの割当てが完了した場合。
Further, when the CPU assignment to the job with job priority i that was in the CPU wait state is completed.

ジョブ優先度iのジョブがCPU以外の資源に対する待
ち状態となってCPUを解放した場合およびジョブ優先
度iのジョブが他のジョブと同期をとるためにCPUを
解放した場合等には、CPU待ちジョブ数計測手段1に
よりCPU待ちジョブ数テーブル4内のジョブ優先度量
用エントリ中のniから1が減じられる。
When a job with job priority i releases the CPU because it is in a waiting state for a resource other than the CPU, or when a job with job priority i releases the CPU to synchronize with other jobs, the CPU wait state The job number measuring means 1 subtracts 1 from ni in the job priority amount entry in the CPU waiting job number table 4.

さらに、CPU待ち状態のジョブのジョブ優先度がiか
らj  (j=o〜10.i#j)に変更された場合(
ジョブ優先度はユーザにより指定されるがオペレーティ
ングシステム(図示せず)等の指示により変更されるこ
とがある)等には、CPU待ちジョブ数計測手段1によ
りCPU待ちジョブ数テーブル4内のジョブ優先度量用
エントリ中のniから1が減じられてジョブ優先度量用
エントリ中のnjに1が加えられる。
Furthermore, if the job priority of a job waiting for the CPU is changed from i to j (j=o~10.i#j) (
The job priority is specified by the user, but may be changed by instructions from the operating system (not shown), etc.). 1 is subtracted from ni in the quantity entry and 1 is added to nj in the job priority quantity entry.

上述のようなCPU待ちジョブ数計測手段1によるCP
U待ちジョブ数の計測が行われていることを前提として
、スケジュール判定手段2およびジョブスケジュール手
段3では次のような処理が行われる。
CP by the CPU waiting job number measuring means 1 as described above
On the premise that the number of U-waiting jobs is being measured, the schedule determining means 2 and job scheduling means 3 perform the following processing.

まず、CPU以外の資源(入出力装置および外部記憶装
置等。図示せず)に対するジョブの優先度に基づいて(
cpu以外の資源に関して従来技術のジョブスケジュー
リング方式が適用されて)、優先的にジョブ起動要求を
出すべきジョブの選択がジョブスケジュール手段3によ
り行われ(このようにして選択されたジョブを「選択ジ
ョブ」という)(ステップ10)、選択ジョブにより要
求されているCPU以外の資源の選択ジョブへの割当て
が行われる(ステップ11)。
First, based on the priority of the job with respect to resources other than the CPU (input/output devices, external storage devices, etc., not shown),
(The job scheduling method of the prior art is applied to resources other than the CPU), and the job scheduling means 3 selects a job that should issue a job start request with priority (the jobs selected in this way are referred to as "selected jobs"). '') (step 10), and resources other than the CPU requested by the selected job are allocated to the selected job (step 11).

次に、選択ジョブにより要求されているC P U以外
の資源の全ての選択ジョブへの割当てが成功したか否か
が判定される(ステップ12)。
Next, it is determined whether resources other than the CPU requested by the selected jobs have been successfully allocated to all selected jobs (step 12).

この判定で資源の割当てが失敗している場合には、すで
に選択ジョブに確保されている資源が解放される(解放
された資源は選択ジョブ以外のジョブにより有効に利用
される) (ステップ13)。
If the resource allocation fails in this judgment, the resources already reserved for the selected job are released (the released resources can be effectively used by jobs other than the selected job) (Step 13) .

ステップ12の判定で資源の割当てが成功している場合
には、選択ジョブのCPLI負荷の貰低に鑑みて選択ジ
ョブのスケジュールが可能であるか否かの問合せがジョ
ブスケジュール手段3からスケジュール判定手段2に対
して行われる。
If the resource allocation is successful in the determination in step 12, the job scheduling means 3 inquires whether the selected job can be scheduled in view of the low CPLI load of the selected job. 2.

スケジュール判定手段2では、ジョブスケジュール手段
3から問合せを受けたジョブ優先度(k(k−0〜10
)とする)の選択ジョブのスケジュールが可能であるか
否かが、以下に示すようにして判定される(ステップ1
4)。
The schedule determining means 2 determines the job priority (k(k-0 to 10) received from the job scheduling means 3.
)) is determined as follows (step 1).
4).

すなわち、まずジョブスケジュール手段3からの問合せ
に係る選択ジョブのジョブ優先度に以上のジョブ優先度
を有するCPIJ待ち状態のジョブの数Nk′IJ<C
PU待ちジョブ数計測手段1によって作成されたCPU
待ちジョブ数テーブル4に基づいて次式により求められ
る。
That is, first, the number of jobs in the CPIJ waiting state that has a job priority equal to or higher than the job priority of the selected job related to the inquiry from the job scheduling means 3 is Nk'IJ<C
CPU created by PU waiting job number measurement means 1
It is determined by the following equation based on the number of waiting jobs table 4.

Nk=n1O+n9+・−+n (k−1)+nk(こ
こではに≦7とする) ここで、CPUの割当てはジョブ優先度の高い順に行わ
れるので、ジョブスケジュール手段3から問合せを受け
た選択ジョブのジョブ優先度に以上のジョブ優先度を有
するCPU待ち状態のジョブの数Nkが多いほどジョブ
優先度にの選択ジョブにとってCPU負荷が高いといえ
る。
Nk=n1O+n9+・-+n (k-1)+nk (Here, it is assumed that ≦7) Here, since CPU allocation is performed in order of job priority, the selected job that received an inquiry from the job scheduling means 3 It can be said that the larger the number Nk of jobs in the CPU wait state having a job priority equal to or higher than the job priority, the higher the CPU load for the job selected as the job priority.

そこで、このようにして求められたNkとあらかじめ設
定されている闇値のL (正整数)とが比較され、N 
k > Lならば「スケジュール不可(CPUの負荷状
態に鑑みて選択ジョブのスケジュールをすべきでない)
」とスケジュール判定手段2により判定され、Nk≦L
ならば[スケジュール可(C))Uの負荷状態に鑑みて
選択ジョブのスケジュールをすべきである)」とスケジ
ュール判定手段2により判定され、この判定結果がジョ
ブスケジュール手段3に渡される。
Therefore, Nk obtained in this way is compared with a preset darkness value L (positive integer), and Nk is
If k > L, "scheduling not possible (selected job should not be scheduled considering the CPU load status)"
” is determined by the schedule determining means 2, and Nk≦L
If so, the schedule determining means 2 determines that the selected job should be scheduled in consideration of the load status of U (schedulable (C)), and the result of this determination is passed to the job scheduling means 3.

スケジュール判定手段2から「スケジュール不可」の判
定が渡されたジョブスケジュール手段3では、選択ジョ
ブのスケジュールが抑止されてすでに選択ジョブに確保
されている資源が解放され(ステノプエ3)、ステップ
10の処理に制御が移る。
When the job scheduling unit 3 receives the determination that “scheduling is not possible” from the schedule determining unit 2, the scheduling of the selected job is suppressed and the resources already reserved for the selected job are released (stenope 3), and the process of step 10 is performed. control is transferred to

スケジュール判定手段2から「スケジュール可」の判定
が渡されたジョブスケジュール手段3では、選択ジョブ
のスケジュールが行われて選択ジョブのジョブ起動要求
が出され(ステップ15)、ステップ10の処理に制御
が移る。
The job scheduling unit 3, which has received the “schedulable” determination from the schedule determining unit 2, schedules the selected job, issues a job start request for the selected job (step 15), and controls the processing in step 10. Move.

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

以上説明したように本発明は、複数のジョブのスケジュ
ーリングの際にジョブ優先度毎のCPU待ちジョブ数に
基づいて判定されるCPUの負荷状態に応じて選択ジョ
ブのスケジュールやスケジュールの抑止が行われること
により、CPUの能力を越えてCPUにジョブが投入さ
れるということが発生せず、計算機システム全体の処理
が平均化される(計算機システムのCPUの負荷が時間
的に平均化される)という効果がある。
As explained above, in the present invention, when scheduling a plurality of jobs, a selected job is scheduled or the schedule is inhibited depending on the CPU load state determined based on the number of CPU waiting jobs for each job priority. By doing this, jobs will not be submitted to the CPU in excess of its capacity, and the processing of the entire computer system will be averaged (the load on the CPU of the computer system will be averaged over time). effective.

また、選択ジョブのCPU負荷が高い場合に選択ジョブ
のスケジュールが抑止されて選択ジョブに割当て済みの
CPU以外の資源を解放することにより、CPU以外の
多くの資源がCP’U待ち状態のジョブに割り当てられ
たままで他のジョブから利用できなくなるという状態が
減少し、計算機システムの資源の利用効率が向上すると
いう効果がある。
In addition, when the CPU load of the selected job is high, the schedule of the selected job is suppressed and the resources other than the CPU that have been allocated to the selected job are released. This has the effect of reducing the number of jobs that remain allocated but cannot be used by other jobs, and improving the efficiency of resource usage in the computer system.

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

第1図は本発明の一実施例の構成を示すブロック図、 第2図は第1図中のCPU待ちジョブ数計測手段により
利用されるCPU待ちジョブ数テーブルの構成を示す図
、 第3図は第1図中のスケジュール判定手段およびジョブ
スケジュール手段の処理を示す流れ図である。 図において、 1・・・CPU待ちジョブ数計測手段、2・・・スケジ
ュール判定手段、 3・・・ジョブスケジュール手段、 4・・・CPU待ちジョブ数テーブルである。
FIG. 1 is a block diagram showing the configuration of an embodiment of the present invention; FIG. 2 is a diagram showing the configuration of a CPU waiting job number table used by the CPU waiting job number measuring means in FIG. 1; FIG. 2 is a flowchart showing the processing of the schedule determining means and job scheduling means in FIG. 1. FIG. In the figure, 1... CPU waiting job number measuring means, 2... Schedule determining means, 3... Job scheduling means, 4... CPU waiting job number table.

Claims (1)

【特許請求の範囲】 CPU待ち状態になっているジョブの数であるCPU待
ちジョブ数を各ジョブに指定されているジョブ優先度毎
に計測するCPU待ちジョブ数計測手段と、 このCPU待ちジョブ数計測手段により計測されている
ジョブ優先度毎のCPU待ちジョブ数に基づき選択ジョ
ブのCPU負荷を求め選択ジョブをスケジュールするか
否かの判定を行うスケジュール判定手段と、 このスケジュール判定手段の判定に基づき選択ジョブの
スケジュールおよび選択ジョブのスケジュールの抑止の
いずれかを行うジョブスケジュール手段と、 を有することを特徴とするジョブスケジューリング方式
[Scope of Claims] CPU-waiting job number measuring means for measuring the number of CPU-waiting jobs, which is the number of jobs in a CPU-waiting state, for each job priority specified for each job; a schedule determining means for calculating the CPU load of the selected job based on the number of CPU waiting jobs for each job priority measured by the measuring means and determining whether or not to schedule the selected job; and based on the determination by the schedule determining means. A job scheduling method comprising: job scheduling means for either scheduling a selected job or inhibiting the scheduling of a selected job.
JP215988A 1988-01-08 1988-01-08 System for scheduling job Pending JPH01177638A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP215988A JPH01177638A (en) 1988-01-08 1988-01-08 System for scheduling job

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP215988A JPH01177638A (en) 1988-01-08 1988-01-08 System for scheduling job

Publications (1)

Publication Number Publication Date
JPH01177638A true JPH01177638A (en) 1989-07-13

Family

ID=11521576

Family Applications (1)

Application Number Title Priority Date Filing Date
JP215988A Pending JPH01177638A (en) 1988-01-08 1988-01-08 System for scheduling job

Country Status (1)

Country Link
JP (1) JPH01177638A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0749837A (en) * 1993-08-06 1995-02-21 Nec Corp Management system for batch job start-up from on-line terminal

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0749837A (en) * 1993-08-06 1995-02-21 Nec Corp Management system for batch job start-up from on-line terminal

Similar Documents

Publication Publication Date Title
JPH07141305A (en) Control method for execution of parallel computer
US6763520B1 (en) Fair assignment of processing resources to queued requests
US8832703B2 (en) Dynamically changing job allocation priority based on a restoration rate for each user and time frame
US20060206887A1 (en) Adaptive partitioning for operating system
JPH0659906A (en) Method for controlling execution of parallel
JPH117429A (en) Interrupt load distribution method for shared bus type multiprocessor system
US20030028581A1 (en) Method for resource management in a real-time embedded system
US20220291959A1 (en) Activity scheduling method, system, terminal and storage medium based on high response ratio
US20030028582A1 (en) Apparatus for resource management in a real-time embedded system
KR101377195B1 (en) Computer micro-jobs
JPH01177638A (en) System for scheduling job
KR20150089665A (en) Appratus for workflow job scheduling
CA2316643C (en) Fair assignment of processing resources to queued requests
JP2022550064A (en) Shared Resource Allocation in Multithreaded Microprocessors
JPH07234847A (en) Scheduling method for job
WO2004019205A2 (en) System and method for robust time partitioning of tasks in a real-time computing environment
JP7355456B2 (en) CPU resource management device
Doan et al. Adaptive local assignment algorithm for scheduling soft-aperiodic tasks on multiprocessors
JPH01180641A (en) Balancing system for cpu source
JP2001142723A (en) Resource allocating method, computer system, and recording medium
WO2022168661A1 (en) Scheduler, scheduling method, and computer-readable storage medium
JP2003067203A (en) Real-time embedded resource management system
JPH08314740A (en) Process dispatch method
US20210141661A1 (en) Lightweight Context For CPU Idling Using A Real Time Kernel
JPH0822396A (en) Device and method for managing task execution