JP2825850B2 - Automatic load distribution between processors - Google Patents

Automatic load distribution between processors

Info

Publication number
JP2825850B2
JP2825850B2 JP15283789A JP15283789A JP2825850B2 JP 2825850 B2 JP2825850 B2 JP 2825850B2 JP 15283789 A JP15283789 A JP 15283789A JP 15283789 A JP15283789 A JP 15283789A JP 2825850 B2 JP2825850 B2 JP 2825850B2
Authority
JP
Japan
Prior art keywords
processor
time
space
processors
short
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.)
Expired - Lifetime
Application number
JP15283789A
Other languages
Japanese (ja)
Other versions
JPH0318960A (en
Inventor
治夫 木村
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP15283789A priority Critical patent/JP2825850B2/en
Publication of JPH0318960A publication Critical patent/JPH0318960A/en
Application granted granted Critical
Publication of JP2825850B2 publication Critical patent/JP2825850B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Multi Processors (AREA)

Description

【発明の詳細な説明】 〔概要〕 複数のプロセッサが連係して処理を行うマルチプロセ
ッサシステムにおけるプロセッサ間の自動負荷配分方式
に関し, 柔結合マルチプロセッサシステムにおいてプロセッサ
の負荷を均等化し,システムのスループットと応答時間
の向上を図る最適負荷配分手段を提供することを目的と
し, 短時間用プロセッサ選択テーブルおよび長時間用プロ
セッサ選択テーブルと,各プロセッサの負荷の大きさを
予め定められた短時間間隔と長時間間隔とでそれぞれ周
期的に測定し,それぞれの間隔での測定結果にしたがっ
て,上記短時間用プロセッサ選択テーブルと長時間用プ
ロセッサ選択テーブルのプロセッサ配列を更新する手段
と,創成された空間の型が短時間型か長時間型かによ
り,対応する短時間用プロセッサ選択テーブルあるいは
長時間用プロセッサ選択テーブルを選択し,さらにその
テーブル内のプロセッサ順位にもとづき1つのプロセッ
サを選択して空間の配分を行う手段とをそなえ,創成さ
れた空間をプロセッサに最適配分する構成をもつ。
DETAILED DESCRIPTION OF THE INVENTION [Summary] The present invention relates to an automatic load distribution method among processors in a multiprocessor system in which a plurality of processors cooperate to perform processing. The object of the present invention is to provide an optimum load distribution means for improving response time. A short-time processor selection table and a long-time processor selection table, and a predetermined short time interval and a long time are used to determine the load size of each processor. Means for periodically measuring each time interval and updating the processor arrangement of the short-time processor selection table and the long-time processor selection table according to the measurement results at each interval; Depending on whether the processor is short-term or long-term, select the corresponding short-time processor. Means for selecting a processor selection table or a processor selection table for a long time, further selecting one processor based on the processor rank in the table, and allocating the space, and optimally allocating the created space to the processors. With.

〔産業上の利用分野〕[Industrial applications]

本発明は,複数のロセッサが連係して処理を行う柔結
合マルチプロセッサシステムにおけるプロセッサ間の自
動負荷配分方式に関する。
The present invention relates to an automatic load distribution method between processors in a flexible-coupling multiprocessor system in which a plurality of processors cooperate to perform processing.

〔従来の技術〕[Conventional technology]

複数のCPUを結合して性能を向上させる方法に,密結
合マルチプロセッサシステム(以後TCMPシステムと呼
ぶ)がある。しかし,TCMPシステムにおいては,メモリ
やキャシュをプロセッサ間で共用するため,その逐次化
により,オーバヘッドが生じるという問題があり,結合
できるプロセッサの数が制限される。そこでこの制限を
解決するものとして,メモリとCPUからなる複数のプロ
セッサを高速バスに接続し,プロセッサ間でメッセージ
通信を行うことによりプロセッサ同士を結合する柔結合
マルチプロセッサシステム(以後FCMPと呼ぶ)が出現し
た。
As a method of improving performance by combining a plurality of CPUs, there is a tightly coupled multiprocessor system (hereinafter referred to as a TCMP system). However, in the TCMP system, since the memory and the cache are shared between the processors, there is a problem that the serialization causes an overhead, and the number of processors that can be combined is limited. To overcome this limitation, a flexible-coupling multiprocessor system (hereinafter referred to as FCMP) that connects processors by connecting multiple processors consisting of memory and CPU to a high-speed bus and performing message communication between the processors has been proposed. Appeared.

FCMPシステムにおいては,TCMPシステムのようにメモ
リを共用しないのでプロセッサ間の逐次化などのオーバ
ヘッドはなく,ハードアークテクチャとしてはシステム
全体としての性能をほぼプロセッサの台数に比較して向
上させることが可能である。
Unlike the TCMP system, the FCMP system does not share memory, so there is no overhead such as serialization between processors, and as a hard architecture, the performance of the entire system can be improved compared to the number of processors. is there.

ただし,FCMPにおいてはメモリを共用していないた
め,ある処理単位(ここでは空間としておく)をあるプ
ロセッサに配置すると,そのプロセッサでしか処理が実
行されないという問題がある。したがって,各プロセッ
サへの空間の配置を最適化することがFCMPシステムの処
理性能を高めるうえで重要となる。しかし,従来このた
めの有効な手段は存在しなかった。
However, since the FCMP does not share a memory, if a certain processing unit (space in this case) is allocated to a certain processor, there is a problem that processing is executed only by that processor. Therefore, optimizing the layout of the space in each processor is important for improving the processing performance of the FCMP system. However, there has been no effective means for this in the past.

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

FCMPシステム内の各プロセッサに対する空間を最適配
置するには,プロセッサごとの起動空間数を監視して,
空間創成時に各プロセッサの起動空間数が均等化される
方向に,プロセッサを選択し,創成した空間を配置する
方式と,各プロセッサの負荷をチェックし,空間創成時
に最も負荷の低いプロセッサを選択してその空間を配置
する方式とが考えられる。
To optimally allocate space for each processor in the FCMP system, monitor the number of startup spaces for each processor and
When creating a space, select the processors in a direction in which the number of activation spaces of each processor is equalized, check the method of allocating the created space, and check the load on each processor, and select the processor with the lowest load when creating the space. It is conceivable that the space is arranged.

しかし前者の起動空間数を均等化する方式は,プロセ
ッサの処理能力が大きく1つのプロセッサで処理可能な
空間数が多いという条件なら,空間数を均等化すること
により確率的にプロセッサの負荷も均等化される可能性
が高いが,もともとFCMPシステムは1つ1つの処理能力
が低いプロセッサを多数結合することによりシステム全
体としての処理能力を高めようというアーキテクチャで
あるため,単純に起動空間数を均等化しただけではプロ
セッサの負荷は均等化されない危険性が高い。
However, in the former method of equalizing the number of startup spaces, if the processing capacity of the processor is large and the number of spaces that can be processed by one processor is large, the load on the processors is stochastically equalized by equalizing the number of spaces. Although it is highly likely that FCMP systems are originally designed to increase the processing capacity of the entire system by combining a large number of processors with low processing capacity, the number of boot spaces can be simply equalized. There is a high risk that the load on the processor will not be equalized just by making the processor load.

したがって,プロセッサ間の負荷を考慮したスケジュ
ーリングが必要となる。空間起動要求がある程度ランダ
ムに発生する場合には,単純に空間起動時のプロセッサ
の負荷をもとに選択する方式をとれば負荷は均等化され
る可能正が高いが,実際には空間起動要求は集中して発
生することが多い。例えば,システム起動時のサブシス
テム空間の起動や昼休み直後のユーザの会話型空間の起
動などである。
Therefore, scheduling considering the load between processors is required. If space activation requests are generated to some extent at random, it is highly likely that the load will be equalized if a method is selected simply based on the processor load at the time of space activation. Often occur in a concentrated manner. For example, activation of a subsystem space at the time of system activation or activation of a conversational space of a user immediately after lunch break.

結局,プロセッサ間の負荷を分散させるには,プロセ
ッサ間の負荷をもとにしたスケジューリングが必要であ
るが,単純に空間創成時のプロセッサの負荷でロセッサ
を選択するという方式ではうまく分散できないというこ
とである。
After all, in order to distribute the load between processors, scheduling based on the load between processors is necessary, but it is not possible to distribute well by simply selecting the processor based on the processor load at the time of space creation. It is.

本発明は,柔結合マルチプロセッサシステムにおいて
プロセッサの負荷を均等化し,システムのスループット
と応答時間の向上を図る最適負荷配分手段を提供するこ
とを目的としている。
SUMMARY OF THE INVENTION It is an object of the present invention to provide an optimal load distribution means for equalizing the processor load in a flexible coupling multiprocessor system and improving the system throughput and response time.

〔課題を解決するための手段〕[Means for solving the problem]

本発明は,各プロセッサにおける空間数と負荷率との
両方を考慮し,かつ空間の寿命という要素を取り入れ
て,空間創成時にプロセッサの最適選択を行うことによ
り,上記課題の解決を図るものである。
The present invention solves the above-described problems by taking into account both the number of spaces and the load factor in each processor, and by taking into account the element of the life of the space, by optimally selecting the processor when creating the space. .

本発明方式の前提として,空間を下記の2つの型に分
類する。
As a premise of the method of the present invention, the space is classified into the following two types.

−短時間型 空間が創成されてから消滅するまでの時間が短い空間
である。
-Short-time space A space in which the time from when a space is created to when it disappears is short.

本機構は通常のユーザ空間を短時間型とみなす。 This mechanism regards the normal user space as a short-time type.

−長時間型 空間が創成されてから消滅するまでの時間が長い空間
である。
-Long-time space A space that takes a long time from the creation of a space to its disappearance.

本機構はシステム/サブシステム空間やサーバ型のユ
ーザ空間を長時間型とみなす。
This mechanism regards the system / subsystem space and server-type user space as long-time type.

本発明は,プロセッサの負荷が起動された空間の寿命
によって変動し,短時間型空間の場合は配分しても短時
間で消滅するため,比較的短時間間隔で各プロセッサの
負荷状態を調べ,その時点で軽負荷のプロセッサから新
たな負荷(空間)を配分してゆけば,負荷の平均化が図
られること,他方,長時間型空間の場合は起動後空間が
消滅するまでの期間が長いため,各プロセッサの短期的
な負荷変動の中で軽負荷のプロセッサに配分する方法を
とると負荷のアンバランスが生じやすく,そのための長
時間型空間を配分するプロセッサの順位は比較的長時間
変更しないでおくことが望ましいことに着目し,プロセ
ッサに対する新たな空間の配分を,短時間型空間と長時
間型空間とに分けて,それぞれの空間特性に合わせて別
々に行うようにしたものである。
According to the present invention, the load state of each processor is examined at a relatively short time interval because the load of the processor fluctuates according to the life of the activated space, and in the case of a short-time type space, it disappears in a short time even if it is allocated. At this point, if a new load (space) is distributed from a lightly loaded processor, the load can be averaged. On the other hand, in the case of a long-time type space, the period until the space disappears after startup is long. Therefore, when the method of allocating to the lightly loaded processor is adopted in the short-term load fluctuation of each processor, the load tends to be unbalanced, and the order of the processors allocating the long-term space is changed for a relatively long time. Focusing on the fact that it is desirable not to do so, the allocation of a new space to the processor is divided into a short-time space and a long-time space, and is separately performed according to each spatial characteristic. Than it is.

そしてそのため,各型の空間を配分するプロセッサの
選択順位を負荷量に応じて定めるとともに,その結果の
順位を短時間用と長時間用のプロセッサ選択テーブルに
それぞれ選定し,これらの各テーブルの更新は,短時間
と長時間の所定の間隔で各プロセッサの負荷状態を調べ
て,その大小関係により行う。
Therefore, the selection order of the processors which allocate the space of each type is determined according to the load amount, and the order of the results is selected for the short-time and long-time processor selection tables, respectively, and these tables are updated. Is performed by checking the load state of each processor at predetermined intervals of a short time and a long time, and based on the magnitude relation.

第1図は,本発明の原理説明図である。 FIG. 1 is a diagram illustrating the principle of the present invention.

第1図において, 1,2は、柔結合マルチプロセッサシステムを構成する
プロセッサPM1,PM2である。この場合,PM1がシステム管
理機能,すなわち負荷配分機能をそなえているものとす
る。なおここでは説明の簡単化のためプロセッサ数を2
個としたが,3個以上の任意個数に適用することができ
る。
In FIG. 1, reference numerals 1 and 2 denote processors PM1 and PM2 constituting a flexible coupling multiprocessor system. In this case, it is assumed that PM1 has a system management function, that is, a load distribution function. Here, the number of processors is set to 2 for simplicity of explanation.
Although the number is set to three, any number of three or more can be applied.

3はPM1,PM2を結合する高速バスである。 A high-speed bus 3 connects PM1 and PM2.

11,17は,それぞれPM1,PM2のCPUである。 11, 17 are CPUs of PM1 and PM2, respectively.

12,18は,それぞれPM1,PM2のメモリである。 12 and 18 are memories of PM1 and PM2, respectively.

13は短時間用プロセッサ選択テーブルであり,短時間
型空間を配分するプロセッサの順位を負荷の軽い方から
の順位で示す。
Reference numeral 13 denotes a short-time processor selection table, which indicates the order of the processors allocating the short-time space by the order of the lightest load.

14は長時間用プロセッサ選択テーブルであり,長時間
型空間を配分するプロセッサの順位を負荷の軽い方から
の順位で示す。
Reference numeral 14 denotes a long-time processor selection table, which indicates the order of the processors that allocate the long-term space by the order of the lightest load.

15は,創成された空間の型が短時間型か長時間型かを
判定し,その結果にしたがってプロセッサ選択テーブル
を参照し,空間を配分するプロセッサを選択する負荷配
分制御プログラムである。
Reference numeral 15 denotes a load distribution control program for determining whether the type of the created space is a short-time type or a long-time type, referring to a processor selection table according to the result, and selecting a processor to allocate the space.

16は,プロセッサ負荷測定プログラムであり,各PM1,
PM2の負荷を短時間間隔と長時間間隔とで測定し,その
結果のPM1,PM2の負荷の大きさにしたがって,短時間用
と長時間用の各プロセッサ選択テーブル13,14のプロセ
ッサ配列順序を更新する。
16 is a processor load measurement program, and each PM1,
The load of PM2 is measured at short time intervals and long time intervals, and the processor arrangement order of the short-time and long-time processor selection tables 13 and 14 is determined according to the magnitude of the resulting PM1 and PM2 loads. Update.

〔作用〕[Action]

第1図において,短時間用プロセッサ選択テーブル13
は短時間間隔で測定した各プロセッサの負荷状態を反映
しており,負荷配分制御プログラム15は,随時創成され
る各短時間型空間を,次にこのテーブルが更新されるま
では現テーブル上に負荷の大きさにしたがって配列され
ているプロセッサの順位で,負荷の小さいプロセッサか
ら順次選択して割り付ける。
In FIG. 1, a short-time processor selection table 13 is shown.
Reflects the load status of each processor measured at short time intervals, and the load distribution control program 15 stores each short-time space created at any time on the current table until the next time this table is updated. In accordance with the order of the processors arranged according to the magnitude of the load, the processors are sequentially selected and assigned from the processor with the smallest load.

一方,長時間用プロセッサ選択テーブル14は,各プロ
セッサの負荷状態を長時間間隔で反映しており,負荷配
分制御プログラム15は,随時創成される各長時間型空間
を,次にこのテーブルが更新されるまでは現テーブル上
のプロセッサ順位にしたがって,負荷の小さい方から選
択して順次割り付ける。
On the other hand, the long-time processor selection table 14 reflects the load status of each processor at long time intervals, and the load distribution control program 15 updates each long-time space created at any time, and then updates this table. Until this is done, the data is selected and assigned sequentially from the one with the smallest load according to the processor rank on the current table.

プロセッサ負荷測定プログラム16は,短時間周期と長
時間周期のタイマにより時間を監視し,これらの各周期
の時間が到来するごとに各プロセッサの負荷量を測定
し,負荷量の大きさにしたがってプロセッサの配列を作
成し,対応するテーブル13あるいは14を更新する。
The processor load measurement program 16 monitors the time with a short-cycle timer and a long-cycle timer, measures the load of each processor as the time of each of these cycles arrives, and processes the processor according to the magnitude of the load. Is created, and the corresponding table 13 or 14 is updated.

このような処理が行われることにより,短時間型空間
は,各プロセッサの短期の負荷変動に比較的良好に追従
して,その時点で軽負荷であったプロセッサに多く配分
されるようになり,一方長時間型空間は,短時間の負荷
変動にあまり影響されず,比較的長期の負荷の不均衡抑
制する方向でプロセッサへの配分が行われる。
By performing such processing, the short-time space follows the short-term load fluctuation of each processor relatively well, and is distributed more to the processor with the lighter load at that time. On the other hand, in the long-time space, the distribution to the processors is performed in a direction in which the load imbalance in a short time is not significantly affected and the imbalance of the load in a relatively long time is suppressed.

〔実施例〕〔Example〕

第2図ないし第4図により,本発明の1実施例を説明
する。なお以下の説明において,プロセッサはPMで表わ
される。
An embodiment of the present invention will be described with reference to FIGS. In the following description, a processor is represented by PM.

第2図は短時間用と長時間用のPM選択テーブルの実施
例構成を示す。図において,21は短時間用PM選択テーブ
ル,22は短時間用PM選択ポインタ,23は長時間用PM選択テ
ーブル,24は長時間用PM選択ポインタである。またPMaな
いしPMeは,FCMPシステムを構成する5台のプロセッサで
ある。
FIG. 2 shows an embodiment of a short-term and long-term PM selection table. In the figure, 21 is a short-term PM selection table, 22 is a short-term PM selection pointer, 23 is a long-term PM selection table, and 24 is a long-term PM selection pointer. PMa to PMe are five processors that constitute the FCMP system.

各PM選択テーブル21,23におけるPMの配列は,負荷の
大きさによるPMの順位を示し,たとえば短時間用PM選択
テーブル21の場合,上からPMa,PMb,PMc,PMd,PMeの順に
負荷が大きくなる。したがって短時間型空間が創成され
た場合,PMaから順に下方へPMが選択される。
The sequence of PM in each PM selection table 21 and 23, indicate the PM ranking by the magnitude of the load, for example in the case of short for PM selection table 21, PM from above a, PM b, PM c, PM d, PM The load increases in the order of e . Therefore, when a short time space is created, PMs are selected downward from PM a in order.

PM選択ポインタ22,24は,それぞれPM選択テーブル21,
23上で次に選択されるべきPMの位置を指している。した
がって図示されている短時間用PM選択ポインタ22の場
合,現在テーブル21中でPMcの位置を指していることか
ら,先行するPMa,PMbには既に空間が配分されており,
次に空間を配分するときはPMcが選択されることを示し
ている。
The PM selection pointers 22, 24 are respectively assigned to the PM selection table 21,
23 points to the position of the PM to be selected next. Therefore, in the case of the short-time PM selection pointer 22 shown in the figure, since the position of PM c is currently pointed in the table 21, space has already been allocated to the preceding PM a and PM b .
Next, it is shown that PM c is selected when the space is allocated.

なお長時間用PM選択テーブル23内のPM配列が,短時間
用PM選択テーブル21内のPM配列と異っているが,これは
各プロセッサの負荷測定時点,したがってテーブル更新
時点が,両テーブルで異っているためであり,動作は短
時間用PM選択テーブル21と同様に行われる。
Note that the PM array in the long-term PM selection table 23 is different from the PM array in the short-time PM selection table 21. This is because the load measurement time of each processor, and therefore the table update time, is the same in both tables. The operation is performed in the same manner as in the short-time PM selection table 21.

第3図は第2図のPM選択テーブルを用いた負荷配分制
御プログラムの実施例フローである。
FIG. 3 is a flow chart of an embodiment of a load distribution control program using the PM selection table of FIG.

簡単に第3図のフローの手順を説明すると,まず創成
された空間が短時間型か長時間型かを判定し,それぞれ
の型に応じて短時間用PM選択ポインタ22あるいは長時間
用PM選択ポインタ24の値を求める。
The procedure of the flow in FIG. 3 will be briefly described. First, it is determined whether the created space is a short-time type or a long-time type, and a short-time PM selection pointer 22 or a long-time PM selection is performed according to each type. Find the value of pointer 24.

次に,求めたPM選択ポインタの値にしたがって,対応
する短時間用あるいは長時間用のPM選択テーブル(21,2
3の一方)を参照し,該当するPMを選択する。
Next, according to the obtained PM selection pointer value, the corresponding short-term or long-term PM selection table (21, 2
3) and select the appropriate PM.

この後,使用したPM選択テーブルに次のエントリが存
在していれば,PM選択ポインタの値をそのエントリ位置
に設定し,他方次のエントリが存在していなければ,テ
ーブルの先頭エントリ位置にPM選択ポインタの値を設定
して,続くPM選択要求に対応する。
After that, if the next entry exists in the used PM selection table, the value of the PM selection pointer is set to the entry position. If the next entry does not exist, the PM entry pointer is set to the first entry position of the table. The value of the selection pointer is set to respond to the subsequent PM selection request.

第4図は第2図のPM選択テーブルを対象としてテーブ
ル更新を行うプロセッサ負荷測定プログラムの実施例フ
ローである。
FIG. 4 is a flow chart of an embodiment of a processor load measurement program for updating the PM selection table of FIG. 2 for the table.

簡単に第4図のフローの手順を説明すると,まずタイ
マによる時間監視により,短時間間隔切れであれば短時
間用のPM選択ポインタ22およびPM選択テーブル21を求
め,また長時間間隔切れであれば長時間用のPM選択ポイ
ンタ24およびPM選択テーブル23を求める。
The procedure of the flow shown in FIG. 4 will be briefly described. First, by monitoring the time by a timer, if the short time interval has expired, the PM selection pointer 22 and the PM selection table 21 for the short time are obtained. For example, a PM selection pointer 24 and a PM selection table 23 for a long time are obtained.

次に各PM(PMaないしPMe)の負荷を求め,負荷の低い
順に対応するPM選択テーブルの各PMをソートし,テーブ
ルを更新する。その後,対応するPM選択ポインタの値を
テーブルの先頭エントリ位置に選定し,終了する。
Then obtains the load of each PM (PM a through PM e), and sorts the PM of PM selection table corresponding to the ascending order of load, and updates the table. After that, the value of the corresponding PM selection pointer is selected as the position of the first entry of the table, and the processing ends.

〔発明の効果〕 本発明によれば,システム内の各プロセッサには,空
間の型に応じて最適の負荷配分が行われるため,従来シ
ステムのように空間の型を無視して一律に配分する方式
にくらべて,著しく処理性能を向上させることができ
る。
[Effects of the Invention] According to the present invention, the optimal load distribution is performed to each processor in the system according to the type of space, so that the processor is uniformly distributed ignoring the type of space as in the conventional system. The processing performance can be remarkably improved as compared with the method.

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

第1図は本発明の原理説明図,第2図は本発明実施例に
よるPM選択テーブルの構成図,第3図は負荷配分制御プ
ログラムの実施例フロー図,第4図はプロセッサ負荷測
定プログラムの実施例フロー図である。 第1図中 1:プロセッサPM1 2:プロセッサPM2 3:高速バス 11,17:CPU 12,18:メモリ 13:短時間用プロセッサ選択テーブル 14:長時間用プロセッサ選択テーブル 15:負荷配分制御プログラム 16:プロセッサ負荷測定プログラム
FIG. 1 is a diagram for explaining the principle of the present invention, FIG. 2 is a block diagram of a PM selection table according to an embodiment of the present invention, FIG. 3 is a flowchart of an embodiment of a load distribution control program, and FIG. It is an example flow figure. 1, processor PM1 2: processor PM2 3: high-speed bus 11,17: CPU 12, 18: memory 13: short-time processor selection table 14: long-time processor selection table 15: load distribution control program 16: Processor load measurement program

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】メモリとCPUからなるプロセッサを複数組
高速バスで結合したプロセッサ間でメッセージ通信を行
わせるとともに,複数のプロセッサに仕事を空間単位で
配分し,1つのシステムとして動作させる柔結合マルチプ
ロセッサシステムにおいて, 予め空間をその寿命の長さにより短時間型と長時間型と
に分類して,プロセッサに配分する創成された空間がこ
れらの空間の型のいずれであるかを判定する手段と, 上記,短時間型の空間と長時間型の空間のためにプロセ
ッサの選択順位を定めるためプロセッサをその負荷の大
きさにしたがって配列した短時間用プロセッサ選択テー
ブルおよび長時間用プロセッサ選択テーブルと, 各プロセッサの負荷の大きさを予め定められた短時間間
隔と長時間間隔とでそれぞれ周期的に測定し,それぞれ
の間隔での測定結果にしたがって,上記短時間用プロセ
ッサ選択テーブルと長時間用プロセッサ選択テーブルの
プロセッサ配列を更新する手段と, 上記創成された空間について,判定された空間の型が短
時間型か長時間型かにより,対応する短時間用プロセッ
サ選択テーブルあるいは長時間用プロセッサ選択テーブ
ルを選択し,さらにそのテーブル内のプロセッサ順位に
もとづき1つのプロセッサを選択して空間の配分を行う
手段とをそなえ, 創成された空間をプロセッサに最適配分することを特徴
とするプロセッサ間の自動負荷配分方式。
1. A flexible coupling multi-processor for performing message communication between processors in which a plurality of processors each including a memory and a CPU are connected by a high-speed bus, and allocating work to the plurality of processors in units of space and operating as one system. Means for preliminarily classifying a space into a short-time type and a long-time type according to the length of its life in a processor system, and determining which type of the created space to be allocated to the processor is; A short-term processor selection table and a long-time processor selection table in which processors are arranged according to the magnitude of their loads to determine the selection order of the processors for the short-time space and the long-time space; The magnitude of the load on each processor is periodically measured at predetermined short time intervals and long time intervals, respectively. Means for updating the processor arrangement of the short-time processor selection table and the long-time processor selection table in accordance with the measurement results at intervals of, and whether the type of the space determined for the created space is the short-time type A means for selecting a corresponding short-time processor selection table or a long-time processor selection table depending on whether it is a long-time type, and further selecting one processor based on the processor rank in the table and allocating space. Automatic load distribution between processors, characterized by optimally allocating the created space to processors.
JP15283789A 1989-06-15 1989-06-15 Automatic load distribution between processors Expired - Lifetime JP2825850B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP15283789A JP2825850B2 (en) 1989-06-15 1989-06-15 Automatic load distribution between processors

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP15283789A JP2825850B2 (en) 1989-06-15 1989-06-15 Automatic load distribution between processors

Publications (2)

Publication Number Publication Date
JPH0318960A JPH0318960A (en) 1991-01-28
JP2825850B2 true JP2825850B2 (en) 1998-11-18

Family

ID=15549217

Family Applications (1)

Application Number Title Priority Date Filing Date
JP15283789A Expired - Lifetime JP2825850B2 (en) 1989-06-15 1989-06-15 Automatic load distribution between processors

Country Status (1)

Country Link
JP (1) JP2825850B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9104495B2 (en) 2012-12-11 2015-08-11 International Business Machines Corporation Shared resource segmentation

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9104495B2 (en) 2012-12-11 2015-08-11 International Business Machines Corporation Shared resource segmentation
US9582336B2 (en) 2012-12-11 2017-02-28 International Business Machines Corporation Shared resource segmentation

Also Published As

Publication number Publication date
JPH0318960A (en) 1991-01-28

Similar Documents

Publication Publication Date Title
JP2940450B2 (en) Job scheduling method and apparatus for cluster type computer
US6249800B1 (en) Apparatus and accompanying method for assigning session requests in a multi-server sysplex environment
US7062768B2 (en) Dynamic load-distributed computer system using estimated expansion ratios and load-distributing method therefor
USRE44686E1 (en) Dynamically modifying the resources of a virtual server
US5881238A (en) System for assignment of work requests by identifying servers in a multisystem complex having a minimum predefined capacity utilization at lowest importance level
US8949847B2 (en) Apparatus and method for managing resources in cluster computing environment
US7748005B2 (en) System and method for allocating a plurality of resources between a plurality of computing domains
US8195859B2 (en) Techniques for managing processor resource for a multi-processor server executing multiple operating systems
US7140020B2 (en) Dynamic management of virtual partition computer workloads through service level optimization
CN110149395A (en) One kind is based on dynamic load balancing method in the case of mass small documents high concurrent
US5903757A (en) Monitoring and handling of exception conditions in computer system
JP3172423B2 (en) Apparatus and method for managing processor resources
JP5664098B2 (en) Composite event distribution apparatus, composite event distribution method, and composite event distribution program
TW200404253A (en) Thread dispatch mechanism and method for multiprocessor computer systems
US20110231860A1 (en) Load distribution system
US9864641B2 (en) Method for managing workloads in a multiprocessing computer system
JP2008191949A (en) Multi-core system, and method for distributing load of the same
JP2001331333A (en) Computer system and method for controlling computer system
KR20130088513A (en) Task distribution method on multicore system and apparatus thereof
Krueger et al. An adaptive load balancing algorithm for a multicomputer
US20240020155A1 (en) Optimal dispatching of function-as-a-service in heterogeneous accelerator environments
JP2825850B2 (en) Automatic load distribution between processors
US5537595A (en) Device management system in a computer system
US9298576B2 (en) Collecting processor usage statistics
JP2013127685A (en) Information processing system and operation management method