JPH10207850A - Dispatching system and method for multiprocessor system, and recording medium recorded with dispatching program - Google Patents

Dispatching system and method for multiprocessor system, and recording medium recorded with dispatching program

Info

Publication number
JPH10207850A
JPH10207850A JP9010655A JP1065597A JPH10207850A JP H10207850 A JPH10207850 A JP H10207850A JP 9010655 A JP9010655 A JP 9010655A JP 1065597 A JP1065597 A JP 1065597A JP H10207850 A JPH10207850 A JP H10207850A
Authority
JP
Japan
Prior art keywords
processor
processor group
memory
cache
cache memory
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.)
Granted
Application number
JP9010655A
Other languages
Japanese (ja)
Other versions
JP3266029B2 (en
Inventor
Masazumi Kawanabe
正純 川名部
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Corp
Original Assignee
NEC 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 NEC Corp filed Critical NEC Corp
Priority to JP01065597A priority Critical patent/JP3266029B2/en
Publication of JPH10207850A publication Critical patent/JPH10207850A/en
Application granted granted Critical
Publication of JP3266029B2 publication Critical patent/JP3266029B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To improve the throughput of a job and memory sharing type multiprocessor system. SOLUTION: An overload processor group selecting means 7 monitors the hit rates of cache memories of all processor groups at constant intervals of time according to the ratio of the memory access frequency and cache hit rate of a cache hit rate storage area 11, and a job moving means 8 moves a job performed by a processor group having decreased in hit rate to a processor group with a high hit rate to improve the throughput of the job and memory sharing type multiprocessor system.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、メモリ共有型マル
チプロセッサシステムを構成する複数のプロセッサをグ
ルーピングした複数のプロセッサグループのいずれにジ
ョブを割り当てるかを制御するメモリ共有型マルチプロ
セッサシステムにおけるディスパッチング方式、ディス
パッチング方法およびディスパッチングプログラムを記
録した記録媒体に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a dispatching method in a shared memory type multiprocessor system which controls which of a plurality of processor groups in which a plurality of processors constituting a shared memory type multiprocessor system are grouped is assigned a job. , A dispatching method and a recording medium recording a dispatching program.

【0002】[0002]

【従来の技術】特開平2−148188号公報には、複
数のプロセッサで構成される複数のプロセッサグループ
のそれぞれに対してメモリを分散して配置し、任意のプ
ロセッサグループがメモリアクセス要求を受信した場合
に、該メモリアクセス要求対象のメモリに直接アクセス
可能なプロセッサグループにメモリアクセスを依頼する
ことにより、メモリアクセスを効率良く実行する技術が
開示されている。
2. Description of the Related Art Japanese Unexamined Patent Publication No. 2-148188 discloses that a plurality of processor groups each composed of a plurality of processors are provided with a distributed memory, and an arbitrary processor group receives a memory access request. In this case, there is disclosed a technique for efficiently performing memory access by requesting a memory group from a processor group that can directly access the memory of the memory access request target.

【0003】この従来の技術において各プロセッサグル
ープに分散配置したメモリをキャッシュメモリとするこ
とにより、さらにシステム全体のスループットを向上さ
せることができる。すなわち、1つのジョブを構成し、
特定の領域(以下、ジョブ専用領域とする)をアクセス
する複数のタスクを、同一プロセッサグループで実行さ
せることにより、該プロセッサグループのキャッシュの
ヒット率を高め、システム全体のスループットを向上さ
せることができる。
[0003] In this conventional technique, by using a memory distributed in each processor group as a cache memory, the throughput of the entire system can be further improved. That is, one job is composed,
By executing a plurality of tasks that access a specific area (hereinafter, referred to as a job-dedicated area) in the same processor group, the cache hit rate of the processor group can be increased, and the throughput of the entire system can be improved. .

【0004】[0004]

【発明が解決しようとする課題】上述した従来の技術に
おいては、ジョブ専用領域を使用する多数のジョブが特
定のプロセッサグループに集中して割り当てられた場
合、該プロセッサグループにおいてキャッシュメモリの
更新が頻繁に発生し、キャッシュのヒット率が低下して
しまうため、システム全体のスループットが低下してし
まうという問題がある。
In the above-mentioned prior art, when a large number of jobs using a job-dedicated area are intensively allocated to a particular processor group, the cache memory is frequently updated in the particular processor group. In this case, the cache hit rate is reduced, and the throughput of the entire system is reduced.

【0005】本発明の目的は、メモリ共有型マルチプロ
セッサシステムのスループットを向上させることにあ
る。
An object of the present invention is to improve the throughput of a shared memory multiprocessor system.

【0006】本発明の他の目的は、メモリ共有型マルチ
プロセッサシステムの各プロセッサグループにおいてジ
ョブを効率良く実行することにある。
It is another object of the present invention to efficiently execute a job in each processor group of a memory sharing type multiprocessor system.

【0007】本発明の他の目的は、メモリ共有型マルチ
プロセッサシステムの各プロセッサグループのキャッシ
ュメモリのヒット率を監視し、ヒット率が低下したプロ
セッサグループで実行されていたジョブをヒット率が高
いプロセッサグループへ移動することにより、ジョブお
よびメモリ共有型マルチプロセッサシステムのスループ
ットを向上させることにある。
Another object of the present invention is to monitor a cache memory hit ratio of each processor group of a memory sharing type multiprocessor system, and replace a job executed in a processor group having a reduced hit ratio with a processor having a high hit ratio. An object of the present invention is to improve the throughput of a job and memory sharing type multiprocessor system by moving to a group.

【0008】[0008]

【課題を解決するための手段】本発明の第1のマルチプ
ロセッサシステムにおけるディスパッチング方式は、そ
れぞれが複数のプロセッサとキャッシュメモリとを含む
複数のプロセッサグループから構成されるマルチプロセ
ッサシステムにおいて、前記プロセッサグループ内のい
ずれかのプロセッサが、自プロセッサが属するプロセッ
サグループのキャッシュメモリのヒット率が低下した場
合に自プロセッサが属するプロセッサグループで実行さ
れていたジョブをキャッシュメモリのヒット率が高い他
のプロセッサグループへ移動するジョブ移動手段を備え
たことを特徴とする。
According to a first aspect of the present invention, there is provided a dispatching method for a multiprocessor system comprising a plurality of processor groups each including a plurality of processors and a cache memory. If any of the processors in the group decreases the hit rate of the cache memory of the processor group to which the own processor belongs, the job executed in the processor group to which the own processor belongs is replaced by another processor group with a high cache memory hit rate. And a job moving means for moving the job.

【0009】本発明の第2のマルチプロセッサシステム
におけるディスパッチング方式は、第1のマルチプロセ
ッサシステムにおけるディスパッチング方式において、
前記プロセッサグループ内のいずれかのプロセッサが、
さらに、自プロセッサが属するプロセッサグループのキ
ャッシュメモリのヒット率を監視する過負荷プロセッサ
グループ選択手段を備え、前記ジョブ移動手段が、前記
過負荷プロセッサグループ選択手段が自プロセッサが属
するプロセッサグループのキャッシュメモリのヒット率
が低下したと判定した場合に自プロセッサが属するプロ
セッサグループで実行されていたジョブをキャッシュメ
モリのヒット率が高い他のプロセッサグループへ移動す
ることを特徴とする。
[0009] The dispatching method in the second multiprocessor system of the present invention is the dispatching method in the first multiprocessor system.
Any of the processors in the processor group,
The processor further includes an overloaded processor group selecting unit that monitors a hit rate of the cache memory of the processor group to which the own processor belongs. When it is determined that the hit rate has decreased, the job executed in the processor group to which the own processor belongs is moved to another processor group having a high hit rate in the cache memory.

【0010】本発明の第3のマルチプロセッサシステム
におけるディスパッチング方式は、第2のマルチプロセ
ッサシステムにおけるディスパッチング方式において、
前記プロセッサグループ内のいずれかのプロセッサが、
さらに、自プロセッサが属するプロセッサグループの、
一定時間毎のメモリアクセス回数とキャッシュメモリの
ヒット回数とを計測し、すべてのプロセッサで共有する
メインメモリに格納するキャッシュヒット率格納領域更
新手段を備え、前記過負荷プロセッサグループ選択手段
が、前記メインメモリに格納されたメモリアクセス回数
とキャッシュメモリのヒット回数とに基づき自プロセッ
サが属するプロセッサグループのキャッシュメモリのヒ
ット率を算出し、該ヒット率を予め設定した閾値と比較
することにより、自プロセッサが属するプロセッサグル
ープのキャッシュメモリのヒット率が低下したか判定
し、前記ジョブ移動手段が、前記過負荷プロセッサグル
ープ選択手段が自プロセッサが属するプロセッサグルー
プのキャッシュメモリのヒット率が低下したと判定した
場合に、前記メインメモリに格納されたメモリアクセス
回数とキャッシュメモリのヒット回数とに基づき他のプ
ロセッサグループのキャッシュメモリのヒット率を算出
し、自プロセッサが属するプロセッサグループで実行さ
れていたジョブをキャッシュメモリのヒット率が高い他
のプロセッサグループへ移動することを特徴とする。
[0010] The dispatching method in the third multiprocessor system of the present invention is the dispatching method in the second multiprocessor system.
Any of the processors in the processor group,
Furthermore, the processor group to which the own processor belongs,
A cache hit ratio storage area updating unit that measures the number of memory accesses and the number of hits of the cache memory at fixed time intervals and stores the same in a main memory shared by all processors; Based on the number of memory accesses stored in the memory and the number of hits of the cache memory, the hit rate of the cache memory of the processor group to which the own processor belongs is calculated, and the hit rate is compared with a preset threshold value. It is determined whether the hit rate of the cache memory of the processor group to which the processor belongs belongs. If the job moving means determines that the hit rate of the cache memory of the processor group to which the own processor belongs has been reduced by the overloaded processor group selecting means, , The main The cache memory hit rate of another processor group is calculated based on the number of memory accesses stored in the memory and the number of cache memory hits, and the jobs executed in the processor group to which the own processor belongs become the cache memory hit rate. It is characterized by moving to another high processor group.

【0011】本発明の第4のマルチプロセッサシステム
におけるディスパッチング方式は、第3のマルチプロセ
ッサシステムにおけるディスパッチング方式において、
前記プロセッサグループ内のいずれかのプロセッサが、
さらに、前記ジョブ移動手段がジョブを移動した後、前
記メインメモリに格納されたすべてのプロセッサグルー
プのメモリアクセス回数とキャッシュメモリのヒット回
数とを初期化するキャッシュヒット率初期化手段を備え
たことを特徴とする。
The dispatching method in the fourth multiprocessor system of the present invention is the dispatching method in the third multiprocessor system,
Any of the processors in the processor group,
Further, after the job moving means has moved a job, a cache hit rate initializing means for initializing the number of memory accesses and the number of hits of the cache memory of all processor groups stored in the main memory is provided. Features.

【0012】本発明の第1のマルチプロセッサシステム
におけるディスパッチング方法は、それぞれが複数のプ
ロセッサとキャッシュメモリとを含む複数のプロセッサ
グループから構成されるマルチプロセッサシステムにお
いて、前記プロセッサグループ内のいずれかのプロセッ
サが、自プロセッサが属するプロセッサグループが有す
るキャッシュメモリのヒット率が低下した場合、該プロ
セッサグループで実行されていたジョブをキャッシュメ
モリのヒット率が高い他のプロセッサグループへ移動す
ることを特徴とする。
A dispatching method in a first multiprocessor system according to the present invention is directed to a multiprocessor system including a plurality of processor groups each including a plurality of processors and a cache memory. When the hit rate of the cache memory of the processor group to which the own processor belongs decreases, the processor moves the job executed in the processor group to another processor group having a high hit rate of the cache memory. .

【0013】本発明の第2のマルチプロセッサシステム
におけるディスパッチング方法は、それぞれが複数のプ
ロセッサとキャッシュメモリとを含む複数のプロセッサ
グループから構成されるマルチプロセッサシステムにお
いて、前記プロセッサグループ内のいずれかのプロセッ
サが、自プロセッサが属するプロセッサグループが有す
るキャッシュメモリのヒット率を監視するキャッシュヒ
ット率監視ステップと、前記プロセッサグループ内のい
ずれかのプロセッサが、自プロセッサが属するプロセッ
サグループが有するキャッシュメモリのヒット率が低下
したと、前記キャッシュヒット率監視ステップにおいて
判定された場合に、自プロセッサが属するプロセッサグ
ループで実行されていたジョブをキャッシュメモリのヒ
ット率が高い他のプロセッサグループへ移動するジョブ
移動ステップとを含むことを特徴とする。
According to a second dispatching method for a multiprocessor system of the present invention, in a multiprocessor system comprising a plurality of processor groups each including a plurality of processors and a cache memory, any of the A cache hit ratio monitoring step in which a processor monitors a cache memory hit ratio of a processor group to which the own processor belongs; and a cache rate of a cache memory belonging to the processor group to which any of the processors in the processor group belongs. Is reduced in the cache hit ratio monitoring step, the job executed in the processor group to which the own processor belongs is replaced with another job having a high cache memory hit ratio. Characterized in that it comprises a job moving step of moving the B processor group.

【0014】本発明の第3のマルチプロセッサシステム
におけるディスパッチング方法は、第2のマルチプロセ
ッサシステムにおけるディスパッチング方法において、
さらに、前記プロセッサグループ内のいずれかのプロセ
ッサが、自プロセッサが属するプロセッサグループの、
一定時間毎のメモリアクセス回数と前記キャッシュメモ
リのヒット回数とを計測し、すべてのプロセッサで共有
するメインメモリに格納するキャッシュヒット率計測ス
テップを含み、前記キャッシュヒット率監視ステップ
が、前記メインメモリに格納されたメモリアクセス回数
とキャッシュメモリのヒット回数とに基づき自プロセッ
サが属するプロセッサグループの前記キャッシュメモリ
のヒット率を算出し、該ヒット率を予め設定した閾値と
比較することにより、自プロセッサが属するプロセッサ
グループのキャッシュメモリのヒット率が低下したか判
定し、前記ジョブ移動ステップが、前記キャッシュヒッ
ト率監視ステップにおいて自プロセッサが属するプロセ
ッサグループのキャッシュメモリのヒット率が低下した
と判定された場合に、前記メインメモリに格納されたメ
モリアクセス回数とキャッシュメモリのヒット回数とに
基づき他のプロセッサグループのキャッシュメモリのヒ
ット率を算出し、自プロセッサが属するプロセッサグル
ープで実行されていたジョブをキャッシュメモリのヒッ
ト率が高い他のプロセッサグループへ移動することを特
徴とする。
[0014] The dispatching method in the third multiprocessor system according to the present invention is the dispatching method in the second multiprocessor system, wherein:
Further, any one of the processors in the processor group is a processor group to which the own processor belongs.
Measuring the number of memory accesses and the number of hits of the cache memory at regular time intervals, and storing the cache hit rate in a main memory shared by all processors; Based on the stored number of memory accesses and the number of hits of the cache memory, the hit ratio of the cache memory of the processor group to which the own processor belongs is calculated, and the hit ratio is compared with a preset threshold value, whereby the own processor belongs. It is determined whether or not the hit rate of the cache memory of the processor group has decreased, and if the job moving step determines that the hit rate of the cache memory of the processor group to which the own processor belongs has decreased in the cache hit rate monitoring step. A cache memory hit ratio of another processor group is calculated based on the number of memory accesses stored in the main memory and the number of cache memory hits, and the job executed in the processor group to which the own processor belongs is determined by the cache memory hit ratio. It is characterized by moving to another processor group with a high rate.

【0015】本発明の第4のマルチプロセッサシステム
におけるディスパッチング方法は、第3のマルチプロセ
ッサシステムにおけるディスパッチング方法において、
さらに、前記プロセッサグループ内のいずれかのプロセ
ッサが、前記ジョブ移動ステップにおいてジョブを移動
した後、前記メインメモリに格納された全てのプロセッ
サグループのメモリアクセス回数とキャッシュメモリの
ヒット回数とを初期化するキャッシュヒット率初期化ス
テップを含むことを特徴とする。
A fourth dispatching method in a multiprocessor system according to the present invention is the dispatching method in the third multiprocessor system, wherein:
Further, after any one of the processors in the processor group moves the job in the job moving step, the number of memory accesses and the number of hits in the cache memory of all the processor groups stored in the main memory are initialized. The method includes a cache hit rate initialization step.

【0016】本発明の第1の記録媒体は、それぞれが複
数のプロセッサとキャッシュメモリとを含む複数のプロ
セッサグループから構成されるマルチプロセッサシステ
ムにおいて、前記プロセッサグループ内のいずれかのプ
ロセッサに、自プロセッサが属するプロセッサグループ
が有するキャッシュメモリのヒット率が低下した場合、
該プロセッサグループで実行されていたジョブをキャッ
シュメモリのヒット率が高い他のプロセッサグループへ
移動する処理を行わせるためのプログラムを記録したこ
とを特徴とする。
According to a first recording medium of the present invention, in a multiprocessor system comprising a plurality of processor groups each including a plurality of processors and a cache memory, one of the processors in the processor group is provided with its own processor. If the hit rate of the cache memory of the processor group to which the
A program for causing a job executed in the processor group to be moved to another processor group having a high hit rate of the cache memory is recorded.

【0017】本発明の第2の記録媒体は、それぞれが複
数のプロセッサとキャッシュメモリとを含む複数のプロ
セッサグループから構成されるマルチプロセッサシステ
ムにおいて、前記プロセッサグループ内のいずれかのプ
ロセッサに、自プロセッサが属するプロセッサグループ
が有するキャッシュメモリのヒット率を監視するキャッ
シュヒット率監視処理と、自プロセッサが属するプロセ
ッサグループが有するキャッシュメモリのヒット率が低
下したと、前記キャッシュヒット率監視処理において判
定された場合に、自プロセッサが属するプロセッサグル
ープで実行されていたジョブをキャッシュメモリのヒッ
ト率が高い他のプロセッサグループへ移動するジョブ移
動処理とを行わせるためのプログラムを記録したことを
特徴とする。
According to a second recording medium of the present invention, in a multiprocessor system comprising a plurality of processor groups each including a plurality of processors and a cache memory, one of the processors in the processor group is provided with its own processor. The cache hit rate monitoring process for monitoring the cache memory hit rate of the processor group to which the processor group belongs, and the cache hit rate monitoring process determines that the hit rate of the cache memory of the processor group to which the own processor belongs has decreased. In addition, a program for causing a job that has been executed in the processor group to which the own processor belongs to be moved to another processor group having a high hit rate of the cache memory is recorded.

【0018】本発明の第3の記録媒体は、第2の記録媒
体において、さらに、前記プロセッサグループ内のいず
れかのプロセッサに、自プロセッサが属するプロセッサ
グループの、一定時間毎のメモリアクセス回数と前記キ
ャッシュメモリのヒット回数とを計測し、すべてのプロ
セッサで共有するメインメモリに格納するキャッシュヒ
ット率計測処理を行わせるためのプログラムを含み、前
記キャッシュヒット率監視処理が、前記メインメモリに
格納されたメモリアクセス回数とキャッシュメモリのヒ
ット回数とに基づき自プロセッサが属するプロセッサグ
ループの前記キャッシュメモリのヒット率を算出し、該
ヒット率を予め設定した閾値と比較することにより、自
プロセッサが属するプロセッサグループのキャッシュメ
モリのヒット率が低下したか判定し、前記ジョブ移動処
理が、前記キャッシュヒット率監視処理において自プロ
セッサが属するプロセッサグループのキャッシュメモリ
のヒット率が低下したと判定された場合に、前記メイン
メモリに格納されたメモリアクセス回数とキャッシュメ
モリのヒット回数とに基づき他のプロセッサグループの
キャッシュメモリのヒット率を算出し、自プロセッサが
属するプロセッサグループで実行されていたジョブをキ
ャッシュメモリのヒット率が高い他のプロセッサグルー
プへ移動することを特徴とする。
A third recording medium according to the present invention, in the second recording medium, further comprises: for any one of the processors in the processor group, A program for measuring the number of hits of the cache memory and performing a cache hit ratio measurement process stored in the main memory shared by all processors, wherein the cache hit ratio monitoring process is stored in the main memory. The cache memory hit ratio of the processor group to which the own processor belongs is calculated based on the memory access frequency and the cache memory hit frequency, and the hit ratio is compared with a preset threshold value, whereby the processor group to which the own processor belongs is calculated. Cache memory hit rate If the job migration process determines in the cache hit ratio monitoring process that the hit ratio of the cache memory of the processor group to which the own processor belongs has decreased, the memory access stored in the main memory is determined. The cache memory hit ratio of another processor group is calculated based on the number of times and the cache memory hit frequency, and the job executed in the processor group to which the own processor belongs is moved to another processor group having a high cache memory hit ratio. It is characterized by doing.

【0019】本発明の第4の記録媒体は、第3の記録媒
体において、さらに、前記プロセッサグループ内のいず
れかのプロセッサに、前記ジョブ移動処理においてジョ
ブを移動した後、前記メインメモリに格納された全ての
プロセッサグループのメモリアクセス回数とキャッシュ
メモリのヒット回数とを初期化するキャッシュヒット率
初期化処理を行わせるためのプログラムを含むことを特
徴とする。
The fourth recording medium of the present invention is the third recording medium, wherein the job is transferred to any one of the processors in the processor group in the job transfer process and then stored in the main memory. And a program for performing a cache hit ratio initialization process for initializing the number of memory accesses and the number of cache memory hits of all processor groups.

【0020】[0020]

【発明の実施の形態】次に本発明の第1の実施の形態に
ついて図面を参照して詳細に説明する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Next, a first embodiment of the present invention will be described in detail with reference to the drawings.

【0021】図1を参照すると、本発明の第1の実施の
形態はプログラム制御によりメモリを共有して動作する
複数のプロセッサとキャッシュメモリとを有する複数の
プロセッサグループから構成されるメモリ共有型マルチ
プロセッサシステムである。
Referring to FIG. 1, a first embodiment of the present invention is a memory sharing type multi-processor comprising a plurality of processor groups having a plurality of processors and a cache memory which operate by sharing a memory under program control. It is a processor system.

【0022】1つのジョブを構成する少なくとも1つの
タスクは、あるプロセッサグループのいずれかのプロセ
ッサにおいて実行される。
At least one task constituting one job is executed in any one of the processors of a certain processor group.

【0023】各プロセッサから共有されるメモリは、ジ
ョブ単位に何番のプロセッサグループで実行するかを格
納するジョブ情報格納領域1と、プロセッサグループ単
位に存在し、一定時間のメモリアクセスの回数とこの間
にキャッシュにヒットした回数を格納するキャッシュヒ
ット率格納領域11とを含む。
The memory shared by each processor includes a job information storage area 1 for storing the number of a processor group to be executed in a job unit and a memory area for each processor group. And a cache hit rate storage area 11 for storing the number of hits to the cache.

【0024】各プロセッサグループに属するいずれかの
プロセッサが、ジョブ開始時に指定されたプロセッサグ
ループの番号を入力するグループ入力手段2と、ジョブ
情報格納領域1にジョブを開始するプロセッサグループ
の番号を格納するジョブ情報登録手段3と、すべてのタ
スクの起動時に、ジョブ情報格納領域1を参照し、該タ
スクを含むジョブのプロセッサグループの番号を入力す
るジョブ情報入力手段4と、ジョブ情報入力手段4で入
力したプロセッサグループの番号を指定して、タスクを
起動するプロセッサグループ設定手段5と、ジョブ終了
時に、ジョブ情報格納領域1から、終了するジョブのプ
ロセッサグループの情報を削除するジョブ情報削除手段
6と、一定時間毎に動作し、すべてのプロセッサグルー
プについて、キャッシュヒット率格納領域11のメモリ
アクセス回数とキャッシュヒット数との比に基づいて、
前回動作時からのキャッシュのヒット率を取得し、予め
設定した過負荷のしきい値よりも低いプロセッサグルー
プがある場合には、ジョブ移動手段8に制御を渡し、な
い場合にはキャッシュヒット率初期化手段9に制御を渡
す過負荷プロセッサグループ選択手段7と、過負荷プロ
セッサグループ選択手段7によりキャッシュのヒット率
が過負荷のしきい値よりも低いプロセッサグループで実
行中のジョブをジョブ情報格納領域1から探し出し、該
ジョブをキャッシュのヒット率が過負荷のしきい値より
も高い他のプロセッサグループに移動し、該ジョブのジ
ョブ情報格納領域1に移動先のプロセッサグループの番
号を格納し、キャッシュヒット率初期化手段9に制御を
渡すジョブ移動手段8と、すべてのプロセッサグループ
についてキャッシュヒット率格納領域11のメモリアク
セス回数格納領域とキャッシュヒット数格納領域に0を
設定するキャッシュヒット率初期化手段9と、メモリの
参照/更新時に動作し、キャッシュヒット率格納領域1
1のメモリアクセス回数格納領域の値に1を加算し、動
作を行ったプロセッサの属するプロセッサグループのキ
ャッシュからメモリ内容の取得ができた場合には、キャ
ッシュヒット数格納領域の値に1を加算するキャッシュ
ヒット率格納領域更新手段10とを含む。
One of the processors belonging to each processor group stores the group input means 2 for inputting the number of the processor group designated at the start of the job and the number of the processor group for starting the job in the job information storage area 1. Job information registration means 3, job information input means 4 for referencing the job information storage area 1 when all tasks are started, and inputting the number of the processor group of the job containing the task, and job information input means 4 A processor group setting unit 5 for designating the number of the specified processor group and activating the task; a job information deleting unit 6 for deleting the information of the processor group of the job to be ended from the job information storage area 1 when the job ends; It runs at regular intervals, and for all processor groups, Based on the number of memory accesses and the ratio of the cache hits of Shuhitto rate storage area 11,
The cache hit ratio from the previous operation is obtained, and if there is a processor group lower than the preset overload threshold, control is passed to the job moving unit 8; An overload processor group selection unit 7 that transfers control to the conversion unit 9, and a job that is being executed by a processor group whose cache hit ratio is lower than the overload threshold by the overload processor group selection unit 7. 1, the job is moved to another processor group in which the cache hit ratio is higher than the overload threshold, the number of the destination processor group is stored in the job information storage area 1 of the job, A job moving unit 8 for transferring control to the hit ratio initializing unit 9; A cache hit ratio initializing means 9 for setting the number of memory accesses storage areas and 0 in the cache hit count storage area of the hit rate storage area 11, and operates when the reference / update memory, cache hit rate storage area 1
One is added to the value of the memory access count storage area of one, and when the memory contents can be obtained from the cache of the processor group to which the processor that has performed the operation is added, one is added to the value of the cache hit number storage area. And a cache hit rate storage area updating means 10.

【0025】次に、本発明の第1の実施の形態の動作に
ついて図面を参照して詳細に説明する。
Next, the operation of the first embodiment of the present invention will be described in detail with reference to the drawings.

【0026】グループ入力手段2は、ジョブ開始時に、
指定されたプロセッサグループの番号を入力し、ジョブ
情報登録手段3に制御を渡す。
The group input means 2 starts the job
The number of the designated processor group is input, and control is passed to the job information registration unit 3.

【0027】ジョブ情報登録手段3は、グループ入力手
段2実行後、開始するジョブのプロセッサグループ番号
をジョブ情報格納領域1に格納する。
After executing the group input means 2, the job information registration means 3 stores the processor group number of the job to be started in the job information storage area 1.

【0028】ジョブ情報入力手段4は、すべてのタスク
の起動時に、ジョブ情報格納領域1を参照し、そのタス
クを含むジョブのプロセッサグループ番号を入力し、プ
ロセッサグループ設定手段5に制御を渡す。
The job information input means 4 refers to the job information storage area 1 when all tasks are started, inputs the processor group number of the job including the task, and passes control to the processor group setting means 5.

【0029】プロセッサグループ設定手段5は、ジョブ
情報入力手段4実行後、ジョブ情報入力手段4で入力し
たプロセッサグループの番号を指定してタスクを起動す
る。
After executing the job information input means 4, the processor group setting means 5 designates the number of the processor group input by the job information input means 4 and starts a task.

【0030】ジョブ情報削除手段6は、ジョブ終了時
に、ジョブ情報格納領域1から、終了するジョブのプロ
セッサグループ情報を削除する。
The job information deleting means 6 deletes the processor group information of the job to be ended from the job information storage area 1 when the job ends.

【0031】図2を参照すると、過負荷プロセッサグル
ープ選択手段7は、一定の時間毎に自プロセッサが属す
るプロセッサグループに対応する、キャッシュヒット率
格納領域11のメモリアクセス回数とキャッシュヒット
数の比に基づいて、前回動作時からのキャッシュのヒッ
ト率を取得する(ステップ201)。過負荷プロセッサ
グループ選択手段7は、自プロセッサが属するプロセッ
サグループのキャッシュヒット率が、予め設定した過負
荷のしきい値よりも低いかを判定し(ステップ20
2)、低い場合にはジョブ移動手段8に制御を渡す(ス
テップ203)。
Referring to FIG. 2, the overloaded processor group selecting means 7 calculates the ratio between the number of memory accesses and the number of cache hits in the cache hit ratio storage area 11 corresponding to the processor group to which the own processor belongs at regular intervals. Based on this, the cache hit ratio from the previous operation is obtained (step 201). The overload processor group selecting means 7 determines whether the cache hit ratio of the processor group to which the own processor belongs is lower than a preset overload threshold value (step 20).
2) If it is lower, control is passed to the job moving means 8 (step 203).

【0032】図3を参照すると、ジョブ移動手段8は、
過負荷プロセッサグループ選択手段7実行後、自プロセ
ッサが属さない他のプロセッサグループについて、キャ
ッシュヒット率格納領域11のメモリアクセス回数とキ
ャッシュヒット数の比に基づいて、前回動作時からのキ
ャッシュのヒット率を取得し、該ヒット率が予め設定し
た過負荷のしきい値よりも高いプロセッサグループを特
定する(ステップ301)。ジョブ移動手段8は、自プ
ロセッサで実行中のジョブに対応するジョブ情報格納領
域1内のプロセッサグループ番号格納領域に、キャッシ
ュヒット率がしきい値よりも高いプロセッサグループの
番号を設定する(ステップ302)。ジョブ移動手段8
は、自プロセッサで実行中のジョブのすべてのタスク
を、設定したプロセッサグループで再スタートさせる
(ステップ303)。ジョブ移動手段8は、キャッシュ
ヒット率初期化手段9に制御を渡す(ステップ30
4)。
Referring to FIG. 3, the job moving means 8 comprises:
After the execution of the overloaded processor group selecting means 7, for other processor groups to which the own processor does not belong, based on the ratio of the number of memory accesses to the cache hit rate storage area 11 and the number of cache hits, the cache hit ratio from the previous operation. And a processor group whose hit ratio is higher than a preset overload threshold is specified (step 301). The job moving means 8 sets the number of the processor group whose cache hit ratio is higher than the threshold value in the processor group number storage area in the job information storage area 1 corresponding to the job being executed by its own processor (step 302). ). Job moving means 8
Restarts all tasks of the job being executed by its own processor in the set processor group (step 303). The job transfer means 8 transfers control to the cache hit rate initialization means 9 (step 30).
4).

【0033】キャッシュヒット率初期化手段9は、ジョ
ブ移動手段8の実行後、すべてのプロセッサグループに
係るキャッシュヒット率格納領域11のメモリアクセス
回数格納領域とキャッシュヒット数格納領域に0を設定
する。
After executing the job moving means 8, the cache hit rate initializing means 9 sets 0 to the memory access count storage area and the cache hit number storage area of the cache hit rate storage areas 11 for all processor groups.

【0034】図4を参照すると、キャッシュヒット率格
納領域更新手段10は、メモリの参照/更新時に、自プ
ロセッサが属するプロセッサグループに対応するキャッ
シュヒット率格納領域11のメモリアクセス回数格納領
域の値に1を加算する(ステップ401)。キャッシュ
ヒット率格納領域更新手段10は、自プロセッサが属す
るプロセッサグループのキャッシュからメモリ内容の取
得ができたか否かを判断する(ステップ402)。キャ
ッシュヒット率格納領域更新手段10は、ステップ40
2においてメモリ内容の取得ができた場合には、自プロ
セッサが属するプロセッサグループに対応するキャッシ
ュヒット率格納領域11のキャッシュヒット数格納領域
の値に1を加算する(ステップ403)。
Referring to FIG. 4, the cache hit rate storage area updating means 10 updates the value of the memory access count storage area of the cache hit rate storage area 11 corresponding to the processor group to which the own processor belongs when the memory is referenced / updated. 1 is added (step 401). The cache hit ratio storage area updating means 10 determines whether or not the memory contents can be obtained from the cache of the processor group to which the own processor belongs (step 402). The cache hit rate storage area updating means 10 executes step 40
If the memory contents can be obtained in step 2, 1 is added to the value of the cache hit number storage area of the cache hit rate storage area 11 corresponding to the processor group to which the own processor belongs (step 403).

【0035】[0035]

【実施例】次に、本発明の一実施例について図面を参照
して詳細に説明する。
Next, an embodiment of the present invention will be described in detail with reference to the drawings.

【0036】図5を参照すると、511、512および
513は、それぞれジョブ番号1、2および3のプロセ
ッサグループ番号格納領域であり、それぞれの初期状態
は、“2”、“1”および“0”(未使用)である。5
21および522は、それぞれプロセッサグループ1お
よびプロセッサグループ2のメモリアクセス回数格納領
域であり、それぞれの初期状態は、“20”および“3
0”である。531および532は、それぞれプロセッ
サグループ1およびプロセッサグループ2のキャッシュ
ヒット数格納領域であり、それぞれの初期状態は、“1
5”および“10”である。
Referring to FIG. 5, reference numerals 511, 512, and 513 denote processor group number storage areas of job numbers 1, 2, and 3, respectively, and their initial states are "2", "1", and "0". (Not used). 5
21 and 522 are memory access count storage areas of the processor group 1 and the processor group 2, respectively, and their initial states are “20” and “3”, respectively.
0 ". 531 and 532 are cache hit count storage areas of the processor group 1 and the processor group 2, respectively, and their initial state is" 1 ".
5 "and" 10 ".

【0037】本実施例においては、2つのプロセッサグ
ループからなるメモリ共有型マルチプロセッサシステム
において、ジョブ番号1とジョブ番号2のジョブが既に
実行されており、これからジョブ番号3のジョブが実行
されるものとする。
In this embodiment, in a shared memory type multiprocessor system comprising two processor groups, the job of job number 1 and job number 2 has already been executed, and the job of job number 3 is to be executed. And

【0038】以下に、本発明の実施例の動作について説
明する。
The operation of the embodiment of the present invention will be described below.

【0039】グループ入力手段2は、ジョブ3の開始
時、指定されたプロセッサグループの番号を入力し、ジ
ョブ情報登録手段3に制御を渡す。本実施例では、プロ
セッサグループ番号として“2”が入力されたものとす
る。
When the job 3 starts, the group input unit 2 inputs the number of the designated processor group, and passes control to the job information registration unit 3. In this embodiment, it is assumed that “2” has been input as the processor group number.

【0040】ジョブ情報登録手段3は、グループ入力手
段2実行後、ジョブ番号3のジョブのプロセッサグルー
プの番号“2”をジョブ情報格納領域51のプロセッサ
グループ番号格納領域512に格納する。
After executing the group input unit 2, the job information registration unit 3 stores the processor group number “2” of the job of job number 3 in the processor group number storage area 512 of the job information storage area 51.

【0041】ジョブ情報入力手段4は、ジョブ番号3の
ジョブの全タスクの起動時に、ジョブ情報格納領域51
を参照し、プロセッサグループの番号“2”を入力し、
プロセッサグループ設定手段5に制御を渡す。
When all the tasks of the job of job number 3 are started, the job information input means 4
And enter the processor group number “2”,
The control is passed to the processor group setting means 5.

【0042】プロセッサグループ設定手段5は、ジョブ
情報入力手段4実行後、ジョブ情報入力手段4で入力し
たプロセッサグループの番号“2”を指定して、タスク
を起動する。
After executing the job information input means 4, the processor group setting means 5 designates the processor group number "2" input by the job information input means 4, and starts the task.

【0043】ジョブ情報削除手段6は、ジョブ番号3の
ジョブ終了時、ジョブ情報格納領域1から、終了するジ
ョブ3のプロセッサグループの情報513を削除する。
When the job of job number 3 ends, the job information deleting means 6 deletes the processor group information 513 of the job 3 to be ended from the job information storage area 1.

【0044】過負荷プロセッサグループ選択手段7は、
一定時間毎に、プロセッサグループ2の、キャッシュヒ
ット率格納領域11のメモリアクセス回数とキャッシュ
ヒット数の比に基づいて、前回動作時からのキャッシュ
のヒット率を取得する(ステップ201)。プロセッサ
グループ2については、メモリアクセス回数格納領域5
31の値=30で、キャッシュヒット数格納領域531
の値=10であるため、キャッシュヒット率=10/3
0=0.33となる。
The overload processor group selecting means 7 comprises:
At regular time intervals, the cache hit ratio from the previous operation is obtained based on the ratio of the number of memory accesses to the cache hit ratio storage area 11 of the processor group 2 and the number of cache hits (step 201). For processor group 2, memory access count storage area 5
31 = 30, the cache hit number storage area 531
Is = 10, so the cache hit rate = 10/3
0 = 0.33.

【0045】過負荷プロセッサグループ選択手段7は、
プロセッサグループ2のキャッシュヒット率が、予め設
定した過負荷のしきい値よりも低いかを判定する(ステ
ップ202)。本実施例では、しきい値を0.5とする
と、プロセッサグループ2のキャッシュヒット率がしき
い値よりも低いため、ジョブ移動手段8に制御を渡す
(ステップ203)。
The overload processor group selecting means 7 comprises:
It is determined whether the cache hit rate of the processor group 2 is lower than a preset overload threshold (step 202). In this embodiment, if the threshold value is 0.5, the cache hit ratio of the processor group 2 is lower than the threshold value, so that the control is passed to the job moving means 8 (step 203).

【0046】ジョブ移動手段8は、過負荷プロセッサグ
ループ選択手段7実行後、プロセッサグループ1のキャ
ッシュヒット率を取得し(メモリアクセス回数格納領域
521の値=20で、キャッシュヒット数格納領域53
1の値=15であるため、キャッシュヒット率=15/
20=0.75となる。)、プロセッサグループ1のキ
ャッシュヒット率がしきい値よりも高いことを認識する
(ステップ301)。ジョブ移動手段8は、ジョブ1に
対応するプロセッサグループ番号格納領域511に、キ
ャッシュヒット率がしきい値よりも高いプロセッサグル
ープの番号“1”を設定する(ステップ302)。ジョ
ブ移動手段8は、ジョブ1のすべてのタスクをプロセッ
サグループ1で再スタートさせる(ステップ303)。
ジョブ移動手段8は、キャッシュヒット率初期化手段9
に制御を渡す(ステップ304)。
After executing the overloaded processor group selecting means 7, the job moving means 8 acquires the cache hit rate of the processor group 1 (when the value of the memory access frequency storage area 521 is 20, the cache hit number storage area 53 is obtained).
Since the value of 1 = 15, the cache hit ratio = 15 /
20 = 0.75. ), And recognizes that the cache hit ratio of the processor group 1 is higher than the threshold (step 301). The job moving means 8 sets a processor group number “1” having a cache hit rate higher than a threshold value in the processor group number storage area 511 corresponding to the job 1 (step 302). The job moving means 8 restarts all the tasks of the job 1 in the processor group 1 (step 303).
The job moving means 8 includes a cache hit rate initializing means 9
Control (step 304).

【0047】キャッシュヒット率初期化手段9は、ジョ
ブ移動手段8実行後、プロセッサグループ1および2に
ついて、キャッシュヒット率格納領域51のメモリアク
セス回数格納領域521および522とキャッシュヒッ
ト数格納領域531および532に0を設定する。
After executing the job moving means 8, the cache hit rate initializing means 9 stores the memory access count storage areas 521 and 522 and the cache hit number storage areas 531 and 532 of the cache hit rate storage area 51 for the processor groups 1 and 2. Is set to 0.

【0048】キャッシュヒット率格納領域更新手段10
は、例えばプロセッサグループ1に属するプロセッサの
メモリの参照/更新時には、キャッシュヒット率格納領
域11の、プロセッサグループ1のメモリアクセス回数
格納領域の値に1を加算し“21”とする(ステップ4
01)。キャッシュヒット率格納領域更新手段10は、
プロセッサグループ1のキャッシュからメモリ内容の取
得ができたか否かを判断する(ステップ402)。メモ
リ内容の取得ができたとすると、キャッシュヒット率格
納領域更新手段10は、キャッシュヒット率格納領域1
1のプロセッサグループ1のキャッシュヒット数格納領
域の値に1を加算し“16”にする(ステップ40
3)。
Cache hit rate storage area updating means 10
For example, at the time of referring / updating the memory of the processor belonging to the processor group 1, 1 is added to the value of the memory access count storage area of the processor group 1 in the cache hit rate storage area 11 to be "21" (step 4).
01). The cache hit ratio storage area updating means 10
It is determined whether or not the memory contents can be obtained from the cache of the processor group 1 (step 402). Assuming that the memory contents can be obtained, the cache hit ratio storage area updating unit 10
One is added to the value of the cache hit number storage area of one processor group 1 to be "16" (step 40).
3).

【0049】以上により、本発明の一実施例の動作が終
了する。
Thus, the operation of the embodiment of the present invention is completed.

【0050】本実施例においては、キャッシュのヒット
率が低いプロセッサグループで実行中のジョブを、他の
過負荷しきい値よりもキャッシュのヒット率が高いプロ
セッサグループに移動することにより、キャッシュのヒ
ット率の低下を是正することができる効果を有してい
る。
In the present embodiment, a job being executed in a processor group having a low cache hit rate is moved to a processor group having a cache hit rate higher than another overload threshold, so that the cache hit rate is reduced. It has the effect of correcting the drop in rate.

【0051】次に、本発明の他の実施の形態について図
面を参照して詳細に説明する。
Next, another embodiment of the present invention will be described in detail with reference to the drawings.

【0052】図1を参照すると、本発明の他の実施の形
態は、第1の実施の形態に加えて、ディスパッチングプ
ログラムを記録した記録媒体12を備える。
Referring to FIG. 1, another embodiment of the present invention includes, in addition to the first embodiment, a recording medium 12 on which a dispatching program is recorded.

【0053】ディスパッチングプログラムは、記録媒体
12からプロセッサグループ内のいずれかのプロセッサ
に読み込まれ、該プロセッサの動作を制御する。プロセ
ッサは、ディスパッチングプログラムの制御により、第
1の実施の形態におけるプロセッサによる処理、すなわ
ちグループ入力手段2、ジョブ情報登録手段3、ジョブ
情報入力手段4、プロセッサグループ設定手段5、ジョ
ブ情報削除手段6、過負荷プロセッサグループ選択手段
7、ジョブ移動手段8、キャッシュヒット率初期化手段
9およびキャッシュヒット率格納領域更新手段10と同
一の処理を実行する。
The dispatching program is read from the recording medium 12 by one of the processors in the processor group, and controls the operation of the processor. Under the control of the dispatching program, the processor performs processing by the processor according to the first embodiment, that is, the group input unit 2, the job information registration unit 3, the job information input unit 4, the processor group setting unit 5, the job information deletion unit 6. The same processing as the overload processor group selecting means 7, the job moving means 8, the cache hit rate initializing means 9, and the cache hit rate storage area updating means 10 is executed.

【0054】以上により、他の実施の形態の動作が完了
する。
With the above, the operation of the other embodiment is completed.

【0055】[0055]

【発明の効果】以上説明したように、本発明は、メモリ
共有型マルチプロセッサシステムの各プロセッサグルー
プのキャッシュメモリのヒット率を監視し、ヒット率が
低下したプロセッサグループで実行されていたジョブを
ヒット率が高いプロセッサグループへ移動することによ
り、ジョブおよびメモリ共有型マルチプロセッサシステ
ムのスループットを向上させることができる効果を有し
ている。
As described above, according to the present invention, the hit rate of the cache memory of each processor group of the memory sharing type multiprocessor system is monitored, and the job executed in the processor group having the reduced hit rate is hit. By moving to a processor group having a higher rate, the job and memory sharing type multiprocessor system has an effect of improving the throughput.

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

【図1】本発明の実施の形態を示すブロック図である。FIG. 1 is a block diagram showing an embodiment of the present invention.

【図2】本発明の第1の実施の形態における過負荷プロ
セッサグループ選択手段7の処理を示す流れ図である。
FIG. 2 is a flowchart showing a process of an overloaded processor group selecting means 7 according to the first embodiment of the present invention.

【図3】本発明の第1の実施の形態におけるジョブ移動
手段8の処理を示す流れ図である。
FIG. 3 is a flowchart illustrating processing of a job moving unit 8 according to the first embodiment of the present invention.

【図4】本発明の第1の実施の形態におけるキャッシュ
ヒット率格納領域更新手段10の処理を示す流れ図であ
る。
FIG. 4 is a flowchart showing a process of a cache hit ratio storage area updating means 10 according to the first embodiment of the present invention.

【図5】本発明の一実施例を示すブロック図である。FIG. 5 is a block diagram showing one embodiment of the present invention.

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

1 ジョブ情報格納領域 2 グループ入力手段 3 ジョブ情報登録手段 4 ジョブ情報入力手段 5 プロセッサグループ設定手段 6 ジョブ情報削除手段 7 過負荷プロセッサグループ選択手段 8 ジョブ移動手段 9 キャッシュヒット率初期化手段 10 キャッシュヒット率格納領域更新手段 11 キャッシュヒット率格納領域 12 記録媒体 1 Job information storage area 2 Group input means 3 Job information registration means 4 Job information input means 5 Processor group setting means 6 Job information deletion means 7 Overload processor group selection means 8 Job movement means 9 Cache hit ratio initialization means 10 Cache hit Rate storage area updating means 11 cache hit rate storage area 12 recording medium

Claims (12)

【特許請求の範囲】[Claims] 【請求項1】 それぞれが複数のプロセッサとキャッシ
ュメモリとを含む複数のプロセッサグループから構成さ
れるマルチプロセッサシステムにおいて、 前記プロセッサグループ内のいずれかのプロセッサが、 自プロセッサが属するプロセッサグループのキャッシュ
メモリのヒット率が低下した場合に自プロセッサが属す
るプロセッサグループで実行されていたジョブをキャッ
シュメモリのヒット率が高い他のプロセッサグループへ
移動するジョブ移動手段を備えたことを特徴とするマル
チプロセッサシステムにおけるディスパッチング方式。
1. In a multiprocessor system including a plurality of processor groups each including a plurality of processors and a cache memory, any one of the processors in the processor group is a cache memory of a processor group to which the own processor belongs. Dispatching in a multiprocessor system, comprising: a job moving unit that moves a job executed in a processor group to which the own processor belongs to another processor group having a high hit rate in a cache memory when the hit rate decreases. Method.
【請求項2】 前記プロセッサグループ内のいずれかの
プロセッサが、さらに、 自プロセッサが属するプロセッサグループのキャッシュ
メモリのヒット率を監視する過負荷プロセッサグループ
選択手段を備え、 前記ジョブ移動手段が、前記過負荷プロセッサグループ
選択手段が自プロセッサが属するプロセッサグループの
キャッシュメモリのヒット率が低下したと判定した場合
に自プロセッサが属するプロセッサグループで実行され
ていたジョブをキャッシュメモリのヒット率が高い他の
プロセッサグループへ移動することを特徴とする請求項
1記載のマルチプロセッサシステムにおけるディスパッ
チング方式。
2. One of the processors in the processor group further includes an overloaded processor group selecting unit that monitors a hit ratio of a cache memory of the processor group to which the own processor belongs. If the load processor group selecting means determines that the cache memory hit rate of the processor group to which the own processor belongs has decreased, the job executed in the processor group to which the own processor belongs is replaced by another processor group having a high cache memory hit rate. 2. The dispatching method in the multiprocessor system according to claim 1, wherein the process is moved to.
【請求項3】 前記プロセッサグループ内のいずれかの
プロセッサが、さらに、 自プロセッサが属するプロセッサグループの、一定時間
毎のメモリアクセス回数とキャッシュメモリのヒット回
数とを計測し、すべてのプロセッサで共有するメインメ
モリに格納するキャッシュヒット率格納領域更新手段を
備え、 前記過負荷プロセッサグループ選択手段が、前記メイン
メモリに格納されたメモリアクセス回数とキャッシュメ
モリのヒット回数とに基づき自プロセッサが属するプロ
セッサグループのキャッシュメモリのヒット率を算出
し、該ヒット率を予め設定した閾値と比較することによ
り、自プロセッサが属するプロセッサグループのキャッ
シュメモリのヒット率が低下したか判定し、 前記ジョブ移動手段が、前記過負荷プロセッサグループ
選択手段が自プロセッサが属するプロセッサグループの
キャッシュメモリのヒット率が低下したと判定した場合
に、前記メインメモリに格納されたメモリアクセス回数
とキャッシュメモリのヒット回数とに基づき他のプロセ
ッサグループのキャッシュメモリのヒット率を算出し、
自プロセッサが属するプロセッサグループで実行されて
いたジョブをキャッシュメモリのヒット率が高い他のプ
ロセッサグループへ移動することを特徴とする請求項2
記載のマルチプロセッサシステムにおけるディスパッチ
ング方式。
3. A processor in the processor group further measures the number of memory accesses and the number of cache memory hits of the processor group to which the own processor belongs at regular intervals, and is shared by all processors. A cache hit ratio storage area updating unit for storing in a main memory, wherein the overloaded processor group selecting unit is configured to determine a processor group to which the own processor belongs based on a memory access count stored in the main memory and a cache memory hit count. The hit ratio of the cache memory is calculated, and the hit ratio is compared with a preset threshold value to determine whether the hit ratio of the cache memory of the processor group to which the own processor belongs has decreased. Load processor group When the selecting means determines that the hit rate of the cache memory of the processor group to which the own processor belongs has decreased, the cache memory of another processor group is determined based on the number of memory accesses stored in the main memory and the number of hits of the cache memory. Calculate the hit rate of
3. The job executed in the processor group to which the own processor belongs is moved to another processor group having a high hit rate of the cache memory.
A dispatching method in the multiprocessor system described.
【請求項4】 前記プロセッサグループ内のいずれかの
プロセッサが、さらに、 前記ジョブ移動手段がジョブを移動した後、前記メイン
メモリに格納されたすべてのプロセッサグループのメモ
リアクセス回数とキャッシュメモリのヒット回数とを初
期化するキャッシュヒット率初期化手段を備えたことを
特徴とする請求項3記載のマルチプロセッサシステムに
おけるディスパッチング方式。
4. A processor in the processor group further comprising: a memory access count and a cache memory hit count of all processor groups stored in the main memory after the job moving unit moves a job. 4. A dispatching method in a multiprocessor system according to claim 3, further comprising a cache hit rate initializing means for initializing a cache hit rate.
【請求項5】 それぞれが複数のプロセッサとキャッシ
ュメモリとを含む複数のプロセッサグループから構成さ
れるマルチプロセッサシステムにおいて、 前記プロセッサグループ内のいずれかのプロセッサが、
自プロセッサが属するプロセッサグループが有するキャ
ッシュメモリのヒット率が低下した場合、該プロセッサ
グループで実行されていたジョブをキャッシュメモリの
ヒット率が高い他のプロセッサグループへ移動すること
を特徴とするマルチプロセッサシステムにおけるディス
パッチング方法。
5. A multiprocessor system comprising a plurality of processor groups each including a plurality of processors and a cache memory, wherein any one of the processors in the processor group includes:
When the hit rate of the cache memory of the processor group to which the own processor belongs is reduced, the job executed in the processor group is moved to another processor group having a high hit rate of the cache memory. Dispatching method.
【請求項6】 それぞれが複数のプロセッサとキャッシ
ュメモリとを含む複数のプロセッサグループから構成さ
れるマルチプロセッサシステムにおいて、 前記プロセッサグループ内のいずれかのプロセッサが、
自プロセッサが属するプロセッサグループが有するキャ
ッシュメモリのヒット率を監視するキャッシュヒット率
監視ステップと、 前記プロセッサグループ内のいずれかのプロセッサが、
自プロセッサが属するプロセッサグループが有するキャ
ッシュメモリのヒット率が低下したと、前記キャッシュ
ヒット率監視ステップにおいて判定された場合に、自プ
ロセッサが属するプロセッサグループで実行されていた
ジョブをキャッシュメモリのヒット率が高い他のプロセ
ッサグループへ移動するジョブ移動ステップとを含むこ
とを特徴とするマルチプロセッサシステムにおけるディ
スパッチング方法。
6. A multiprocessor system comprising a plurality of processor groups each including a plurality of processors and a cache memory, wherein one of the processors in the processor group includes:
A cache hit rate monitoring step of monitoring a hit rate of a cache memory belonging to a processor group to which the own processor belongs; and one of the processors in the processor group,
If it is determined in the cache hit rate monitoring step that the hit rate of the cache memory belonging to the processor group to which the own processor belongs is reduced, the job executed in the processor group to which the own processor belongs is reduced to the hit rate of the cache memory. A job moving step of moving to another high processor group.
【請求項7】 さらに、前記プロセッサグループ内のい
ずれかのプロセッサが、自プロセッサが属するプロセッ
サグループの、一定時間毎のメモリアクセス回数と前記
キャッシュメモリのヒット回数とを計測し、すべてのプ
ロセッサで共有するメインメモリに格納するキャッシュ
ヒット率計測ステップを含み、 前記キャッシュヒット率監視ステップが、前記メインメ
モリに格納されたメモリアクセス回数とキャッシュメモ
リのヒット回数とに基づき自プロセッサが属するプロセ
ッサグループの前記キャッシュメモリのヒット率を算出
し、該ヒット率を予め設定した閾値と比較することによ
り、自プロセッサが属するプロセッサグループのキャッ
シュメモリのヒット率が低下したか判定し、 前記ジョブ移動ステップが、前記キャッシュヒット率監
視ステップにおいて自プロセッサが属するプロセッサグ
ループのキャッシュメモリのヒット率が低下したと判定
された場合に、前記メインメモリに格納されたメモリア
クセス回数とキャッシュメモリのヒット回数とに基づき
他のプロセッサグループのキャッシュメモリのヒット率
を算出し、自プロセッサが属するプロセッサグループで
実行されていたジョブをキャッシュメモリのヒット率が
高い他のプロセッサグループへ移動することを特徴とす
る請求項6記載のマルチプロセッサシステムにおけるデ
ィスパッチング方法。
7. A processor in one of the processor groups measures the number of memory accesses and the number of hits of the cache memory of the processor group to which the processor belongs at regular intervals, and is shared by all processors. Measuring the cache hit ratio stored in the main memory, wherein the cache hit ratio monitoring step is performed based on the number of memory accesses stored in the main memory and the number of hits of the cache memory. The hit ratio of the memory is calculated, and the hit ratio is compared with a preset threshold value to determine whether the hit ratio of the cache memory of the processor group to which the own processor belongs has decreased. rate When it is determined in the viewing step that the hit rate of the cache memory of the processor group to which the own processor belongs has decreased, the cache of another processor group is determined based on the number of memory accesses stored in the main memory and the number of hits of the cache memory. 7. The dispatch in the multiprocessor system according to claim 6, wherein a memory hit ratio is calculated, and the job executed in the processor group to which the own processor belongs is moved to another processor group having a high cache memory hit ratio. Method.
【請求項8】 さらに、前記プロセッサグループ内のい
ずれかのプロセッサが、前記ジョブ移動ステップにおい
てジョブを移動した後、前記メインメモリに格納された
全てのプロセッサグループのメモリアクセス回数とキャ
ッシュメモリのヒット回数とを初期化するキャッシュヒ
ット率初期化ステップを含むことを特徴とする請求項7
記載のマルチプロセッサシステムにおけるディスパッチ
ング方法。
8. A memory access count and a cache memory hit count of all processor groups stored in the main memory after any processor in the processor group moves a job in the job moving step. 8. A cache hit rate initializing step for initializing a cache hit rate.
A dispatching method in the multiprocessor system described in the above.
【請求項9】 それぞれが複数のプロセッサとキャッシ
ュメモリとを含む複数のプロセッサグループから構成さ
れるマルチプロセッサシステムにおいて、 前記プロセッサグループ内のいずれかのプロセッサに、
自プロセッサが属するプロセッサグループが有するキャ
ッシュメモリのヒット率が低下した場合、該プロセッサ
グループで実行されていたジョブをキャッシュメモリの
ヒット率が高い他のプロセッサグループへ移動する処理
を行わせるためのプログラムを記録したことを特徴とす
る記録媒体。
9. A multiprocessor system comprising a plurality of processor groups each including a plurality of processors and a cache memory, wherein any of the processors in the processor group includes:
When the hit rate of the cache memory of the processor group to which the own processor belongs is reduced, a program for performing a process of moving a job executed in the processor group to another processor group having a high hit rate of the cache memory is executed. A recording medium characterized by being recorded.
【請求項10】 それぞれが複数のプロセッサとキャッ
シュメモリとを含む複数のプロセッサグループから構成
されるマルチプロセッサシステムにおいて、 前記プロセッサグループ内のいずれかのプロセッサに、
自プロセッサが属するプロセッサグループが有するキャ
ッシュメモリのヒット率を監視するキャッシュヒット率
監視処理と、自プロセッサが属するプロセッサグループ
が有するキャッシュメモリのヒット率が低下したと、前
記キャッシュヒット率監視処理において判定された場合
に、自プロセッサが属するプロセッサグループで実行さ
れていたジョブをキャッシュメモリのヒット率が高い他
のプロセッサグループへ移動するジョブ移動処理とを行
わせるためのプログラムを記録したことを特徴とする記
録媒体。
10. A multiprocessor system comprising a plurality of processor groups each including a plurality of processors and a cache memory, wherein any of the processors in the processor group includes:
It is determined in the cache hit ratio monitoring process that monitors the hit ratio of the cache memory belonging to the processor group to which the own processor belongs, and that the hit ratio of the cache memory belonging to the processor group to which the own processor belongs decreases. Recording a program for causing a job executed in the processor group to which the own processor belongs to to be transferred to another processor group having a high hit rate of the cache memory in the case where the job has been executed. Medium.
【請求項11】 さらに、前記プロセッサグループ内の
いずれかのプロセッサに、自プロセッサが属するプロセ
ッサグループの、一定時間毎のメモリアクセス回数と前
記キャッシュメモリのヒット回数とを計測し、すべての
プロセッサで共有するメインメモリに格納するキャッシ
ュヒット率計測処理を行わせるためのプログラムを含
み、 前記キャッシュヒット率監視処理が、前記メインメモリ
に格納されたメモリアクセス回数とキャッシュメモリの
ヒット回数とに基づき自プロセッサが属するプロセッサ
グループの前記キャッシュメモリのヒット率を算出し、
該ヒット率を予め設定した閾値と比較することにより、
自プロセッサが属するプロセッサグループのキャッシュ
メモリのヒット率が低下したか判定し、 前記ジョブ移動処理が、前記キャッシュヒット率監視処
理において自プロセッサが属するプロセッサグループの
キャッシュメモリのヒット率が低下したと判定された場
合に、前記メインメモリに格納されたメモリアクセス回
数とキャッシュメモリのヒット回数とに基づき他のプロ
セッサグループのキャッシュメモリのヒット率を算出
し、自プロセッサが属するプロセッサグループで実行さ
れていたジョブをキャッシュメモリのヒット率が高い他
のプロセッサグループへ移動することを特徴とする請求
項10記載の記録媒体。
11. The processor group of any one of the processor groups measures the number of memory accesses and the number of hits of the cache memory of the processor group to which the processor belongs at regular intervals, and is shared by all processors. A program for performing a cache hit ratio measurement process stored in the main memory, wherein the cache hit ratio monitoring process is performed by the own processor based on the number of memory accesses stored in the main memory and the number of hits of the cache memory. Calculating a hit ratio of the cache memory of the processor group to which the processor group belongs;
By comparing the hit rate with a preset threshold,
It is determined whether the hit rate of the cache memory of the processor group to which the own processor belongs has decreased. The job migration process determines that the hit rate of the cache memory of the processor group to which the own processor belongs has decreased in the cache hit ratio monitoring process. In this case, the hit rate of the cache memory of another processor group is calculated based on the number of memory accesses stored in the main memory and the number of hits of the cache memory, and the job executed in the processor group to which the own processor belongs is calculated. 11. The recording medium according to claim 10, wherein the cache medium is moved to another processor group having a high hit rate.
【請求項12】 さらに、前記プロセッサグループ内の
いずれかのプロセッサに、前記ジョブ移動処理において
ジョブを移動した後、前記メインメモリに格納された全
てのプロセッサグループのメモリアクセス回数とキャッ
シュメモリのヒット回数とを初期化するキャッシュヒッ
ト率初期化処理を行わせるためのプログラムを含むこと
を特徴とする請求項11記載の記録媒体。
12. A memory access count and a cache memory hit count of all processor groups stored in the main memory after a job is moved to any of the processors in the processor group in the job moving process. 12. The recording medium according to claim 11, further comprising a program for performing a cache hit ratio initialization process for initializing a cache hit ratio.
JP01065597A 1997-01-23 1997-01-23 Dispatching method, dispatching method, and recording medium recording dispatching program in multiprocessor system Expired - Fee Related JP3266029B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP01065597A JP3266029B2 (en) 1997-01-23 1997-01-23 Dispatching method, dispatching method, and recording medium recording dispatching program in multiprocessor system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP01065597A JP3266029B2 (en) 1997-01-23 1997-01-23 Dispatching method, dispatching method, and recording medium recording dispatching program in multiprocessor system

Publications (2)

Publication Number Publication Date
JPH10207850A true JPH10207850A (en) 1998-08-07
JP3266029B2 JP3266029B2 (en) 2002-03-18

Family

ID=11756249

Family Applications (1)

Application Number Title Priority Date Filing Date
JP01065597A Expired - Fee Related JP3266029B2 (en) 1997-01-23 1997-01-23 Dispatching method, dispatching method, and recording medium recording dispatching program in multiprocessor system

Country Status (1)

Country Link
JP (1) JP3266029B2 (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009059077A (en) * 2007-08-30 2009-03-19 Toshiba Corp Cache system
WO2010093003A1 (en) * 2009-02-13 2010-08-19 日本電気株式会社 Calculation resource allocation device, calculation resource allocation method, and calculation resource allocation program
JP2010538371A (en) * 2007-08-27 2010-12-09 マーベル ワールド トレード リミテッド Dynamic core switching
WO2011155046A1 (en) * 2010-06-10 2011-12-15 富士通株式会社 Multi-core processor system, control program, and method of control
WO2012124077A1 (en) * 2011-03-16 2012-09-20 富士通株式会社 Multi-core processor system and scheduling method
JP2013501296A (en) * 2009-09-11 2013-01-10 エンパイア テクノロジー ディベロップメント エルエルシー Cache prefill in thread transport
JP2014130644A (en) * 2014-04-03 2014-07-10 Fujitsu Ltd Multiprocessor system, control method and control program
US8819379B2 (en) * 2011-11-15 2014-08-26 Memory Technologies Llc Allocating memory based on performance ranking
EP3101548A1 (en) 2015-06-03 2016-12-07 Fujitsu Limited Parallel computer, migration program and migration method
US9569270B2 (en) 2009-04-21 2017-02-14 Empire Technology Development Llc Mapping thread phases onto heterogeneous cores based on execution characteristics and cache line eviction counts

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9158355B2 (en) 2006-08-10 2015-10-13 Marvell World Trade Ltd. Dynamic core switching
JP2010538371A (en) * 2007-08-27 2010-12-09 マーベル ワールド トレード リミテッド Dynamic core switching
JP2009059077A (en) * 2007-08-30 2009-03-19 Toshiba Corp Cache system
US8635405B2 (en) 2009-02-13 2014-01-21 Nec Corporation Computational resource assignment device, computational resource assignment method and computational resource assignment program
JP5322038B2 (en) * 2009-02-13 2013-10-23 日本電気株式会社 Computing resource allocation device, computing resource allocation method, and computing resource allocation program
WO2010093003A1 (en) * 2009-02-13 2010-08-19 日本電気株式会社 Calculation resource allocation device, calculation resource allocation method, and calculation resource allocation program
US9569270B2 (en) 2009-04-21 2017-02-14 Empire Technology Development Llc Mapping thread phases onto heterogeneous cores based on execution characteristics and cache line eviction counts
JP2013501296A (en) * 2009-09-11 2013-01-10 エンパイア テクノロジー ディベロップメント エルエルシー Cache prefill in thread transport
CN102934095A (en) * 2010-06-10 2013-02-13 富士通株式会社 Multi-core processor system, control program, and method of control
WO2011155046A1 (en) * 2010-06-10 2011-12-15 富士通株式会社 Multi-core processor system, control program, and method of control
JP5516728B2 (en) * 2010-06-10 2014-06-11 富士通株式会社 Multi-core processor system, control program, and control method
WO2012124077A1 (en) * 2011-03-16 2012-09-20 富士通株式会社 Multi-core processor system and scheduling method
US8819379B2 (en) * 2011-11-15 2014-08-26 Memory Technologies Llc Allocating memory based on performance ranking
JP2014130644A (en) * 2014-04-03 2014-07-10 Fujitsu Ltd Multiprocessor system, control method and control program
EP3101548A1 (en) 2015-06-03 2016-12-07 Fujitsu Limited Parallel computer, migration program and migration method
US10019164B2 (en) 2015-06-03 2018-07-10 Fujitsu Limited Parallel computer, migration program and migration method

Also Published As

Publication number Publication date
JP3266029B2 (en) 2002-03-18

Similar Documents

Publication Publication Date Title
US20200409768A1 (en) Autoscaling using file access or cache usage for cluster machines
JPH10207850A (en) Dispatching system and method for multiprocessor system, and recording medium recorded with dispatching program
US20180217875A1 (en) Data processing system and data processing method
KR101639003B1 (en) Manicore system based cpu/gpu and method for distributing workload for cpu/gpu concurrent processing
JPH0883257A (en) Method for optimizing process execution of parallel computer system
JP2000194650A (en) Data processing load distribution system
KR101568204B1 (en) Manicore system based cpu/gpu and method for determining the number of cores of a multicore cpu for cpu/gpu concurrent processing
CN113238869A (en) Calculation acceleration method, equipment and system and storage medium
JPH05151013A (en) System for performance prediction and performance diagnosis
JP3818172B2 (en) Multiprocessor system, process control method, and process control program
Jones Factors affecting the efficiency of a virtual memory
JP3022398B2 (en) Virtual computer system
JPH0934848A (en) Thread control method and information processing system
JPH07230358A (en) Multiplexed volume device
JP2006065658A (en) Parallel computer system and method for entering job
JPH09282294A (en) Substitutive processing system for tightly-coupling multi-processor system
JPH07117901B2 (en) Time division control method
JPS63150735A (en) Task generation/erasure control system
JP3397425B2 (en) Periodic communication processing device
JP2675026B2 (en) File execution method in computer system
JPS6391754A (en) Memory size control system
JP2562515B2 (en) Direct access storage device selection processing method
JPH0830512A (en) Thread control system
JPH0319036A (en) Dynamic dispatching system using time slice interval
CN116841739A (en) Data packet reuse system for heterogeneous computing platforms

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20011204

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080111

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090111

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100111

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110111

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110111

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120111

Year of fee payment: 10

LAPS Cancellation because of no payment of annual fees