JPS63136140A - Optimum job scheduling system - Google Patents
Optimum job scheduling systemInfo
- Publication number
- JPS63136140A JPS63136140A JP28270286A JP28270286A JPS63136140A JP S63136140 A JPS63136140 A JP S63136140A JP 28270286 A JP28270286 A JP 28270286A JP 28270286 A JP28270286 A JP 28270286A JP S63136140 A JPS63136140 A JP S63136140A
- Authority
- JP
- Japan
- Prior art keywords
- job
- resources
- processing
- resource consumption
- consumption amount
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements 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/46—Multiprogramming arrangements
- G06F9/52—Program synchronisation; Mutual exclusion, e.g. by means of semaphores
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
Abstract
Description
【発明の詳細な説明】
〔概 要〕
共有資源を用いてジョブを実行するジョブ処理装置にお
いて、資源消費量のデータベースを設け、これを用いて
予測された資源消費量に基づいて処理待ちジョブの実行
順番を定めることによって、ジョブ処理能力を向上させ
る。[Detailed Description of the Invention] [Summary] In a job processing device that executes jobs using shared resources, a database of resource consumption is provided, and this is used to determine the number of jobs waiting to be processed based on the predicted resource consumption. Improve job processing ability by determining the execution order.
本発明はジョブ処理装置におけるジョブスケジューリン
グ方式の改良に係り、特に資源消費量の予測に基づいて
処理待ちジョブの実行順番を決めることによってジョブ
処理能力を向上させるようにした最適ジョブスケジュー
リング方式に関するものである。The present invention relates to an improvement of a job scheduling method in a job processing device, and more particularly to an optimal job scheduling method that improves job processing capacity by determining the execution order of jobs waiting to be processed based on predictions of resource consumption. be.
コンピュータを用いて各種の処理(ジョブ)を実行する
ジョブ処理装置が、最大の処理能力を発揮するためには
、その処理の順序を定めるジョブスケジューリングが最
適に行われることが必要である。このように最適ジョブ
スケジューリングを行うためには、CPU (中央処理
装置)を含む全共有$を源(CP U、メモリ、チャネ
ル、DASD(磁気ディスク装置)、LP(ラインプリ
ンタ)等)の消′R晋予測を行って、これに基づいてジ
ョブスケジューリングを行うことが望ましい。2. Description of the Related Art In order for a job processing device that uses a computer to execute various types of processing (jobs) to exhibit its maximum processing capacity, job scheduling, which determines the order of the processing, must be performed optimally. In order to perform optimal job scheduling in this way, all shared $ including the CPU (Central Processing Unit) must be consumed by all sources (CPU, memory, channels, DASD (Magnetic Disk Device), LP (Line Printer), etc.). It is desirable to perform R-speed prediction and perform job scheduling based on this prediction.
第4図は従来のジョブスケジューリング方式を示したも
のである。同図において1は端末を示し、2はジョブの
処理待ち行列、3はCPU、メモリ。FIG. 4 shows a conventional job scheduling method. In the figure, 1 represents a terminal, 2 represents a job processing queue, and 3 represents a CPU and memory.
チャネル、DASD、LP等の共有資源、4はジョブ実
行手段、5はジョブ実行順番制御手段である。Shared resources such as channels, DASD, and LP, 4 are job execution means, and 5 are job execution order control means.
ユーザが端末1からジョブ処理装置に対してジョブの依
頼を行う際には、特定資源の消費量(通常はCPU時間
)を大まかな範囲で区分したジョブクラスの情報を、ユ
ーザが付加して端末1から入力する。When a user requests a job from the terminal 1 to the job processing device, the user adds job class information, which roughly categorizes the amount of consumption of specific resources (usually CPU time), to the terminal 1. Enter from 1.
ジョブ実行手段4は怪共有資源3を消費しながらジョブ
を実行するが、この際ジョブ実行順番制御手段5の制御
に基づいてジョブクラスに応じてCPU時間の小さい処
理待ちジョブから優先的にジョブを実行する。The job execution unit 4 executes the job while consuming the shared resource 3, but at this time, based on the control of the job execution order control unit 5, it prioritizes jobs from waiting jobs that require less CPU time according to the job class. Execute.
従来のジョブスケジューリング方式では、資源消費の予
測情報として、ユーザが入力するジョブクラスが示すC
PU時間の情報しか得られず、しかもその情報は量的に
はユーザが指定するクラスという大まかな目安的なもの
に過ぎないので、資源の有効利用のためには不十分であ
り、従ってジョブスケジューリングの最適化を行うこと
ができないという問題があった。In the conventional job scheduling method, C
Since only information on PU time can be obtained, and quantitatively that information is only a rough guide to the class specified by the user, it is insufficient for effective use of resources, and therefore job scheduling There was a problem that it was not possible to perform optimization.
本発明はこのような従来技術の問題点を解決しようとす
るものであって、第1図に示す原理的構成を有し、ジョ
ブ実行手段4が共有資源3を用いてジョブの処理待ち行
列2におけるジョブを実行するジョブ処理装置において
、資源消費量データ資源消費量データベース6は、ジョ
ブ特性に対応する資源消費量を示すデータを格納する。The present invention is intended to solve the problems of the prior art, and has the basic configuration shown in FIG. In a job processing device that executes a job in , a resource consumption data resource consumption database 6 stores data indicating resource consumption corresponding to job characteristics.
資源消費量予測手段7は、端末1からのジョブ処理依頼
に際して付されたジョブ特性を示すキーに基づいて前記
資源消費量データベース6を検索して資源消費量の予測
量を求める。The resource consumption prediction means 7 searches the resource consumption database 6 based on the key indicating the job characteristics assigned at the time of the job processing request from the terminal 1 to obtain a predicted amount of resource consumption.
ジョブ実行順番制御手段5Aは、ジョブの処理待ち行列
2におけるジョブの全共有資源に対する消費予測量合計
値を算出し、該合計値と全共有資源供給能力とから各資
源が平均的に消費されるとともに、クリティカルバスと
なる共有資源については資源消費量が小さい順にジョブ
を実行するように、ジョブの処理待ち行列2におけるジ
ョブの実行順番を定める。The job execution order control means 5A calculates the total predicted consumption amount of all shared resources of the jobs in the job processing queue 2, and calculates the average consumption of each resource based on the total value and the total shared resource supply capacity. At the same time, the execution order of jobs in the job processing queue 2 is determined so that jobs are executed in descending order of resource consumption for shared resources that become critical buses.
ジョブ処理依頼時、端末はジョブ特性を示すキーを付し
て入力し、ジョブ処理装置はこのキーによって資源消費
量データベースを検索して、該当ジョブの資源消費予測
量を求める。次に処理待ちジョブの全共有資源の消費予
測量合計を算出し、供給能力をもとに各共有資源を平均
的に消費し、またクリティカルパスとなる共有資源につ
いては、消R量の少ない順に実行するように処理順番を
定めて実行させるので、処理待ち時間を減少させてジョ
ブ処理能力を向上させることができる。When requesting job processing, the terminal inputs a key indicating the job characteristics, and the job processing device searches the resource consumption database using this key to obtain the predicted resource consumption amount of the corresponding job. Next, calculate the total predicted consumption of all shared resources of the jobs waiting to be processed, and consume each shared resource on average based on the supply capacity.For shared resources that are on the critical path, select the shared resources in order of decreasing consumed R amount. Since the processing order is determined and executed, the processing waiting time can be reduced and the job processing capacity can be improved.
第2図は本発明の一実施例を示したものであって、第4
図におけると同じ部分を同じ番号で示し、5Aはジョブ
実行順番制御手段、6は資源消費量データベース、7は
資源消費量予測手段である。FIG. 2 shows one embodiment of the present invention.
The same parts as in the figure are indicated by the same numbers, and 5A is a job execution order control means, 6 is a resource consumption database, and 7 is a resource consumption prediction means.
資源消費量データベース6は、最近のジョブ消費量の実
績をジョブの特性に対応してデータベ−スとして構築し
たものである。すなわちジョブの資源消′R量は、一般
的にはそのジョブにおける処理種別く編集/翻訳/リン
ケージ、ステップ数。The resource consumption database 6 is constructed as a database of recent job consumption results corresponding to job characteristics. In other words, the resource consumption amount of a job is generally determined by the processing type, editing/translation/linkage, and number of steps in the job.
言語等)に依存することと、類似のジョブが近い過去に
実行されている確率が大きいことから、このようなデー
タをジョブ処理待利用することができるようにするため
に、資源消費量データベース6を設ける。In order to be able to use such data while waiting for job processing, we have created a resource consumption database 6. will be established.
ユーザが端末1からジョブ処理装置に対してジョブの依
頼を行う際には、そのジョブの特性を示すキーをユーザ
が付加して端末1から入力する。When a user requests a job from the terminal 1 to the job processing apparatus, the user adds a key indicating the characteristics of the job and inputs the key from the terminal 1.
このキーは例えば処理種別または過去における類似のジ
ョブ名等によって定められる。This key is determined by, for example, the processing type or the name of a similar job in the past.
資源消費量予測手段7はこのキーによって資源消費量デ
ータベース6を検索し、そのジョブに対応する共有資源
の予測消費量を求める。The resource consumption prediction means 7 searches the resource consumption database 6 using this key, and obtains the predicted consumption of the shared resource corresponding to the job.
次にジョブ実行順番制御手段5Aは、処理待ち行列2に
おける処理待ちジョブの全共有資源に対する消費予測量
の合計を算出して、ジョブ処理装置の処理能力と比較を
行い、次の論理によってジョブ処理順番を定める。Next, the job execution order control means 5A calculates the total expected consumption amount for all shared resources of the jobs waiting to be processed in the processing queue 2, compares it with the processing capacity of the job processing device, and processes the job according to the following logic. determine the order.
■各資源が平均的に消費されるように、処理待ち行列の
ジョブの実行順序を定める。■Determine the execution order of jobs in the processing queue so that each resource is consumed evenly.
■クリティカルバスとなる資源については、その消′R
量が小さい順にジョブを実行する。■Resources that become critical buses will be dissipated.
Execute jobs in descending order of quantity.
ジョブ実行手段4はジョブ実行順番制御手段5Aによっ
て定められた順番に従って、ジョブの処理待ち行列2に
おけるジョブの処理を実行する。The job execution means 4 processes the jobs in the job processing queue 2 in accordance with the order determined by the job execution order control means 5A.
このようにしてジョブ実行を終了するごとに、そのジョ
ブにおける資源消費量の実績は資源消費量データベース
6にフィードバックされて、データとして記録される。In this manner, each time a job execution is completed, the actual resource consumption amount for that job is fed back to the resource consumption amount database 6 and recorded as data.
第3図は本発明方式と従来方式とのジョブ処理の時間関
係を示す図であって、falは従来方式を示し、(bl
は本発明方式を示している。FIG. 3 is a diagram showing the time relationship of job processing between the method of the present invention and the conventional method, where fal indicates the conventional method and (bl
shows the method of the present invention.
例えばDASDアクセスの多いジョブの処理要求#1.
#2.#3が処理待ちとなった場合、第3図(alに示
す従来方式では、CPU消費の少ない#1.#2.#3
の順にジョブを実行するため、すべてのDASD処理を
終了してCPU処理に移行した時刻t1において、ジョ
ブ#3のCPU処理は未完了である。For example, processing request #1 of a job with many DASD accesses.
#2. If #3 is waiting for processing, in the conventional method shown in Figure 3 (al), #1, #2, #3 with low CPU consumption
Since the jobs are executed in the order of , the CPU processing of job #3 is not completed at time t1 when all DASD processing is completed and the transition is made to CPU processing.
これに対して本発明方式では、CPUとDASDの両資
源を平均的に消費するように、CPU処理時間の長短と
DASD処理時間の長短とを組み合せてスケジューリン
グを行うので、第3図(blに示されるごとく時刻t、
においてはすべてのジョブ処理を完了しており、従来方
式に比べて処理能力が向上することが示されている。In contrast, in the method of the present invention, scheduling is performed by combining the length of the CPU processing time and the length of the DASD processing time so that both CPU and DASD resources are consumed on average. As shown, time t,
All jobs have been processed in the previous method, and it has been shown that the processing capacity is improved compared to the conventional method.
以上説明したように本発明によれば、全共有資源を対象
とするデータベースに基づいて処理待ちジョブの全共有
資源の消費量を予測し、供給能力をもとにジョブ処理の
スケジューリングを行うので、処理待ち時間を短縮して
ジョブ処理装置の処理能力を向上することができる。本
発明方式では資源消費量が時間的に変動する場合にもダ
イナミックに対応できるとともに、量的にも過去の実績
に基づいて予測を行うのでかなり正確な予測を行うこと
が可能であり、処理能力を向上させる上で効果的である
。As explained above, according to the present invention, the consumption amount of all shared resources of jobs waiting to be processed is predicted based on the database covering all shared resources, and job processing is scheduled based on the supply capacity. It is possible to shorten the processing waiting time and improve the processing capacity of the job processing device. The method of the present invention can dynamically respond to changes in resource consumption over time, and it also makes quantitative predictions based on past results, making it possible to make fairly accurate predictions and reducing processing capacity. It is effective in improving
第1図は本発明の原理的構成を示す図、第2図は本発明
方式の一実施例を示す図、第3図は本発明方式と従来方
式とのジョブ処理の時間関係を示す図、
第4図は従来のジョブスケジューリング方式を示す図で
ある。
1一端末
2・・・ジョブの処理待ち行列
3−・−共有資源
4・・・ジョブ実行手段
5.5A・−ジョブ実行順番制御手段
6−資源消費量データベース
7・−・資源消費量予測手段FIG. 1 is a diagram showing the basic configuration of the present invention, FIG. 2 is a diagram showing an embodiment of the method of the present invention, and FIG. 3 is a diagram showing the time relationship of job processing between the method of the present invention and the conventional method. FIG. 4 is a diagram showing a conventional job scheduling method. 1-Terminal 2...Job processing queue 3--Shared resources 4...Job execution means 5.5A--Job execution order control means 6-Resource consumption database 7--Resource consumption prediction means
Claims (1)
の処理待ち行列(2)におけるジョブを実行するジョブ
処理装置において、 ジョブ特性に対応する資源消費量を示すデータを格納す
る資源消費量データベース(6)と、端末(1)からの
ジョブ処理依頼に際して付されたジョブ特性を示すキー
に基づいて前記資源消費量データベース(6)を検索し
て資源消費量の予測量を求める資源消費量予測手段(7
)と、ジョブの処理待ち行列(2)におけるジョブの全
共有資源に対する消費予測量合計値を算出し、該合計値
と全共有資源供給能力とから各資源が平均的に消費され
るとともに、クリティカルパスとなる共有資源について
は資源消費量が小さい順にジョブを実行するように、ジ
ョブの処理待ち行列(2)におけるジョブの実行順番を
定めるジョブ実行順番制御手段(5A)とを具えたこと
を特徴とする最適ジョブスケジューリング方式。[Claims] In a job processing device in which a job execution means (4) executes a job in a job processing queue (2) using a shared resource (3), data indicating an amount of resource consumption corresponding to a job characteristic. Prediction of resource consumption by searching the resource consumption database (6) based on the resource consumption database (6) that stores the resource consumption database (6) and the key indicating the job characteristics assigned at the time of job processing request from the terminal (1) Resource consumption prediction means (7)
) and the predicted total consumption amount for all shared resources of the job in the job processing queue (2), and from the total value and the total shared resource supply capacity, each resource is consumed on average, and the critical The job execution order control means (5A) determines the execution order of jobs in the job processing queue (2) so that the shared resources serving as paths are executed in order of decreasing resource consumption. Optimal job scheduling method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP28270286A JPS63136140A (en) | 1986-11-27 | 1986-11-27 | Optimum job scheduling system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP28270286A JPS63136140A (en) | 1986-11-27 | 1986-11-27 | Optimum job scheduling system |
Publications (1)
Publication Number | Publication Date |
---|---|
JPS63136140A true JPS63136140A (en) | 1988-06-08 |
Family
ID=17655938
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP28270286A Pending JPS63136140A (en) | 1986-11-27 | 1986-11-27 | Optimum job scheduling system |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPS63136140A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR970017012A (en) * | 1995-09-08 | 1997-04-28 | 엘리 와이스 | Dynamic Hierarchical Resource Scheduling for Continuous Media |
JP2011113290A (en) * | 2009-11-26 | 2011-06-09 | Nec Corp | Job flow management apparatus, management method and management program |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS59117642A (en) * | 1982-12-24 | 1984-07-07 | Hitachi Ltd | System for allocating processing to computer |
-
1986
- 1986-11-27 JP JP28270286A patent/JPS63136140A/en active Pending
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS59117642A (en) * | 1982-12-24 | 1984-07-07 | Hitachi Ltd | System for allocating processing to computer |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR970017012A (en) * | 1995-09-08 | 1997-04-28 | 엘리 와이스 | Dynamic Hierarchical Resource Scheduling for Continuous Media |
JP2011113290A (en) * | 2009-11-26 | 2011-06-09 | Nec Corp | Job flow management apparatus, management method and management program |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10402225B2 (en) | Tuning resources based on queuing network model | |
US5745778A (en) | Apparatus and method for improved CPU affinity in a multiprocessor system | |
US7926062B2 (en) | Interrupt and exception handling for multi-streaming digital processors | |
US8316376B2 (en) | Optimizing workflow execution against a heterogeneous grid computing topology | |
JPS6140643A (en) | System resource allocation control method | |
Mehta et al. | Dynamic memory allocation for multiple-query workloads | |
US20030149716A1 (en) | Thread dispatch mechanism and method for multiprocessor computer systems | |
US6587865B1 (en) | Locally made, globally coordinated resource allocation decisions based on information provided by the second-price auction model | |
JP2003091424A (en) | Distributed processing system and job distributed processing method | |
CN106874112A (en) | A kind of workflow earth-filling method of combination load balancing | |
CN114880102A (en) | Security chip, multitask scheduling method and device thereof, and storage medium | |
US20120144039A1 (en) | Computing scheduling using resource lend and borrow | |
CN111930485B (en) | Job scheduling method based on performance expression | |
JPS63136140A (en) | Optimum job scheduling system | |
JPH08137910A (en) | Parallel database processing method and apparatus for implementing the same | |
JPH1027167A (en) | Load distribution method for parallel computers | |
JP2587434B2 (en) | Data input / output processing method | |
CN112114967B (en) | GPU resource reservation method based on service priority | |
JPH0518139B2 (en) | ||
JPH08241214A (en) | Data processing system | |
CN114077481A (en) | Task scheduling method, device, equipment and storage medium | |
JPH07219787A (en) | Predictive control parallel distributed processing system, computer system, and network system | |
JPH07249010A (en) | Job scheduler and job scheduling method | |
CN113448705B (en) | Unbalanced job scheduling algorithm | |
CN111061553A (en) | A parallel task scheduling method and system for supercomputing center |