JPS60134370A - Distributed processing system - Google Patents

Distributed processing system

Info

Publication number
JPS60134370A
JPS60134370A JP24288083A JP24288083A JPS60134370A JP S60134370 A JPS60134370 A JP S60134370A JP 24288083 A JP24288083 A JP 24288083A JP 24288083 A JP24288083 A JP 24288083A JP S60134370 A JPS60134370 A JP S60134370A
Authority
JP
Japan
Prior art keywords
processing
computer
request
cost
requests
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
JP24288083A
Other languages
Japanese (ja)
Inventor
Hiroyuki Kitajima
宏行 北嶋
Morio Iino
飯野 守夫
Tsutomu Miyairi
宮入 勉
Takeshi Minamino
南野 猛
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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP24288083A priority Critical patent/JPS60134370A/en
Publication of JPS60134370A publication Critical patent/JPS60134370A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To decrease the cost and the response time for each proseccing request and to improve the processing efficiency of the whole distribution system by allotting the request to the computer which minimizes either of respective parameter values or both values. CONSTITUTION:A retriever 19 reads the processing requirement contents of an analyzer 17, and transfers the discrimination code of a computer 8i to a waiting time storage device 13. The waiting time storage device 13 reads the waiting time predicted value, and transfers it to an optimum computer decision device 20. The retriever 19 transfers the discrimination code of the computer 8i and the estimated value of the computer resource using amount of the processing request for a computer processing cost storage device 27. The storage device 27 calculates the estimated value of the computer processing cost in the case that the processing request is processed by a computer 8i from the above-mentioned information, the processing cost of the computer 8i and the parameter value which are stored in the storage device 27, and transfers the results to the optimum computer decision device 20.

Description

【発明の詳細な説明】 〔発明の利用分野〕 本発明は、分散処理システムに関し、特に計算機処理コ
スト、通信コスト等を考慮して計算機の1つに負荷を割
当てる分散処理システムに関するものである。
DETAILED DESCRIPTION OF THE INVENTION [Field of Application of the Invention] The present invention relates to a distributed processing system, and particularly to a distributed processing system that allocates a load to one of the computers in consideration of computer processing cost, communication cost, etc.

〔発明の背景〕[Background of the invention]

従来より、分散型の計算センタ等では、分散処理装置の
うちの特定のものに負荷が集中する傾向にあり、問題と
なっていた。そこで複数の計算機および端末装置等の間
を通信回線で結合し、計算機相互の交信や計算機間での
処理の分担を行わせることにより、全体としての処理効
率や可用性(部分的な障害時における処理続行の能力)
を高めることを目的とした分散処理システムが従系され
た。
Conventionally, in distributed computing centers and the like, the load tends to concentrate on specific distributed processing devices, which has been a problem. Therefore, by connecting multiple computers and terminal devices with communication lines and having them communicate with each other and share processing among them, overall processing efficiency and availability (processing in case of partial failure) can be improved. ability to continue)
A distributed processing system aimed at increasing the performance of the system was established as a subsidiary system.

このシステムでは、端末装置あるいは計算機から発行さ
れた各処理要求に対して、その実行に必要なプログラム
やファイルの名称を解析し、これらを備えた計算機(以
下、インテリジェント型端末も含むものとする)に上記
処理要求を割り当てる。
In this system, for each processing request issued from a terminal device or computer, the name of the program or file necessary for its execution is analyzed, and a computer equipped with these (hereinafter, including intelligent terminals) is Assign processing requests.

ここで、必要なプログラムやファイルを備えた計算機が
a数個存在する場合がある。これらのうちのいずれの計
算様に上記処理要求を割り当てるかを決定する場合、そ
の処理要求に対する応答時間、処理コストおよび通信コ
ストのみならず、分散処理システム全体としての処理効
率とコストに影響することになる。
Here, there may be several computers equipped with necessary programs and files. When deciding which of these calculation methods to allocate the above processing request to, it will affect not only the response time, processing cost and communication cost for the processing request, but also the processing efficiency and cost of the distributed processing system as a whole. become.

複数の計算機の1つに処理要求を割り当てる際、上記条
件を考慮して決定する方式として出願人は昭和56年に
谷計算機の処理待ち時間、分散処理システム内の各地点
間の通佃遅へ時間に関する情報を定期的に収集し、各処
理要求に対して割り当て可能な計算機の中から、計算機
での処理待ち時間と通信遅れ時間との和が最小になる計
算機にその処理要求を割り当てる分散処理システム(実
願昭56−2793号明細書)の発明を出願した。
When allocating a processing request to one of a plurality of computers, the applicant proposed a system in 1981 that takes the above conditions into account and decided on the processing waiting time of the Tani computer and the communication delay between each point in the distributed processing system. Distributed processing that periodically collects time-related information and allocates each processing request to the computer that minimizes the sum of processing wait time and communication delay time from among the computers that can be allocated to each processing request. An application was filed for the invention of a system (Utility Application No. 56-2793).

この分散処理システムによれば、各処理要求に対する応
答時間の最小化と、計算機間の負荷の均等化と、稼動率
の向上とを図ることができる。
According to this distributed processing system, it is possible to minimize the response time to each processing request, equalize the load among computers, and improve the operating rate.

しかし、上記のシステムでは、時間遅れのみを考慮して
おり、通信や計n機処理に要するコスト(費用、料金等
)については考慮していない。
However, in the above system, only the time delay is taken into consideration, and the costs (costs, fees, etc.) required for communication and processing of the total number of devices are not taken into consideration.

−力、利用者の中には、コストのみ、あるいはコストと
時間遅れの両方に関心がある者が多いにもかかわらず、
従来のシステムではこれらの要求に応することができな
い。
- Despite the fact that many users are concerned only with cost or both cost and time delay,
Conventional systems cannot meet these demands.

〔発明の目的〕[Purpose of the invention]

本発明の目的は、このような従来の不足な点を改善し、
各処理要求に対するコストと応答時間を低減し、かつ分
散システム全体の処理効率の向上を図ることができる分
散処理システムを提供することにある。
The purpose of the present invention is to improve such conventional deficiencies,
An object of the present invention is to provide a distributed processing system that can reduce the cost and response time for each processing request, and improve the processing efficiency of the entire distributed system.

〔発明の概要〕[Summary of the invention]

上記目的を達成するため、本発明の分散処理システムで
は、複数の計算機あるいは端末装置と、該計算機あるい
は端末装置の任意のものからの処理要求、あるいは該処
理要求の実行中に必要なファイルやプログラムに対する
要求を、いずれの計算機に割当てるかを決定する処理割
当て装置とを有し、該処理割当て装置は各計算機での処
理コストに関するパラメータ値および各地点間の通信コ
ストに関するパラメータ値の一方、あるいは両方を記憶
しておき、上記各要求に対して上記各パラメータ値の一
方または両方が最小となる計請二磯に上記要求を割当て
ることに特徴がある。さらに、各計算機での処理コスト
、通信コスト、各計′n模での処理待ち時間および通信
遅れ時間を変数とする関数値が最小となる計算機に上記
要求を割当てることにも特徴がある。
In order to achieve the above object, the distributed processing system of the present invention uses a plurality of computers or terminal devices, processing requests from any of the computers or terminal devices, or files and programs necessary during the execution of the processing requests. and a processing allocation device that determines which computer to allocate a request for. The present invention is characterized by storing the above-mentioned requests, and allocating the above-mentioned requests to the plan where one or both of the above-mentioned respective parameter values are the minimum. Another feature is that the above-mentioned request is assigned to the computer that minimizes the processing cost, communication cost, processing waiting time and communication delay time of each computer as variables.

〔発明の実施例〕[Embodiments of the invention]

以下、本発明の実施例を、図面により説明する。 Embodiments of the present invention will be described below with reference to the drawings.

第1図は、本発明の分散処理システムの構成図である。FIG. 1 is a configuration diagram of a distributed processing system of the present invention.

第1図において、1は処理割当て装置、2は通信回線網
、3は通信回線網の遅れ時間管理部であり、各時点にお
けるすべての計算機、端末装置および処理割当て装置1
の間の通信遅れ時間に関するバラメニタ値(例えば、単
位データ転送長当りの遅れ時間)を記憶・更新する。会
は送信装置、5は受信装置である。6は通信遅れ時間記
憶装置であり、遅れ時間管理部3と同一情報を記憶・更
新する。8は計算機であり、板数台設けられている中の
任意のものを8(i)で表わす。9は待ち行列長計数装
置であり、各計算機8(i)ごとに処理を待つ処理要求
の数(通常、ジョブ・キューあるいはトランザクション
・キューと呼ぶ)を計数する。
In FIG. 1, 1 is a processing allocation device, 2 is a communication line network, and 3 is a delay time management unit of the communication line network, which includes all computers, terminal devices, and processing allocation device 1 at each point in time.
A parameter value related to communication delay time (for example, delay time per unit data transfer length) is stored and updated. 5 is a transmitting device, and 5 is a receiving device. A communication delay time storage device 6 stores and updates the same information as the delay time management section 3. 8 is a calculator, and any one of the several boards provided is represented by 8(i). A queue length counting device 9 counts the number of processing requests (usually called a job queue or transaction queue) waiting to be processed for each computer 8(i).

10はスルーブツト計数装置であり、各時点における計
算機8(i)の単位時間当りの処理件数(すなわち、ス
ループット)を計数する。11は各51n機8(1)に
付属する送信装置、12は同じく受信装置である。13
は待ち時間記憶装置であり、各時点における各計算機8
(i)での待ち時間の予想値を記憶する。15は端末装
置であって、データ通信等の端末は勿論のこと、オフィ
ス・コンピュータ、小型分類処理システム、ワード・プ
ロセッサ、小型検索システム等もこの中に含まれる。1
6はバッファ・メモリであり、処理要求情報を受信装置
22から受けると、これを一時保管する。17は処理要
求内容解析・蓄積装置であり、各処理要求の実行に必要
なプログラム名やファイル名等の計算機割当ての判断に
必要な項目を解読する。18はディレクトリであり、各
プログラムや各ファイルを保有する計算機(この場合、
複数個ありうる)の識別記号を記憶する。19は割当て
可能計算機を検索する検索装置、20は最適計算機判定
装置であり、検索された計算機での待ち時間予想値、通
信遅れ時間、計算機処理コスト、および通信コストの加
重和が最小である計算機を判定する。21は宛て先編集
装置であり、処理要求に対し宛て先に指定された計算機
の識別記号を付加する。22は受信装置であり、処理要
求を通信回線網2、計算機8(iLあるいは端末15か
ら受信してバッファ16に転送する。23は送信装置で
あり、最適計算機の識別記号が付加された処理要求を通
信回線網2を介してその計算機に送信する。26は通信
コスト記憶装置であり、すべての計算機8、端末装置1
5および処理割当て装置lの間の通信コスト単価を記憶
・更新する。27は計算機処理コスト記憶装置であり、
すべての計算機につ(・ての処理コストに関するパラメ
ータ値(例えば、処理ステップ当りの料金や、外部記憶
装置への入出力発行当りの料金)を記憶・更新する。2
δは入力装置であり、面記憶装置26.27の記憶内容
を登録ないいじ正する。以上説明した中で、本発明によ
り新たに設置される装置は、コスト関係の記憶装置26
.27と入力装置28、遅れ時間関係の記憶装置6と送
信、受信装置壬、5、待ち時間関係の記憶装置13と送
信、受信装置11,12、および計算機指定関係のディ
レクトリ18と検索装置19と判定装置20である。
Reference numeral 10 denotes a throughput counter, which counts the number of processing cases per unit time (ie, throughput) of the computer 8(i) at each point in time. 11 is a transmitting device attached to each 51n machine 8(1), and 12 is a receiving device. 13
is a latency storage device, and each computer 8 at each point in time
(i) Store the expected value of the waiting time. Reference numeral 15 denotes a terminal device, which includes not only terminals for data communication, but also office computers, small-sized classification processing systems, word processors, small-sized search systems, and the like. 1
A buffer memory 6 temporarily stores processing request information when it is received from the receiving device 22. Reference numeral 17 denotes a processing request content analysis/storage device, which decodes items necessary for determining computer allocation, such as program names and file names necessary for executing each processing request. 18 is a directory, which is a computer that holds each program and each file (in this case,
There may be more than one identification symbol. Reference numeral 19 indicates a search device for searching for assignable computers, and 20 indicates an optimal computer determination device, which determines the computer for which the weighted sum of expected waiting time, communication delay time, computer processing cost, and communication cost in the searched computer is the minimum. Determine. Reference numeral 21 denotes a destination editing device, which adds an identification symbol of a computer designated as a destination to a processing request. 22 is a receiving device, which receives a processing request from the communication line network 2, computer 8 (iL or terminal 15), and transfers it to the buffer 16. 23 is a transmitting device, which receives a processing request to which an identification symbol of the optimum computer has been added. is transmitted to the computer via the communication line network 2. 26 is a communication cost storage device, and all computers 8 and terminal devices 1
5 and the processing allocation device 1 is stored and updated. 27 is a computer processing cost storage device;
Store and update parameter values related to processing costs (e.g., charges per processing step, charges per issue of input/output to external storage device) for all computers.2
δ is an input device for registering or correcting the stored contents of the surface storage devices 26 and 27. Among the above explanations, the newly installed device according to the present invention is the cost-related storage device 26.
.. 27, an input device 28, a storage device 6 related to delay time and transmission, a receiving device 5, a storage device 13 related to waiting time and transmission, receiving devices 11 and 12, and a directory 18 and search device 19 related to computer specification. This is a determination device 20.

これ以外の装置は、従来の分散処理システムにすでに設
置されている。特に、通信回線網遅れ時間管理部3は、
各処理要求に、その時点での通信遅れ時間が最小となる
経路を割当てるために、通信回線網2内の各要素間の通
信遅れ時間を記1.ハ・更新するものである。
Other devices are already installed in conventional distributed processing systems. In particular, the communication line network delay time management section 3
In order to allocate each processing request to a route that minimizes the communication delay time at that time, the communication delay time between each element in the communication line network 2 is recorded in 1. C. It is something to be updated.

なお、処理割当て装置f lは、分散処理システム内に
任意の数だけ配置することができるが、各端末装置15
や計算機8(i)から発行された処理要求を、いずれの
処理割当て装置1(J)に向けるかという問題がある。
Note that an arbitrary number of processing allocation devices f l can be arranged within the distributed processing system, but each terminal device 15
There is a problem as to which processing allocation device 1 (J) a processing request issued from computer 8 (i) should be directed to.

これは、割振りをあらかじめ決定しておくか、あるいは
処理要求が発行されるごとに、発行元のオペレータが指
示することにより解決できる。
This can be solved by determining the allocation in advance, or by giving an instruction from the issuing operator each time a processing request is issued.

また、オンライン・データ通信やデータ通信の自由化、
あるいはINSシステムの実用化に伴って、高速度通信
で、しかも通信回線コストが安価になることも考えられ
るが、その場合には、送信装置4,11と受信装置5,
12および通信装置23、受信装置22をそれぞれ遠隔
地に配置して処理割当て装置1を各地の分散処理システ
ムに共通に1個設けることもでき、複合分散処理システ
ムとして機能させることもできる。
In addition, liberalization of online data communication and data communication,
Alternatively, with the practical application of the INS system, it is possible that high-speed communication and lower communication line costs will be possible, but in that case, the transmitting devices 4 and 11 and the receiving device
12, the communication device 23, and the receiving device 22 can be located at remote locations, and one processing allocation device 1 can be provided in common in distributed processing systems in various places, and it can also be made to function as a composite distributed processing system.

第2図は、第1図のシステムの動作フローチャートであ
る。
FIG. 2 is an operational flowchart of the system of FIG. 1.

通信回線網の遅れ時間管理部3は、一定周期ごとにその
周期内で変更のあった部分の情報を送信装置4、受信装
置5を介して通信遅れ時間記憶装置6に転送する。記憶
装置6は、転送された情報を受け取り、記憶内答申の対
応する箇所を更新する。
The delay time management unit 3 of the communication line network transfers information about the portion that has been changed within each fixed period to the communication delay time storage device 6 via the transmitting device 4 and the receiving device 5. The storage device 6 receives the transferred information and updates the corresponding portion of the stored report.

各計算機8(i)に接続するスループット計数装置10
(i)は、一定周期ごとに任意の周ノリJt内で処理終
了となった処理侠求件数を、その周期艮で除算すること
により、その周期tでのスループット値Nitをめ、計
算機8(1)に報告する。待ち行列長計数装置9(i)
は、周期tの終了時において、計算機8(1)の受付は
都で待機している処理要求の数Witを計数し、計算機
8(1)に報告する。計算機8(i)は両計数装置g(
i) 、 l Ii)の報告をともに受け取ると、その
周期tにおける計3e”? 8 (iでの待ち時間予想
値Titを次式で計算する。
Throughput counting device 10 connected to each computer 8(i)
(i) calculates the throughput value Nit in the period t by dividing the number of processing requests completed within an arbitrary period Jt by the period t, and calculates the throughput value Nit in the period t, Report to 1). Queue length counter 9(i)
At the end of the period t, the receptionist of the computer 8(1) counts the number of processing requests waiting in the queue and reports it to the computer 8(1). Calculator 8(i) has both counting devices g(
When both reports of i) and lIi) are received, the total expected waiting time Tit at period t is calculated using the following formula.

Tit ”wit ’ Nit ””””’(1)次に
、計算468 (i)は、待ち時間予想値′r11を送
信値[11(1) 、受信装置12(i)を介して待ち
時間記憶装置13に転送する。
Tit "wit ' Nit """"' (1) Next, the calculation 468 (i) calculates the expected waiting time value 'r11 to the transmitted value [11 (1), and stores the waiting time via the receiving device 12 (i). Transfer to device 13.

一方、システム運用者は、入力装置28を介して、すべ
ての計算機8、端末装置15、および処理割当て装置l
の間の通信コスト単価、およびすべての計算機8につい
ての処理コストに関するパラメータ値を、それぞれ通信
コスト記憶装置26、および計算機処理コスト記憶装置
1ffi27に登録し、これら登録内容に変更が生じた
場合には、入力装置28から修正する。
On the other hand, the system operator can control all the computers 8, terminal devices 15, and processing allocation devices via the input device 28.
Parameter values related to the communication cost unit price and the processing cost for all computers 8 are registered in the communication cost storage device 26 and the computer processing cost storage device 1ffi 27, respectively, and when the registered contents are changed, , correction is made from the input device 28.

次に、第2図を参照しながら、各処理要求に対する動作
を説明する。なお、第2図のブロック中の最初の括弧内
の数字は、第1図の装置の記号を示しており、その装置
6の動作をポしている。
Next, operations for each processing request will be explained with reference to FIG. Note that the first number in parentheses in the block of FIG. 2 indicates the symbol of the device in FIG. 1, and indicates the operation of the device 6.

任意の端末装置15あるいは計算機6(i)から発行さ
れた処理要求は、前述のように、あらかじめ決められた
対応づけ、あるいはオペレータの指かにより特定の処理
割当て装置1に向う。処理割当て装置1ば、到着した処
理要求を先ずバッファ・メモリ16に一時保管する。処
理要求内容解析装置17は、バッファ・メモリ16中か
ら処理優先度が最も高い処理要求の内容を読出し、その
処理要求の実行に必要なプログラム名やファイル名、計
算機資源使用量(中央処理装置、走行ステップ数、外部
記憶装置への入出力回数等)の見積り、データ転送長の
見積り値、および処理結果を出力すべき端末装置15あ
るいは計算機8(1)の識別記号を解読して保管する(
ステップ31.32.33)。
As described above, a processing request issued from any terminal device 15 or computer 6(i) is directed to a specific processing assignment device 1 based on a predetermined association or an operator's finger. The processing allocation device 1 first temporarily stores the arrived processing request in the buffer memory 16. The processing request content analysis device 17 reads the content of the processing request with the highest processing priority from the buffer memory 16, and analyzes the program name, file name, computer resource usage (central processing unit, The number of running steps, the number of inputs and outputs to an external storage device, etc.), the estimated data transfer length, and the identification code of the terminal device 15 or computer 8(1) to which the processing results are to be output are deciphered and stored (
Step 31.32.33).

ここで、処理優先度は各処理要求にあらかじめ付与され
た処理の緊急度に関する情報、その処理要求のバッファ
・メモリ16でのfii) 買時間長等から決定される
ものである。次に、解析装置17は、その処理要求の実
行に必要なプログラム名とファイル名、および行き先の
識別記号を割当て可能計算機検索装置19に転送する(
ステップ33)。
Here, the processing priority is determined from information regarding the urgency of the processing given in advance to each processing request, the processing time length of the processing request in the buffer memory 16, etc. Next, the analysis device 17 transfers the program name and file name necessary for executing the processing request, and the identification symbol of the destination to the assignable computer search device 19 (
Step 33).

検索装置19は、ディレクトリ18の中から転送された
プログラム名およびファイル名をすべて備えた計n機8
(ト)の識別記号を検索する(・ステップ34)。ここ
で、上記条件を満足する計g機がない場合には、その旨
を電文とし、宛て先編集装置21がこの電文に対し、そ
の処理要求の発信元である端末装置15あるいは計算機
8(i)の識別記号を宛て先として付与し、送信値e2
3がら送信する(ステップ35.37)。次に、宛て先
編集装置21は、バッファ・メモリ16および解析装置
17からその処理要求に関する記憶内容を消去する(ス
テップ60)。また、もし上記条件を満足する計算機8
(1)が1個しかない場合には、検索装置19はその計
算機8(旬の識別記号を宛て先編集装置21に転送する
(ステップ35 、36 )。編集装置21ば、バッフ
ァ・メモリ16からその処理要求の記憶内容を取り出し
、これに対しその計算4−18(i)の識別記号を宛て
先として付与し、送(g装置23から送信する(ステッ
プ39 、59 )。
The retrieval device 19 searches the total number of devices 8 with all the program names and file names transferred from the directory 18.
Search for the identification symbol (g) (step 34). If there is no meter that satisfies the above conditions, a message to that effect is sent to the destination editing device 21, which sends the processing request to the terminal device 15 or the computer 8 (i.e. ) is given as the destination, and the transmission value e2
3 (steps 35 and 37). Next, the destination editing device 21 erases the storage contents related to the processing request from the buffer memory 16 and the analysis device 17 (step 60). Also, if the calculator 8 that satisfies the above conditions
If there is only one (1), the retrieval device 19 transfers the identification symbol of the computer 8 (in-season) to the destination editing device 21 (steps 35 and 36). The stored contents of the processing request are retrieved, the identification code of calculation 4-18(i) is assigned as the destination, and the data is sent from the sender (g device 23) (steps 39, 59).

続いて、バッファ・メモリ16および解析装置17から
その処理要求に関する記憶内容を消去する(ステップ6
0)。もし、上記条件を満たす計算磯8が複数個存在す
る場合には、以下の手順で通信遅れ時間、計算機での待
ち時間予想値、通信コスト、および計算機処理コストの
加重和を算出し、この値が最小である計算機8を決定す
る(ステップ35゜38.4O−57)。
Subsequently, the memory contents related to the processing request are erased from the buffer memory 16 and the analysis device 17 (step 6).
0). If there are multiple calculation blocks 8 that meet the above conditions, calculate the weighted sum of the communication delay time, expected waiting time at the computer, communication cost, and computer processing cost using the following procedure, and calculate this value. The computer 8 with the smallest value is determined (step 35°38.4O-57).

すなわち、処理割当て装置1は、先ず、最適計算機判定
装置2O中の値S1tをきわめて大きな1直に設定した
後に、条件を満たす計算機群のすべてについて逐次次の
動作を行う(ステップ38)。
That is, the processing allocation device 1 first sets the value S1t in the optimal computer determination device 2O to an extremely large value of 1, and then sequentially performs the following operations on all the computer groups that satisfy the condition (step 38).

割当て可能な計算機801つを取り出して8(1)とす
る(ステップ39)。検索装置19は、解析装置17の
内容を読み、待ち時間記憶装置13にその計算機8(i
)の識別記号を転送する(ステップ41)。
One assignable computer 80 is selected and designated as 8(1) (step 39). The search device 19 reads the contents of the analysis device 17 and stores the waiting time storage device 13 in the computer 8 (i.e.
) is transferred (step 41).

待ち時間記憶装置13は、その計g(fi8(i)の待
ち時間予想値を読み、これを最適計算機判別装置2Oに
転送する(ステップ45)。また、検索装置19は、計
算機処理コスト記憶装置27に対し、その計算機8(i
)の識別記号とその処理要求の計算機資源使用量(中央
処理装置、走行ステップ数、外部記憶装置への入出力回
数等)の見積り値を転送する(ステップ42)。記憶装
置27は、上記の情報と、記憶装置27中に記憶されて
いるその計A−[8(i)の処理コスト、ハラメータ値
(処理ステップ当りの料金、外部記憶装置への入出力発
行当りの料金等)とから、その処理要求をその計算機8
(i)で処理した場合の計算機処理コストの見積り値C
11を、例えば次式で計算し、その結果を@適計算機判
定装置20に転送する(ステップ46)。
The waiting time storage device 13 reads the expected waiting time value of the total g(fi8(i) and transfers it to the optimal computer determination device 2O (step 45).The search device 19 also stores the computer processing cost storage device 27, the calculator 8(i
) and the estimated amount of computer resource usage (central processing unit, number of running steps, number of inputs/outputs to external storage devices, etc.) of the processing request are transferred (step 42). The storage device 27 stores the above information, the total processing cost of A-[8(i) stored in the storage device 27, and the Harameter value (fee per processing step, per input/output issue to the external storage device). fees, etc.), and send the processing request to that calculator 8.
Estimated value C of computer processing cost when processing in (i)
11 is calculated using, for example, the following equation, and the result is transferred to the @appropriate computer determination device 20 (step 46).

Cp=R−C+H,’・C・ It t I t I ・・・・・・・・・(2)ここ
で、R1は処理要求10走行ステップ数の見積り値、R
1は処理要求tの外部記憶装置の入出力発行回数の見積
り値、Ciは計算機80)の処理ステップ当りの利金、
C1は計算機8(旬の外部記憶装置への入出力発行当り
の料金である。
Cp=R-C+H,'・C・It t I t I (2) Here, R1 is the estimated value of the number of processing request 10 running steps, R
1 is the estimated value of the number of input/output issues of the external storage device for the processing request t, Ci is the interest rate per processing step of the computer 80),
C1 is the charge per issue of input/output to the computer 8 (currently an external storage device).

また、検案装置19ば、通信遅れ時間記憶装置6にその
計算機と行き先の識別記号およびデータ転送長の見積り
値を転送する(ステップ43)。
Further, the verification device 19 transfers the computer and destination identification symbols and the estimated value of the data transfer length to the communication delay time storage device 6 (step 43).

記憶装置6は、その記憶内容を参照して、処理割当て装
置1からその計算機80)まで、およびその計算機8(
+)から行き先までの各通信遅れ時間に関するパラメー
タ値(例えば、単位データ転送長当りの遅れ時間)を読
み、次に、これらと検索装置19からの転送情報にもと
づいて、通信遅れ時間C1、を、例えば次式で算出し、
その結果を判定装置20に転送する(ステップ47.5
0)。
The storage device 6 refers to the stored contents and stores information from the processing allocation device 1 to the computer 80) and the computer 8 (
+) to the destination (for example, delay time per unit data transfer length), and then based on these and the transfer information from the search device 19, calculate the communication delay time C1. , for example, calculated using the following formula,
Transfer the result to the determination device 20 (step 47.5
0).

T、1== vx、i −11+’vi、、、・lj 
−=・(3)ここで、vl、i は装置1からその計算
機8(I)までの単位データ長当りの遅れ時間、V i
、 Dlはその計算機8(+)から行き先Diまでの単
位データ長当りの遅れ時間、ltは処理要求tの装置1
から計算機処理までのデータ転送長、ltは処理要求t
の計算機処理から行き先Dtまでのデータ転送長である
T, 1== vx, i −11+'vi, , ・lj
-=・(3) Here, vl,i is the delay time per unit data length from the device 1 to its computer 8(I), V i
, Dl is the delay time per unit data length from the computer 8(+) to the destination Di, and lt is the device 1 with processing request t.
The data transfer length from to computer processing, lt is the processing request t
This is the data transfer length from computer processing to destination Dt.

また、検索装置19ば、通信コスト記憶装置26にその
計算機と行き先の識別記号、およびデータ転送長の見積
り値を転送する(ステップ44)。
Further, the search device 19 transfers the identification code of the computer and destination, and the estimated value of the data transfer length to the communication cost storage device 26 (step 44).

通信コスト記憶装置2Gは、その記憶内容を参照して、
処理割当て装置1からその計算機δ(i)まで、および
その計>J−椋8 (iJから行ぎ先までの辿イ11コ
スト単価をi[、み、次にこれらと検索装置f’il 
9がらり転送情報にもとづいて、通もコストC1tを例
えば次式で算出し、その結果を計算機14」定装Uイ2
oに転送する(ステップ48.51)。 ・、(: C1t−に1.l−11+KI、Dt−11・・・・・
・(4)ここで、K+、iは装置1がらそのb1°3I
−似8(1)までの通信3スト単1′lIl八Ki、n
lはbI算機8(i)から行き先Dtまでの通信コスト
単価、ltとd’tは、前式(3)を参照されたい。
The communication cost storage device 2G refers to the stored contents, and
From the processing allocation device 1 to its computer δ(i), and its total
9. Based on the transfer information, the customer's cost C1t is calculated using the following formula, for example, and the result is sent to the computer 14.
o (step 48.51).・, (: C1t- to 1.l-11+KI, Dt-11...
・(4) Here, K+, i is the b1°3I from device 1
- Communication up to similar 8(1) 3-stroke single 1'lIl8 Ki, n
l is the communication cost unit price from the bI calculator 8(i) to the destination Dt, and for lt and d't, refer to the previous equation (3).

次に、最適計算様判定装b″j、’ 20は、6記′1
.Q、装置6.13,26.27からの転送′耐層にも
とづいて、その処理要求tをi11算桜8(1)に割筒
てた柘合の遅れおよびコストの加重和S11を、例えば
次式で劇算する(ステップ52)。
Next, the optimal calculation-like determination device b''j,' 20 is expressed as 6'1
.. Q. Based on the transfer 'tolerance' from devices 6.13 and 26.27, we can calculate the weighted sum S11 of the delay and cost of the processing request t divided into i11 calculation 8(1), for example. A calculation is performed using the following formula (step 52).

S11 =α、 °’f’7 (十α2C1t+αB 
’I’4(+ α4C71・・・・−・(5) ココで、α1〜α4(まシステム運用者があらかじめ任
意に設定した実数である。
S11 = α, °'f'7 (10α2C1t+αB
'I'4 (+α4C71...-(5) Here, α1 to α4 (these are real numbers arbitrarily set in advance by the system operator).

次に、判定装置2Oは記憶内容中のSitの値と新たな
Sitとを比較し、もしS1t<Sitならば、* S・ をS11で置き替え、かつ割算機8(i)の識別
1 記号を一記憶する(ステップ53.54)。また、Si
t>Sitであれば、判定装置2oは、検索装置19に
その計算機8(1)に関する動作が終了した旨を報告す
る(ステップ53.55)。次に、検索装置19は、割
当て可能な計算機がまだ存在すれば、次の計算機を8(
I)とし上記動作を反復する(ステップ56.41〜5
5)。割当て可能な計n機がもう存在しなければ、判定
装置2OからSrtに対応する計算機源l*)の識別記
号を読み出し、これを宛て先編集装置21に転送する(
ステップ57)。編集装置21は、バッファ16の中か
ら処理要求の記憶内容を取り出し、これに対して上記処
理要求を割当てるべき計算a8(i*)の識別記号を宛
て先として付加し、送信装置23から送信する(ステッ
プ58.59)。これで、その処理要求tに関する処理
割当て装置1での処理は終了したので、装置lはバッフ
ァ・メモリ16.解析装置17から処理−要求tに関す
る記憶内容を消去する(ステップ60)。
Next, the determination device 2O compares the value of Sit in the memory contents with the new Sit, and if S1t<Sit, replaces *S. with S11, and identifies 1 of the divider 8(i). The symbol is memorized (steps 53 and 54). Also, Si
If t>Sit, the determination device 2o reports to the search device 19 that the operation regarding the computer 8(1) has ended (steps 53 and 55). Next, if there are still computers that can be allocated, the search device 19 selects the next computer by 8 (
I) and repeat the above operation (steps 56.41 to 5).
5). If a total of n machines that can be assigned no longer exist, the identification symbol of the computer source l*) corresponding to Srt is read from the determination device 2O and transferred to the destination editing device 21 (
Step 57). The editing device 21 extracts the stored contents of the processing request from the buffer 16, adds thereto the identification symbol of calculation a8(i*) to which the processing request should be assigned as a destination, and transmits it from the transmitting device 23. (Steps 58.59). Now, the processing in the processing allocation device 1 regarding the processing request t has been completed, and the device l is transferred to the buffer memory 16. The memory contents related to the processing request t are erased from the analysis device 17 (step 60).

これにより、送信装置23から送出された処理要求tは
、これを処理すべき計算機6(1)の識別記号が付され
ているため、通信回線yJ2に備えられた情報転送様能
によって指定された計p:機に転送される。
As a result, the processing request t sent from the transmitting device 23 is attached with the identification symbol of the computer 6(1) that should process it, so that the processing request t sent out from the transmitting device 23 is specified by the information transfer function provided in the communication line yJ2. Total p: Transferred to the machine.

次に、本発明の変形例を2つ記載する。Next, two modified examples of the present invention will be described.

(i) 前述の実施例では、処理要求内容解析装置17
が各処理要求の内容ケ見て、実行に必要なファイル名や
プログラム名をJθイ析するという方式を前提としてい
る。しかし、この方式以外にもF NQQ方式がある。
(i) In the above embodiment, the processing request content analysis device 17
The system is based on a method in which the programmer looks at the contents of each processing request and analyzes the file name and program name necessary for execution. However, there is an FNQQ method other than this method.

すなわち、各処理要求の実行に伴って、必要なファイル
やプログラムがあればこれに対する独立した要求(これ
をタスク要求と呼ぶ)を発行する方式である。この場合
、各処理要求に必安なファイル名やプログラム名があら
かじめ判らないので、その処理要求をある計算機に割り
当てても、もし実行途中でタスク要求が発行され、この
実行に必要なファイルまたはプログラムがその計算機に
備っていなければ、別の計算機にそのタスク要求の実行
を移す必要がある。
That is, with the execution of each processing request, an independent request (this is called a task request) is issued for any necessary files or programs. In this case, the file name or program name required for each processing request is not known in advance, so even if the processing request is assigned to a certain computer, if a task request is issued during execution and the file or program name required for this execution is If the computer does not have one, the execution of the task request must be transferred to another computer.

これに対しては、前記の実施例を次のように変形して動
作させる。先ず、処理要求の計FJ 46への割当てを
、タスク要求の発行がないものと仮定して行う。次に、
処理要求中でタスク要求が発行され、これがその計算機
で実行できない場合には、その計算機はそのタスク要求
を処理割当て装置lのバッファ・メモリ16に送イ3す
る。処理要求内容解析装置17は、バッファ・メモリ1
6から処理要求あるいはタスク要求を取り出し、処理要
求の場合は実施例と同一の動作を行い、−力、タスク要
求の場合は内容解析装置17がタスク要求の実行に必要
なプログラム名やファイル名を解読する。次に、検索装
置19は、プログラムとファイルがともに実行中の計算
機に備っていればそのタスク要求をその計算機に割当て
る。もし、その計算機に備っていなげれば、実施例と同
一動作で割当てるべき計算機を判定し、これにタスク要
求を割当てて、送信する。・このタスク要求の処理終了
後は、処理を元の計算機に戻して、その後の処理要求の
実行を元の計算機で実行する。
For this purpose, the above embodiment is modified and operated as follows. First, processing requests are assigned to the total FJ 46 on the assumption that no task requests are issued. next,
If a task request is issued in the process request and cannot be executed by the computer, the computer sends the task request to the buffer memory 16 of the process allocator l. The processing request content analysis device 17 includes a buffer memory 1
In the case of a processing request, the same operation as in the embodiment is performed, and in the case of a task request, the content analysis device 17 extracts the program name and file name necessary for executing the task request. decipher. Next, the search device 19 assigns the task request to a running computer if both the program and the file are present in that computer. If the computer is not equipped, the computer to which it should be allocated is determined in the same manner as in the embodiment, the task request is allocated to it, and the task request is sent. - After the processing of this task request is completed, the processing is returned to the original computer, and subsequent processing requests are executed on the original computer.

(11) この方式は、上記変形例(1)と殆んど同一
であるが、最後のみが異なる。すなわち、変形例(1)
の最後に、要求タスクが割当てられたal“算機でタス
ク要求の処理が終了した後は、その計算4aで以降の処
理を続行する。元の計算機には処理を戻さない方式であ
る。
(11) This method is almost the same as the above modification (1), but differs only in the last part. That is, modification (1)
At the end, after the processing of the task request is completed on the al" computer to which the requested task is assigned, the subsequent processing is continued on that calculation 4a. This method does not return the processing to the original computer.

なお、本発明の方式においては、一部の計h: 俄に障
害が発生した場合、その計−i! 4’Mから待ち時間
記憶装置13にその旨を報告させ、記憶装置13中の対
応する割算機の待ち時間予想値にきわめて高い値を設定
することによって、割当て可能な他 □の計算機に、自
動的に処理要求あるいはタスク要求が割当てられる。
In addition, in the method of the present invention, if a failure suddenly occurs in some total h:, the total -i! 4'M reports this to the waiting time storage device 13, and by setting an extremely high value to the expected waiting time value of the corresponding divider in the storage device 13, the other computers that can be assigned, Processing or task requests are automatically assigned.

また、通信回線網の一部に障害が発生した場合には、通
信回線網の遅れ時間管理部3から通信遅れ時間記憶装置
6にその旨を報告させ、記憶装置6の該当箇所にきわめ
て大きな値を設定することによって、障害箇所を経由せ
ざるを得ない計算機への割当ては、自動的に回避される
In addition, when a failure occurs in a part of the communication line network, the delay time management unit 3 of the communication line network reports this to the communication delay time storage device 6, and an extremely large value is stored in the corresponding part of the storage device 6. By setting , assignments to computers that have to go through a faulty location are automatically avoided.

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

以上説明したように、本発明によれば、計算機あるいは
端末装置から発行された任意の処理要求あるいはタスク
要求に対し、この実行に必要なファイルとプログラムを
すべて備えた計算機が複数個存在する場合、これらのう
ち計算機での待ち時( 間、計算機での処理コスト、通信遅れ時間、および通信
コストを変数とする関数値が最小となるような計算機に
、その処理要求あるいはタスク要求が割当てられるので
、各処理要求の応答時間とコストが低減でき、かつ複数
の計算機間の負荷を均等化し稼動率を向上させることが
できる。また、計算機2よび通信回線網の一部に障害が
発生した場合、自動的にこれらの箇所が回避されるので
、分散処理システムの信頼性の点でも効果がある。
As explained above, according to the present invention, in response to any processing request or task request issued from a computer or terminal device, if there are multiple computers equipped with all the files and programs necessary for executing the request, Among these, the processing request or task request is assigned to the computer that minimizes the waiting time (time), processing cost on the computer, communication delay time, and function value with communication cost as variables. It is possible to reduce the response time and cost of each processing request, and to equalize the load among multiple computers and improve the operating rate.In addition, if a failure occurs in part of computer 2 or the communication line network, automatic Since these points can be avoided, it is also effective in improving the reliability of the distributed processing system.

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

第1図は本発明の一実施例を示す分散処理システムの構
成図、第2図は第1図の動作フロルチャートである。 1:処理割当て装置、2:通信回線網、3:通信回線網
遅れ時間管理部、4:送信装置、5:受信装置、6:通
信遅れ時間記憶装置、8:計算機、9:計算機8に付属
の待ち行列長計数装置、10:計算PA8に付属するス
ルーグツ)Nt数装置、11:計算)fAaに付属する
送信装置、12:受信装置、13:待ち時間記憶装置、
15:端末装置、16:バッファ、17:処理要求内容
解析装置11δ:ディレクトリ、19:割当て可能計算
機の検索装置、20:最適計算機判定装置、21:宛て
先編集装置、22:受信装置t、23:送信装置、26
:通信コスト記憶装置、27:計4機処理コスト記憶装
置、28:人力装置。 特許出願人 株式会社日立製作所 代理人弁理士磯村雅俊
FIG. 1 is a block diagram of a distributed processing system showing an embodiment of the present invention, and FIG. 2 is an operational flow chart of FIG. 1: Processing allocation device, 2: Communication line network, 3: Communication line network delay time management section, 4: Transmitting device, 5: Receiving device, 6: Communication delay time storage device, 8: Computer, 9: Attached to computer 8 10: Nt number device attached to calculation PA8, 11: Transmission device attached to calculation) fAa, 12: Receiving device, 13: Latency storage device,
15: Terminal device, 16: Buffer, 17: Processing request content analysis device 11δ: Directory, 19: Allocatable computer search device, 20: Optimal computer determination device, 21: Destination editing device, 22: Receiving device t, 23 : Transmitting device, 26
: Communication cost storage device, 27: Total 4 machine processing cost storage device, 28: Human power device. Patent applicant Masatoshi Isomura, patent attorney representing Hitachi, Ltd.

Claims (3)

【特許請求の範囲】[Claims] (1)複数の計算機あるいは端末装置と、該計算機ある
いは端末装置の任意のものからの処理要求、あるいは該
処理要求の実行中に必要なファイルやプログラムに対す
る要求を、いずれの計算機に割当てるかを決定する処理
割当て装置とを有し、該処理割当て装置は各計算機での
処理コストに関するパラメータ値および各地点間の通信
コストに関するパラメータ値の一方、あるいは両方を記
憶しておき、上記各要求に対して上記各パラメータ値の
一方または両方が最小となる計q[機に上記要求を割当
てることを特徴とする分散処理システム。
(1) Determine which computer to allocate processing requests from multiple computers or terminal devices, or requests for files and programs necessary during the execution of the processing requests. The processing allocation device stores one or both of parameter values related to processing cost in each computer and parameter values related to communication cost between each point, and performs processing in response to each of the above requests. A distributed processing system characterized in that the request is assigned to a total of q machines in which one or both of the parameter values are minimum.
(2)複数の計算機あるいは端末装置と、該計算機ある
いは端末装置の任意のものからの処理要求、あるいは該
処理要求の実行中に必要なファイルやプログラムに対す
る要求を、いずれの計算機に割当てるかを決定する処理
割当て装置とを有し、該処理割当て装置は、各計n機で
の処理コストに関するパラメータ値、各地点間の通信コ
ストに関するパラメータ値の一方あるいは両方、および
各計算機の処理待ち時間および各地点間の通信遅れ時間
に関する情報をそれぞれ定期的に記憶夾角し、上記各要
求に対して、各計算機での処理コスト、通信コスト、各
計算機での処理待ち時間、および通信遅れ時間を変数と
する関数値が最小となる計算機に、上記要求を割当てる
ことを特徴とする分散処理システム。
(2) Determine which computer to allocate processing requests from multiple computers or terminal devices, or requests for files and programs necessary during the execution of the processing requests. The processing allocation device has a processing allocation device that calculates one or both of the parameter values related to the processing cost at each total of n machines, the parameter values related to the communication cost between each point, the processing waiting time of each computer, and the parameter value related to the communication cost between each point. Information regarding communication delay time between points is periodically memorized, and for each of the above requests, the processing cost, communication cost, processing waiting time at each computer, and communication delay time at each computer are set as variables. A distributed processing system characterized in that the above request is assigned to a computer with a minimum function value.
(3)前記処理割当て装置は、最初、実行に必要なファ
イルやプログラムに対する要求がないものと仮定して、
処理要求を計算機に割当てた後、実行途中で上記要求が
発行された場合には、該当するファイルやプログラムを
備えた別の計算機に上記要求を割当て、該要求の処理終
了後、元の計昇櫨に処理要求を戻すか、あるいはそのま
まで処理を続行することと特徴とする特許請求の範囲第
1項または第2項記載の分散処理システム。 (剣前記処理割当て装置は、処理要求あるいはンアイル
やプログラムに対する要求に対して、計算機での処理待
ち時間、処理コスト、通信遅れ時間および通信コストの
加重和をそれぞれ計算し、その値が最小のものを、すで
に記憶されている値と比較して、該値より小さいときに
は、記憶値を新しい値に置き替えることを特徴とする特
許請求の範囲第1項、第2項または第3項記載の分散処
理システム。
(3) The processing allocation device initially assumes that there is no request for files or programs necessary for execution,
After assigning a processing request to a computer, if the above request is issued during execution, the above request will be assigned to another computer equipped with the relevant file or program, and after the processing of the request is completed, the original accrual will be returned. The distributed processing system according to claim 1 or 2, characterized in that the processing request is returned to Hajime, or the processing is continued as is. (The processing allocation device calculates the weighted sum of processing wait time, processing cost, communication delay time, and communication cost in the computer for each processing request or request for an file or program, and selects the one with the smallest value. is compared with an already stored value, and if the stored value is smaller than the stored value, the stored value is replaced with a new value. processing system.
JP24288083A 1983-12-22 1983-12-22 Distributed processing system Pending JPS60134370A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP24288083A JPS60134370A (en) 1983-12-22 1983-12-22 Distributed processing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP24288083A JPS60134370A (en) 1983-12-22 1983-12-22 Distributed processing system

Publications (1)

Publication Number Publication Date
JPS60134370A true JPS60134370A (en) 1985-07-17

Family

ID=17095601

Family Applications (1)

Application Number Title Priority Date Filing Date
JP24288083A Pending JPS60134370A (en) 1983-12-22 1983-12-22 Distributed processing system

Country Status (1)

Country Link
JP (1) JPS60134370A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6049895A (en) * 1996-12-09 2000-04-11 Nec Corporation Failure analyzer with distributed data processing network and method used therein

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6049895A (en) * 1996-12-09 2000-04-11 Nec Corporation Failure analyzer with distributed data processing network and method used therein

Similar Documents

Publication Publication Date Title
CN110727512B (en) Cluster resource scheduling method, device, equipment and storage medium
US4435752A (en) Allocation of rotating memory device storage locations
EP0380857B1 (en) Arbitrating communication requests in a multi-processor computer system
US5999963A (en) Move-to-rear list scheduling
JP4377369B2 (en) Resource allocation arbitration device and resource allocation arbitration method
US4123795A (en) Control system for a stored program multiprocessor computer
KR100509794B1 (en) Method of scheduling jobs using database management system for real-time processing
US5487168A (en) Method and system for global optimization of device allocation
EP3553657A1 (en) Method and device for allocating distributed system task
US5797005A (en) Shared queue structure for data integrity
US9354938B2 (en) Sequential cooperation between map and reduce phases to improve data locality
US20150036503A1 (en) Rate Control By Token Buckets
EP1564638B1 (en) A method of reassigning objects to processing units
KR20000036178A (en) Load sharing controller for optimizing monetary cost
US6473780B1 (en) Scheduling of direct memory access
JPH07281908A (en) Method and apparatus for control of work load for generationof target control data
US8286173B2 (en) Methods and apparatus for window-based fair priority scheduling
CN111210136A (en) Robot task scheduling method and server
CN109857535B (en) Spark JDBC-oriented task priority control implementation method and device
CN113448743A (en) Method, electronic device and computer program product for task processing
CN110187970A (en) A kind of distributed big data parallel calculating method based on Hadoop MapReduce
CN115827250A (en) Data storage method, device and equipment
CN115361349B (en) Resource using method and device
JPS60134370A (en) Distributed processing system
JPH0230534B2 (en)