JPS61246843A - Multiple job start control system - Google Patents

Multiple job start control system

Info

Publication number
JPS61246843A
JPS61246843A JP6674385A JP6674385A JPS61246843A JP S61246843 A JPS61246843 A JP S61246843A JP 6674385 A JP6674385 A JP 6674385A JP 6674385 A JP6674385 A JP 6674385A JP S61246843 A JPS61246843 A JP S61246843A
Authority
JP
Japan
Prior art keywords
job
jobs
schedule information
starting
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.)
Granted
Application number
JP6674385A
Other languages
Japanese (ja)
Other versions
JPH07109590B2 (en
Inventor
Kazuya Fujiwara
和也 藤原
Tatsuro Nakanishi
中西 達郎
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP6674385A priority Critical patent/JPH07109590B2/en
Publication of JPS61246843A publication Critical patent/JPS61246843A/en
Publication of JPH07109590B2 publication Critical patent/JPH07109590B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Abstract

PURPOSE:To reduce the start processing time by setting the environment close to the optimum state (a state that the entire processing time is equal to that of CPU processing) by sub-schedule information to start automatically the user job. CONSTITUTION:The job schedule information 1 is registered on a system as a part of so-called procedure and plural inputted jobs are registered on a magnetic disc device (DASD). A scheduler 3 reads the job schedule information 1 and an analysis section 4 analyzes the control sentence and decides the start control timing with respect to the designated job, sequentially start job name possible for multiplex processing, start waiting designation of succeeding job for a prescribed time, designation of job start end condition just before the succeeding job and end of schedule.

Description

【発明の詳細な説明】 〔概要〕 複数のジョブを連続起動する場合、ジョブの多重度が過
大にも過小にもならない効率のよい最適な状態に常時制
御する。
[Detailed Description of the Invention] [Summary] When starting a plurality of jobs in succession, the degree of job multiplicity is always controlled to be in an efficient and optimal state that is neither excessive nor insufficient.

〔産業上の利用分野〕[Industrial application field]

本発明は、データ処理システムにおけるジョブの起動制
御方式に関するものであり、特に複数のジョブを業務を
開始する前にまとめて起動する場合の制御方式に関する
The present invention relates to a job startup control method in a data processing system, and particularly to a control method for starting a plurality of jobs at once before starting a job.

〔従来の技術〕[Conventional technology]

たとえば、データ処理システムでは、システムの起動時
等に、ある業務を行うためのジョブ群をまとめて起動し
ておき、それらのジョブの全てが起動を完了した時点で
業務を開始する運用が行われている。第3図はこれを例
示的に示したものである。
For example, in a data processing system, a group of jobs for performing a certain task are started all at once when the system is started, and the task is started when all of those jobs have finished starting. ing. FIG. 3 exemplarily shows this.

ところで一般に、複数のジョブを連続起動する方法には
、複数のジョブを単体で順次直列に起動する方法と、複
数のジョブを同時並行して起動する方法の2つの方法が
ある。
Generally speaking, there are two methods for starting multiple jobs in succession: a method for starting multiple jobs individually in series, and a method for starting multiple jobs in parallel.

直列に起動する場合には、1つの゛ジョブの起動が完了
してから次のジョブを起動するので、全体の起動処理時
間としては、それぞれのジョブの起動処理時間(ジョブ
単体での起動処理時間)を合計した時間を必要とするこ
とになる。
In the case of serial startup, the next job is started after the startup of one job is completed, so the total startup processing time is the startup processing time of each job (the startup processing time of a single job). ) will require the total time.

また、単体でのジョブ起動処理の場合には、I10命令
の実行時などでのCPUの待時間が多くなり、CPUの
処理効率がかなり低くなる。他方。
In addition, in the case of a single job startup process, the CPU wait time increases when executing the I10 instruction, etc., and the processing efficiency of the CPU becomes considerably low. On the other hand.

複数ジョブを同時起動させる場合には、多重度(一度に
起動することが可能なジョブ数)を上げて行くと、やが
てCPUの使用率(全体の処理時間に対するCPU使用
時間の比率)が約100%になる。この時が最も処理効
率が高い最適状態である。
When starting multiple jobs at the same time, as you increase the multiplicity (number of jobs that can be started at once), the CPU usage rate (ratio of CPU usage time to total processing time) will eventually decrease to about 100. %become. This time is the optimum state with the highest processing efficiency.

さらに多重度を上げていくと、メモリ不足によるページ
ングが多発し、ページングI10待ちのために処理時間
が長くなる過負荷状態となる。
If the degree of multiplicity is further increased, paging occurs frequently due to memory shortage, resulting in an overload state in which processing time becomes longer due to waiting for paging I10.

このため、一定の大きさの複数のジョブを起動する場合
にはあまり問題は起きないが、大きさが違うジョブを起
動する場合には、あるジョブを起動したときは負荷が小
さいが、他のあるジョブを起動すると、過負荷状態とな
り、処理時間が長くなるということがあった。
For this reason, there is not much problem when starting multiple jobs of a certain size, but when starting jobs of different sizes, the load is small when one job is started, but the load on other jobs is small. When a certain job was started, it would become overloaded and the processing time would take longer.

また従来は2個々のジョブの起動を条件づける手段とし
て、ジョブの実行終了時刻を指定するデッドラインタイ
ムスケジューリング機能や、特定ジョブ間の実行順序を
指定するディペンデントジョブ制御機能などが用いられ
ていた。
Furthermore, conventionally, as a means to condition the start of two individual jobs, a deadline time scheduling function that specifies the execution end time of a job, a dependent job control function that specifies the execution order between specific jobs, etc. have been used. Ta.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

従来のジョブ起動制御方式では、システムのジョブ起動
制御機構(スケジューラ)が、実行待ちキューにある複
数のジョブを同時並行して起動する場合、同時に管理で
きるジョブ空間数の範囲内で、ジョブが必要とする装置
、ボリューム、データセットなどの資源の割り当てが可
能なジョブがあれば、優先度の高い方から自動的に選択
して起動していた。
In conventional job startup control methods, when the system's job startup control mechanism (scheduler) starts multiple jobs in the pending queue in parallel, it only needs jobs within the number of job spaces that can be managed simultaneously. If there was a job for which resources such as devices, volumes, and datasets could be allocated, the job with the highest priority was automatically selected and started.

またこのとき、デッドラインタイムスケジュール機能や
ディペンデントジョブ制御機能を利用したとしても1個
々のジョブの起動に要する時間は不定であるため、CP
Uの処理効率を考慮したジョブの起動制御を十分な程度
に行うことができなかった。
In addition, at this time, even if the deadline time schedule function or dependent job control function is used, the time required to start each job is undefined, so the CP
It was not possible to perform job start-up control to a sufficient degree taking U's processing efficiency into consideration.

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

本発明は、複数ジョブの同時起動を行う際に。 The present invention is useful when starting multiple jobs simultaneously.

CPUの処理効率を考慮したきめのこまかいスケジュー
リング制御を可能にする手段を提供しようとするもので
あり、そのため、指定された複数のジョブ間の起動順序
を指定する手段と、指定されたジョブの起動については
直前に実行中のジョブの起動完了を条件づける手段と、
指定されたジョブの起動については、直前のジョブの起
動から所定時間待って起動させる手段とを設け、これら
を組み合わせ指定して、最適のジョブスケジューリング
制御を可能にするものである。
The purpose is to provide a means to enable fine-grained scheduling control that takes into account CPU processing efficiency, and therefore, it provides a means for specifying the starting order among a plurality of specified jobs, and a means for specifying the starting order of specified jobs. For this, there is a means to condition the completion of the start of the job currently being executed,
Regarding the activation of a specified job, means is provided to wait for a predetermined period of time from the activation of the immediately preceding job, and to specify a combination of these to enable optimal job scheduling control.

〔作用〕[Effect]

本発明によれば、任意の時点において一緒に実行するジ
ョブ群、あるいは−緒に実行することを禁止するジョブ
あるいはジョブ群を容易に設定することができるため、
cpuに過大な負荷あるいは過小な負荷が与えられない
ように最適なジョブ起動制御を行うことができる。
According to the present invention, it is possible to easily set a group of jobs to be executed together at any given time, or a job or a group of jobs that are prohibited from being executed together.
Optimum job starting control can be performed to prevent too much or too little load from being applied to the CPU.

〔実施例〕〔Example〕

第1図は本発明の1実施例システムの構成図である。 FIG. 1 is a block diagram of a system according to an embodiment of the present invention.

図において、1はジョブスケジュール情報、2はジョブ
キュー、3はスケジューラ、4は解析部。
In the figure, 1 is job schedule information, 2 is a job queue, 3 is a scheduler, and 4 is an analysis unit.

5はジョブ起動部、6.7はイニシェーク、8゜9はプ
ロセッサを表している。
5 represents a job starting unit, 6.7 represents an inishake, and 8.9 represents a processor.

ジョブスケジュール情報1は5本発明に基づくジョブ起
動制御に関する情報であり、いわゆるプロシージャの一
部としてシステムに登録されている。また入力された複
数のジョブは、磁気ディスク装置(DASD)上に登録
されている。
Job schedule information 1 is information regarding job startup control based on the present invention, and is registered in the system as part of a so-called procedure. Further, the plurality of input jobs are registered on a magnetic disk device (DASD).

スケジューラ3は、ジョブスケジュール情報1を読み、
解析部4により制御文を解析して、指定されているジョ
ブについての起動制御タイミングを決定する。
Scheduler 3 reads job schedule information 1,
The analysis unit 4 analyzes the control statement and determines the startup control timing for the specified job.

具体的には、多重処理可能な順次起動ジョブ名。Specifically, the sequential startup job name that can be multiprocessed.

所定時間の間の後続ジョブの起動待ち指定、後続ジョブ
に対する直前ジョブ起動完了条件の指定。
Specify that the subsequent job will wait for startup for a predetermined period of time, and specify the conditions for completing the startup of the immediately preceding job for the subsequent job.

スケジュール終了などがある。Schedule ends, etc.

第2図はジョブスケジュール情報1の1例を示したもの
である。5TEPIないし5TEP8は複数ジョブJO
BOIないしJOBO6を起動する制御シーケンスを表
す。簡単に説明すると。
FIG. 2 shows an example of job schedule information 1. 5TEPI to 5TEP8 is multiple job JO
It represents a control sequence for starting BOI or JOBO6. To explain briefly.

5TEP 1で、ジョブJOBOIを最初に起動する。5TEP 1 starts job JOBOI first.

5TEP2で、ジョブJOB、02をJOBOIに続い
て起動し、ジョブJOBOI、JOBO2を多重処理す
る。
At 5TEP2, job JOB, 02 is started following JOBOI, and jobs JOBOI, JOBO2 are multi-processed.

5TEP3で、待ち指定“*”により、後続ジョブの起
動を600秒の間禁止する。
5TEP3, the wait designation "*" prohibits starting of subsequent jobs for 600 seconds.

600秒経過後、5TEP4,5TEP5,5TEP6
で、それぞれジョブJOBO3,JOB04、JOBO
5を起動し、多重処理させる。
After 600 seconds, 5TEP4, 5TEP5, 5TEP6
Then, jobs JOBO3, JOB04, JOBO respectively.
5 and perform multiple processing.

5TEP6では、CK″により直前のジョブJOBO5
の起動完了まで後続ジョブの起動を禁止する。
In 5TEP6, the previous job JOBO5 is
Prohibits the startup of subsequent jobs until the startup of the job is completed.

5TEP7で、ジョブJOBO5の起動完了によりジョ
ブJOBO6を起動する。
At 5TEP7, job JOBO6 is started upon completion of start-up of job JOBO5.

5TEP8で、スケジュールを終了する。At 5TEP8, the schedule ends.

JOBOL単体での起動開始から起動完了までの時間を
T (JOBO1)、そしてJOBOI。
The time from the start of startup to the completion of startup for JOBOL alone is T (JOBO1), and JOBOI.

JOBO2,・・・の同時(多重)実行時間をT (J
OBOl、JOBO2,−”)として表すと、起動ジョ
ブの多重度は。
The simultaneous (multiple) execution time of JOBO2,... is T (J
OBOl, JOBO2, -''), the multiplicity of the activated job is.

T (JOBO1)+T(JOBO2) +・・・<T
(JOBOI、JOBO2,・・・) とならないように設定する。
T (JOBO1) + T (JOBO2) +...<T
(JOBOI, JOBO2,...) Set so that it does not occur.

待ち時間“*”をTiと表すと。If the waiting time "*" is expressed as Ti.

Ti:5T  (JOBOI、  JOBO2)のよう
に設定する。これはJOBO3を同時起動しても、JO
BOL、JOBO2がほとんど起動完了していて、CP
Uの過負荷とならないようにするためである。
Set as Ti:5T (JOBOI, JOBO2). This means that even if you start JOBO3 at the same time,
BOL and JOBO2 have almost finished starting, and the CP
This is to prevent U from being overloaded.

条件“CK”は、これを一層確実にするために用いられ
、たとえば直前ジョブの起動完了時間が不定の場合に適
用される。
The condition "CK" is used to further ensure this, and is applied, for example, when the startup completion time of the immediately preceding job is uncertain.

これらのジョブスケジュール情報は、実測データや、試
行錯誤により設定される。
These job schedule information are set based on actual measurement data or trial and error.

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

本発明によれば、最適状B(全体の処理時間がCPUの
処理時間に等しい状態)に近い環境をジョブスケジュー
ル情報により設定することにより。
According to the present invention, an environment close to optimal state B (a state in which the total processing time is equal to the processing time of the CPU) is set using job schedule information.

ユーザジョブを自動起動し、起動処理時間の短縮を実現
することができる。また緊急業務の優先立上げを行うこ
とも可能である。
It is possible to automatically start a user job and shorten the start processing time. It is also possible to prioritize emergency operations.

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

第1図は本発明の1実施例システムの構成図。 第2図はジョブスケジュール情報の1例を示す図。 第3図は多重ジョブ起動処理の1例のタイミング図であ
る。 第1図において、lはジョブスケジュール情報。 2はジョブキュー、3はスケジューラ、4は解析部、5
はジョブ起動部、6.7はイニシェーク。 8.9はプロセッサを表す。
FIG. 1 is a configuration diagram of a system according to an embodiment of the present invention. FIG. 2 is a diagram showing an example of job schedule information. FIG. 3 is a timing diagram of an example of multiple job activation processing. In FIG. 1, l represents job schedule information. 2 is a job queue, 3 is a scheduler, 4 is an analysis section, 5
is the job startup part, and 6.7 is the inishake. 8.9 represents a processor.

Claims (1)

【特許請求の範囲】 複数のジョブを多重に実行する機能をそなえたデータ処
理システムにおいて、複数のジョブの起動順序を指示す
るジョブスケジュール情報手段と、該ジョブスケジュー
ル情報に基づいて指示されたジョブを指示された条件で
起動するスケジューラ手段とをそなえ、 上記ジョブスケジュール情報手段は、起動される複数の
ジョブ間の起動順序を指定する情報とともに、直前に起
動されたジョブの起動完了を起動条件として指定する情
報と、直前のジョブの起動から所定時間待つことを起動
条件として指定する情報とを必要に応じて含み、上記ス
ケジューラ手段はジョブスケジュール情報中の上記各指
定情報を解析して、指定されたジョブの起動タイミング
を制御することを特徴とする多重ジョブ起動制御方式。
[Claims] A data processing system equipped with a function of multiplexly executing a plurality of jobs, comprising: job schedule information means for instructing the starting order of the plurality of jobs; The job schedule information means includes information specifying the starting order among the plurality of jobs to be started, as well as specifying completion of starting of the most recently started job as the starting condition. and information specifying waiting a predetermined time from the start of the previous job as a start condition, as necessary, and the scheduler means analyzes each of the above specified information in the job schedule information to A multiple job startup control method characterized by controlling job startup timing.
JP6674385A 1985-03-30 1985-03-30 Multiple job start control method Expired - Lifetime JPH07109590B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6674385A JPH07109590B2 (en) 1985-03-30 1985-03-30 Multiple job start control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6674385A JPH07109590B2 (en) 1985-03-30 1985-03-30 Multiple job start control method

Publications (2)

Publication Number Publication Date
JPS61246843A true JPS61246843A (en) 1986-11-04
JPH07109590B2 JPH07109590B2 (en) 1995-11-22

Family

ID=13324656

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6674385A Expired - Lifetime JPH07109590B2 (en) 1985-03-30 1985-03-30 Multiple job start control method

Country Status (1)

Country Link
JP (1) JPH07109590B2 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005346433A (en) * 2004-06-03 2005-12-15 Hitachi Ltd Program execution reservation method, device, processing program therefor and program execution system
JP2007133614A (en) * 2005-11-09 2007-05-31 Kenwood Corp Task starting program, computer and task starting method
JP2009059355A (en) * 2008-08-15 2009-03-19 Hitachi Ltd Program execution reserving method and device, its processing program, and program execution system

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005346433A (en) * 2004-06-03 2005-12-15 Hitachi Ltd Program execution reservation method, device, processing program therefor and program execution system
US7779413B2 (en) 2004-06-03 2010-08-17 Hitachi, Ltd. Method of assigning available resources for internal and external users at start time of scheduled time period based on program reservations information
JP2007133614A (en) * 2005-11-09 2007-05-31 Kenwood Corp Task starting program, computer and task starting method
JP2009059355A (en) * 2008-08-15 2009-03-19 Hitachi Ltd Program execution reserving method and device, its processing program, and program execution system

Also Published As

Publication number Publication date
JPH07109590B2 (en) 1995-11-22

Similar Documents

Publication Publication Date Title
US20080271029A1 (en) Thread Scheduling with Weak Preemption Policy
JPH0895821A (en) Method and device for multitask program debugging
US7203823B2 (en) Partial and start-over threads in embedded real-time kernel
US5081577A (en) State controlled device driver for a real time computer control system
JPS61246843A (en) Multiple job start control system
JP2005521937A (en) Context switching method and apparatus in computer operating system
JPH07191863A (en) Multitask execution managing system
JPH0588917A (en) Job scheduling system
JPS6146552A (en) Information processor
JPS63636A (en) Task control system
JP2591036B2 (en) I / O control method
JPH0644234B2 (en) Task management device
JP4535663B2 (en) State machine control method and state machine
JPH0778091A (en) Multitask managing method
JPH02222056A (en) Batch job submitting system
JPH02158841A (en) Effectively using system for idle cpu
JPH0462093B2 (en)
JPH0535661A (en) Scsi controller ic
JP2988427B2 (en) Recording medium recording job operation method, job operation method, and job operation program
JPS63163640A (en) Scheduling system
JPS6277645A (en) Local job start control system
JPS6388646A (en) Job corresponding cpu resource averaging system
JPS60114940A (en) Device for multi-task control
JPS63136233A (en) Schedule system for timer service utilization process
JPH02113363A (en) Time slice controlling system for multiprocessor system