JP2002259143A - Device and method for automatically controlling number of task, on-like transaction processing system and program - Google Patents

Device and method for automatically controlling number of task, on-like transaction processing system and program

Info

Publication number
JP2002259143A
JP2002259143A JP2001060584A JP2001060584A JP2002259143A JP 2002259143 A JP2002259143 A JP 2002259143A JP 2001060584 A JP2001060584 A JP 2001060584A JP 2001060584 A JP2001060584 A JP 2001060584A JP 2002259143 A JP2002259143 A JP 2002259143A
Authority
JP
Japan
Prior art keywords
task
usage rate
operation information
reference value
throughput
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
JP2001060584A
Other languages
Japanese (ja)
Inventor
Yasuyuki Taguchi
康行 田口
Tomohiro Fujita
朋弘 藤田
Noriyuki Tomiki
法之 冨木
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 Solution Innovators Ltd
Original Assignee
NEC Solution Innovators 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 NEC Solution Innovators Ltd filed Critical NEC Solution Innovators Ltd
Priority to JP2001060584A priority Critical patent/JP2002259143A/en
Publication of JP2002259143A publication Critical patent/JP2002259143A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To solve the problem that task waiting occurs when the number of tasks comes short even when a CPU usage rate is low in an online transaction processor. SOLUTION: An uptime information acquiring device 12 acquires throughput, the CPU usage rate and a task usage rate by an uptime information acquiring means and registered the acquired data in an uptime information table 15. A number-of-tasks deciding device 13 calculates the number of tasks from the uptime information and a reference value by a number-of-tasks deciding mean 131. The method for calculating the number of tasks increases the number of tasks when throughput is low, there is a margin in the CPU usage rate and the task usage rate is high. A task management device 14 automatically changes the number of tasks to be driven to the calculated number of tasks. The automatic change of the number of tasks is repeated until the CPU usage rate exceeds the reference value. Consequently the throughput can be improved by effectively utilizing the CPU and reducing task waiting.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明はオンライントランザ
クション処理に関し、特にタスク数の制御によるスルー
プットの向上に関する。
[0001] 1. Field of the Invention [0002] The present invention relates to online transaction processing, and more particularly to improvement of throughput by controlling the number of tasks.

【0002】[0002]

【従来の技術】従来、スループット方式は、オンライン
トランザクション処理装置において、システムのレスポ
ンスをよくするために用いられている。
2. Description of the Related Art Conventionally, a throughput method has been used in an online transaction processing apparatus to improve the response of a system.

【0003】例えば、特開平8−314739号公報
「マルチタスク制御方法および制御システム」には、ジ
ョブにより発生したイベントに対し、タスク管理手段
は、タスク数管理テーブルを参照し、タスクを効率よく
割り当て、タスク待ちが発生しないようにすることによ
り、システムのスループットを低下させない技術が記載
されている。ジョブから通知されたイベントは、一旦イ
ベント格納キューに格納された後、取り出される。該イ
ベントに対しては、該イベントに対する処理を行う子タ
スクを含むグループに空きの固有タスクがある場合は、
該固有タスクが割り当てられ、空きの固有タスクが存在
しない場合で、かつ空きの共有タスクが存在する場合
は、該共有タスクが割り当てられる。該イベントに対し
て、割り当てる子タスクが存在しない場合には、該イベ
ントは子タスクの割り当て待ちとなる。
[0003] For example, in Japanese Patent Application Laid-Open No. 8-314739, "Multitask control method and control system", a task management means refers to a task number management table and efficiently allocates a task to an event generated by a job. A technique is described in which the task throughput is prevented from being reduced so that the system throughput is not reduced. The event notified from the job is temporarily stored in the event storage queue, and then extracted. For the event, if there is a free unique task in the group including the child task that performs the processing for the event,
If the unique task is assigned and there is no free unique task, and if there is a free shared task, the shared task is assigned. If there is no child task to be assigned to the event, the event waits for assignment of a child task.

【0004】[0004]

【発明が解決しようとする課題】上記の従来技術には、
次のような問題点があった。CPU使用率が低い場合で
も、タスクが足りなくなると、タスク待ちが発生してし
まうことである。その理由は、発生したイベント数が、
タスク数を上回ってしまった場合に、タスク数を拡大で
きないためである。
SUMMARY OF THE INVENTION The above prior arts include:
There were the following problems. Even when the CPU utilization is low, if there are not enough tasks, task waiting occurs. The reason is that the number of events that occurred
This is because when the number of tasks exceeds the number of tasks, the number of tasks cannot be increased.

【0005】本発明の目的は、以上の問題を解決するタ
スク数自動制御によるスループット向上方式を提供する
ことである。
An object of the present invention is to provide a system for improving the throughput by automatically controlling the number of tasks, which solves the above problems.

【0006】[0006]

【課題を解決するための手段】本発明第一のタスク数自
動制御装置は、オンライントランザクション処理システ
ムにおいて、CPU使用状況、タスク使用状況を考慮
し、動的にタスク数を制御することで、単位時間当たり
のトランザクション処理量の向上を行う。
SUMMARY OF THE INVENTION The first task number automatic control device of the present invention is a system for controlling the number of tasks in an online transaction processing system by dynamically controlling the number of tasks in consideration of a CPU use state and a task use state. Improve transaction processing volume per hour.

【0007】本発明第二のタスク数自動制御装置は、あ
らかじめ設定された時間間隔で稼働情報取得装置を起動
するスケジューラーと、スループット取得手段、CPU
使用率取得手段とタスク使用率取得手段を用いてスルー
プット、CPU使用率とタスク使用率からなる稼働情報
を取得し、前記稼働情報を稼働情報テーブルへ登録しタ
スク数判定装置を起動する稼働情報取得装置と、前記稼
働情報テーブルと基準値テーブルから稼働情報と基準値
を取得し、前記スループットがスループット基準値以上
ならばタスク数判定装置を起動待ち状態にし、前記スル
ープット基準値より小さいならば、CPU使用率を前記
稼働情報テーブルから取得し前記CPU使用率がCPU
使用率基準値以上ならば前記タスク数判定装置を起動待
ち状態にし、前記CPU使用率基準値より小さいなら
ば、前記タスク使用率を前記稼働情報テーブルから取得
し、前記タスク使用率がタスク使用率基準値未満ならば
前記タスク数判定装置を起動待ち状態にし、タスク使用
率基準値以上ならば、タスク数を1つ拡大するように、
前記タスク管理装置に通知する前記タスク数判定装置
と、前記タスク数判定装置から得た前記タスク数へ運用
タスク数を変更し、稼働情報取得装置を起動する前記タ
スク管理装置とを有する。
A second task number automatic control device according to the present invention comprises a scheduler for activating an operation information acquisition device at a preset time interval, a throughput acquisition means, and a CPU.
Using a usage rate obtaining means and a task usage rate obtaining means, obtains operation information including a throughput, a CPU usage rate, and a task usage rate, registers the operation information in an operation information table, and starts a task number determination device to obtain operation information. A device, obtain operation information and a reference value from the operation information table and the reference value table, and if the throughput is equal to or greater than the throughput reference value, place the task number determination device in a waiting state for activation; The usage rate is obtained from the operation information table, and the CPU
If the usage rate is equal to or more than the usage rate reference value, the task number determination device is placed in a waiting state for activation. If the task usage rate is smaller than the CPU usage rate reference value, the task usage rate is obtained from the operation information table. If the value is less than the reference value, the task number determination device is set to a waiting state for activation, and if the value is equal to or more than the task usage rate reference value, the number of tasks is increased by one.
A task number determination device that notifies the task management device; and a task management device that changes an operation task number to the task number obtained from the task number determination device and activates an operation information acquisition device.

【0008】本発明第三のタスク数自動制御装置は、あ
らかじめ設定された時間間隔で稼働情報取得装置を起動
するスケジューラーと、スループット取得手段、CPU
使用率取得手段、メモリ使用率とタスク使用率取得手段
を用いてスループット、CPU使用率、メモリ使用率と
タスク使用率からなる稼働情報を取得し、前記稼働情報
を稼働情報テーブルへ登録しタスク数判定装置を起動す
る稼働情報取得装置と、前記稼働情報テーブルと基準値
テーブルから稼働情報と基準値を取得し、前記スループ
ットがスループット基準値以上ならばタスク数判定装置
を起動待ち状態にし、前記スループット基準値より小さ
いならば、CPU使用率を前記稼働情報テーブルから取
得し前記CPU使用率がCPU使用率基準値以上ならば
前記タスク数判定装置を起動待ち状態にし、前記CPU
使用率基準値より小さいならば、前記タスク使用率を前
記稼働情報テーブルから取得し、前記タスク使用率がタ
スク使用率基準値未満ならば前記タスク数判定装置を起
動待ち状態にし、タスク使用率基準値以上ならば、メモ
リ使用率を前記稼働情報テーブルから取得し、前記メモ
リ使用率がメモリ使用率基準値以下ならば、前記タスク
数判定手段を起動待ち状態にし、前記メモリ使用率基準
値より大きいならば、前記タスク数を1つ拡大するよう
に、前記タスク管理装置に通知する前記タスク数判定装
置と、前記タスク数判定装置から得た前記タスク数へ運
用タスク数を変更し、稼働情報取得装置を起動する前記
タスク管理装置とを有する。
According to a third task number automatic control device of the present invention, a scheduler for activating an operation information acquisition device at a preset time interval;
Using a usage rate acquisition unit, a memory usage rate and a task usage rate acquisition means, obtain operation information including a throughput, a CPU usage rate, a memory usage rate, and a task usage rate, register the operation information in an operation information table, and count the number of tasks. An operation information acquisition device that activates a determination device, acquires operation information and a reference value from the operation information table and the reference value table, and if the throughput is equal to or greater than the throughput reference value, places the task number determination device in a startup wait state; If the CPU usage rate is smaller than the reference value, the CPU usage rate is obtained from the operation information table.
If the usage rate is smaller than the usage rate reference value, the task usage rate is obtained from the operation information table. If the task usage rate is less than the task usage rate reference value, the task number determination device is set in a waiting state for activation. If the value is equal to or greater than the value, the memory usage rate is obtained from the operation information table. If the memory usage rate is equal to or less than the memory usage rate reference value, the task number determination unit is set in a waiting state for activation, and is larger than the memory usage rate reference value. Then, the task number determination device that notifies the task management device and the operation task number are changed to the task number obtained from the task number determination device so as to increase the task number by one, and the operation information is acquired. The task management device for activating the device.

【0009】本発明のオンライントランザクション処理
システムは、本発明第一,二または三のタスク数自動制
御装置を有する。
The online transaction processing system of the present invention has the first, second or third task number automatic control device of the present invention.

【0010】本発明第一のタスク数自動制御方法は、あ
らかじめ設定された時間間隔で稼働情報取得装置を起動
する第一のステップと、スループット、CPU使用率と
タスク使用率からなる稼働情報を取得する第二のステッ
プと、取得した前記稼働情報を稼働情報テーブルへ登録
する第三のステップと、前記稼働情報テーブルと基準値
テーブルから稼働情報と基準値を取得し、前記スループ
ットがスループット基準値以上ならばタスク数判定装置
を起動待ち状態にし、前記スループット基準値より小さ
いならば前記第一のステップへ行き、前記CPU使用率
を前記稼働情報テーブルから取得し前記CPU使用率が
CPU使用率基準値以上ならば前記第一のステップへ行
き、前記CPU使用率基準値より小さいならば、前記タ
スク使用率を前記稼働情報テーブルから取得し、前記タ
スク使用率がタスク使用率基準値未満ならば前記第一の
ステップへ行き、タスク使用率基準値以上ならば、タス
ク数を1つ拡大する第四のステップと、前記第四のステ
ップのあとに前記第一のステップへ行く第五のステップ
を有する。
The first task number automatic control method according to the present invention comprises a first step of activating an operation information acquisition device at a preset time interval, and acquiring operation information comprising a throughput, a CPU usage rate, and a task usage rate. A second step to perform, and a third step of registering the obtained operation information in an operation information table, obtaining operation information and a reference value from the operation information table and a reference value table, wherein the throughput is equal to or more than a throughput reference value. If so, the task number determination device is placed in a waiting state for activation, and if it is smaller than the throughput reference value, the process proceeds to the first step, the CPU usage rate is obtained from the operation information table, and the CPU usage rate is the CPU usage rate reference value. If so, go to the first step, and if less than the CPU usage reference value, reduce the task usage to the A fourth step of acquiring from the operation information table, and going to the first step if the task usage rate is less than the task usage rate reference value, and expanding the number of tasks by one if the task usage rate is equal to or more than the task usage rate reference value, After the fourth step, there is a fifth step going to the first step.

【0011】本発明第二のタスク数自動制御方法は、あ
らかじめ設定された時間間隔で稼働情報取得装置を起動
する第一のステップと、スループット、CPU使用率、
メモリ使用率とタスク使用率からなる稼働情報を取得す
る第二のステップと、取得した前記稼働情報を稼働情報
テーブルへ登録する第三のステップと、前記稼働情報テ
ーブルと基準値テーブルから稼働情報と基準値を取得
し、前記スループットがスループット基準値以上ならば
タスク数判定装置を起動待ち状態にし、前記スループッ
ト基準値より小さいならば前記第一のステップへ行き、
前記CPU使用率を前記稼働情報テーブルから取得し前
記CPU使用率がCPU使用率基準値以上ならば前記第
一のステップへ行き、前記CPU使用率基準値より小さ
いならば、前記タスク使用率を前記稼働情報テーブルか
ら取得し、前記タスク使用率がタスク使用率基準値未満
ならば前記第一のステップへ行き、タスク使用率基準値
以上ならば、前記メモリ使用率を前記稼働情報テーブル
から取得し、前記メモリ使用率がメモリ使用率基準値以
下ならば、前記第一のステップへ行き、前記メモリ使用
率基準値より大きいならば、タスク数を1つ拡大する第
四のステップと、前記第四のステップのあとに前記第一
のステップへ行く第五のステップを有する。
According to a second automatic task number control method of the present invention, a first step of activating an operation information acquisition device at a preset time interval;
A second step of obtaining operation information including a memory usage rate and a task usage rate, a third step of registering the obtained operation information in an operation information table, and operation information from the operation information table and the reference value table. A reference value is obtained, and if the throughput is equal to or greater than the throughput reference value, the task count determination device is set to a start waiting state, and if the throughput is smaller than the throughput reference value, the process proceeds to the first step,
If the CPU usage rate is obtained from the operation information table and the CPU usage rate is equal to or higher than the CPU usage rate reference value, the process proceeds to the first step, and if the CPU usage rate is smaller than the CPU usage rate reference value, the task usage rate is calculated. Acquiring from the operation information table, if the task usage rate is less than the task usage rate reference value, go to the first step, if it is equal to or more than the task usage rate reference value, obtain the memory usage rate from the operation information table, If the memory usage is equal to or less than the memory usage reference value, the process proceeds to the first step. If the memory usage is larger than the memory usage reference value, a fourth step of expanding the number of tasks by one; After the step, there is a fifth step going to the first step.

【0012】本発明第一のプログラムは、コンピュータ
に、あらかじめ設定された時間間隔で稼働情報取得装置
を起動する第一のステップと、スループット、CPU使
用率とタスク使用率からなる稼働情報を取得する第二の
ステップと、取得した前記稼働情報を稼働情報テーブル
へ登録する第三のステップと、前記稼働情報テーブルと
基準値テーブルから稼働情報と基準値を取得し、前記ス
ループットがスループット基準値以上ならばタスク数判
定装置を起動待ち状態にし、前記スループット基準値よ
り小さいならば前記第一のステップへ行き、前記CPU
使用率を前記稼働情報テーブルから取得し前記CPU使
用率がCPU使用率基準値以上ならば前記第一のステッ
プへ行き、前記CPU使用率基準値より小さいならば、
前記タスク使用率を前記稼働情報テーブルから取得し、
前記タスク使用率がタスク使用率基準値未満ならば前記
第一のステップへ行き、タスク使用率基準値以上なら
ば、タスク数を1つ拡大する第四のステップと、前記第
四のステップのあとに前記第一のステップへ行く第五の
ステップを実行させる。
[0012] The first program of the present invention obtains, in a computer, a first step of activating an operation information acquisition apparatus at a preset time interval, and operation information including throughput, CPU usage rate, and task usage rate. A second step, a third step of registering the obtained operation information in an operation information table, and obtaining operation information and a reference value from the operation information table and a reference value table, and if the throughput is equal to or greater than the throughput reference value, If it is smaller than the throughput reference value, the process proceeds to the first step, and the CPU
If the usage rate is obtained from the operation information table and the CPU usage rate is equal to or more than the CPU usage rate reference value, the process proceeds to the first step, and if the CPU usage rate is smaller than the CPU usage rate reference value,
Obtaining the task usage rate from the operation information table,
If the task usage rate is less than the task usage rate reference value, go to the first step. If the task usage rate is equal to or greater than the task usage rate reference value, a fourth step of increasing the number of tasks by one, and after the fourth step Causes a fifth step to be executed to go to the first step.

【0013】本発明第二のプログラムは、コンピュータ
に、あらかじめ設定された時間間隔で稼働情報取得装置
を起動する第一のステップと、スループット、CPU使
用率、メモリ使用率とタスク使用率からなる稼働情報を
取得する第二のステップと、取得した前記稼働情報を稼
働情報テーブルへ登録する第三のステップと、前記稼働
情報テーブルと基準値テーブルから稼働情報と基準値を
取得し、前記スループットがスループット基準値以上な
らばタスク数判定装置を起動待ち状態にし、前記スルー
プット基準値より小さいならば前記第一のステップへ行
き、前記CPU使用率を前記稼働情報テーブルから取得
し前記CPU使用率がCPU使用率基準値以上ならば前
記第一のステップへ行き、前記CPU使用率基準値より
小さいならば、前記タスク使用率を前記稼働情報テーブ
ルから取得し、前記タスク使用率がタスク使用率基準値
未満ならば前記第一のステップへ行き、タスク使用率基
準値以上ならば、前記メモリ使用率を前記稼働情報テー
ブルから取得し、前記メモリ使用率がメモリ使用率基準
値以下ならば、前記第一のステップへ行き、前記メモリ
使用率基準値より大きいならば、タスク数を1つ拡大す
る第四のステップと、前記第四のステップのあとに前記
第一のステップへ行く第五のステップを実行させる。
According to a second program of the present invention, a first step of starting an operation information acquisition apparatus at a predetermined time interval in a computer, and an operation including a throughput, a CPU usage rate, a memory usage rate, and a task usage rate are performed. A second step of acquiring information; a third step of registering the acquired operation information in an operation information table; acquiring operation information and a reference value from the operation information table and a reference value table; If the value is equal to or more than the reference value, the task number determination device is placed in a waiting state for activation. If the value is smaller than the throughput reference value, the process proceeds to the first step, the CPU usage rate is obtained from the operation information table, and the CPU usage rate is determined. If the rate is equal to or more than the reference rate, the process proceeds to the first step. The task utilization is obtained from the operation information table, and if the task utilization is less than the task utilization reference value, the process proceeds to the first step. A fourth step of acquiring from the table, if the memory usage is equal to or less than the memory usage reference value, to the first step, and if the memory usage is greater than the memory usage reference value, expanding the number of tasks by one; And performing a fifth step of going to the first step after the fourth step.

【0014】[0014]

【発明の実施の形態】次に、本発明の実施の形態につい
て図面を参照して詳細に説明する。図1は、本発明実施
の形態のタスク数自動制御装置の構成を示すブロック図
である。図1を参照すると、スケジューラー11は、あ
らかじめ設定された時間間隔で稼働情報取得装置12を
起動する。稼働情報取得装置12は、スループット取得
手段121、CPU使用率取得手段122、タスク使用
率取得手段123を用いて、スループット、CPU使用
率、タスク使用率を取得する。稼働情報取得装置12
は、取得した稼働情報を稼働情報テーブル15へ登録
し、タスク数判定装置13を起動する。タスク数判定装
置13は、タスク数判定手段131を用いて、稼働情報
テーブル15と基準値テーブル16から稼働情報と基準
値を取得する。タスク数判定手段131は、取得した稼
働情報と基準値から、タスク数を算出し、タスク管理装
置14へタスク数を送信する。タスク管理装置14は、
タスク数制御手段141を用いて、タスク数判定手段1
31から得たタスク数へ運用タスク数を変更し、稼働情
報取得装置12を起動する。再度、タスク数判定装置1
3が、稼働情報と基準値を取得し、タスク数の判定をす
る。これをCPUが有効活用できるタスク数になるまで
繰り返す。
Next, embodiments of the present invention will be described in detail with reference to the drawings. FIG. 1 is a block diagram showing a configuration of a task number automatic control device according to an embodiment of the present invention. Referring to FIG. 1, the scheduler 11 activates the operation information acquisition device 12 at a preset time interval. The operation information acquisition device 12 acquires the throughput, the CPU utilization, and the task utilization by using the throughput acquisition unit 121, the CPU utilization acquisition unit 122, and the task utilization acquisition unit 123. Operation information acquisition device 12
Registers the acquired operation information in the operation information table 15 and starts the task number determination device 13. The task number determination device 13 uses the task number determination unit 131 to acquire operation information and a reference value from the operation information table 15 and the reference value table 16. The task number determination unit 131 calculates the number of tasks from the acquired operation information and the reference value, and transmits the number of tasks to the task management device 14. The task management device 14
Using the task number control means 141, the task number determination means 1
The number of operation tasks is changed to the number of tasks obtained from 31, and the operation information acquisition device 12 is started. Again, the task number determination device 1
3 obtains the operation information and the reference value, and determines the number of tasks. This is repeated until the number of tasks that can be effectively used by the CPU is reached.

【0015】次に、本発明の実施の形態の動作について
図面を参照して説明する。次に、図1、図2を参照して
本実施例の動作について詳細に説明する。図2は、本発
明実施の形態のタスク数自動制御方法の動作を示すフロ
ーチャートである。図1において、スケジューラー11
から起動要求を受けた稼働情報取得装置12は、スルー
プット取得手段121、CPU使用率取得手段122、
タスク使用率取得手段123を用いて、トランザクショ
ンのスループット、CPU使用率、タスク使用率を取得
する。稼働情報取得装置12は、取得した稼働情報を稼
働情報テーブル15へ登録し、タスク数判定装置13を
起動する。タスク数判定装置13は、タスク数判定手段
131を用いて、稼働情報テーブル15と基準値テーブ
ル16から、稼働情報と基準値を取得する。タスク数判
定手段131は、稼働情報と基準値から、タスク数を算
出する。
Next, the operation of the embodiment of the present invention will be described with reference to the drawings. Next, the operation of this embodiment will be described in detail with reference to FIGS. FIG. 2 is a flowchart showing the operation of the method for automatically controlling the number of tasks according to the embodiment of the present invention. In FIG. 1, the scheduler 11
The operation information acquisition device 12 that has received the activation request from the CPU 12 includes a throughput acquisition unit 121, a CPU usage rate acquisition unit 122,
The transaction use rate, the CPU use rate, and the task use rate are obtained using the task use rate obtaining unit 123. The operation information acquisition device 12 registers the acquired operation information in the operation information table 15 and activates the task number determination device 13. The task number determination device 13 obtains operation information and a reference value from the operation information table 15 and the reference value table 16 by using the task number determination unit 131. The task number determining means 131 calculates the task number from the operation information and the reference value.

【0016】図2において、タスク数判定手段131の
動作について説明する。ステップ202で、スループッ
トを稼働情報テーブル15から取得する。ステップ20
3で、スループットがスループット基準値161以上な
らば、タスク数判定手段131を起動待ち状態にし、ス
ループット基準値161より小さいならば、CPU使用
率を稼働情報テーブル15から取得する。ステップ20
5でCPU使用率がCPU使用率基準値162以上なら
ば、タスク数判定手段131を起動待ち状態にし、CP
U使用率基準値162より小さいならば、タスク使用率
を稼働情報テーブル15から取得する。ステップ207
でタスク使用率がタスク使用率基準値163未満なら
ば、タスク数判定手段131を起動待ち状態にし、タス
ク使用率基準値163以上ならば、タスク数を1つ拡大
するように、タスク管理装置14に通知する。
Referring to FIG. 2, the operation of the task number determining means 131 will be described. In step 202, the throughput is obtained from the operation information table 15. Step 20
In 3, if the throughput is equal to or more than the throughput reference value 161, the task count determining unit 131 is set to a standby state, and if the throughput is smaller than the throughput reference value 161, the CPU usage rate is acquired from the operation information table 15. Step 20
If the CPU usage rate is equal to or more than the CPU usage rate reference value 162 in step 5, the task number determination means 131 is set in a standby state, and
If it is smaller than the U usage rate reference value 162, the task usage rate is obtained from the operation information table 15. Step 207
If the task usage rate is less than the task usage rate reference value 163, the task count determination unit 131 is placed in a standby state, and if the task usage rate is equal to or greater than the task usage rate reference value 163, the task management device 14 increases the task count by one. Notify.

【0017】図1において、タスク管理装置14は、タ
スク数判定装置13からのタスク数拡大要求を受け、タ
スク数制御手段141を用いて、運用タスク数を1つ拡
大し、稼働情報取得装置12を起動する。再度、タスク
数判定装置13が、稼働情報と基準値を取得し、タスク
数の判定をする。これをCPU使用率が基準値を超える
まで繰り返す。
In FIG. 1, a task management device 14 receives a request to increase the number of tasks from the number-of-tasks determining device 13, and uses the number-of-tasks control means 141 to increase the number of operating tasks by one. Start Again, the task number determination device 13 acquires the operation information and the reference value, and determines the number of tasks. This is repeated until the CPU usage exceeds the reference value.

【0018】次に、具体例を用いて本実施例の動作を説
明する。図3は、本発明実施の形態のタスク数自動制御
装置において、実際の動作時の基準値を示す図である。
図3に示すように、例えば、スケジューラー11から、
稼働情報取得装置12へ起動要求が発生したとする。稼
働情報取得装置12が各取得手段を用いて、稼働情報を
取得し、スループット:800件/分、CPU使用率:
90%、タスク使用率:97%を取得したとする。稼働
情報取得装置12は、取得した稼働情報を稼働情報テー
ブル15へ登録し、タスク数判定装置13を起動する。
タスク数判定装置13は、タスク数判定手段131を用
いて、稼働情報テーブル15と基準値テーブル16か
ら、スループット151とスループット基準値161を
取得する(ステップ202)。スループット151は8
00件/分であり、スループット基準値161:100
0件/分より小さいため(ステップ203)、CPU使
用率152とCPU使用率基準値162を取得する(ス
テップ204)。CPU使用率152は80%であり、
CPU使用率基準値162:98%より小さいため(ス
テップ205)、タスク使用率153とタスク使用率基
準値163を取得する(ステップ206)。タスク使用
率153は97%であり、タスク使用率基準値163:
90%以上のため(ステップ207)、タスク数は1つ
拡大される(ステップ208)。次に、タスク数拡大要
求をタスク管理装置14へ通知する(ステップ20
9)。タスク数拡大要求を受けたタスク管理装置14
は、タスク管理手段141を用いて、タスク数を1つ拡
大し、稼働情報取得装置12を起動する。稼働情報を取
得した結果、スループット:1200件/分、CPU使
用率:99%、タスク使用率:95%となり、スループ
ットが向上し、CPU使用率が基準値を超えたため、ス
ケジュール待ちとなる。
Next, the operation of this embodiment will be described using a specific example. FIG. 3 is a diagram showing reference values at the time of actual operation in the automatic task number control device according to the embodiment of the present invention.
As shown in FIG. 3, for example, from the scheduler 11,
It is assumed that a start request has been issued to the operation information acquisition device 12. The operation information acquisition device 12 acquires operation information using each acquisition unit, and the throughput is 800 records / minute, the CPU usage rate is:
It is assumed that 90% and task usage rate: 97% are acquired. The operation information acquisition device 12 registers the acquired operation information in the operation information table 15 and activates the task number determination device 13.
The task number determination device 13 acquires the throughput 151 and the throughput reference value 161 from the operation information table 15 and the reference value table 16 by using the task number determination means 131 (step 202). Throughput 151 is 8
00 / min, throughput reference value 161: 100
Since it is smaller than 0 / min (step 203), the CPU usage rate 152 and the CPU usage rate reference value 162 are obtained (step 204). The CPU usage rate 152 is 80%,
Since the CPU usage rate reference value 162 is smaller than 98% (step 205), the task usage rate 153 and the task usage rate reference value 163 are acquired (step 206). The task usage rate 153 is 97%, and the task usage rate reference value 163:
Because it is 90% or more (step 207), the number of tasks is increased by one (step 208). Next, a task number expansion request is notified to the task management device 14 (step 20).
9). Task management device 14 that has received a request to increase the number of tasks
Uses the task management unit 141 to increase the number of tasks by one and starts the operation information acquisition device 12. As a result of acquiring the operation information, the throughput is 1200 records / minute, the CPU usage rate is 99%, and the task usage rate is 95%. The throughput is improved, and the CPU usage rate exceeds the reference value, so that the schedule waits.

【0019】次に、本発明の他の実施例について図4を
参照して、詳細に説明する。図4は、本発明第二の実施
の形態のタスク数自動制御装置の構成を示すブロック図
である。図4を参照すると、稼働情報取得装置b12b
にメモリ使用率取得手段124が追加され、稼働情報テ
ーブルb15bと基準値テーブルb16bにメモリ使用
率154とメモリ使用率基準値164を格納できるよう
になっている。スループット、CPU使用率、タスク使
用率をもとに、タスク数を設定すると、メモリへの影響
を考慮していないため、メモリ使用率が高くなる場合が
ある。そのため、スループットが悪化するという問題が
ある。この実施例は、稼働情報取得装置12で取得する
稼働情報の種類を増やし、タスク数判定装置b13b
で、CPU使用率以外に、メモリ使用率もタスク数を判
定する要因とする。
Next, another embodiment of the present invention will be described in detail with reference to FIG. FIG. 4 is a block diagram illustrating a configuration of a task count automatic control device according to the second embodiment of this invention. Referring to FIG. 4, the operation information acquisition device b12b
Has been added so that the memory usage rate 154 and the memory usage rate reference value 164 can be stored in the operation information table b15b and the reference value table b16b. If the number of tasks is set based on the throughput, the CPU usage rate, and the task usage rate, the memory usage rate may increase because the effect on the memory is not considered. Therefore, there is a problem that the throughput is deteriorated. In this embodiment, the type of operation information acquired by the operation information acquisition device 12 is increased, and the task number determination device b13b
In addition to the CPU usage rate, the memory usage rate is also a factor for determining the number of tasks.

【0020】図4においてタスク数判定装置b13b内
のタスク数判定手段b131bの動作について説明す
る。タスク数判定手段b131bの動作には、メモリ使
用率の従ってタスク数を変える部分が追加される。メモ
リ使用率154を稼働情報テーブルb15bから取得
し、メモリ使用率154がメモリ使用率基準値164以
下ならば、タスク数判定手段b131bを起動待ち状態
にし、メモリ使用率基準値164より大きいならば、タ
スク数を1つ拡大するように、タスク管理装置14に通
知する。
Referring to FIG. 4, the operation of the task number judging means b131b in the task number judging device b13b will be described. A part that changes the number of tasks according to the memory usage rate is added to the operation of the task number determining unit b131b. The memory usage rate 154 is obtained from the operation information table b15b. If the memory usage rate 154 is equal to or smaller than the memory usage rate reference value 164, the task number determination unit b131b is put into a waiting state for activation. If the memory usage rate 154 is larger than the memory usage rate reference value 164, The task management device 14 is notified so as to increase the number of tasks by one.

【0021】この実施例は、取得した稼働情報をタスク
数判定装置13が、稼働情報テーブル15と基準値テー
ブル16から、タスク数を算出するため、CPU以外に
メモリの影響を考慮したスループットの向上ができると
いう新たな効果を有する。
In this embodiment, the number of tasks is calculated from the operation information table 15 and the reference value table 16 by the task number determination device 13 based on the acquired operation information. It has a new effect that it can be done.

【0022】上述のタスク数自動制御装置はオンライン
トランザクション処理システムに組み込んで使用され
る。
The automatic task number control device described above is used by being incorporated in an online transaction processing system.

【0023】上述の各ステップはコンピュータ60のプ
ログラムにより実現可能である。図5は、本発明実施の
形態のタスク数自動制御方法を実行するコンピュータ6
0とそのプログラムを記録した記録媒体61を示すブロ
ック図である。
Each of the above steps can be realized by a program of the computer 60. FIG. 5 shows a computer 6 for executing the task number automatic control method according to the embodiment of the present invention.
FIG. 2 is a block diagram showing a recording medium 61 on which a program 0 and its program are recorded.

【0024】[0024]

【発明の効果】本発明の効果は、トランザクションの実
行待ちが発生し、かつCPUに余裕がある場合、タスク
数を拡大することによるスループットの向上である。そ
の理由は、CPU使用率、タスク使用率に応じて、動的
にタスク数を制御することにより、単位時間当たりのト
ランザクション処理量が増えることになるためである。
The effect of the present invention is to improve the throughput by enlarging the number of tasks when a transaction execution wait occurs and the CPU has room. The reason is that, by dynamically controlling the number of tasks according to the CPU usage rate and the task usage rate, the transaction processing amount per unit time increases.

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

【図1】本発明実施の形態のタスク数自動制御装置の構
成を示すブロック図である。
FIG. 1 is a block diagram illustrating a configuration of an automatic task number control device according to an embodiment of the present invention.

【図2】本発明実施の形態のタスク数自動制御方法の動
作を示すフローチャートである。
FIG. 2 is a flowchart showing an operation of the task number automatic control method according to the embodiment of the present invention.

【図3】本発明実施の形態のタスク数自動制御装置にお
いて、実際の動作時の基準値を示す図である。
FIG. 3 is a diagram showing a reference value during an actual operation in the automatic task number control device according to the embodiment of the present invention;

【図4】本発明第二の実施の形態のタスク数自動制御装
置の構成を示すブロック図である。
FIG. 4 is a block diagram illustrating a configuration of a task count automatic control device according to a second embodiment of this invention.

【図5】本発明実施の形態のタスク数自動制御方法を実
行するコンピュータ60とそのプログラムを記録した記
録媒体61を示すブロック図である。
FIG. 5 is a block diagram showing a computer 60 that executes a method for automatically controlling the number of tasks according to an embodiment of the present invention and a recording medium 61 on which the program is recorded.

【符号の説明】[Explanation of symbols]

11 スケジューラー 12 稼働情報取得装置 12b 稼働情報取得装置b 13 タスク数判定装置 13b タスク数判定装置b 14 タスク管理装置 15 稼働情報テーブル 15b 稼働情報テーブルb 16 基準値テーブル 16b 基準値テーブルb 60 コンピュータ 61 記録媒体 121 スループット取得手段 122 CPU使用率取得手段 123 タスク使用率取得手段 124 メモリ使用率取得手段 131 タスク数判定手段 131b タスク数判定手段b 141 タスク数制御手段 151 スループット 152 CPU使用率 153 タスク使用率 161 スループット基準値 162 CPU使用率基準値 163 タスク使用率基準値 164 メモリ使用率基準値 Reference Signs List 11 scheduler 12 operation information acquisition device 12b operation information acquisition device b 13 task number determination device 13b task number determination device b 14 task management device 15 operation information table 15b operation information table b 16 reference value table 16b reference value table b 60 computer 61 record Medium 121 Throughput obtaining means 122 CPU usage obtaining means 123 Task usage obtaining means 124 Memory usage obtaining means 131 Task number determining means 131b Task number determining means b 141 Task number controlling means 151 Throughput 152 CPU usage 153 Task usage 161 Throughput reference value 162 CPU usage reference value 163 Task usage reference value 164 Memory usage reference value

───────────────────────────────────────────────────── フロントページの続き (72)発明者 冨木 法之 東京都江東区新木場一丁目18番6号 エヌ イーシーソフト株式会社内 Fターム(参考) 5B098 GA04 GA08 GB01 GB13 GC09 GC10 GD02 GD14  ────────────────────────────────────────────────── ─── Continued on the front page (72) Inventor Noriyuki Tomiki 1-18-6 Shinkiba, Koto-ku, Tokyo N-Soft Software Corporation F-term (reference) 5B098 GA04 GA08 GB01 GB13 GC09 GC10 GD02 GD14

Claims (8)

【特許請求の範囲】[Claims] 【請求項1】 オンライントランザクション処理システ
ムにおいて、CPU使用状況、タスク使用状況を考慮
し、動的にタスク数を制御することで、単位時間当たり
のトランザクション処理量の向上を行うことを特徴とす
るタスク数自動制御装置。
1. An online transaction processing system in which the number of tasks is dynamically controlled in consideration of a CPU use state and a task use state to improve a transaction processing amount per unit time. Automatic number control device.
【請求項2】 あらかじめ設定された時間間隔で稼働情
報取得装置を起動するスケジューラーと、スループット
取得手段、CPU使用率取得手段とタスク使用率取得手
段を用いてスループット、CPU使用率とタスク使用率
からなる稼働情報を取得し、前記稼働情報を稼働情報テ
ーブルへ登録しタスク数判定装置を起動する稼働情報取
得装置と、 前記稼働情報テーブルと基準値テーブルから稼働情報と
基準値を取得し、前記スループットがスループット基準
値以上ならばタスク数判定装置を起動待ち状態にし、前
記スループット基準値より小さいならば、CPU使用率
を前記稼働情報テーブルから取得し前記CPU使用率が
CPU使用率基準値以上ならば前記タスク数判定装置を
起動待ち状態にし、前記CPU使用率基準値より小さい
ならば、前記タスク使用率を前記稼働情報テーブルから
取得し、前記タスク使用率がタスク使用率基準値未満な
らば前記タスク数判定装置を起動待ち状態にし、タスク
使用率基準値以上ならば、タスク数を1つ拡大するよう
に、前記タスク管理装置に通知する前記タスク数判定装
置と、 前記タスク数判定装置から得た前記タスク数へ運用タス
ク数を変更し、稼働情報取得装置を起動する前記タスク
管理装置とを有することを特徴とするタスク数自動制御
装置。
2. A scheduler for activating an operation information acquisition apparatus at predetermined time intervals, and a throughput, a CPU utilization rate, and a task utilization rate are obtained from a throughput, a CPU utilization rate, and a task utilization rate using a throughput acquisition means, a CPU utilization rate acquiring means, and a task utilization rate acquiring means. An operation information acquisition device that acquires the operation information, and registers the operation information in an operation information table and starts a task number determination device; and acquires operation information and a reference value from the operation information table and a reference value table; If the value is greater than or equal to the throughput reference value, the task number determination device is placed in a waiting state for activation. If the value is smaller than the throughput reference value, the CPU utilization is obtained from the operation information table. If the CPU utilization is greater than or equal to the CPU utilization reference value. If the task number determination device is in a waiting state for activation and is smaller than the CPU usage rate reference value, The task usage rate is obtained from the operation information table, and if the task usage rate is less than the task usage rate reference value, the task number determination device is set to a waiting state for activation. The task number determination device that notifies the task management device so as to increase the number of operation tasks to the task number obtained from the task number determination device, and the task management device that starts an operation information acquisition device An automatic task number control device characterized by having:
【請求項3】 あらかじめ設定された時間間隔で稼働情
報取得装置を起動するスケジューラーと、スループット
取得手段、CPU使用率取得手段、メモリ使用率とタス
ク使用率取得手段を用いてスループット、CPU使用
率、メモリ使用率とタスク使用率からなる稼働情報を取
得し、前記稼働情報を稼働情報テーブルへ登録しタスク
数判定装置を起動する稼働情報取得装置と、 前記稼働情報テーブルと基準値テーブルから稼働情報と
基準値を取得し、前記スループットがスループット基準
値以上ならばタスク数判定装置を起動待ち状態にし、前
記スループット基準値より小さいならば、CPU使用率
を前記稼働情報テーブルから取得し前記CPU使用率が
CPU使用率基準値以上ならば前記タスク数判定装置を
起動待ち状態にし、前記CPU使用率基準値より小さい
ならば、前記タスク使用率を前記稼働情報テーブルから
取得し、前記タスク使用率がタスク使用率基準値未満な
らば前記タスク数判定装置を起動待ち状態にし、タスク
使用率基準値以上ならば、メモリ使用率を前記稼働情報
テーブルから取得し、前記メモリ使用率がメモリ使用率
基準値以下ならば、前記タスク数判定手段を起動待ち状
態にし、前記メモリ使用率基準値より大きいならば、前
記タスク数を1つ拡大するように、前記タスク管理装置
に通知する前記タスク数判定装置と、 前記タスク数判定装置から得た前記タスク数へ運用タス
ク数を変更し、稼働情報取得装置を起動する前記タスク
管理装置とを有することを特徴とするタスク数自動制御
装置。
3. A scheduler for activating an operation information acquisition device at predetermined time intervals, a throughput acquisition unit, a CPU utilization acquisition unit, a memory utilization ratio and a task utilization ratio acquisition unit, and a throughput, a CPU utilization ratio, An operation information acquisition device that acquires operation information consisting of a memory usage rate and a task usage rate, registers the operation information in an operation information table and starts a task number determination device, and operation information from the operation information table and the reference value table. A reference value is obtained, and if the throughput is equal to or greater than the throughput reference value, the task count determination device is placed in a waiting state for activation. If the throughput is smaller than the throughput reference value, a CPU usage rate is obtained from the operation information table and the CPU usage rate is determined. If the CPU usage rate is equal to or more than the reference value, the task number determination device is set in a waiting state for activation, If the task usage rate is smaller than the usage rate reference value, the task usage rate is acquired from the operation information table. If the value is equal to or greater than the value, the memory usage rate is obtained from the operation information table. If the memory usage rate is equal to or less than the memory usage rate reference value, the task number determination unit is set in a waiting state for activation, and is larger than the memory usage rate reference value. Then, the task number determination device that notifies the task management device so as to increase the task number by one, and the operation task number is changed to the task number obtained from the task number determination device, and the operation information is acquired. An automatic task count control device, comprising: the task management device that starts the device.
【請求項4】 請求項1,2または3記載のタスク数自
動制御装置を有することを特徴とするオンライントラン
ザクション処理システム。
4. An online transaction processing system comprising the task number automatic control device according to claim 1, 2 or 3.
【請求項5】 あらかじめ設定された時間間隔で稼働情
報取得装置を起動する第一のステップと、スループッ
ト、CPU使用率とタスク使用率からなる稼働情報を取
得する第二のステップと、取得した前記稼働情報を稼働
情報テーブルへ登録する第三のステップと、前記稼働情
報テーブルと基準値テーブルから稼働情報と基準値を取
得し、前記スループットがスループット基準値以上なら
ばタスク数判定装置を起動待ち状態にし、前記スループ
ット基準値より小さいならば前記第一のステップへ行
き、前記CPU使用率を前記稼働情報テーブルから取得
し前記CPU使用率がCPU使用率基準値以上ならば前
記第一のステップへ行き、前記CPU使用率基準値より
小さいならば、前記タスク使用率を前記稼働情報テーブ
ルから取得し、前記タスク使用率がタスク使用率基準値
未満ならば前記第一のステップへ行き、タスク使用率基
準値以上ならば、タスク数を1つ拡大する第四のステッ
プと、前記第四のステップのあとに前記第一のステップ
へ行く第五のステップを有することを特徴とするタスク
数自動制御方法。
5. A first step of activating the operation information acquisition device at a preset time interval, a second step of acquiring operation information including a throughput, a CPU usage rate, and a task usage rate; A third step of registering the operation information in the operation information table; obtaining operation information and a reference value from the operation information table and the reference value table; If it is smaller than the throughput reference value, the procedure goes to the first step. If the CPU utilization is obtained from the operation information table, and if the CPU utilization is equal to or more than the CPU utilization reference value, the procedure goes to the first step. If the CPU usage rate is smaller than the reference value, the task usage rate is acquired from the operation information table, and the task usage rate is obtained. If the task usage rate is less than the task usage rate reference value, the procedure goes to the first step, and if the task usage rate is equal to or greater than the task usage rate value, a fourth step of increasing the number of tasks by one, and after the fourth step, 5. A method for automatically controlling the number of tasks, comprising a fifth step of going to the first step.
【請求項6】 あらかじめ設定された時間間隔で稼働情
報取得装置を起動する第一のステップと、スループッ
ト、CPU使用率、メモリ使用率とタスク使用率からな
る稼働情報を取得する第二のステップと、取得した前記
稼働情報を稼働情報テーブルへ登録する第三のステップ
と、前記稼働情報テーブルと基準値テーブルから稼働情
報と基準値を取得し、前記スループットがスループット
基準値以上ならばタスク数判定装置を起動待ち状態に
し、前記スループット基準値より小さいならば前記第一
のステップへ行き、前記CPU使用率を前記稼働情報テ
ーブルから取得し前記CPU使用率がCPU使用率基準
値以上ならば前記第一のステップへ行き、前記CPU使
用率基準値より小さいならば、前記タスク使用率を前記
稼働情報テーブルから取得し、前記タスク使用率がタス
ク使用率基準値未満ならば前記第一のステップへ行き、
タスク使用率基準値以上ならば、前記メモリ使用率を前
記稼働情報テーブルから取得し、前記メモリ使用率がメ
モリ使用率基準値以下ならば、前記第一のステップへ行
き、前記メモリ使用率基準値より大きいならば、タスク
数を1つ拡大する第四のステップと、前記第四のステッ
プのあとに前記第一のステップへ行く第五のステップを
有することを特徴とするタスク数自動制御方法。
6. A first step of activating the operation information acquisition device at a preset time interval, and a second step of acquiring operation information including a throughput, a CPU usage rate, a memory usage rate, and a task usage rate. A third step of registering the acquired operation information in an operation information table, acquiring operation information and a reference value from the operation information table and a reference value table, and determining the task number if the throughput is equal to or greater than the throughput reference value. To the start waiting state, and if the value is smaller than the throughput reference value, go to the first step, acquire the CPU usage rate from the operation information table, and if the CPU usage rate is not less than the CPU usage rate reference value, the first step. If it is smaller than the CPU usage reference value, the task usage is obtained from the operation information table. If the task usage rate is less than the task usage rate reference value, go to the first step,
If the task usage rate is equal to or more than the reference value, the memory usage rate is obtained from the operation information table. If the memory usage rate is equal to or less than the memory usage rate reference value, the process proceeds to the first step, and the memory usage rate value is used. If it is larger, a fourth step of expanding the number of tasks by one and a fifth step of going to the first step after the fourth step are provided.
【請求項7】コンピュータに、あらかじめ設定された時
間間隔で稼働情報取得装置を起動する第一のステップ
と、スループット、CPU使用率とタスク使用率からな
る稼働情報を取得する第二のステップと、取得した前記
稼働情報を稼働情報テーブルへ登録する第三のステップ
と、前記稼働情報テーブルと基準値テーブルから稼働情
報と基準値を取得し、前記スループットがスループット
基準値以上ならばタスク数判定装置を起動待ち状態に
し、前記スループット基準値より小さいならば前記第一
のステップへ行き、前記CPU使用率を前記稼働情報テ
ーブルから取得し前記CPU使用率がCPU使用率基準
値以上ならば前記第一のステップへ行き、前記CPU使
用率基準値より小さいならば、前記タスク使用率を前記
稼働情報テーブルから取得し、前記タスク使用率がタス
ク使用率基準値未満ならば前記第一のステップへ行き、
タスク使用率基準値以上ならば、タスク数を1つ拡大す
る第四のステップと、前記第四のステップのあとに前記
第一のステップへ行く第五のステップを実行させるため
のプログラム。
7. A first step in which a computer starts an operation information acquisition device at a preset time interval; and a second step in which operation information comprising throughput, CPU usage rate, and task usage rate is obtained. A third step of registering the acquired operation information in an operation information table, acquiring operation information and a reference value from the operation information table and a reference value table, and if the throughput is equal to or greater than a throughput reference value, a task number determination device. In a start waiting state, if the throughput is smaller than the throughput reference value, go to the first step, obtain the CPU usage rate from the operation information table, and if the CPU usage rate is equal to or more than the CPU usage rate reference value, execute the first step. Go to step, if less than the CPU usage rate reference value, the task usage rate from the operation information table Tokushi, the task utilization goes to the first step if less than the task usage reference value,
A program for executing a fourth step of expanding the number of tasks by one if the task usage rate is equal to or more than the reference value and a fifth step of going to the first step after the fourth step.
【請求項8】コンピュータに、あらかじめ設定された時
間間隔で稼働情報取得装置を起動する第一のステップ
と、スループット、CPU使用率、メモリ使用率とタス
ク使用率からなる稼働情報を取得する第二のステップ
と、取得した前記稼働情報を稼働情報テーブルへ登録す
る第三のステップと、前記稼働情報テーブルと基準値テ
ーブルから稼働情報と基準値を取得し、前記スループッ
トがスループット基準値以上ならばタスク数判定装置を
起動待ち状態にし、前記スループット基準値より小さい
ならば前記第一のステップへ行き、前記CPU使用率を
前記稼働情報テーブルから取得し前記CPU使用率がC
PU使用率基準値以上ならば前記第一のステップへ行
き、前記CPU使用率基準値より小さいならば、前記タ
スク使用率を前記稼働情報テーブルから取得し、前記タ
スク使用率がタスク使用率基準値未満ならば前記第一の
ステップへ行き、タスク使用率基準値以上ならば、前記
メモリ使用率を前記稼働情報テーブルから取得し、前記
メモリ使用率がメモリ使用率基準値以下ならば、前記第
一のステップへ行き、前記メモリ使用率基準値より大き
いならば、タスク数を1つ拡大する第四のステップと、
前記第四のステップのあとに前記第一のステップへ行く
第五のステップを実行させるためのプログラム。
8. A computer comprising: a first step of activating an operation information acquisition device at a preset time interval; and a second step of acquiring operation information comprising a throughput, a CPU usage rate, a memory usage rate, and a task usage rate. And a third step of registering the obtained operation information in an operation information table; and obtaining operation information and a reference value from the operation information table and a reference value table. The number determination device is set to a start waiting state, and if it is smaller than the throughput reference value, the process proceeds to the first step, the CPU usage rate is obtained from the operation information table, and the CPU usage rate becomes C
If the value is equal to or more than the PU usage rate reference value, the process proceeds to the first step. If the value is smaller than the CPU usage rate reference value, the task usage rate is obtained from the operation information table. If it is less than the first step, go to the first step, if it is more than the task usage reference value, obtain the memory usage from the operation information table, if the memory usage is less than the memory usage reference value, the first A fourth step of increasing the number of tasks by one if the memory usage rate reference value is exceeded,
A program for executing a fifth step of going to the first step after the fourth step.
JP2001060584A 2001-03-05 2001-03-05 Device and method for automatically controlling number of task, on-like transaction processing system and program Pending JP2002259143A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001060584A JP2002259143A (en) 2001-03-05 2001-03-05 Device and method for automatically controlling number of task, on-like transaction processing system and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001060584A JP2002259143A (en) 2001-03-05 2001-03-05 Device and method for automatically controlling number of task, on-like transaction processing system and program

Publications (1)

Publication Number Publication Date
JP2002259143A true JP2002259143A (en) 2002-09-13

Family

ID=18919984

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001060584A Pending JP2002259143A (en) 2001-03-05 2001-03-05 Device and method for automatically controlling number of task, on-like transaction processing system and program

Country Status (1)

Country Link
JP (1) JP2002259143A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009223689A (en) * 2008-03-17 2009-10-01 Internatl Business Mach Corp <Ibm> Apparatus and method for controlling number of tasks, and computer program
US7676610B2 (en) 2005-03-31 2010-03-09 Fujitsu Limited Device and method for optimization of target host device process handling according to the status and the priority of the target host device process
WO2011072419A1 (en) * 2009-12-16 2011-06-23 Intel Corporation A graphics pipeline scheduling architecture utilizing performance counters
CN108446176A (en) * 2018-02-07 2018-08-24 平安普惠企业管理有限公司 A kind of method for allocating tasks, computer readable storage medium and terminal device
JP2018147141A (en) * 2017-03-03 2018-09-20 三菱電機インフォメーションシステムズ株式会社 Thread count variation communication apparatus and thread count variation communication program

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7676610B2 (en) 2005-03-31 2010-03-09 Fujitsu Limited Device and method for optimization of target host device process handling according to the status and the priority of the target host device process
JP2009223689A (en) * 2008-03-17 2009-10-01 Internatl Business Mach Corp <Ibm> Apparatus and method for controlling number of tasks, and computer program
US8555290B2 (en) 2008-03-17 2013-10-08 International Business Machines Corporation Apparatus and method for dynamic control of the number of simultaneously executing tasks based on throughput
WO2011072419A1 (en) * 2009-12-16 2011-06-23 Intel Corporation A graphics pipeline scheduling architecture utilizing performance counters
CN102656603A (en) * 2009-12-16 2012-09-05 英特尔公司 Graphics pipeline scheduling architecture utilizing performance counters
US8890880B2 (en) 2009-12-16 2014-11-18 Intel Corporation Graphics pipeline scheduling architecture utilizing performance counters
JP2018147141A (en) * 2017-03-03 2018-09-20 三菱電機インフォメーションシステムズ株式会社 Thread count variation communication apparatus and thread count variation communication program
CN108446176A (en) * 2018-02-07 2018-08-24 平安普惠企业管理有限公司 A kind of method for allocating tasks, computer readable storage medium and terminal device
CN108446176B (en) * 2018-02-07 2020-07-03 平安普惠企业管理有限公司 Task allocation method, computer readable storage medium and terminal device

Similar Documents

Publication Publication Date Title
US5708814A (en) Method and apparatus for reducing the rate of interrupts by generating a single interrupt for a group of events
US6795873B1 (en) Method and apparatus for a scheduling driver to implement a protocol utilizing time estimates for use with a device that does not generate interrupts
JP2002259143A (en) Device and method for automatically controlling number of task, on-like transaction processing system and program
JPH0798663A (en) Asynchronous i/o control system
JPH10326205A (en) System call issuing method
JP2001282560A (en) Virtual computer control method, its performing device and recording medium recording its processing program
JP2004280140A (en) Memory dump executing system, method, and program
JP2597283B2 (en) Scheduling method for interrupt
JPH08235047A (en) Exclusive wait reduction control method
JPH10260850A (en) Virtual computer system
JPH05197593A (en) Loop/stall monitor device for application program
JP2500446B2 (en) Collective message processing system with intermittent operation function
CN117492994A (en) Method, device, chip, equipment and medium for running interrupt program between cores
JP2001331293A (en) Print server
JP2988427B2 (en) Recording medium recording job operation method, job operation method, and job operation program
JP4535663B2 (en) State machine control method and state machine
JPS59146387A (en) Stack control system of multiprocessing
JPH07325800A (en) Data flow processor
JPH02141843A (en) Program management system
JPH09146771A (en) Exceptional event processor
JPH04188332A (en) Data outputting system
JPH052496A (en) Multi-task monitor
JPH1139173A (en) Data processor and recording medium
JPH10269140A (en) Processing performance control system for computer system
JPH05204665A (en) Method for automatically starting succeeding job

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20050117

RD01 Notification of change of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7421

Effective date: 20050315

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20050412

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20050802