JPS62184543A - Job scheduling system - Google Patents

Job scheduling system

Info

Publication number
JPS62184543A
JPS62184543A JP2749186A JP2749186A JPS62184543A JP S62184543 A JPS62184543 A JP S62184543A JP 2749186 A JP2749186 A JP 2749186A JP 2749186 A JP2749186 A JP 2749186A JP S62184543 A JPS62184543 A JP S62184543A
Authority
JP
Japan
Prior art keywords
job
class
multiplicity
jobs
queue
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
JP2749186A
Other languages
Japanese (ja)
Inventor
Etsuo Takahashi
高橋 悦男
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 JP2749186A priority Critical patent/JPS62184543A/en
Publication of JPS62184543A publication Critical patent/JPS62184543A/en
Pending 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/48Program initiating; Program switching, e.g. by interrupt
    • G06F9/4806Task transfer initiation or dispatching
    • G06F9/4843Task transfer initiation or dispatching by program, e.g. task dispatcher, supervisor, operating system
    • G06F9/4881Scheduling strategies for dispatcher, e.g. round robin, multi-level priority queues

Abstract

PURPOSE:To prevent a throughput from becoming worse by sending the job of a class, until the multiplicity of which reaches to the multiplicity set by every job class queue classified by scales to a job executing part, and setting the multiplicity at a larger number for a smaller scale of job. CONSTITUTION:The scale of a thrown-in job 11 is decided from the scheduled time to use a CPU in an executing job administration language at a scale deciding part 12, and the job is registered to either of a large class of queue 13, a medium class of queue 14, or a small class of queue 15 corresponding to the scale of the job. Each of a large class of execution deciding part 16, a medium class of execution deciding part 17, and a small class of execution deciding part 18 sends the job until the multiplicity of the job reaches to the one set for the class to a job executing part 19. In such a case, the multiplicity set for the large class of job is smaller, and for the class medium, larger than that set for the large class of job, and for the small, larger than the medium class. The job in the job executing part 19 is executed under a multiprogramming circumstance.

Description

【発明の詳細な説明】 「産業上の利用分野」 この発明は電子計算機のオペレーティングシステムの機
能の一つであり、実行待ちのジョブ待ち行列から次(:
実行するジョブを選び出すジョブスケジュール方式に関
するものである。
[Detailed Description of the Invention] "Industrial Application Field" This invention is one of the functions of the operating system of a computer.
This relates to a job scheduling method for selecting jobs to be executed.

「従来の技術」 −従来のジョブスケジュール方式は予め実行多重度が設
定されたジョブクラスがいくつが用意されており、それ
らジョブクラスをジョブ投入者が実行JCL(ジョブ管
理言語)中のパラメータで選択するようになっていた。
"Conventional technology" - In the conventional job scheduling method, a number of job classes with execution multiplicity set in advance are prepared, and the job submitter selects one of these job classes using parameters in the execution JCL (job management language). I was supposed to.

[発明が解決しようとする問題点] 上述した従来のジョブスケジュール方式は、予め定めら
れた多重度を割当てられたいくつかのクラスに、大小さ
まざまな規模を持つジョブが散在し、かつそれらジョブ
がその時点においてシステム中でいかなる規模のプログ
ラムが何個実行中であるかに関係なく、所属するクラス
の多重度一杯に実行されるため、以下のような欠点があ
った。
[Problems to be Solved by the Invention] In the conventional job scheduling method described above, jobs of various sizes are scattered in several classes to which a predetermined multiplicity is assigned, and these jobs are Regardless of how many programs of any size are being executed in the system at that time, they will be executed to the full multiplicity of the class to which they belong, resulting in the following drawbacks.

すなわちCPU(中央処理装置)実行時間の長いジョブ
ばかりが同時に実行された場合には、実行待ちのジョブ
がたとえCPU実行時間が短くても、先行する長時間ジ
ョブのどれかが終るまで待たされることになり、ジョブ
の規模とターンアラワンドタイム(ジョブ処理の要求を
出してから処理 −結果が返ってくるまで の時間)との比例関係を維持できなくなる問題が生ずる
し、又メモリあるいは一時フアイルを多量に使用するジ
ョブばかりが同時に実行された場合にはメモリ又は一時
ファイルといったリソース(資源)の奪い合い(二よる
ジョブ間の競合が起こり。
In other words, if jobs with long CPU (Central Processing Unit) execution times are executed at the same time, jobs waiting to be executed may be forced to wait until one of the preceding long-running jobs is finished, even if the CPU execution time is short. This results in the problem of not being able to maintain a proportional relationship between the size of the job and the turnaround time (the time from issuing a request for job processing to processing and returning the results), and also because memory or temporary files are If only jobs that use a large amount are executed at the same time, competition for resources such as memory or temporary files (contention between the two jobs occurs).

結果としてシステムのスルーブツト(一定時間内の処理
量)を低下させるという問題が生じてしまう。
As a result, a problem arises in that the throughput (throughput within a certain period of time) of the system is reduced.

「問題点を解決するための手段」 この発明のジョブスケジュール方式は、ジョブの規模別
(ニジョプクラス待行列を持ち、それらジョブクラス待
行列の実行多重度を規模の大きいジョブのクラスは小さ
く、逆に規模の小さいクラスはど大きく設定しておき、
投入されたジョブの実行JCLを解析してジョブの規模
を判定し、その規模に対応するジョブクラス待行列に投
入されたジョブを登録するようになっている。
``Means for Solving the Problems'' The job scheduling method of the present invention has a job class queue based on the job size (two job class queues), and the execution multiplicity of the job class queues is set to Set small classes to be large,
The execution JCL of the submitted job is analyzed to determine the scale of the job, and the submitted job is registered in a job class queue corresponding to the scale.

「実施例] 次にこの発明を図を参照して説明する。第1図はこの発
明の実施例の概要図である。投入されたジョブ11は規
模判定部12(二おいて、実行JCL(ジョブ管理言語
)中の使用予定cpu時間からその規模が判定され5大
りラス待行列13.中クラス待行列14.あるいは小ク
ラス待行列15のいずれかにジョブの規模(′″一応じ
て登録される。
Embodiment Next, the present invention will be described with reference to the drawings. FIG. 1 is a schematic diagram of an embodiment of the invention. The size of the job is determined from the CPU time scheduled to be used in the job management language), and the job is registered in one of the five large class queues 13, medium class queues 14, or small class queues 15 according to the size of the job ('''). be done.

規模判定部12では例えば第2図(二示すよう;二。In the scale determination section 12, for example, as shown in FIG.

ジョブが投入されたかをチェックしくS、)、ジョブが
投入されると使用予定CPU時間XをチェックしくS2
)、その時間Xが1時間以上の場合は大クラス待行列に
そのジョブを登録しく’S3)、時間Xが10分乃至1
時間である場合はそのジョブを中クラス待行列(二登録
しく S、t ) 、時間Xが10分以下の場合は小ク
ラス待行列に登録する(S5)。
Check whether the job has been submitted (S,), and when the job has been submitted, check the scheduled CPU time used (S2)
), if the time X is 1 hour or more, register the job in the large class queue.
If the time X is within 10 minutes, the job is registered in the middle class queue (S, t), and if the time X is less than 10 minutes, the job is registered in the small class queue (S5).

大クラス実行判定部16、中クラス実行判定部17、小
クラス実行判定部18はそれぞれそのクラスに設定され
た多重度になるまでジョブ実行部19にジョブを送り込
む。この場合設定多重度は大クラスジョブに対しては小
さく、中クラスジョブに対しては大クラスジョブの設定
度よりも太きく、小クラスジョブに対しては更(二大き
くする。
The large class execution determination section 16, the middle class execution determination section 17, and the small class execution determination section 18 each send jobs to the job execution section 19 until the multiplicity set for the class is reached. In this case, the set multiplicity is small for large-class jobs, thicker than the large-class job setting for medium-class jobs, and further (2) larger for small-class jobs.

ジョブ実行部19中のジョブはマルチプログラミング環
境下で実行される。
Jobs in the job execution unit 19 are executed under a multiprogramming environment.

実行判定部16.17.18では例えば第3図に示すよ
うに処理される。すなわち大クラスジョブは設定された
多重度一杯(二人クラスジョブが動いているかがチェッ
クされ(Ss)、それが設定多重度一杯になってない場
合は大クラス待行列13中に実行待ちジョブがあるかが
チェックされ(S7)、実行待ちジョブがあればその一
つを実行させる(S8)。同様(:中クラスジョブは設
定された多重度一杯ζ二動いているかがチェックされ(
S9)、それが一杯になっていない場合は中クラス待行
列14中に実行待ちジョブがあるかがチェックされ(S
l o ) 。
The execution determination units 16, 17, and 18 perform processing as shown in FIG. 3, for example. In other words, the large class job has reached the set multiplicity (it is checked whether the two-person class job is running (Ss), and if the set multiplicity has not reached the full set multiplicity, there are jobs waiting to be executed in the large class queue 13. It is checked whether there is a job waiting to be executed (S7), and if there is a job waiting to be executed, one of them is executed (S8).Similarly, it is checked whether the middle class job is running at the set multiplicity (ζ2).
S9), and if it is not full, it is checked whether there are any jobs waiting to be executed in the middle class queue 14 (S9).
lo).

実行待ちジョブがあればその一つを実行させる(Sl、
)。また小クラスジョブが設定された多重度一杯に動い
ているかがチェックされ(S12)、それが一杯になっ
ていない場合は小クラス待行列15中に実行待ちジョブ
があるかがチェックされ(S13)、実行待ちジョブが
あればその一つを実行させる(S14 )。
If there are jobs waiting to be executed, execute one of them (Sl,
). Also, it is checked whether the small class jobs are running at the set multiplicity (S12), and if it is not full, it is checked whether there are any jobs waiting to be executed in the small class queue 15 (S13). , if there is a job waiting for execution, one of them is executed (S14).

「発明の効果」 以上説明したようにこの発明によるジョブスケジュール
方式は、ジョブの規模別にジョブクラス待行列を持ち、
それらクラスの実行多重度を規模が大きいジョブのクラ
スはど小さく、逆に規模の小さいジョブのクラスはど大
きくし、規模判定部で投入されたジョブの実行JCLを
解析してそのジョブの規模を判定し、そのジョブを該当
するクラスの待行列(=登録することにより、ジョブの
ターンアラウンドタイムをジョブの規模が小さいほど短
く、逆に規模が大きくなるほど長くなるといったジョブ
の規模とターンアラウンドタイムとの比例関係を維持で
きるという効果と、大規模ジョブばかりが同時に実行さ
れることでリソースの奪い合いが起こりジョブ同志が競
合してシステムのスループットが悪化するといった事を
防ぐ効果がある。
"Effects of the Invention" As explained above, the job scheduling method according to the present invention has job class queues for each job size.
The execution multiplicity of these classes is set to be as small as possible for classes with large jobs and as large as classes of jobs that are small, and the scale judgment unit analyzes the execution JCL of the submitted job and determines the size of the job. By determining the job size and registering the job in the corresponding class queue (= registering the job, the smaller the job size, the shorter the turnaround time, and conversely, the larger the job size, the longer the job turnaround time.) This has the effect of maintaining the proportional relationship between jobs, and prevents jobs from competing for resources due to large-scale jobs being executed at the same time, which would cause the jobs to compete with each other and reduce system throughput.

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

第1図はこの発明の実施例の概要を示す図、第2図は実
施例中の規模判定部処理の流れを示す図。 第3図は実施例中の実行判定部の処理の流れを示す図で
ある。
FIG. 1 is a diagram showing an outline of an embodiment of the present invention, and FIG. 2 is a diagram showing a flow of processing by a scale determination section in the embodiment. FIG. 3 is a diagram showing the flow of processing of the execution determination section in the embodiment.

Claims (1)

【特許請求の範囲】[Claims] (1)投入されたジョブの規模を判定する規模判定手段
と、 その規模判定手段により判定されたジョブの規模に応じ
て、そのジョブが登録される複数の規模別ジョブクラス
待行列と、 その規模別ジョブクラス待行列ごとにその設定された多
重度になるまでそのクラスのジョブをジョブ実行部へ送
る手段と、 を備え、上記多重度はジョブの規模が小さい程大に設定
されているジョブスケジュール方式。
(1) A size determining means for determining the size of an submitted job; a plurality of size-based job class queues in which jobs are registered according to the size of the job determined by the size determining means; means for sending jobs of that class to the job execution unit until a set multiplicity is reached for each job class queue, and a job schedule in which the multiplicity is set to be larger as the size of the job is smaller method.
JP2749186A 1986-02-10 1986-02-10 Job scheduling system Pending JPS62184543A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2749186A JPS62184543A (en) 1986-02-10 1986-02-10 Job scheduling system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2749186A JPS62184543A (en) 1986-02-10 1986-02-10 Job scheduling system

Publications (1)

Publication Number Publication Date
JPS62184543A true JPS62184543A (en) 1987-08-12

Family

ID=12222602

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2749186A Pending JPS62184543A (en) 1986-02-10 1986-02-10 Job scheduling system

Country Status (1)

Country Link
JP (1) JPS62184543A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011043968A (en) * 2009-08-20 2011-03-03 Hitachi Solutions Ltd Batch job processing device and batch job processing system
JP2014049112A (en) * 2012-08-29 2014-03-17 Fujitsu Ltd Information processing device, program, and job control method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011043968A (en) * 2009-08-20 2011-03-03 Hitachi Solutions Ltd Batch job processing device and batch job processing system
JP2014049112A (en) * 2012-08-29 2014-03-17 Fujitsu Ltd Information processing device, program, and job control method

Similar Documents

Publication Publication Date Title
US7650601B2 (en) Operating system kernel-assisted, self-balanced, access-protected library framework in a run-to-completion multi-processor environment
US5745778A (en) Apparatus and method for improved CPU affinity in a multiprocessor system
US9286127B2 (en) Method for allocating processor resources precisely by means of predictive scheduling based on current credits
US7673305B2 (en) System and method of expediting certain jobs in a computer processing system
US20040163085A1 (en) Method to distribute programs using remote java objects
US6473780B1 (en) Scheduling of direct memory access
JPH031698B2 (en)
JPH11212809A (en) Processor sharing method and device
JPH06342377A (en) Method and device for decentralized type control over job execution
CN111400015A (en) Task scheduling method and device
Nutt A parallel processor operating system comparison
JPS62184543A (en) Job scheduling system
JPH0518139B2 (en)
JP2522388B2 (en) How to control tasks
JPS62210546A (en) Job schedule processing system
JP3374480B2 (en) Data processing device
JPH11102349A (en) Load control method for memory sharing multiprocessor system
JPH01154237A (en) Executing device for time-division task
CN105718310A (en) Virtual machine scheduling method for IO dense application under cloud platform
JP2575761B2 (en) Job management method
JPH01305461A (en) Right of using bus control system
Raynor et al. Minimization of supervisor conflict for multiprocessor computer systems
JP2535631B2 (en) Calling call control method
JPS61253547A (en) Control system for computer system job
RU2420792C1 (en) System and method of scheduling active tasks in operating system