JPH02235147A - Multiple control system for program - Google Patents

Multiple control system for program

Info

Publication number
JPH02235147A
JPH02235147A JP5712189A JP5712189A JPH02235147A JP H02235147 A JPH02235147 A JP H02235147A JP 5712189 A JP5712189 A JP 5712189A JP 5712189 A JP5712189 A JP 5712189A JP H02235147 A JPH02235147 A JP H02235147A
Authority
JP
Japan
Prior art keywords
information
module
execution
characteristic
module characteristic
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
JP5712189A
Other languages
Japanese (ja)
Inventor
Toshikazu Kimura
木村 敏和
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.)
KANSAI NIPPON DENKI SOFTWARE KK
Original Assignee
KANSAI NIPPON DENKI SOFTWARE KK
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 KANSAI NIPPON DENKI SOFTWARE KK filed Critical KANSAI NIPPON DENKI SOFTWARE KK
Priority to JP5712189A priority Critical patent/JPH02235147A/en
Publication of JPH02235147A publication Critical patent/JPH02235147A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To prevent processing efficiency from being dropped by providing a system with an executing information collecting means, and when requested source information exceeds its restriction, temporarily storing the information in an execution request holding means to execute multiple control. CONSTITUTION:A restriction information setting processing means A1 sets up system resource information B5 in the case of executing a module to be controlled. At that time, a module characteristic record forming means A2 stores execution load module performance or the like as module characteristic information B3. When an execution load module executing request is generated, transfer processing A3 executes module characteristic information B1. Collecting information is stored in an executing information means A4 as system resource utilizing information to grasp the using state of the resource. When an execution request is outputted and the request exceeds system restriction information, a using resource capacity deciding means A5 holds the execution load module in an execution requesting means A7 until a margin is obtained. Consequently, multiple control is executed in each characteristic unit of a module and the processing efficiency is prevented from being dropped.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明はプログラムの多重制御方式に関する。[Detailed description of the invention] [Industrial application field] The present invention relates to a program multiplex control system.

〔従来の技術〕[Conventional technology]

従来のプログラムの多重制御方式は、実行クラス毎に多
重度,優先度を設定し、その実行クラス内で自由に、様
々な特性を有する実行ロードモジュール(以下モジュー
ルと記す)を実行するようにしている. このような方式を採用して、例えばオンライン業務を優
先し、定常的のバッチ業務(定常的に実行される技術計
算業務を含む)及び平行して開発作業を行っているユー
ザからは「ピーク時のオンラインサービスが低下し、バ
ッチ処理が進まない」なとの苦情を受ける事がよくある
。これらのユーザのコンピュータシステム(以下システ
ムと記す)を調査すると第7図のような特性を示す場合
が多い. 第7図は6つの実行クラスA〜Fについて時間帯毎にC
PU使用率とディスク使用率の変化を示している.実際
には、もっと多くの実行クラスが設定されているが、説
明上繁雑となるので主要な実行クラスのみを抜粋した. いま、実行クラス毎のCPU使用率をみると、実行クラ
スAのピークは14時から17時、実行クラスB,Cは
ほとんど0、実行クラスDは15時から18時、実行ク
ラスE,Fは15時から18時がピークとなっている。
In the conventional program multiplex control method, the multiplicity and priority are set for each execution class, and execution load modules (hereinafter referred to as modules) having various characteristics are freely executed within that execution class. There is. By adopting such a method, for example, users who prioritize online work and carry out regular batch work (including regularly executed technical calculation work) and parallel development work are told that ``peak time We often receive complaints that online services have deteriorated and batch processing is not progressing. When examining the computer systems of these users (hereinafter referred to as systems), they often exhibit characteristics such as those shown in Figure 7. Figure 7 shows C for each time period for six execution classes A to F.
It shows changes in PU usage rate and disk usage rate. In reality, there are many more execution classes, but since it would be too complicated to explain, I have only excerpted the main execution classes. Now, looking at the CPU usage rate for each execution class, the peak for execution class A is from 14:00 to 17:00, for execution classes B and C it is almost 0, for execution class D it is from 15:00 to 18:00, and for execution classes E and F it is from 15:00 to 18:00. The peak time is from 15:00 to 18:00.

しかもオンラインサービスが悪くなる時間帯も14時3
0分から16時30分ぐらいと、上記時間帯と一致して
しまう。
Moreover, the time when the online service is poor is 2:03 p.m.
0 minutes to 16:30, which coincides with the above time period.

上述の観察結果から、オンラインサービスに悪影響を与
えているのは、CPUの使用率が高いジョブであること
がわかる。
From the above observation results, it can be seen that jobs with a high CPU usage rate have a negative impact on online services.

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

上述した従来方式では、いくら実行クラスの多重度を下
げても、CPU使用率の高いモジュールばかりを実行し
てしまえば、CPU待ちによりオンラインサービスの低
下となってしまう(たとえば優先度が高く、CPUを早
く使用できるとしても、プログラムをベージインする時
間が必要となる)。逆にI/O主体のモジュールばかり
だと、CPUが低負荷でも実行が制限されてしまうので
CPU資源の有効利用が損なわれてしまう欠点がある。
In the conventional method described above, no matter how much the multiplicity of the execution class is lowered, if only modules with high CPU usage are executed, the online service will deteriorate due to CPU waiting (for example, if the modules with high priority Even if you can use it quickly, you will need time to page in the program). On the other hand, if only I/O-based modules are used, execution will be restricted even when the CPU is under low load, resulting in a drawback that effective use of CPU resources will be impaired.

また、実行されるモジュールの特性である、CPU使用
率や必要メモリ量を実行全に判断し実行を中止する事が
できず、実行後時分割処理により多重制御することにな
るが、一定の資源(CPU,メモリなど)に利用が集中
してしまうと、増々、一定の資源待ちとなったモジュー
ルがシステム内で対・流し、多重度と正比例し、オーバ
ーヘッドタイムが急増してしまう欠点がある。
In addition, it is not possible to judge the CPU usage rate and required memory amount at the end of the execution, which are the characteristics of the executed module, and to stop the execution. If usage is concentrated on the CPU, memory, etc., the modules waiting for a certain amount of resources will be exchanged within the system, which is directly proportional to the degree of multiplicity, resulting in a rapid increase in overhead time.

本発明はモジュール特性単位にプログラムの多重制御を
行なうことにより、システムが高負荷状態となり処理効
率が低下するのを防止することを目的とする. 〔課題を解決するための手段〕 本発明のプログラムの多重制御方式は、複数のバッチ処
理またはオンライン処理の実行ロードモジュールが同時
に複数、かつ一定期間もしくは一定時間後に同等な環境
のもとで繰返し実行されるコンピュータシステムにおけ
るプログラムの多重制御方式において、 前記コンピュータシステム全体および前記実行ロードモ
ジュール特性別の制限値をシステム資源制限情報に設定
する制限情報設定手段と、前記実行ロードモジュール作
成時及び前記実行ロードモジュールの実行後に該実行ロ
ードモジュールの性能,必要資源及びモジュール特性な
どをモジュール特性情報として記憶するモジュール特性
レコード作成手段と、 前記実行ロードモジュールの実行要求があった時に対応
する前記モジュール特性情報を実行・要求中モジュール
特性テーブルに移送する移送手段と、 該移送された情報内と状態ステータスが実行中であるも
のをモジュール特性単位及びシステム全体に集計するこ
とにより、集計情報をシステム資源利用状況情報として
記憶し資源の利用状況を把握する実行中情報集計手段と
、 前記システム資源利用状況情報に新たに実行要求があっ
た実行ロードモジュールのモジュール特性情報を仮に足
し込み、結果がシステム制限情報を越えた時、そのモジ
ュールは実行不可であると判断する利用資源許容量判断
手段と、 前記コンピュータシステム内に実行するだけの余裕がで
きるまで実行ロードモジュールを保留する実行要求保留
手段とを設けたことを特徴とする. 〔実施例〕 次に本実施例について図面を参照して説明する. 第1図は本発明の一実施例のブロック図である。
The purpose of the present invention is to prevent the system from becoming overloaded and reducing processing efficiency by performing multiple program control for each module characteristic. [Means for Solving the Problems] The program multiple control method of the present invention is such that a plurality of batch processing or online processing execution load modules are executed simultaneously and repeatedly under the same environment for a certain period of time or after a certain period of time. In a program multiplex control method in a computer system in which the execution load module is created, a limit information setting means for setting limit values for the entire computer system and for each execution load module characteristic in system resource limit information; module characteristic record creation means for storing the performance, required resources, module characteristics, etc. of the execution load module as module characteristic information after execution of the module; and executing the corresponding module characteristic information when there is a request for execution of the execution load module.・Transfer means to transfer to the requesting module characteristic table, and aggregate information in the transferred information and statuses that are being executed for each module characteristic and the entire system, and use the aggregated information as system resource usage status information. Execution information aggregation means that stores and grasps the resource usage status; and module characteristic information of the execution load module that has been newly requested to be executed is temporarily added to the system resource usage status information, and the result exceeds the system limit information. and an execution request suspension means for suspending the execution load module until there is enough room in the computer system to execute the module. Suppose that [Example] Next, this example will be explained with reference to the drawings. FIG. 1 is a block diagram of one embodiment of the present invention.

第1図を参照すると本発明の実施例は、制限情報設定処
理A1と、モジュール特性レコード作成処理A2と、実
行要求されたモジュール特性情報B1を実行・要求中モ
ジュール特性テーブルB2へ移送する移送処理A3と、
実行中情報集計処理A4と、利用資源許容量判断処理A
5と、利用資源許容量判断処理A5の判断が実行可であ
った場合のモジュールの実行・新モジュール特性による
更新処理A6と、利用資源許容量判断処理手段A5の判
断が実行不可であった場合の実行要求保留処理A7から
構成される. 制限情報設定処理A1では、当方式により管理するモジ
ュールを実行するに当ってのシステム資源制限情報B5
を設定する.システム資源制限情報B5の詳細は第4図
に示すように,モジュール特性に関係なく、当方式で管
理するモジュールが使用または実行することのできる制
限の最大値を示すシステム全体制限情報と、モジュール
特性単位に設定し、モジュール特性ごとに1テーブルを
使用し、モジュールが使用または実行することのできる
制限の最大値を示すモジュール特性別制限情報から成る
.さらにシステム全体制限情報は最大実行可能モジュー
ル数(第3図の3e>.Ht大利用可能メモリサイズ3
f,最大利用可能CPU使用率3gの3項目から成り、
モジュール特性別制限情報は、モジュール特性コード3
a (x),最大実行可能モジュール数3b(x),最
大利用可能メモリサイズ3c (x)および最大利用可
能CPU使用率3d (x)の4項目から成る。
Referring to FIG. 1, the embodiment of the present invention includes a restriction information setting process A1, a module characteristic record creation process A2, and a transfer process to transfer the module characteristic information B1 requested for execution to the module characteristic table B2 being executed/requested. A3 and
Executing information aggregation process A4 and usage resource capacity determination process A
5, module execution/updating process A6 based on new module characteristics when the judgment of the usage resource allowance judgment processing A5 is executable, and the case where the judgment of the usage resource allowance judgment processing means A5 is not executable. It consists of execution request pending processing A7. In the limit information setting process A1, system resource limit information B5 for executing the module managed by this method is set.
Set. As shown in Figure 4, the details of the system resource limit information B5 include system-wide limit information indicating the maximum limit that can be used or executed by modules managed by this method, regardless of module characteristics, and module characteristics. It is set per module, uses one table for each module characteristic, and consists of restriction information for each module characteristic indicating the maximum value of the limit that the module can use or execute. Furthermore, the system-wide limit information is the maximum number of executable modules (3e in Figure 3>.Ht large usable memory size 3
It consists of three items: f, maximum available CPU usage rate 3g,
Restriction information by module characteristic is module characteristic code 3.
It consists of four items: a (x), maximum executable module number 3b (x), maximum usable memory size 3c (x), and maximum available CPU usage rate 3d (x).

再び第1図において、モジュール特性レコード作成処理
A2では、リソースプログラムをコンパイル・結合し作
成されたモジュールを基にモジュール特性情報B1を作
成する方法と、プログラム管理者が既に存在するモジュ
ール特性情報を運用に合せチューニングする方法がある
Referring again to FIG. 1, module characteristic record creation processing A2 includes a method for creating module characteristic information B1 based on modules created by compiling and combining resource programs, and a method for a program administrator to operate existing module characteristic information. There is a way to tune it accordingly.

第5図はモジュール特性情報の詳細を示し、モジュール
特性5a,モジュール格納ライブラリ5b,モジュール
名称5c,状態ステータス5d,必要メモリサイズ5f
,平均CPU使用率5g.レコード更新回数5hおよび
レコード更新日時51の8項目から成る.状態ステータ
ス5dは、0.1.2,3.9によりそれぞれ未使用,
実行要求中,実行中,実行保留中,実行終了を表わす.
また、状態ステータス5d,平均CPU使用率5gおよ
びレコード更新回数5hの初期値はOが与えられる. 移送処理A3は、実行要求があったモジュールのモジュ
ール特性情報B1をモジュール特性情報ファイルより検
索し、該当したモジュール特性情報B1の性能ステータ
スを実行要求中(コードは1)として実行・要求中モジ
ュール特性テーブルB2へ移送する.なお、移送された
モジュール特性情報B1はモジュールの実行が終了し、
更新処理A6で削除されるまで実萱・要求中モジュール
特性テーブルB2内で管理される。
FIG. 5 shows details of module characteristic information, including module characteristics 5a, module storage library 5b, module name 5c, status status 5d, and required memory size 5f.
, average CPU usage rate 5g. It consists of 8 items: record update count 5h and record update date and time 51. Condition status 5d is unused and unused due to 0.1.2 and 3.9, respectively.
Indicates execution requested, execution in progress, execution pending, and execution completed.
In addition, O is given as the initial value for the state status 5d, average CPU usage rate 5g, and record update count 5h. Transfer processing A3 searches the module characteristic information B1 of the module for which execution has been requested from the module characteristic information file, and sets the performance status of the corresponding module characteristic information B1 to execution requesting (code is 1) and changes the characteristics of the module being executed/requested. Transfer to table B2. Note that the transferred module characteristic information B1 indicates that the module execution is completed and
It is managed in the actual/requested module characteristic table B2 until it is deleted in the update process A6.

実行中情報集計処理4では、実行・要求中モジュール特
性テーブルB2の中で状態ステータスが実行中(状態ス
テータスが2》の実行・要求中モジュール特性情報B3
のみをモジュール特性単位に必要メモリサイズ5fと平
均CPU使用率5gとを集計し、状態ステータスが実行
中となっている件数を実行モジュール数とし、システム
資源利用状況情報B4内の利用メモリサイズ4c(x)
、CPU使用率4d(x)および実行モジュール数4b
 (x)にそれぞれ記憶する。
In the running information aggregation process 4, running/requesting module characteristic information B3 whose status status is "running" (status status is 2) in the running/requesting module characteristic table B2
The required memory size 5f and the average CPU usage rate 5g are totaled for each module characteristic, and the number of modules whose status status is in execution is defined as the number of executed modules, and the memory size used in system resource usage information B4 is calculated as 4c ( x)
, CPU usage rate 4d(x) and number of execution modules 4b
(x) respectively.

続いて、システム資源利用状況情報B4内のモジュール
特性別資源利用状況(1)から(n)までのテーブルの
実行モジュール数4b(x),利用メモリサイズ4c 
(x)およびCPU使用率4d(x)をすべて合計し、
実行モジュール数4e,利用メモリサイズ4fおよびC
PU使用率4gへ起憶し、システム全体で使用されてい
る資源量とする. 利用資源許容量判断処理A5では、実行・要求中モジュ
ール特性情報B3の中で状憇ステータスが保留中で且、
レコード更新日時の古い情報を選び出し、第2図に示さ
れる条件により実行可であるか実行不可であるかを判断
する。
Next, the number of executed modules 4b(x) and the memory size used 4c in the table resource usage status by module characteristics (1) to (n) in the system resource usage status information B4.
(x) and CPU usage rate 4d(x),
Number of execution modules 4e, memory size used 4f and C
The PU usage rate is stored in 4g, which is the amount of resources used in the entire system. In the utilization resource capacity determination processing A5, the status status is pending in the executing/requesting module characteristic information B3, and
Information with an old record update date and time is selected, and it is determined whether it is executable or not based on the conditions shown in FIG.

第2図を参照すると、処理C1では実行要求があったモ
ジュールのモジュール特性に該当するモジュール特性別
利用状況をモジュール特性別資源利用情報(第4図)の
中から捜し出し、そのテーブル位置をXとする.処理C
2,処理C3,処理C4で実行モジュール数,利用メモ
リサイズ,CPU使用率について各々の最大値との比較
による制限チェックを行いすべての条件で制限値を越え
ない時(第2図の流れ図上では条件「≧」が成り立つ時
)実行可と判断されて処理C5を行なう.また、そうで
ない時は実行不可と判断する.処理C2では、同時に実
行する事のできるモジュール数の制限をシステム全体及
びモジュール特性別に判断する。処理C3では、使用す
る事のできるメモリサイズの制限をシステム全体及びモ
ジュール特性別に判断する.処理C4では、使用する事
のできるCPU使用率の制限をシステム全体及びモジュ
ール特性別に判断する。
Referring to FIG. 2, in process C1, the usage status by module characteristic corresponding to the module characteristic of the module for which the execution request was made is searched from the resource usage information by module characteristic (FIG. 4), and the table position is set as X. do. Processing C
2. In process C3 and process C4, a limit check is performed by comparing the number of execution modules, memory size used, and CPU usage rate with their respective maximum values, and when the limit values are not exceeded under all conditions (in the flowchart in Figure 2), When the condition "≧" is satisfied), it is determined that it is executable and processing C5 is performed. Also, if this is not the case, it is determined that it cannot be executed. In process C2, the limit on the number of modules that can be executed simultaneously is determined for the entire system and for each module characteristic. In process C3, the limit on the memory size that can be used is determined for the entire system and for each module characteristic. In process C4, limits on the CPU usage rate that can be used are determined for the entire system and for each module characteristic.

更新処理A6では、要求されていたモジュールの実行を
許可し、実行・要求中モジュール特性情報B3の状態ス
テータスを実行中とする。モジュールの実行終了後、実
行・要求中モジュール特性情報B3を削除し、今まで使
用し使用制限してきた資源量をシステム資源制限情報B
4(第3図)から解放(減少)させる.これは実行中情
報集計処理A4を実行することにより行う. 続いて、モジュールの実行結果により、モジュール特性
情報を最新とする為以下のチューニング(モジュール特
性情報を実行毎に平均化し最適な値とすること》を行い
、モジュール特性情報を更新する. a.平均CPU使用率5g =(平均cpu使用率5gXレコード更新回数5h十今
回実行したモジュールのCPU使用率)÷(レコード更
新回数5h+1》 b.レコード更新回数5h =レコード更新回数5h+1 実行要求保留処理A7では、利用資源の不足または実行
環境が高負荷状態であると判断された時で、実行を保留
する方法として、実行・要求中モジュール特性情報B3
の状態ステータスを保留とする. 保留時は、一定時間経過後、実行中情報集計処理A4と
利用資源許容量判断処理A5を実行し、利用資源許容量
判断処理A5で実行可と判断されるまでこの処理を繰返
しそれまでの間実行要求されたモジュールを保留する.
第1図から具体的な値を設定し、実際の判断方法を解り
やすく図示したものが第6図で、第1図に示した移送処
理A3,実行中情報集計処理A4及び利用資源許容量判
断処理A5を中心に図示している。前提条件として、シ
ステム資源制限情報B5にシステム環境に応じた制限情
報が処理能力を考慮し設定されているとする。
In the update process A6, execution of the requested module is permitted, and the state status of the executed/requested module characteristic information B3 is set to being executed. After the execution of the module is completed, the executing/requesting module characteristic information B3 is deleted, and the amount of resources that have been used and whose use has been restricted is changed to the system resource limit information B3.
Release (reduce) from 4 (Figure 3). This is done by executing the running information aggregation process A4. Next, in order to make the module characteristic information up-to-date based on the module execution results, the following tuning (module characteristic information is averaged for each execution to obtain an optimal value) is performed to update the module characteristic information. a. Average CPU usage rate 5g = (average CPU usage rate 5g x number of record updates 5h, CPU usage rate of the module executed last time) ÷ (number of record updates 5h + 1) b. Number of record updates 5h = number of record updates 5h + 1 In execution request pending processing A7, Executing/requesting module characteristic information B3 is a method for suspending execution when it is determined that there are insufficient resources or the execution environment is under high load.
The state status of is set to Pending. When on hold, after a certain period of time has elapsed, execution information aggregation processing A4 and usage resource allowance judgment processing A5 are executed, and these processes are repeated until usage resource allowance judgment processing A5 determines that it can be executed. Holds the module requested for execution.
Figure 6 sets specific values from Figure 1 and illustrates the actual judgment method in an easy-to-understand manner. The illustration focuses on process A5. As a precondition, it is assumed that restriction information according to the system environment is set in the system resource restriction information B5 in consideration of processing capacity.

このようなシステム環境で、モジュール名称a1,a2
,a3及びa4が実行中(実行・要求中モジュール特性
テーブルB2の中で状態ステータスが実行中)であり、
実行・要求中モジュール特性情報B3がモジュール単位
及びシステム全体に集計され、システム資源利用状況情
報B4に記憶されているとする。
In such a system environment, module names a1 and a2
, a3 and a4 are being executed (state status is executing in the executing/requesting module characteristic table B2),
It is assumed that the executing/requesting module characteristic information B3 is aggregated for each module and for the entire system, and is stored in the system resource usage status information B4.

このような状態の時、新しくモジュール名称b1が実行
要求された場合の利用資源の許容量判断(条件について
は第2図参照)を(1)〜(4)に分けて例示する. (1)モジュール特性別制限情報B5のテーブル中でモ
ジュール特性コードFl(例べは11)がモジュール特
性コードと同じテーブルを捜し出し、テーブル位″置(
例ではテーブル位置7)を求める. (2)同時に実行することのできるモジュール数の制限
判断(第2図処理C2) D5<E5+1      (例では18<4+1)D
2<E2+1      (例では3<2+1)上記2
条件共偽となるので実行可であると判断できる. (3)使用すことのできるエモリサイズの制限判断(第
2図処理C3) D6<E6+F3 (例では1024KB < 756KB+64KB>D
3<E3+F3 (例では250KB< 128KB +64KB)上記
2条件共偽となるので実行可であると判断できる. (4)使用することのできるCPU使用率の制限判断(
第2図処理C4) D7<E7+F4   (例テ?.;k 90%<65
%+20X>D4<E4+F4   (例では50%〈
40%+20%)上段のシステム全体の制限判断は偽で
あるので実行可となるが、下段のモジュール特性単位の
制限で真となり実行不可と判断される. 以上(2), (3), (4)の制限判断がすべて実
行可となった時のみモジュールの実行を許可し、そうで
ない時は実行を保留させる. 〔発明の効果〕 本発明は以上のような構成を採用することにより、利用
者側で実行するモジュールの特性に合致したプログラム
の多重制御ができるようになる.すなわち、モジュール
特性ごとに利用するとのできるシステムの資源量(消費
量)を設定および設定値による資源の使用量を制限する
事ができ、実行要求されたモジュールを実行する前に、
モジュール特性ごとに割り当てられた制限値内で実行で
きるか否かを判断することができ、実行不可と判断され
た場合そのモジュールを実行する直前に保留することが
できる. また、システムに投入される過剰な実行要求を保留する
ばかりでなく、システム内であまり使用していない資源
を主に利用するモジュールであれば実行が許可されるの
で、システム資源を最大限に使用することができる効果
がある。
In such a state, the determination of the allowable amount of resources to be used when a new execution request is made for module name b1 (see FIG. 2 for conditions) will be divided into (1) to (4) and illustrated. (1) Find a table in which the module characteristic code Fl (for example, 11) is the same as the module characteristic code in the table of module characteristic restriction information B5, and locate the table at table position (
In the example, find table position 7). (2) Limiting the number of modules that can be executed simultaneously (process C2 in Figure 2) D5<E5+1 (18<4+1 in the example) D
2<E2+1 (3<2+1 in the example) above 2
Since both conditions are false, it can be determined that it is executable. (3) Determining the limit on the Emory size that can be used (processing C3 in Figure 2) D6<E6+F3 (1024KB <756KB+64KB>D in the example)
3<E3+F3 (in the example, 250KB<128KB +64KB) Since both of the above two conditions are false, it can be determined that it is executable. (4) Judging the limit on the CPU usage rate that can be used (
Figure 2 Processing C4) D7<E7+F4 (Example Te?.;k 90%<65
%+20X>D4<E4+F4 (50% in example
(40% + 20%) The limit judgment for the entire system in the upper row is false, so it is possible to execute, but the limit for each module characteristic in the lower row is true, and it is determined that it cannot be executed. Execution of the module is permitted only when all of the restriction judgments in (2), (3), and (4) above are determined to be executable; otherwise, execution is suspended. [Effects of the Invention] By employing the configuration described above, the present invention enables multiple control of programs that match the characteristics of the modules executed by the user. In other words, it is possible to set the amount of system resources (consumption amount) that can be used for each module characteristic, and to limit the amount of resources used by the set value.
It is possible to judge whether or not the module can be executed within the limit values assigned to each module characteristic, and if it is determined that it cannot be executed, the module can be suspended immediately before execution. In addition to suspending excessive execution requests that are submitted to the system, it also allows execution of modules that primarily utilize resources that are not used much within the system, allowing system resources to be used to the maximum. There is an effect that can be done.

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

第1図は本発明の一実施例のブロック図、第2図は利用
資源の許容量判断を行う流れ図、第3図はシステム資源
制限情報のレイアウト図、第4図はシステム資源利用情
報のレイアウト図、第5図はモジュール特性情報のレイ
アウト図、第6図は本実施例の動作説明図、第7図はコ
ンピュータシステムの稼働状況図を示す. A1・・・制限情報設定処理、A2・・・モジュール特
性レコード作成処理、A3・・・移送処理、A4・・・
実行中情報集計処理、A5・・・利用資源許容量判断処
理、A6・・・更新処理、A7・・・実行要求保留処理
、B1・・・モジュール特性情報、B2・・・実行・要
求中モジュール特性テーブル、B3・・・実行・要求中
モジュール特性情報、B4・・・システム資源利用状況
情報、B5・・・システム資源制限情報.亭 固
Fig. 1 is a block diagram of an embodiment of the present invention, Fig. 2 is a flowchart for determining the allowable amount of resources to be used, Fig. 3 is a layout diagram of system resource limit information, and Fig. 4 is a layout of system resource usage information. 5 is a layout diagram of module characteristic information, FIG. 6 is an explanatory diagram of the operation of this embodiment, and FIG. 7 is a diagram of the operating status of the computer system. A1... Restriction information setting processing, A2... Module characteristic record creation processing, A3... Transfer processing, A4...
Executing information aggregation process, A5...Usable resource capacity determination process, A6...Update process, A7...Execution request pending process, B1...Module characteristic information, B2...Module being executed/requested Characteristics table, B3... Executing/requesting module characteristic information, B4... System resource usage status information, B5... System resource limit information. Teigou

Claims (1)

【特許請求の範囲】 複数のバッチ処理またはオンライン処理の実行ロードモ
ジュールが同時に複数、かつ一定期間もしくは一定時間
後に同等な環境のもとで繰返し実行されるコンピュータ
システムにおけるプログラムの多重制御方式において、 前記コンピュータシステム全体および前記実行ロードモ
ジュール特性別の制限値をシステム資源制限情報に設定
する制限情報設定手段と、 前記実行ロードモジュール作成時及び前記実行ロードモ
ジュールの実行後に該実行ロードモジュールの性能、必
要資源及びモジュール特性などをモジュール特性情報と
して記憶するモジュール特性レコード作成手段と、 前記実行ロードモジュールの実行要求があった時に対応
する前記モジュール特性情報を実行・要求中モジュール
特性テーブルに移送する移送手段と、 該移送された情報内と状態ステータスが実行中であるも
のをモジュール特性単位及びシステム全体に集計するこ
とにより、集計情報をシステム資源利用状況情報として
記憶し資源の利用状況を把握する実行中情報集計手段と
、 前記システム資源利用状況情報に新たに実行要求があっ
た実行ロードモジュールのモジュール特性情報を仮に足
し込み、結果がシステム制限情報を越えた時、そのモジ
ュールは実行不可であると判断する利用資源許容量判断
手段と、 前記コンピュータシステム内に実行するだけの余裕がで
きるまで実行ロードモジュールを保留する実行要求保留
手段とを設けたことを特徴とするプログラムの多重制御
方式。
[Scope of Claim] A program multiplex control method in a computer system in which a plurality of batch processing or online processing execution load modules are executed simultaneously and repeatedly under an equivalent environment for a certain period of time or after a certain period of time, comprising: limit information setting means for setting limit values for the entire computer system and for each execution load module characteristic in system resource limit information; and module characteristic record creation means for storing module characteristics and the like as module characteristic information; transport means for transferring the corresponding module characteristic information to an executing/requesting module characteristic table when there is an execution request for the execution load module; Execution information aggregation that stores the aggregated information as system resource usage status information and grasps the resource usage status by aggregating the transferred information and status statuses that are being executed for each module characteristic and the entire system. means for temporarily adding module characteristic information of an execution load module newly requested for execution to the system resource usage status information, and determining that the module cannot be executed when the result exceeds system restriction information; 1. A program multiplex control system, comprising: a resource capacity determination means; and an execution request suspension means for suspending an execution load module until there is enough room in the computer system to execute it.
JP5712189A 1989-03-08 1989-03-08 Multiple control system for program Pending JPH02235147A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5712189A JPH02235147A (en) 1989-03-08 1989-03-08 Multiple control system for program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5712189A JPH02235147A (en) 1989-03-08 1989-03-08 Multiple control system for program

Publications (1)

Publication Number Publication Date
JPH02235147A true JPH02235147A (en) 1990-09-18

Family

ID=13046722

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5712189A Pending JPH02235147A (en) 1989-03-08 1989-03-08 Multiple control system for program

Country Status (1)

Country Link
JP (1) JPH02235147A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05313921A (en) * 1992-05-14 1993-11-26 Hitachi Ltd Job execution control system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05313921A (en) * 1992-05-14 1993-11-26 Hitachi Ltd Job execution control system

Similar Documents

Publication Publication Date Title
US11379272B2 (en) Autoscaling using file access or cache usage for cluster machines
Ousterhout et al. Monotasks: Architecting for performance clarity in data analytics frameworks
CN110442451B (en) Deep learning-oriented multi-type GPU cluster resource management scheduling method and system
JP5675840B2 (en) Query management
EP2616936B1 (en) Dynamic creation and destruction of io resources based on actual load and resource availability
Aggarwal et al. The load rebalancing problem
JP4935595B2 (en) Job management method, job management apparatus, and job management program
US20080208861A1 (en) Data Sorting Method And System
US20040158831A1 (en) Process scheduling appratus, process scheduling method, program for process scheduling, and storage medium recording a program for process scheduling
Mehta et al. Dynamic memory allocation for multiple-query workloads
US6256704B1 (en) Task management for data accesses to multiple logical partitions on physical disk drives in computer systems
Carey et al. Load control for locking: the “half-and-half” approach
US9547528B1 (en) Pizza scheduler
CN113778694B (en) Task processing method, device, equipment and medium
JPH05173873A (en) Data processor and storage management method
WO2007023726A1 (en) Information processing system
CN113342477B (en) Container group deployment method, device, equipment and storage medium
US9928004B2 (en) Assigning device adaptors to use to copy source extents to target extents in a copy relationship
JP2012094030A (en) Computer system and processing control method
JP6172649B2 (en) Information processing apparatus, program, and information processing method
JP2006244479A (en) System and method for scheduling executable program
Li et al. Elastic and stable compaction for LSM-tree: A FaaS-based approach on TerarkDB
Kosar A new paradigm in data intensive computing: Stork and the data-aware schedulers
US9110823B2 (en) Adaptive and prioritized replication scheduling in storage clusters
CN110851245A (en) Distributed asynchronous task scheduling method and electronic equipment