JPH09265459A - Method for controlling data processor - Google Patents

Method for controlling data processor

Info

Publication number
JPH09265459A
JPH09265459A JP8074340A JP7434096A JPH09265459A JP H09265459 A JPH09265459 A JP H09265459A JP 8074340 A JP8074340 A JP 8074340A JP 7434096 A JP7434096 A JP 7434096A JP H09265459 A JPH09265459 A JP H09265459A
Authority
JP
Japan
Prior art keywords
processing
time
request
data
data processing
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.)
Abandoned
Application number
JP8074340A
Other languages
Japanese (ja)
Inventor
Hidehiro Shimizu
英弘 清水
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP8074340A priority Critical patent/JPH09265459A/en
Publication of JPH09265459A publication Critical patent/JPH09265459A/en
Abandoned legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To execute scheduling capable of suppressing the reversion between the generation order of respective processing requests and the end order of processing and shortening the processing time of the whole information processing system provided with plural data processors having respectively different processing speeds. SOLUTION: In schedular processing, the estimated processing time of each database processor 5 (5a or 5b) for a generated processing request, the processing time of the whole queue for the processing request in each processor 5 and the remaining time of the processing request being processed by each processor 5 are respectively estimated. Then a processing request generated in the queue of the processor 5 having the shortest estimated processing end time obtained by totalizing the remaining time, the processing time of the whole queue and the estimated processing time is added.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】この発明は、処理性能の異な
る複数のデータ処理装置を有する情報処理システムにお
いて、複数の処理要求を異なるデータ処理装置によって
処理する場合のスケジューリングに関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to scheduling when a plurality of processing requests are processed by different data processing devices in an information processing system having a plurality of data processing devices having different processing performances.

【0002】[0002]

【従来の技術】複数のデータ処理装置に対して複数の処
理要求を振り分ける従来の方法は、例えば特開昭60−
237568号公報、特開平4−373063号公報な
どで公開されている。前者は複数のデータ処理装置に対
して現在および将来の負荷予想を立て、相対的に低負荷
状態の計算機に出力処理をさせるものであり、各計算機
ごとの負荷状態に着目し負荷の均一化を図ることによっ
て効率の良いシステムを実現させようとしたものであ
る。後者は図10のフローチャートに示すように、デー
タ処理装置が空き状態になる度に処理要求を順番にデー
タ処理装置に振り分けるものであり、各処理要求を1つ
のキュー上に溜めて、その順番に空きのデータ処理装置
を使用することにより、時系列に沿って順次発生し続け
る要求の発生順に処理するものである。
2. Description of the Related Art A conventional method for distributing a plurality of processing requests to a plurality of data processing devices is disclosed in, for example, Japanese Patent Laid-Open No.
It is disclosed in Japanese Patent Laid-Open No. 237568, Japanese Patent Laid-Open No. 4-3706303, and the like. The former is to predict the current and future loads for multiple data processing devices and let the computers with relatively low load output process the output, paying attention to the load states of each computer and balancing the loads. By doing so, an attempt was made to realize an efficient system. The latter, as shown in the flow chart of FIG. 10, allocates processing requests to the data processing apparatus in order each time the data processing apparatus becomes empty. Each processing request is stored in one queue and the processing order is stored in that order. By using a vacant data processing device, processing is performed in the order of generation of requests that continue to occur in chronological order.

【0003】[0003]

【発明が解決しようとする課題】従来新しいシステムを
作る際には、あえて性能が異なるデータ処理装置を用い
ることはなかったが、過去の資産をそのまま継承しなが
らより高性能なデータ処理装置を追加したり、他システ
ムとの結合や購入価格の問題などで実際には性能の異な
るデータ処理装置を同時に利用する機会が多い。複数の
データ処理装置に処理要求を振り分ける従来の方法は主
に上記のような処理を行っているため、装備されている
データ処理装置の間で性能に差がある場合、どのデータ
処理装置で処理するかによって、速く処理される要求と
遅く処理される要求との違いが発生し、処理要求の発生
順と終了順の逆転が生じてしまう。処理要求を出すのが
異なるユーザである場合、個々のユーザは後続の要求が
自分より先に処理されることに不満を感じるであろう。
また従来の方法では、性能の良いデータ処理装置と劣る
データ処理装置を同等に扱うため、負荷が少ないからと
言って不用意に性能の劣るデータ処理装置を用いると、
全体としても処理の効率が悪くなることもしばしばあ
る。必ずしも全てのデータ処理装置を均等に利用する必
要はなく、処理要求の順番に対してどの順番でどのデー
タ処理装置を利用するかが問題となる。
In the past, when creating a new system, data processing devices with different performances were not used intentionally, but higher performance data processing devices were added while inheriting past assets. In practice, there are many opportunities to use data processing devices with different performances at the same time due to problems such as connection with other systems and purchase prices. Since the conventional method that distributes processing requests to multiple data processing devices mainly performs the above processing, if there is a difference in performance among the installed data processing devices, which data processing device will process Depending on whether it is performed, a difference between a request processed faster and a request processed later occurs, and the generation order of the processing request and the end order are reversed. If different users make processing requests, individual users may be dissatisfied with subsequent requests being processed before themselves.
Further, in the conventional method, since a data processing device with good performance and a data processing device with inferiority are treated equally, if a data processing device with inferior performance is used carelessly because the load is small,
As a whole, the processing efficiency often becomes poor. It is not always necessary to use all the data processing devices evenly, and there is a problem of which data processing device is used in which order with respect to the order of processing requests.

【0004】この発明は上記のような問題点を解消する
ためのもので、第1の目的は、時系列に沿って順次発生
する各々の処理要求について、要求の発生順と処理の終
了順の逆転を抑えることである。また第2の目的は、情
報処理システム全体の処理時間を短くするようなスケジ
ューリングを行うことである。
The present invention is intended to solve the above-mentioned problems. A first object of the present invention is to determine the order of generation of requests and the order of completion of processing for each processing request that is generated sequentially in a time series. It is to suppress the reverse. A second purpose is to perform scheduling that shortens the processing time of the entire information processing system.

【0005】[0005]

【課題を解決するための手段】この発明に係るデータ処
理装置の制御方法は、処理速度の異なる複数のデータ処
理装置を備え、複数の処理要求をその要求が発生した順
にスケジューリングを行う情報処理システムにおいて、
発生した処理要求について上記各データ処理装置におけ
る見込処理時間と、上記各データ処理装置ごとの処理要
求の待ち行列全体の処理時間と、上記各データ処理装置
において処理中の処理要求の残存時間とをそれぞれ見積
るステップ、その残存時間と待ち行列全体の処理時間と
上記見込処理時間とを合計した処理終了見込時間の最も
小さいデータ処理装置の待ち行列に上記発生した処理要
求を追加するステップからなるものである。
A method of controlling a data processing device according to the present invention comprises an information processing system having a plurality of data processing devices having different processing speeds and scheduling a plurality of processing requests in the order in which the requests are generated. At
For the generated processing request, the expected processing time in each of the data processing devices, the processing time of the entire queue of processing requests for each of the data processing devices, and the remaining time of the processing request being processed in each of the data processing devices are described. Each of them comprises a step of estimating, a step of adding the generated processing request to the queue of the data processing device having the smallest processing end expected time, which is the sum of the remaining time, the processing time of the entire queue, and the expected processing time. is there.

【0006】また、上記処理要求について上記各データ
処理装置における見込処理時間及び上記各データ処理装
置における処理要求の待ち行列全体の処理時間を見積る
ステップにおいて、上記処理時間を見積るために各処理
要求のデータ量と各データ処理装置に対する負荷情報を
用いるものである。
In the step of estimating the expected processing time in each of the data processing devices and the processing time of the entire queue of processing requests in each of the data processing devices for the processing request, the processing time of each processing request is estimated in order to estimate the processing time. The data amount and load information for each data processing device are used.

【0007】さらに、上記各データ処理装置における処
理要求の待ち行列全体の処理時間を見積るステップにお
いて、処理中の各処理要求の経過時間を測定し、その経
過時間から各処理中の処理要求の処理終了見込時間を修
正するものである。
Further, in the step of estimating the processing time of the entire queue of processing requests in each of the data processing devices, the elapsed time of each processing request being processed is measured, and the processing request being processed is processed from the elapsed time. The expected end time is corrected.

【0008】また、上記処理要求について上記各データ
処理装置における見込処理時間及び上記各データ処理装
置における処理要求の待ち行列全体の処理時間を見積る
ステップにおいて、処理要求の発生分布と処理要求の処
理時間のそれぞれの統計情報を上記見積りの参考にする
ものである。
In the step of estimating the expected processing time in each of the data processing devices and the processing time of the entire queue of processing requests in each of the data processing devices with respect to the processing request, the occurrence distribution of the processing requests and the processing time of the processing request are performed. The statistical information of each is used as a reference for the above estimation.

【0009】さらにまた、上記処理要求の発生間隔の平
均時間と上記各データ処理装置における処理時間の平均
時間を採取し、発生間隔の平均時間が処理時間の平均時
間よりも大きいときは上記複数のデータ処理装置間の処
理速度の性能比の倍率に発生間隔の平均時間の処理時間
の平均時間に対する比率を乗じた倍率を上記複数のデー
タ処理装置間の処理速度の性能比の倍率として上記各デ
ータ処理装置ごとの処理時間を見積るものである。
Furthermore, the average time of the generation intervals of the processing requests and the average time of the processing times in each of the data processing devices are sampled, and when the average time of the generation intervals is larger than the average time of the processing times, the plurality of the plurality of data processing units are selected. The data obtained by multiplying the ratio of the performance ratio of the processing speed between the data processing devices by the ratio of the average time of the occurrence intervals to the average time of the processing time is used as the ratio of the performance ratio of the processing speed between the plurality of data processing devices. The processing time is estimated for each processing device.

【0010】また、上記各データ処理装置ごとの処理時
間が見積時間と比較して誤差が大きいとき、上記各デー
タ処理装置ごとの処理要求の待ち行列を全体的に組変え
るものである。
When the processing time for each data processing device has a large error compared with the estimated time, the queue of processing requests for each data processing device is changed as a whole.

【0011】[0011]

【発明の実施の形態】BEST MODE FOR CARRYING OUT THE INVENTION

実施の形態1.以下、この発明の実施形態をデータ処理
装置の一例としてデータベース処理装置を例に説明す
る。図1は性能に違いのある複数のデータベース処理装
置5に対して、複数の処理要求3を振り分ける情報シス
テム全体の構成図である。処理要求プログラム1がそれ
ぞれ独立して待ち行列のキュー2に発生した処理要求3
を投げる。一つの処理要求プログラム1が複数の要求を
投げることもある。キュー2はシステムの中の共有メモ
リ8上のバッファであることが多い。スケジューラ4
は、処理要求3が発生したときやデータベース処理装置
が空き状態になったときなどの適当なタイミングで、キ
ュー上の処理要求3に対して処理時間の予想を立て、そ
れを元に5a,5bのデータベース処理装置に振り分け
実行させる。実際に処理要求をデータベース処理装置5
に渡すのは、データベース処理装置5を制御する制御プ
ログラム6である。スケジューラ4は、制御プログラム
6を起動して、処理要求3の処理を依頼する。データベ
ース処理装置5と制御プログラム6が実行される計算機
と実際にデータ保存されている記憶装置9とは、バス
(図示せず)を通じて接続されている。5aが処理速度
が速いデータベース処理装置、5bが処理速度が遅いデ
ータベース処理装置である。図1では、簡略のためデー
タベース処理装置が2台の場合を示しているが、3台以
上のデータベース処理装置を装備したシステムであって
もよい。
Embodiment 1. An embodiment of the present invention will be described below by taking a database processing device as an example of a data processing device. FIG. 1 is a configuration diagram of the entire information system that distributes a plurality of processing requests 3 to a plurality of database processing devices 5 having different performances. The processing request 3 generated by the processing request program 1 independently in the queue 2 of the queue
Throw. One processing request program 1 may send a plurality of requests. The queue 2 is often a buffer on the shared memory 8 in the system. Scheduler 4
Makes a prediction of the processing time for the processing request 3 on the queue at an appropriate timing such as when the processing request 3 occurs or when the database processing device becomes empty, and based on that, 5a and 5b are estimated. The database processing device of the above is executed for distribution. The actual processing request is sent to the database processing device 5
The control program 6 that controls the database processing device 5 is passed to the. The scheduler 4 activates the control program 6 and requests the processing of the processing request 3. The database processing device 5, the computer on which the control program 6 is executed, and the storage device 9 in which data is actually stored are connected via a bus (not shown). Reference numeral 5a is a database processing device having a high processing speed, and 5b is a database processing device having a low processing speed. Although FIG. 1 shows a case in which there are two database processing devices for simplification, a system equipped with three or more database processing devices may be used.

【0012】続いて、スケジューラ4の内部のスケジュ
ーリングについて、図2の処理フロー図に基づいて説明
する。処理要求3が発生したときやデータベース処理装
置5が空き状態になったときなどの適当なタイミング
で、図2の一連の処理が行われる。キュー2上の未処理
の処理要求3に対して先頭から順番にデータベース処理
装置5が空き状態でなくなるまで、S1からS5までの
処理を行う。まず、処理終了時間の予想を立てる処理要
求3を1つ取り出す(ステップS1)。次に、取り出さ
れた処理要求3について、装備されている全てのデータ
ベース処理装置5において処理したときの処理時間の予
想を計算する(ステップS2)。このとき、データベー
ス処理装置5の性能比を基に処理時間の予想を立てる
(ステップS2b)。性能比はそのまま処理時間の比と
して計算される。つまり、性能比が2倍のデータベース
処理装置は処理時間が2分の1であるものとする。ここ
で重要なのは、処理時間の予想を絶対的な時間ではなく
相対的な比率で求めることである。そして、それぞれの
データベース処理装置5に対しての見積を比較して、最
も速く処理が終了するであろうデータベース処理装置を
1つ決定する(ステップS3)。決定したデータベース
処理装置5が空いていればそのデータベース処理装置5
を用いて処理要求3を処理し(ステップS5)、空いて
いなければその処理要求はペンディングとして、次の処
理要求3の見積を行う(ステップS1)。処理自体はス
ケジューラ4とは別の制御プログラム6を起動させ処理
を依頼する。ペンディング中の処理要求3は、割り当て
られたデータベース処理装置5で処理するものと仮定し
見積に加えるが、実際にそのデータベース処理装置5で
処理されるか否かはこの時点では未定である。つまり、
先に発生した処理要求3でも、終了時間の予測により空
いているデータベース処理装置5で即処理するのではな
く、高速なデータベース処理装置5の待ちに入ることが
特徴となる。そして更に後続の処理要求3の時間予測の
際に、待ちに入るよりは敢えて遅いデータベース処理装
置5を使用した方が終了時間は早いと予想されるに至っ
て、待ちの処理要求3よりも先に処理を開始する。ま
た、処理要求3をキュー2に入れたりキュー2から削除
するのはスケジューリングとは別の処理要求プログラム
1自身が行う。
Next, scheduling inside the scheduler 4 will be described with reference to the process flow chart of FIG. The series of processes shown in FIG. 2 are performed at an appropriate timing such as when the processing request 3 is generated or when the database processing device 5 becomes empty. With respect to the unprocessed processing request 3 on the queue 2, the processes from S1 to S5 are performed in order from the beginning until the database processing device 5 is no longer in an empty state. First, one processing request 3 for making a prediction of the processing end time is taken out (step S1). Next, with respect to the extracted processing request 3, the processing time estimate when processing is performed in all the installed database processing devices 5 is calculated (step S2). At this time, the processing time is estimated based on the performance ratio of the database processing device 5 (step S2b). The performance ratio is directly calculated as the ratio of processing time. That is, it is assumed that the processing time of a database processing device having a double performance ratio is half. What is important here is that the expected processing time is obtained as a relative ratio, not as an absolute time. Then, the estimates for the respective database processing devices 5 are compared with each other, and one database processing device that is likely to complete the processing is determined (step S3). If the determined database processing device 5 is free, that database processing device 5
Is used to process the processing request 3 (step S5). If the processing request 3 is not available, the processing request is pending and the next processing request 3 is estimated (step S1). As for the processing itself, a control program 6 different from the scheduler 4 is activated to request the processing. The pending processing request 3 is added to the estimate on the assumption that it is processed by the assigned database processing apparatus 5, but it is undecided at this point whether or not it is actually processed by the database processing apparatus 5. That is,
The processing request 3 generated earlier is characterized by waiting for the high-speed database processing device 5 instead of immediately processing by the vacant database processing device 5 due to the prediction of the end time. Further, when the time of the subsequent processing request 3 is predicted, it is expected that the end time will be faster if the database processing device 5 is intentionally used later than waiting, and the end time is expected to be earlier than the waiting processing request 3. Start processing. Further, the process request program 1 itself, which is different from the scheduling, puts the process request 3 in the queue 2 or deletes it from the queue 2.

【0013】上記手順に従い、図1の5aと5bに見合
った性能比を基に見積を行うことで、遅いデータベース
処理装置5bを敬遠し、速いデータベース処理装置5a
を有効に活用するスケジューリングを行うことができ
る。このスケジュールを行ったときの効果を図3を基に
説明する。 性能比を考慮に入れないスケジューリング
の場合には、処理要求11aを速いデータベース処理装
置5aに割り当てた後、処理要求11bを空いている遅
いデータベース処理装置5bに割り当てる。処理要求1
1aの処理が終わると次に処理要求11cを5aに割り
当て実行させる。このようなスケジューリングでは、処
理要求11bの終了時間が処理要求11cのそれより遅
くなってしまう。
According to the above procedure, the slow database processing device 5b is shunned and the fast database processing device 5a is avoided by performing estimation based on the performance ratio corresponding to 5a and 5b in FIG.
It is possible to perform scheduling that effectively utilizes the. The effect of performing this schedule will be described with reference to FIG. In the case of scheduling in which the performance ratio is not taken into consideration, the processing request 11a is allocated to the fast database processing device 5a, and then the processing request 11b is allocated to the empty slow database processing device 5b. Processing request 1
When the processing of 1a is completed, the processing request 11c is next assigned to 5a and executed. In such scheduling, the end time of the processing request 11b becomes later than that of the processing request 11c.

【0014】これに対し、新しいスケジューリングで
は、処理要求12aをデータベース処理装置5aに割り
当てた後、処理要求12bは5aで実行した方がよいと
判断し(図2のステップS3)5aが空くのを待つ。処
理要求12cも同様の理由で5aに割り当てる。処理要
求12dに至って遅いデータベース処理装置5bの使用
が認められ5bに割り当てられ実行される(図2のステ
ップS5)。また、処理要求12aから12dの処理が
終わった時点で、再度残りの処理要求について同様の方
法でスケジュールを行う。このようなスケジューリング
により、処理要求12a,12b,12c,12d,1
2e,12fの終了時間の逆転は生じなくなる。さら
に、最後の処理要求である処理要求12fの終了時間も
従来のスケジュールの11fに比べて早いものとなる。
On the other hand, in the new scheduling, after allocating the processing request 12a to the database processing device 5a, it is judged that the processing request 12b should be executed by 5a (step S3 in FIG. 2). wait. The processing request 12c is also assigned to 5a for the same reason. When the processing request 12d is reached, the use of the database processing device 5b which is slow is admitted, and it is assigned to 5b and executed (step S5 in FIG. 2). Further, when the processing of the processing requests 12a to 12d is completed, the remaining processing requests are scheduled again by the same method. By such scheduling, the processing requests 12a, 12b, 12c, 12d, 1
The reversal of the end times of 2e and 12f will not occur. Further, the end time of the processing request 12f, which is the last processing request, is shorter than that of the conventional schedule 11f.

【0015】ただし、遅いデータベース処理装置5aで
先行処理される処理要求の方が、待ちに入る処理要求に
比べてはるかに小さいとき、見積の誤差により上記の方
法でも処理の逆転が起きることがある。しかしこの場合
の逆転は、不当なスケジューリングに起因するのではな
く、処理要求自身の処理内容によるものである。小さい
が故に先に終わってしまうのである。厳密に処理順を守
らせるには、極端に言えば全ての処理要求を速いデータ
ベース処理装置のみで処理させれば済むが、それでは資
源の有効利用にならず、全体的に見て非効率的である。
処理順の逆転が起きる場合であっても、上記の方法に従
えば全体の処理時間は短くて済む。発明の第1の目的を
守りつつ、第2の目的を達成している。
However, when the processing request to be preprocessed by the slow database processing device 5a is much smaller than the processing request to be waited for, the processing may be reversed even by the above method due to an estimation error. . However, the reversal in this case is not due to improper scheduling but due to the processing content of the processing request itself. Because it is small, it ends first. In order to strictly follow the processing order, extremely speaking, all processing requests can be processed only by the fast database processing device, but this does not lead to effective use of resources and is inefficient as a whole. is there.
Even if the processing order is reversed, the entire processing time can be shortened according to the above method. The second object is achieved while keeping the first object of the invention.

【0016】処理要求3はすなわち処理要求プログラム
1であり、ひいてはユーザそのものと見ることができ
る。上記の方法は、各ユーザそれぞれの立場に立って、
自分ができる限り速く処理されるにはどの処理装置に並
んだらよいか、を決めるときの方法に従ったスケジュー
ルとなっている。ユーザは、自分より後から並んだ別の
ユーザが、自分より先に処理が終わることを不満に思う
であろう。上記方法に従えば、自分が不本意なデータベ
ース処理装置5に割り当てられることによっての終了時
間の逆転はなくなる。
The process request 3 is the process request program 1, and can be regarded as the user itself. The above method, from the standpoint of each user,
It's a schedule that follows the process of deciding which processing units should be lined up so that they can be processed as quickly as possible. The user may be dissatisfied that another user who is lined up after himself finishes the process before himself. According to the above method, there is no inversion of the end time due to being assigned to the involuntary database processing device 5.

【0017】結局、複数ある処理要求3の発生順がデー
タベース処理装置5の割り当てられ方によってその終了
順が逆転することがなくなる様にするには、発生した処
理要求3について上記各データベース処理装置5につい
て見積りを行った見込処理時間と、上記各データベース
処理装置5ごとの処理要求3の待ち行列全体の処理時間
と、上記各データベース処理装置5において処理中の処
理要求3の残存時間とをそれぞれ見積り、その残存時間
と待ち行列全体の処理時間と上記見込処理時間とを合計
した処理終了見込時間の最も小さいデータベース処理装
置5の待ち行列に上記発生した処理要求3を追加するこ
とによって達成される。
After all, in order to prevent the ending order of a plurality of processing requests 3 from being reversed depending on how the database processing device 5 is assigned, the processing requests 3 that have occurred are subject to the above database processing devices 5. The estimated processing time for each of the database processing devices 5, the processing time of the entire queue of the processing request 3 for each of the database processing devices 5, and the remaining time of the processing request 3 being processed in each of the database processing devices 5 are estimated. This is achieved by adding the generated processing request 3 to the queue of the database processing device 5 having the smallest processing completion expected time, which is the sum of the remaining time, the processing time of the entire queue, and the expected processing time.

【0018】また、複数ある処理要求3の発生順がデー
タベース処理装置5の割り当てられ方によってその終了
順が逆転することは許しても、情報処理システム全体で
の処理時間を最小にするには、発生した処理要求3につ
いて上記各データベース処理装置5における見込処理時
間と、上記各データベース処理装置5ごとの処理要求3
の待ち行列全体の処理時間と、上記各データベース処理
装置5において処理中の処理要求の終了までの残存時間
とをそれぞれ見積り、その残存時間と待ち行列全体の処
理時間と上記見込処理時間とを合計した処理終了見込時
間の平均値に最も近いデータベース処理装置5の待ち行
列に上記発生した処理要求3を追加することによって達
成される。
Further, even if the order of occurrence of a plurality of processing requests 3 can be reversed depending on how the database processing device 5 is allocated, the processing time of the entire information processing system can be minimized by For the generated processing request 3, the expected processing time in each of the database processing devices 5 and the processing request 3 for each of the database processing devices 5
Of the entire queue and the remaining time until the end of the processing request being processed in each of the database processing devices 5 are estimated, and the remaining time, the processing time of the entire queue and the expected processing time are summed up. This is achieved by adding the generated processing request 3 to the queue of the database processing device 5 that is closest to the average value of the expected processing completion time.

【0019】実施の形態2.上記実施の形態1では、ス
ケジュールの際の見積条件にデータベース処理装置の性
能差のみを用いているが、処理要求3の処理時間は各々
の処理要求3の処理内容によっても大きく異なる。よっ
て、処理内容を見積に加えたスケジューリングが考えら
れる。実施の形態2の構成図は、図1と同様である。
Embodiment 2. In the first embodiment, only the performance difference of the database processing device is used as the estimation condition at the time of scheduling, but the processing time of the processing request 3 greatly differs depending on the processing content of each processing request 3. Therefore, scheduling in which the processing content is added to the estimate can be considered. The configuration diagram of the second embodiment is similar to that of FIG.

【0020】処理内容を考慮に入れたスケジューリング
について、図4の処理フロー図に基づいて説明する。図
2の処理フローと同様に、未処理の各処理要求3につい
て全てのデータベース処理装置5に対する見積を求め、
割り当てるデータベース処理装置5を決定する。図2と
異なるところは、処理時間予想を立てるステップ(ステ
ップS12b)で、データベース処理装置の性能差に加
え処理要求3の処理内容を判断材料に利用しているとこ
ろである。処理内容を表すものとして、データ量とデー
タベース処理装置5に対する負荷情報を用いた。データ
量は、処理すべきデータのファイルサイズや、ブロック
サイズや、レコード件数などが考えられる。上記負荷情
報は、そのデータに固有の値で例えば選択条件の数やデ
ータが保存してある記憶媒体の性能比などが考えられ
る。これらをデータベース処理装置5の性能比に乗じる
ことで、処理時間の見積とする。
Scheduling taking the processing content into consideration will be described with reference to the processing flow chart of FIG. Similar to the processing flow of FIG. 2, for each unprocessed processing request 3, estimates for all database processing devices 5 are calculated,
The database processing device 5 to be assigned is determined. 2 is different from FIG. 2 in that in the step of making a processing time prediction (step S12b), the processing content of processing request 3 is used as a judgment factor in addition to the performance difference of the database processing device. The data amount and the load information on the database processing device 5 are used to represent the processing content. The data amount may be a file size of data to be processed, a block size, the number of records, or the like. The load information is a value unique to the data, and may be the number of selection conditions or the performance ratio of the storage medium in which the data is stored. The processing time is estimated by multiplying these by the performance ratio of the database processing device 5.

【0021】上記の手順に従うことによって、処理要求
3の処理時間の見積をより正確に行うことが可能とな
り、処理要求3の大きさに起因する処理終了順の逆転を
かなり抑えることができ、また、情報処理システム全体
での処理時間をより正確に最小にすることができる等実
施の形態1の効果を高めることができる。
By following the above procedure, the processing time of the processing request 3 can be estimated more accurately, and the reversal of the processing end order due to the size of the processing request 3 can be considerably suppressed. Further, the effect of the first embodiment can be enhanced such that the processing time in the entire information processing system can be more accurately minimized.

【0022】実施の形態3.更に正確に見積を立てるた
めに、すでにデータベース処理装置5で処理されている
処理中の処理要求3の処理時間についても、見積の対象
にすることが考えられる。また、この処理中の処理要求
3の見積をどのように立てるかによって、それまでの見
積に大きな誤差が発生したときの例外処理を行うことが
できる。処理中の処理要求の見積には、処理経過時間を
用いる。
Embodiment 3 FIG. In order to make a more accurate estimate, it can be considered that the processing time of the processing request 3 that is being processed by the database processing device 5 is also subject to the estimation. In addition, depending on how to estimate the processing request 3 during this processing, exception processing can be performed when a large error occurs in the estimation so far. The processing elapsed time is used to estimate the processing request during processing.

【0023】図5の処理フロー図に基づいて、処理中の
処理要求3の経過時間を見積に加えるスケジューリング
について説明する。処理終了時間の予想を立てる図1の
処理要求3を1つ取り出す(ステップS21a)。取り
出された処理要求3が処理中のものであれば、その処理
が始まってから現在までの処理経過時間を基に見積を行
う(ステップS21c)。そして、キュー2上の次の処
理要求3を取り出す(ステップS21a)。処理中の要
求でなければ、実施形態1と同様のステップを続ける
(ステップS22a)。以降、実施形態1と同様であ
る。
Scheduling for adding the elapsed time of the processing request 3 being processed to the estimation will be described with reference to the processing flow chart of FIG. One processing request 3 shown in FIG. 1 for predicting the processing end time is taken out (step S21a). If the fetched processing request 3 is being processed, an estimate is made based on the processing elapsed time from the start of the processing to the present (step S21c). Then, the next processing request 3 on the queue 2 is taken out (step S21a). If the request is not being processed, the same steps as those in the first embodiment are continued (step S22a). The subsequent steps are the same as in the first embodiment.

【0024】処理経過時間をどのように見積に加えるか
によって、異なる効果を得ることができる。例えば、処
理中の処理要求3の経過時間に比例して残りの処理時間
の見積時間を修正するようにすれば、より正確な処理時
間の予測をすることができる。また、実際の処理経過時
間がスケジューリングの際に立てた当初の見積値を大き
く越えるような異常な状態になったときに、残りの処理
予想時間を非常に大きく取ることで、後続の処理要求3
が別のデータベース処理装置5に割り当てられ易くする
こともできる。つまり、原因不明で異常な状態にあると
思われるデータベース処理装置5を待っている後続の処
理要求3が、しびれを切らして別のデータベース処理装
置5に並んだ、ことを実際に実現させることができるの
である。もちろん、経過時間が減るに連れ残りの処理時
間の予測を減らしていき、ある閾値を越えたとき異常な
状態とみなして極端に予想時間を増やして後続の処理要
求3をシャットすると言った、両方の効果を組み合わせ
ることも可能である。結局、処理時間が見積時間と比較
して誤差が大きい異常な状態になったときに、データベ
ース処理装置5ごとの処理要求の待ち行列を情報システ
ムにおいて全体的に組変えることにより、状況の変化に
リアルタイムで対応することができる。
Different effects can be obtained depending on how the processing elapsed time is added to the estimate. For example, if the estimated time of the remaining processing time is corrected in proportion to the elapsed time of the processing request 3 being processed, more accurate processing time can be predicted. Also, when an abnormal state in which the actual processing elapsed time greatly exceeds the initial estimated value set at the time of scheduling, the remaining processing estimated time is set to be very large, so that the subsequent processing request 3
Can be easily assigned to another database processing device 5. In other words, it is possible to actually realize that the subsequent processing request 3 waiting for the database processing device 5 that is in an abnormal state due to an unknown cause is lined up in another database processing device 5 with numbness. You can do it. Of course, as the elapsed time decreases, the prediction of the remaining processing time is reduced, and when it exceeds a certain threshold value, it is considered as an abnormal state and the expected time is extremely increased and the subsequent processing request 3 is shut down. It is also possible to combine the effects of. Eventually, when the processing time becomes abnormal with a large error compared with the estimated time, the queue of the processing request for each database processing device 5 is changed in the information system as a whole to change the situation. Can respond in real time.

【0025】実施の形態4.実施の形態1では、処理要
求プログラム1によってキュー2上に溜められた処理要
求3のみをスケジュールの対象としていた。しかし、処
理要求3は予め用意されているものではなく、断続的に
発生するものである。そこで、まだ発生していない処理
要求も考慮に入れたスケジュールを考えることができ
る。
Embodiment 4 In the first embodiment, only the processing requests 3 stored in the queue 2 by the processing request program 1 are targeted for scheduling. However, the processing request 3 is not prepared in advance and is generated intermittently. Therefore, it is possible to consider a schedule that takes into account processing requests that have not yet occurred.

【0026】実施の形態4の処理フローを図6を用いて
説明する。見積を立てる対象となっている処理要求3が
その時点で最後に発生した要求(キュー上で最後の処理
要求)である場合、処理要求3の今後予想される発生分
布を見積に加える(ステツプS32c)。発生分布があ
る程度密な場合は、後の処理要求が発生するまでの発生
間隔が短いため、キュー2上で最後の処理要求3の見積
はあまり変える必要はない。しかし、発生分布がまばら
な場合には、後の処理要求が発生するまでの発生間隔が
長いため、時間が無駄になる。そこで、キュー上で最後
の処理要求3に対してデータベース処理装置5の性能比
を抑えた見積を行うようにすることで、遅いデータベー
ス処理装置5が利用され易くなり、処理要求の発生間隔
分の時間を無駄にしないスケジュールを行うことができ
る。以降のステップは、実施の形態1と同様のフローで
ある(ステツプS32d〜S35)。
The processing flow of the fourth embodiment will be described with reference to FIG. If the processing request 3 for which an estimate is to be made is the request that occurred last at that point (the last processing request on the queue), the expected distribution of future occurrences of the processing request 3 is added to the estimate (step S32c). ). If the occurrence distribution is dense to some extent, the occurrence interval until the subsequent processing request is generated is short, and therefore the estimation of the last processing request 3 on the queue 2 does not need to be changed so much. However, when the occurrence distribution is sparse, the occurrence interval until the subsequent processing request is generated is long, so that time is wasted. Therefore, by performing the estimation while suppressing the performance ratio of the database processing device 5 with respect to the last processing request 3 on the queue, the slow database processing device 5 is easily used and the processing request generation interval is reduced. A time-saving schedule can be done. The subsequent steps are the same as those in the first embodiment (steps S32d to S35).

【0027】上記のような方法により、これから発生す
るであろう処理要求を考慮に入れたスケジューリングを
行うことができ、データベース処理装置を有効利用する
ことができる。
By the method as described above, it is possible to perform the scheduling in consideration of the processing request that will occur from now on, and it is possible to effectively use the database processing apparatus.

【0028】実施の形態5.実施の形態1、実施の形態
2、実施の形態3および実施の形態4を任意に組合せた
構成が考えられる。図7は、上記の実施の形態1から実
施の形態4までを同時に含んだ構成図である。性能に違
いのある複数のデータベース処理装置において、断続的
に発生し処理内容の異なる複数の処理要求を振り分け
る。処理要求プログラム1がそれぞれ独立してキュー2
に処理要求3を断続的に投げる。スケジューラ4が適当
なタイミングで、キュー2上の処理中の処理要求3と処
理待ちの処理要求3の処理時間の予想を立て、まだ発生
していない処理要求の発生分布を考慮しながら、5a,
5bのデータベース処理装置に振り分け実行させる。
Embodiment 5 A configuration in which the first embodiment, the second embodiment, the third embodiment, and the fourth embodiment are arbitrarily combined can be considered. FIG. 7 is a configuration diagram that simultaneously includes the first to fourth embodiments described above. In a plurality of database processing devices having different performances, a plurality of processing requests that occur intermittently and have different processing contents are distributed. Processing request program 1 is queue 2 independently
Process request 3 is intermittently thrown. The scheduler 4 makes a prediction of the processing time of the processing request 3 being processed and the processing request 3 waiting for processing on the queue 2 at an appropriate timing, and while considering the distribution of the processing requests that have not yet occurred, 5a,
The database processing device 5b is distributed and executed.

【0029】続いて、スケジューラ4内部のスケジュー
リングについて、図8の処理フロー図に基づいて説明す
る。処理要求3が発生したときやデータベース処理装置
5が空き状態になったときなどの適当なタイミングで、
図8の処理が行われる。キュー2上の処理要求3の先頭
から順番にデータベース処理装置5が空き状態でなくな
るまで、S41からS45までの処理を行う。まづ、処
理終了時間の予想を立てる処理要求3を1つ取り出す
(ステップS41a)。取り出された処理要求が処理中
のものであれば、その処理が始まってから現在までの処
理経過時間を基に見積を行い(ステップS41c)、続
けてキュー2上の次の処理要求3を取り出す(ステップ
S41a)。処理中の要求でなければ、データベース処
理装置5の選択に移る(ステップS42a)。予想を立
てる対象となっている処理要求3がその時点で最後に発
生した要求(キュー上で最後の処理要求)である場合、
処理要求3の発生分布を元にデータベース処理装置5の
性能比を抑える(ステップS42c)。次に、処理要求
3の処理内容とデータベース処理装置5の性能比を基に
処理時間の予想を立てる(ステップS42d)。それぞ
れのデータベース処理装置5に対しての見積を比較し
て、最も速く処理が終了するであろうデータベース処理
装置5を1つ決定する(ステップS43)。決定したデ
ータベース処理装置5が空いていればそのデータベース
処理装置5を用いて処理要求3を処理し(ステップS4
5)、空いていなければその処理要求3はペンディング
として、次の処理要求の見積を行う(ステップS41
a)。処理自体はスケジューラ4とは別の制御プログラ
ム6を起動させ処理を依頼する。ペンディング中の処理
要求3は、割り当てられたデータベース処理装置5で処
理するものと仮定し見積に加えるが、実際に処理される
かはこの時点では未定である。また、処理要求3をキュ
ー2に入れたりキュー2から削除するのはスケジューリ
ングとは別の処理要求プログラム1自身が行う。
Next, the scheduling inside the scheduler 4 will be described with reference to the process flow chart of FIG. At an appropriate timing such as when the processing request 3 is generated or when the database processing device 5 becomes empty,
The process of FIG. 8 is performed. The processes from S41 to S45 are performed in order from the beginning of the processing request 3 on the queue 2 until the database processing device 5 is no longer in an empty state. First, one processing request 3 for predicting the processing end time is taken out (step S41a). If the fetched processing request is being processed, estimation is performed based on the processing elapsed time from the start of the processing to the present (step S41c), and then the next processing request 3 on the queue 2 is fetched. (Step S41a). If the request is not being processed, the process proceeds to the selection of the database processing device 5 (step S42a). If the processing request 3 that is the target of the prediction is the last request that occurred at that point (the last processing request on the queue),
Based on the occurrence distribution of the processing request 3, the performance ratio of the database processing device 5 is suppressed (step S42c). Next, the processing time is estimated based on the processing content of the processing request 3 and the performance ratio of the database processing device 5 (step S42d). The estimates for the respective database processing devices 5 are compared with each other, and one database processing device 5 that will finish processing the fastest is determined (step S43). If the determined database processing device 5 is free, the processing request 3 is processed using the database processing device 5 (step S4).
5) If there is no vacancy, the processing request 3 is pending and the next processing request is estimated (step S41).
a). As for the processing itself, a control program 6 different from the scheduler 4 is activated to request the processing. The pending processing request 3 is added to the estimate on the assumption that it is processed by the assigned database processing device 5, but whether or not it is actually processed is undecided at this point. Further, the process request program 1 itself, which is different from the scheduling, puts the process request 3 in the queue 2 or deletes it from the queue 2.

【0030】上記手順に従うことによって、処理要求3
のそれぞれの処理内容とデータベース処理装置5aと5
bの性能比を基に見積を行い、遅いデータベース処理装
置5bを敬遠し、速いデータベース処理装置5aを有効
に活用したスケジューリングを行うことができる。この
スケジュールによって、処理要求間で要求発生順と処理
終了順の逆転を抑えることができる。さらに、処理中の
処理要求の経過時間や未発生の処理要求の発生分布を基
に、より正確な処理時間の見積と無駄のないデータベー
ス処理装置5の利用が可能となった。また、それぞれ必
要な機能のみを組み合わせることも自在である。
By following the above procedure, processing request 3
Processing contents of each and the database processing devices 5a and 5
It is possible to perform the scheduling based on the performance ratio of b, avoiding the slow database processing device 5b, and effectively utilizing the fast database processing device 5a. By this schedule, it is possible to prevent the request generation order and the processing end order from being reversed between processing requests. Further, based on the elapsed time of processing requests during processing and the occurrence distribution of unprocessed processing requests, it is possible to more accurately estimate the processing time and use the database processing device 5 without waste. It is also possible to combine only the required functions.

【0031】実施の形態6.実施の形態1と実施の形態
2では、スケジュールを行うための現在の状態を見積の
材料としている。それに加え、実施の形態3では、現在
進行形の処理状況を見積の材料としている。また、実施
の形態4では、まだ発生していない未来の処理要求を見
積の材料とし、実施の形態5で全てを加味して見積もる
手段を説明した。さらには、過去の統計情報を見積の材
料に加えることが考えられる。図9は、処理要求3の発
生分布と処理要求3の実際の処理時間のそれぞれの統計
情報を採取し、スケジューラ4にフィードバックする構
成図である。統計処理20が発生間隔をチェックし、統
計処理21が処理時間をチェックする。
Embodiment 6 FIG. In the first and second embodiments, the current state for performing the schedule is used as the estimation material. In addition to this, in the third embodiment, the current processing status is used as a material for estimation. Further, in the fourth embodiment, the means for estimating the future processing request that has not yet occurred is used as a material for the estimation, and the estimation is performed in consideration of all in the fifth embodiment. Furthermore, it is conceivable to add past statistical information to the estimation material. FIG. 9 is a configuration diagram in which statistical information on the occurrence distribution of the processing request 3 and the actual processing time of the processing request 3 is collected and fed back to the scheduler 4. The statistical processing 20 checks the occurrence interval, and the statistical processing 21 checks the processing time.

【0032】統計処理20および統計処理21は、スケ
ジューラ4や処理要求プログラム1とも独立している。
処理要求プログラム1がキュー2に処理要求3を投げる
際に、統計処理20を必ず通す。統計処理20は、それ
ぞれの処理要求3の発生間隔の統計情報を採取し、結果
をスケジューラ4に渡す。スケジューラ4は統計処理2
0からの結果を、実施形態5の発生分布を見積に加える
ステップ(図8 S42c)に利用する。また、統計処
理21は処理要求3が実際にデータベース処理装置によ
り処理された処理時間の統計情報を採取し、結果をスケ
ジューラ4に渡す。スケジューラ4は統計処理21から
の結果を、実施形態5の処理中の処理要求3の経過時間
を見積に加えるステップ(図8 S41c)に利用す
る。
The statistical processing 20 and the statistical processing 21 are independent of the scheduler 4 and the processing request program 1.
When the processing request program 1 sends the processing request 3 to the queue 2, the statistical processing 20 is always passed. The statistical processing 20 collects statistical information of the generation intervals of the respective processing requests 3 and passes the result to the scheduler 4. The scheduler 4 is the statistical processing 2
The result from 0 is used for the step of adding the occurrence distribution of the fifth embodiment to the estimation (S42c in FIG. 8). In addition, the statistical processing 21 collects statistical information on the processing time when the processing request 3 is actually processed by the database processing device, and passes the result to the scheduler 4. The scheduler 4 uses the result from the statistical processing 21 for the step (S41c in FIG. 8) of adding the elapsed time of the processing request 3 during processing of the fifth embodiment to the estimate.

【0033】例えば、統計処理20では、現時点から数
えて過去n個の処理要求3の発生間隔の平均時間tを採
取し、統計処理21では同様に過去n個の処理要求3の
平均処理時間sを採取するものとする。また、実施の形
態5の発生分布を見積に加えるステップ(図8 S42
c)に利用する値をTとし、実施の形態5の処理中要求
の経過時間を評価に加えるステップ(図8 S41c)
に利用する値をSとする。そして、t<sならばT=1
とし、t≧sならばT=s/tとする。また、Sにはs
そのものを与える。この場合、S42cでは接続されて
いるデータベース処理装置5のシステム内で最も処理速
度の遅いデータベース処理装置5に対する性能比の倍率
にTを乗じることにより、その性能比を縮小して処理時
間の見積を立てることができる。S41cにおいて処理
予想時間に対してはS/(S+処理経過時間の増加関
数)を乗じることで処理時間の経過とともに見積時間が
減少し、リアルタイムにシステムの稼働状態に対応した
スケジュールを行うことが可能となる。上記増加関数と
しては、例えば一次関数が考えられる。もちろん、nの
値を自由に変えるのみならず、日付ごとや曜日ごとや時
間帯によってシステム稼働状態が決まっているものに対
しては、採取する統計情報を日付単位や曜日単位や時間
帯で区切りスケジューラ4に値を渡すようにすることも
可能である。
For example, in the statistical processing 20, the average time t of the occurrence intervals of the past n processing requests 3 counted from the present time is sampled, and in the statistical processing 21, the average processing time s of the past n processing requests 3 is similarly taken. Shall be collected. In addition, the step of adding the occurrence distribution of the fifth embodiment to the estimation (FIG. 8, S42).
The value used for c) is T, and the elapsed time of the in-process request according to the fifth embodiment is added to the evaluation (FIG. 8, S41c).
Let S be the value used for. If t <s, T = 1
If t ≧ s, then T = s / t. Also, S is s
Give itself. In this case, in S42c, the performance ratio is reduced by multiplying T by the ratio of the performance ratio of the connected database processing device 5 to the database processing device 5 having the slowest processing speed in the system, thereby estimating the processing time. Can stand. In S41c, the estimated processing time is multiplied by S / (S + increase function of processing elapsed time) to reduce the estimated time as the processing time elapses, and it is possible to perform a schedule corresponding to the operating state of the system in real time. Becomes A linear function, for example, can be considered as the increasing function. Of course, in addition to freely changing the value of n, if the system operating status is determined by date, day of the week, or time zone, the statistical information to be collected is separated by date, day of the week, or time zone. It is also possible to pass a value to the scheduler 4.

【0034】上記方法により、処理要求3の発生分布お
よび処理時間の統計情報を利用し、データベース処理装
置5の性能比以外のシステム固有の環境や使用状況に応
じて、柔軟にかつ最適にスケジューリングを行うことが
できる。
According to the above method, the distribution of the processing requests 3 and the statistical information of the processing time are used to flexibly and optimally schedule according to the system-specific environment and the usage condition other than the performance ratio of the database processing device 5. It can be carried out.

【0035】この発明は、データベース処理装置5が他
の処理装置、例えばCPUでも、ハードウェアボードで
も、プリンターなどの周辺機器でも、ネットワーク接続
の計算機でも、またそれらが混在していても適用するこ
とが可能である。
The present invention can be applied regardless of whether the database processing device 5 is another processing device such as a CPU, a hardware board, a peripheral device such as a printer, a computer connected to a network, or a mixture thereof. Is possible.

【0036】[0036]

【発明の効果】この発明は、以上説明したように構成さ
れているので、以下に示すような効果を奏する。
Since the present invention is constructed as described above, it has the following effects.

【0037】残存時間と待ち行列全体の処理時間と見込
処理時間とを合計した処理終了見込時間の最も小さいデ
ータ処理装置の待ち行列に発生した処理要求を追加する
ように構成したので、時系列に沿って順次発生する各々
の処理要求について、要求の発生順と処理の終了順の逆
転を抑えることができ、かつ情報処理システム全体の処
理時間を短くするようなスケジューリングを行うことが
できる。
Since the processing request generated in the queue of the data processing device having the smallest processing completion expected time, which is the sum of the remaining time, the processing time of the entire queue, and the expected processing time, is added, it is arranged in time series. For each processing request sequentially generated along the line, it is possible to prevent the request generation order and the processing end order from being reversed, and it is possible to perform scheduling so as to shorten the processing time of the entire information processing system.

【0038】また、処理時間を見積るために各処理要求
のデータ量と各データ処理装置に対する負荷情報を用い
るように構成したので、より正確な処理時間の見積が得
られる。
Further, since the data amount of each processing request and the load information for each data processing device are used to estimate the processing time, a more accurate estimation of the processing time can be obtained.

【0039】さらに、処理中の各処理要求の経過時間を
測定し、その経過時間から各処理中の処理要求の処理終
了見込時間を修正するように構成したので、より正確な
処理時間の見積が得られる。
Further, since the elapsed time of each processing request being processed is measured and the processing completion expected time of each processing request being processed is corrected from the elapsed time, a more accurate processing time can be estimated. can get.

【0040】また、処理要求の発生分布と処理要求の処
理時間のそれぞれの統計情報を上記見積りの参考にする
ように構成したので、より正確な処理時間の見積が得ら
れる。
Further, since the statistical distributions of the processing request generation distribution and the processing time of the processing request are used as a reference for the above estimation, a more accurate estimation of the processing time can be obtained.

【0041】さらにまた、発生間隔の平均時間が処理時
間の平均時間よりも大きいときは複数のデータ処理装置
間の処理速度の性能比の倍率を縮小して各データ処理装
置ごとの処理時間を見積るように構成したので、処理速
度の遅いデータベース処理装置が利用され易くなり、処
理要求の発生間隔分の時間を無駄にしないスケジュール
を行うことができる。
Furthermore, when the average time of the generation intervals is larger than the average time of the processing time, the processing time for each data processing device is estimated by reducing the ratio of the performance ratio of the processing speed among the plurality of data processing devices. With this configuration, a database processing device having a slow processing speed is easily used, and a schedule that does not waste the time corresponding to the processing request generation interval can be performed.

【0042】また、各データ処理装置ごとの処理時間が
見積時間と比較して誤差が大きいとき、各データ処理装
置ごとの処理要求の待ち行列を全体的に組変えるように
構成したので、状況の変化にリアルタイムで対応するこ
とができる。
When the processing time of each data processing device has a large error compared with the estimated time, the queue of processing requests for each data processing device is reconfigured as a whole. It can respond to changes in real time.

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

【図1】この発明の実施の形態1、実施の形態2、実施
の形態3および実施の形態4を示す構成図である。
FIG. 1 is a configuration diagram showing a first embodiment, a second embodiment, a third embodiment and a fourth embodiment of the present invention.

【図2】この発明の実施の形態1の処理フローを示すフ
ローチャートである。
FIG. 2 is a flowchart showing a processing flow according to the first embodiment of the present invention.

【図3】この発明の実施の形態1を示すタイミングチャ
ートである。
FIG. 3 is a timing chart showing the first embodiment of the present invention.

【図4】この発明の実施形態2の処理フローを表すフロ
ーチャートである。
FIG. 4 is a flowchart showing a processing flow of embodiment 2 of the present invention.

【図5】この発明の実施形態3の処理フローを表すフロ
ーチャートである。
FIG. 5 is a flowchart showing a processing flow of embodiment 3 of the present invention.

【図6】この発明の実施形態4の処理フローを表すフロ
ーチャートである。
FIG. 6 is a flowchart showing a processing flow of embodiment 4 of the present invention.

【図7】この発明の実施形態5を示す構成図である。FIG. 7 is a configuration diagram showing a fifth embodiment of the present invention.

【図8】この発明の実施形態5の処理フローを表すフロ
ーチャートである。
FIG. 8 is a flowchart showing a processing flow of embodiment 5 of the present invention.

【図9】この発明の実施形態6を示す構成図である。FIG. 9 is a configuration diagram showing a sixth embodiment of the present invention.

【図10】従来例のデータ処理装置の制御方法を示すフ
ローチャートである。
FIG. 10 is a flowchart showing a control method of a conventional data processing device.

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

3 処理要求、5 データベース処理装置(データ処理
装置)、
3 processing request, 5 database processing device (data processing device),

Claims (6)

【特許請求の範囲】[Claims] 【請求項1】 処理速度の異なる複数のデータ処理装置
を備え、複数の処理要求をその要求が発生した順にスケ
ジューリングを行う情報処理システムにおいて、発生し
た処理要求について上記各データ処理装置における見込
処理時間と、上記各データ処理装置ごとの処理要求の待
ち行列全体の処理時間と、上記各データ処理装置におい
て処理中の処理要求の残存時間とをそれぞれ見積るステ
ップ、その残存時間と待ち行列全体の処理時間と上記見
込処理時間とを合計した処理終了見込時間の最も小さい
データ処理装置の待ち行列に上記発生した処理要求を追
加するステップからなるデータ処理装置の制御方法
1. An information processing system comprising a plurality of data processing devices having different processing speeds and scheduling a plurality of processing requests in the order in which the requests are generated. And a step of estimating the processing time of the entire queue of processing requests for each of the data processing devices and the remaining time of the processing request being processed in each of the data processing devices, the remaining time and the processing time of the entire queue And a method for controlling the data processing device, comprising the step of adding the generated processing request to the queue of the data processing device having the shortest expected processing end time, which is the sum of the expected processing time.
【請求項2】 上記処理要求について上記各データ処理
装置における見込処理時間及び上記各データ処理装置に
おける処理要求の待ち行列全体の処理時間を見積るステ
ップにおいて、上記処理時間を見積るために各処理要求
のデータ量と各データ処理装置に対する負荷情報を用い
ることを特徴とする請求項1に記載のデータ処理装置の
制御方法
2. The step of estimating the expected processing time in each of the data processing devices and the processing time of the entire queue of processing requests in each of the data processing devices with respect to the processing request, in order to estimate the processing time, The method of controlling a data processing device according to claim 1, wherein a data amount and load information for each data processing device are used.
【請求項3】 上記各データ処理装置における処理要求
の待ち行列全体の処理時間を見積るステップにおいて、
処理中の各処理要求の経過時間を測定し、その経過時間
から各処理中の処理要求の処理終了見込時間を修正する
ことを特徴とする請求項に記載のデータ処理装置の制御
方法
3. The step of estimating the processing time of the entire queue of processing requests in each of the data processing devices,
The method for controlling a data processing device according to claim 1, wherein the elapsed time of each processing request being processed is measured, and the expected processing end time of each processing request being processed is corrected from the elapsed time.
【請求項4】 上記処理要求について上記各データ処理
装置における見込処理時間及び上記各データ処理装置に
おける処理要求の待ち行列全体の処理時間を見積るステ
ップにおいて、処理要求の発生分布と処理要求の処理時
間のそれぞれの統計情報を上記見積りの参考にすること
を特徴とする請求項1に記載のデータ処理装置の制御方
4. The generation distribution of processing requests and the processing time of the processing request in the step of estimating the expected processing time in each of the data processing apparatuses and the processing time of the entire queue of processing requests in each of the data processing apparatuses for the processing request. 2. The method for controlling a data processing device according to claim 1, wherein the statistical information of each is referred to in the estimation.
【請求項5】 上記処理要求の発生間隔の平均時間と上
記各データ処理装置における処理時間の平均時間を採取
し、発生間隔の平均時間が処理時間の平均時間よりも大
きいときは上記複数のデータ処理装置間の処理速度の性
能比の倍率に発生間隔の平均時間の処理時間の平均時間
に対する比率を乗じた倍率を上記複数のデータ処理装置
間の処理速度の性能比の倍率として上記各データ処理装
置ごとの処理時間を見積ることを特徴とする請求項1に
記載のデータ処理装置の制御方法
5. The average time of the generation intervals of the processing requests and the average time of the processing times in each of the data processing devices are sampled, and when the average time of the generation intervals is larger than the average time of the processing times, the plurality of data items are collected. Each of the above-mentioned data processings is a multiplication factor of the performance ratio of the processing speed between the processing devices and a multiplication factor of the ratio of the average time of the generation intervals to the average time of the processing time as the ratio of the performance ratio of the processing speed between the plurality of data processing devices. The method for controlling a data processing device according to claim 1, wherein a processing time for each device is estimated.
【請求項6】 上記各データ処理装置ごとの処理時間が
見積時間と比較して誤差が大きいとき、上記各データ処
理装置ごとの処理要求の待ち行列を全体的に組変えるこ
とを特徴とする請求項1〜請求項5のいずれかに記載の
データ処理装置の制御方法
6. The processing request queue for each data processing device is recombined as a whole when the processing time for each data processing device has a large error compared with the estimated time. A method for controlling a data processing device according to any one of claims 1 to 5.
JP8074340A 1996-03-28 1996-03-28 Method for controlling data processor Abandoned JPH09265459A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP8074340A JPH09265459A (en) 1996-03-28 1996-03-28 Method for controlling data processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP8074340A JPH09265459A (en) 1996-03-28 1996-03-28 Method for controlling data processor

Publications (1)

Publication Number Publication Date
JPH09265459A true JPH09265459A (en) 1997-10-07

Family

ID=13544303

Family Applications (1)

Application Number Title Priority Date Filing Date
JP8074340A Abandoned JPH09265459A (en) 1996-03-28 1996-03-28 Method for controlling data processor

Country Status (1)

Country Link
JP (1) JPH09265459A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6920148B1 (en) 1999-08-10 2005-07-19 Nec Corporation Scheduling controller and a scheduling control method
JP2008090507A (en) * 2006-09-29 2008-04-17 Fujitsu Ltd Scheduling program for job execution, scheduling method for job execution, scheduling apparatus for job execution
US7587437B2 (en) 2002-07-22 2009-09-08 Fujitsu Limited Parallel efficiency calculation method and apparatus
JP2009301095A (en) * 2008-06-10 2009-12-24 Kddi Corp Request reception system
GB2475897A (en) * 2009-12-04 2011-06-08 Creme Software Ltd Resource allocation using estimated time to complete jobs in a grid or cloud computing environment
JP2011128818A (en) * 2009-12-16 2011-06-30 Hitachi Ltd Stream data processing apparatus and method
JPWO2018158819A1 (en) * 2017-02-28 2019-06-27 株式会社日立製作所 Distributed database system and resource management method for distributed database system

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6920148B1 (en) 1999-08-10 2005-07-19 Nec Corporation Scheduling controller and a scheduling control method
US7587437B2 (en) 2002-07-22 2009-09-08 Fujitsu Limited Parallel efficiency calculation method and apparatus
US8255442B2 (en) 2002-07-22 2012-08-28 Fujitsu Limited Parallel efficiency calculation method and apparatus
JP2008090507A (en) * 2006-09-29 2008-04-17 Fujitsu Ltd Scheduling program for job execution, scheduling method for job execution, scheduling apparatus for job execution
US8161485B2 (en) 2006-09-29 2012-04-17 Fujitsu Limited Scheduling jobs in a plurality of queues and dividing jobs into high and normal priority and calculating a queue selection reference value
JP2009301095A (en) * 2008-06-10 2009-12-24 Kddi Corp Request reception system
GB2475897A (en) * 2009-12-04 2011-06-08 Creme Software Ltd Resource allocation using estimated time to complete jobs in a grid or cloud computing environment
US8650298B2 (en) 2009-12-04 2014-02-11 Creme Software Limited Resource allocation system
JP2011128818A (en) * 2009-12-16 2011-06-30 Hitachi Ltd Stream data processing apparatus and method
US8782650B2 (en) 2009-12-16 2014-07-15 Hitachi, Ltd. Distributed processing of partitioned stream data including data element group and end data
JPWO2018158819A1 (en) * 2017-02-28 2019-06-27 株式会社日立製作所 Distributed database system and resource management method for distributed database system
US10936377B2 (en) 2017-02-28 2021-03-02 Hitachi, Ltd. Distributed database system and resource management method for distributed database system

Similar Documents

Publication Publication Date Title
Sandholm et al. MapReduce optimization using regulated dynamic prioritization
US8195800B2 (en) Computer resource distribution method based on prediction
US5537542A (en) Apparatus and method for managing a server workload according to client performance goals in a client/server data processing system
Menascé et al. Static and dynamic processor scheduling disciplines in heterogeneous parallel architectures
Chavez et al. Challenger: A multi-agent system for distributed resource allocation
US8812639B2 (en) Job managing device, job managing method and job managing program
US20120167101A1 (en) System and method for proactive task scheduling
US20110154353A1 (en) Demand-Driven Workload Scheduling Optimization on Shared Computing Resources
US8356304B2 (en) Method and system for job scheduling
US20120137295A1 (en) Method for displaying cpu utilization in a multi-processing system
US8640133B2 (en) Equal duration and equal fetch operations sub-context switch interval based fetch operation scheduling utilizing fetch error rate based logic for switching between plurality of sorting algorithms
US20140137122A1 (en) Modified backfill scheduler and a method employing frequency control to reduce peak cluster power requirements
JP2003256222A (en) Distribution processing system, job distribution processing method and its program
Alhammad et al. Trading cores for memory bandwidth in real-time systems
Moulik et al. TARTS: A temperature-aware real-time deadline-partitioned fair scheduler
Karatza Job scheduling in heterogeneous distributed systems
Chandio et al. Energy efficient VM scheduling strategies for HPC workloads in cloud data centers
JPH09265459A (en) Method for controlling data processor
Karatza A comparative analysis of scheduling policies in a distributed system using simulation
Giammo Validation of a computer performance model of the exponential queuing network family
Zhang et al. End-to-end scheduling strategies for aperiodic tasks in middleware
CN112988363A (en) Resource scheduling method, device, server and storage medium
Rumyantsev et al. Discrete-event modeling of a high-performance computing cluster with service rate control
JP3123714B2 (en) Task scheduling method and recording medium
Bard A Characterization of VM/370 Workloads.

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20040126

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20040224

A762 Written abandonment of application

Free format text: JAPANESE INTERMEDIATE CODE: A762

Effective date: 20040423