Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JPH0437457B2 - - Google Patents
[go: Go Back, main page]

JPH0437457B2 - - Google Patents

Info

Publication number
JPH0437457B2
JPH0437457B2 JP61063598A JP6359886A JPH0437457B2 JP H0437457 B2 JPH0437457 B2 JP H0437457B2 JP 61063598 A JP61063598 A JP 61063598A JP 6359886 A JP6359886 A JP 6359886A JP H0437457 B2 JPH0437457 B2 JP H0437457B2
Authority
JP
Japan
Prior art keywords
processor
reference count
data
references
message
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
Application number
JP61063598A
Other languages
Japanese (ja)
Other versions
JPS62221749A (en
Inventor
Mitsuhiro Kishimoto
Kiminori Sato
Toshihiro Ozawa
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 JP61063598A priority Critical patent/JPS62221749A/en
Publication of JPS62221749A publication Critical patent/JPS62221749A/en
Publication of JPH0437457B2 publication Critical patent/JPH0437457B2/ja
Granted legal-status Critical Current

Links

Landscapes

  • Multi Processors (AREA)
  • Memory System (AREA)

Description

【発明の詳細な説明】 〔目次〕 概要 産業上の利用分野 従来の技術 発明が解決しようとする問題点 問題点を解決するための手段 作 用 実施例 発明の効果 〔概要〕 不用データの回収を参照回数累積部を用いて行
なうマルチ・プロセツサシステムであつて、他の
プロセツサ中に存在するデータの参照回数を更新
を、データを保持しているプロセツサに対し、参
照回数変更の通信文で依頼する参照回数更新装置
において、各プロセツサに、自プロセツサから他
のプロセツサが保持するデータへの参照回数を累
積する局所的な参照回数累積手段と、前記局所的
な参照回数累積手段の累積値が零になつたとき
に、該当する他のプロセツサへの自プロセツサか
らの参照が零となつたことを示す通信文を作成す
る通信文作成手段を設け、前記局所的な参照回数
累積手段の更新処理に際して、当該参照回数累積
手段の値が零でない値を有するときは該当する他
プロセツサへの通信を行わず、当該参照回数累積
手段の値が零となつたときのみ、該当する他プロ
セツサへ参照回数変更依頼のための通信文を送信
するよう構成したことにより、プロセツサ間でや
り取りする参照回数更新依頼通信文を大巾に減す
ことを可能とすること。
[Detailed description of the invention] [Table of contents] Overview Industrial application fields Prior art Problems to be solved by the invention Means for solving the problems Effects Examples Effects of the invention [Summary] Collection of unnecessary data In a multi-processor system that uses a reference count accumulator, a request is made to the processor holding the data to update the reference count of data existing in other processors by sending a message to change the reference count. In the reference number updating device, each processor includes a local reference number accumulating means for accumulating the number of references from its own processor to data held by other processors, and a cumulative value of the local reference number accumulating means is zero. A message creating means is provided for creating a message indicating that the number of references from the own processor to the corresponding other processor has become zero when the number of references from the own processor to the corresponding other processor has become zero, and when updating the local reference count accumulating means. , when the value of the reference count accumulation means has a non-zero value, no communication is performed to the corresponding other processor, and only when the value of the reference count accumulation means becomes zero, the reference count is changed to the corresponding other processor. To make it possible to greatly reduce the number of reference count update request messages exchanged between processors by configuring to transmit a message for a request.

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

この発明は、人工知能の分野、時にLISP、
PrologやSmall talkといつた人工知能向き言語、
エキスパート・システム等に好適な高性能処理シ
ステムに係り、より詳細には、複数台のプロセツ
サを有するマルチ・プロセツサ・システムにおけ
る不用データの回収(ガーベジ・コレクシヨン)
システムに関する。
This invention is in the field of artificial intelligence, sometimes called LISP,
Languages suitable for artificial intelligence such as Prolog and Small talk,
It relates to high-performance processing systems suitable for expert systems, etc., and more specifically, collection of unnecessary data (garbage collection) in multi-processor systems having multiple processors.
Regarding the system.

〔従来の技術〕[Conventional technology]

現在のいわゆるノイマン型マシンと呼ばれるコ
ンピユータは、数値計算や文字列処理などは高速
に実行できるが、推論のような人間の知能にかか
わる処理は苦手である。そのため人工知能向きの
コンピユータとして例えばリスト処理指向のデー
タ・フロー型のマシンが提案されており、これら
のマシンに適する言語として、LISPやPrologと
いつた言語が提案されている。
Current computers, known as von Neumann machines, can perform numerical calculations and string processing at high speed, but are not good at processes that involve human intelligence, such as inference. For this reason, list processing-oriented data flow machines, for example, have been proposed as computers suitable for artificial intelligence, and languages such as LISP and Prolog have been proposed as languages suitable for these machines.

データ・フローマシンにおける実行は、データ
駆動と呼ばれる実行原理に基づいて行なわれる。
これは、通常のノイマン型コンピユータにはない
特徴を持つている。例えば処理量が膨大で並列処
理の可能性を含み、またデータ管理においてはメ
モリ・アドレスという考え方がなく、メモリを実
行時に割当て、実行時に解放する。
Execution in a data flow machine is based on an execution principle called data-driven.
It has features not found in normal von Neumann computers. For example, the amount of processing is enormous and includes the possibility of parallel processing, and there is no concept of memory addresses in data management, and memory is allocated and released at runtime.

第4図は、このときの様子を模式的に示したも
のである。
FIG. 4 schematically shows the situation at this time.

CPUおよびメモリを含む処理要素#0のメモ
リ空間40には、多数のメモリセル41,42,
43が割当てられており、各セルには、実行実時
にポインタ44,45により割つけられた次セル
が指示されている。各セル41,42,43に
は、ポインタの有無および数を示すためのリフア
レンスカウンタ46が設けられており、自セルの
使用状態が表わされている。例えば、メモリ・セ
ル41はメモリセル42,43から参照されてい
るので、メモリ・セル41のリフアレンス・カウ
ンタ46は2を示している。このメモリ・セルに
データが記憶されている。
The memory space 40 of processing element #0 including a CPU and memory includes a large number of memory cells 41, 42,
43 is allocated to each cell, and the next cell allocated to each cell is indicated by pointers 44 and 45 at the time of actual execution. Each cell 41, 42, 43 is provided with a reference counter 46 for indicating the presence/absence and number of pointers, and represents the use state of the own cell. For example, memory cell 41 is referenced by memory cells 42 and 43, so reference counter 46 of memory cell 41 indicates 2. Data is stored in this memory cell.

このセルからのポインタは、CPUが並列に多
数設けられたいわゆる並列処理の場合も同様で、
他の処理要素中のメモリセルからのポインタの有
無をもカウントする。例えば、第4図において、
処理要素#0のメモリセル41に対し、破線48
で示すように処理要素#1のセル47からの参照
があれば、カウンタは「3」となる。
The pointer from this cell is the same in the case of so-called parallel processing where many CPUs are installed in parallel.
The presence or absence of pointers from memory cells in other processing elements is also counted. For example, in Figure 4,
For memory cell 41 of processing element #0, broken line 48
If there is a reference from the cell 47 of processing element #1 as shown in , the counter becomes "3".

このようなマシンにおいては、先にのべたとお
りメモリを実行時に割り当て、その都度解放して
いくため、予め1つの処理にどれだけのメモリが
必要となるのかわからない。従つて、解放された
セルを即ち不要となつたデータを再度使用できる
ようにして行くことが不可欠である。このため、
ガーベジ・コレクタと呼ばれる自動領域管理シス
テムが備えられている。
In such machines, as mentioned above, memory is allocated during execution and released each time, so it is not known in advance how much memory will be needed for one process. Therefore, it is essential to make the released cells, ie, the data that are no longer needed, usable again. For this reason,
An automatic space management system called a garbage collector is provided.

ガーベジ・コレクタには、所定の処理を行なつ
た後、一括して不要になつたデータ、即ちセルの
回収を行なうという一括型ガーベジ・コレクタの
外、前述のように各セルにリフアレンスカウンタ
(参照回数累積部)を設け、参照回数がゼロとな
つたことを検出して、データが不用になつた時点
ですぐに回収を行なう参照回数(リフアレンス・
カウンタ)方式がある。一括型ガーベジ・コレク
シヨンは、その時に処理が中断してしまうという
欠点を有するため、現在はこのような欠点のな
い、参照回数方式が注目されている。
In addition to the bulk garbage collector, which collects all unnecessary data (i.e., cells) after performing a predetermined process, the garbage collector also has a reference counter (reference counter) for each cell as described above. A reference count accumulation unit) is provided to detect when the reference count reaches zero and collect the data as soon as it is no longer needed.
There is a counter method. Since batch garbage collection has the disadvantage that processing is interrupted at that time, a reference count method that does not have this disadvantage is currently attracting attention.

ところが、複数個の処理要素を備えたマルチプ
ロセツサ・システムにおいて、この参照回数方式
のガーベジ・コレクシヨンを行なうと、プロセツ
サ間の通信の大部分が参照回数更新の依頼通信文
となつてしまうという問題点を有することにな
る。
However, in a multiprocessor system equipped with multiple processing elements, when garbage collection is performed using the reference count method, a problem arises in that most of the communication between processors becomes a request message for updating the reference count. You will have points.

マルチ・プロセツサ・システムにおける上述の
ような問題点を解決するため、 (1) 参照回数更新通信文専用のネツトワークを設
ける。
In order to solve the above-mentioned problems in multi-processor systems, (1) A network dedicated to reference count update messages is established.

(2) 参照回数更新通信文のバツフアリング(キヤ
ツシング)装置を設ける。即ち、更新要求があ
つた時、直に更新のための通信を行なうのでは
なく、ある時間それをバツフアリング装置に貯
えておき、それを一括して通信する、 等の方式が提案されている。
(2) Provide a buffering device for reference count update messages. That is, a method has been proposed in which, when an update request is received, instead of communicating for update immediately, the request is stored in a buffering device for a certain period of time and then communicated all at once.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

ところが、上述の方式のうち、(1)の専用ネツト
ワークを設けるものでは、参照回数更新通信文以
外の通信文は、ネツトワークを設けたことにより
比較的効率よく通信できるが、参照回数更新通信
文に対しては何等本質的な変更を加えておらず、
参照回数更新通信文専用のネツトワークはやはり
パンクしてしまうという問題点を有している。
However, among the above methods, in the method (1) that provides a dedicated network, messages other than the reference count update message can be communicated relatively efficiently due to the provision of the network, but the reference count update message No essential changes were made to the text,
The network dedicated to the reference count update message still has the problem of being punctured.

また、(2)のバツフアリング装置を設ける方法で
は、自プロセツサから発信する更新通信文を即座
に送信せず、専用のバツフアに格納しておくの
で、反対の通信文(増加依頼に対して減少依頼)
がきたときには、2つの通信文を相殺して無くし
てしまつたり、n個の増加依頼通信文を1つのn
だけ増加させる通信文にしてしまうことができる
ので、かなりの通信文の削減が期待できるが、そ
の反面、参照回数方式の大きな特徴である即時回
収という性質を損なつてしまうという問題点を有
することになる。
In addition, in the method (2) of providing a buffering device, the update message sent from the own processor is not immediately sent, but is stored in a dedicated buffer, so the opposite message (request for increase versus request for decrease) is stored in a dedicated buffer. )
When a request comes, the two messages are canceled out and lost, or the n increase request messages are combined into one n increase request message.
However, on the other hand, there is a problem in that the characteristic of immediate collection, which is a major feature of the reference count method, is lost. become.

本発明は、上述のような問題点を解決するため
になされたものであり、参照回数方式のガーベ
ジ・コレクシヨン・コレクタを用いるマルチ・プ
ロセツサ・システムにおいて、参照回数方式の即
時回収性を損わずプロセツサ間のネツトワーク上
を走る参照回数更新通信文の量を削減できる参照
回数更新装置を提供することを目的とする。
The present invention has been made in order to solve the above-mentioned problems, and it can be used in a multi-processor system using a garbage collection collector based on the number-of-reference method without impairing the immediate collection performance of the number-of-reference method. It is an object of the present invention to provide a reference count update device capable of reducing the amount of reference count update messages that run on a network between processors.

〔問題点を解決するための手段〕[Means for solving problems]

上述の問題点を解決するため、この発明におい
ては、複数個のプロセツサから構成されるマル
チ・プロセツサ・システムにおいて、各プロセツ
サ中に他のプロセツサが保持するデータへの局所
的な参照回数累積器(自プロセツサ内からの参照
回数のみを示す)を設ける。
In order to solve the above-mentioned problems, the present invention provides a multi-processor system consisting of a plurality of processors, in which each processor has a local reference count accumulator ( (indicates only the number of references from within the own processor).

第1図は、この発明の原理を示す図面である。
図において、#0,#1,#2,#3は、それぞ
れ図示してない実行ユニツト(CPU)を含むプ
ロセツサ・ユニツトであり、特にそのメモリ空間
が模式的に示されている。各プロセツサ・ユニツ
トには、データを保持するメモリ・セル1,2,
3,4,5,6,7が設けられており、各メモ
リ・セルには、従来どおりにリフアレンスカウン
タ(参照回数累積器)が設けられる。さらに各プ
ロセツサ中に局所的な参照回数累積器が設けられ
ている。第1図では、プロセツサ・ユニツト#0
のメモリセル1中に設けられた参照回数累積器1
−1を示し、プロセツサ・ユニツト#1、プロセ
ツサ・ユニツト#2中に局所的な参照回数累積器
8,9が設けられていることを示している。そし
て、プロセツサ・ユニツト#1でのセル1への参
照回数をこの局所的参照回数累積器8に登録し、
これをまとめた形で、セル1へのポインタとす
る。プロセツサ#2の参照回数も同様である。セ
ル1個の方では、他プロセツサ・ユニツトからの
参照回数は、「参照を行なつている他のプロセツ
サ数」としてとらえ、参照回数累積器1−1に登
録する。第1図の例では参照回数は自プロセツサ
内の参照も含めて「4」となる。そして、他のプ
ロセツサへの参照回数の変更は、局所的累積器の
みの更新にとどめ、この局所的累積器が「0」に
なつたときにだけ、データを保持しているプロセ
ツサに参照回数の減少を依頼する。
FIG. 1 is a drawing showing the principle of the invention.
In the figure, #0, #1, #2, and #3 are processor units each including an execution unit (CPU) not shown, and in particular, their memory spaces are schematically shown. Each processor unit has memory cells 1, 2, and 2 that hold data.
3, 4, 5, 6, and 7 are provided, and each memory cell is provided with a reference counter (reference number accumulator) in the conventional manner. Additionally, a local reference count accumulator is provided in each processor. In Figure 1, processor unit #0
Reference count accumulator 1 provided in memory cell 1 of
-1, indicating that local reference count accumulators 8 and 9 are provided in processor unit #1 and processor unit #2. Then, the number of references to cell 1 in processor unit #1 is registered in this local reference number accumulator 8,
This is collectively referred to as a pointer to cell 1. The same applies to the number of references to processor #2. For one cell, the number of references from other processor units is treated as "the number of other processors making references" and is registered in the reference number accumulator 1-1. In the example of FIG. 1, the number of references is "4" including references within the own processor. Changes in the number of references to other processors are limited to updating only the local accumulator, and only when this local accumulator reaches 0, the number of references to the processor that holds the data is updated. Request a reduction.

〔作用〕[Effect]

以上のように、本発明では、他プロセツサ中の
メモリ・セルに保持されているデータの参照回数
の変更は、そのプロセツサ中からの参照回数がゼ
ロにならない限り、自プロセツサ中に用意された
局所的参照回数累積器の更新処理で行なわれる。
従つて、ゼロにならない限り、プロセツサ間に参
照回数更新依頼の通信文は発信されないので、プ
ロセツサ間の通信量を大巾に減ずることができ
る。しかも、参照回数方式による不要データの回
収の速時性を保つている。
As described above, in the present invention, the number of references to data held in a memory cell in another processor can be changed by changing the number of references to data held in a memory cell in another processor, unless the number of references from that processor becomes zero. This is done in the updating process of the target reference count accumulator.
Therefore, unless the number of references reaches zero, a message requesting an update of the number of references is not sent between the processors, so that the amount of communication between the processors can be greatly reduced. Moreover, the speed of collecting unnecessary data is maintained by the reference count method.

〔実施例〕〔Example〕

以下、第2図、第3図を用いてこの発明の一実
施例を説明する。
An embodiment of the present invention will be described below with reference to FIGS. 2 and 3.

まず、この発明による参照回数更新方式の原則
を説明する。
First, the principle of the reference count update method according to the present invention will be explained.

この発明においては、参照回数更新通信文を削
減するため、参照回数(参照回数累積部が保持し
ている内容)を次のように変更する。
In this invention, in order to reduce the number of reference update messages, the number of references (content held by the reference number accumulation section) is changed as follows.

参照回数=自プロセツサ内からの参照回数+参
照を行なつている他のプロセツサ数そして、各プ
ロセツサ中に、他のプロセツサが自プロセツサ内
に保持するデータへの局所的な参照回数累積部
(自プロセツサ内からの参照回数のみを示す)を
設ける。(第1図の9,8参照)。
Number of references = number of references from within its own processor + number of other processors that are making references, and each processor has a local reference number accumulator (self) for data held by other processors within its own processor. (indicates only the number of references from within the processor). (See 9 and 8 in Figure 1).

この新しい参照回数に基づく参照回数の更新法
は、次のようになる。
The method for updating the number of references based on this new number of references is as follows.

(1) 更新を行うデータが自プロセツサ内にあれ
ば、直接その参照回数累積部の内容を更新す
る。
(1) If the data to be updated is in its own processor, the contents of its reference count accumulation section are directly updated.

(1-1) 参照回数がゼロになつたらそのデータ
はもはや不用であるので回収する。
(1-1) When the number of references reaches zero, the data is no longer needed and should be collected.

(2) 更新を行なうデータが他のプロセツサ中にあ
れば、そのプロセツサ中の局所的な参照回数累
積部の内容を更新する。
(2) If the data to be updated is in another processor, the contents of the local reference count accumulation section in that processor are updated.

(2-1) 局所的累積部の内容が「0」となつた
ら、そのプロセツサからの参照は無くなつて
しまつたので、データを保持しているプロセ
ツサに参照回数の減少を依頼する通信文を送
る。
(2-1) When the contents of the local accumulation section become 0, there are no more references from that processor, so send a message to the processor that holds the data to request a reduction in the number of references. send.

(3) 他のプロセツサにデータを送る時は、まず自
プロセツサ内のデータそのものに付いている参
照回数累積部を1増やす。
(3) When sending data to another processor, first increment by 1 the reference count accumulator attached to the data itself in its own processor.

(3-1) データを受け取つたプロセツサ側で、
そのデータが初めてのデータ(プロセツサ内
にはそのデータへの参照がない)ならば、局
所的な参照回数累積部を用意し、回数を1と
する。
(3-1) On the processor side that receives the data,
If the data is new data (there is no reference to the data in the processor), a local reference count accumulator is prepared and the count is set to 1.

(3-2) 初めてのデータでなければ、すでにそ
のデータに対する局所的な参照回数累積部が
あるので、その内容を1増やす。
(3-2) If it is not the first data, there is already a local reference count accumulator for that data, so increment its contents by 1.

この方式を実現するための参照回数更新ハード
ウエアは、第2図、第3図に示してある。第2図
は、#0,#1,#2,#3の4台のプロセツ
サ・ユニツトによるシステムを示してあり、各プ
ロセツサ・ユニツトには実行エンジン(CPU)
21が設けられる外、局所記憶26、通信文送受
信装置24、自プロセツサ内データの参照回数更
新装置23が設けられ、さらに、この発明に従つ
て、他プロセツサ内データの参照回数を更新し記
憶しておく局所的参照回数累積部を含む参照回数
更新装置22が設けられている。各プロセツサ・
ユニツト#0〜#3は、ネツトワーク25で結ば
れており、データのやり取りの外参照回数更新の
ための通信が行なわれる。参照回数更新装置22
の詳細は、第3図に示す。第2図では4台のプロ
セツサによるシステムを示したが、これはn台で
良く、また、ネツトワーク25も図示したような
バス型だけでなく、メツシユ、トーラス、キユー
ブ等その形式によらない。これによりProlog、
LISP等の処理を行なうことになる。
The reference count updating hardware for implementing this method is shown in FIGS. 2 and 3. Figure 2 shows a system with four processor units #0, #1, #2, and #3, and each processor unit has an execution engine (CPU).
21, a local memory 26, a message transmitting/receiving device 24, and a reference count updating device 23 for data in its own processor are provided, and further, according to the present invention, a device 23 for updating and storing the reference count for data in other processors is provided. A reference number update device 22 is provided that includes a local reference number accumulating unit. Each processor
Units #0 to #3 are connected by a network 25, and communication for updating the number of references is performed in addition to exchanging data. Reference count update device 22
The details are shown in FIG. Although a system with four processors is shown in FIG. 2, it is sufficient to have n processors, and the network 25 is not limited to the bus type shown in the figure, but may be of any type such as mesh, torus, or cube. This allows Prolog,
It will perform processing such as LISP.

第3図は、他プロセツサ中のデータの参照回数
更新装置の一実施例である。図において、34は
参照回数テーブルであり、他のプロセツサ中のデ
ータと対応する局所的参照回数累積部として働
く。35は増減回路(+1または−1を実行す
る)であり、参照回数の増減により、参照回数テ
ーブル中の局所的参照回数累積部を増減する。3
2はゼロ検出回路であり、参照回数がゼロ即ち、
参照回数テーブル34中の累積部がゼロとなつた
ことを検出し、後で述べる通信文作成回路33と
制御回路31に信号を送る。通信文作成回路33
は、ゼロ検出回路から信号を受け取ると、データ
を保持しているプロセツサに送る参照回数更新通
信文を作成する。制御回路31は、参照回数テー
ブルのエントリの追加/削除等、全体の制御を行
なう。
FIG. 3 shows an embodiment of a device for updating the number of references to data in other processors. In the figure, numeral 34 is a reference number table, which functions as a local reference number accumulator that corresponds to data in other processors. 35 is an increase/decrease circuit (executes +1 or -1), which increases/decreases the local reference count accumulation section in the reference count table according to increase/decrease in the reference count. 3
2 is a zero detection circuit, and the number of references is zero, that is,
It is detected that the cumulative part in the reference count table 34 has become zero, and a signal is sent to a message creation circuit 33 and a control circuit 31, which will be described later. Message creation circuit 33
When it receives a signal from the zero detection circuit, it creates a reference count update message to send to the processor holding the data. The control circuit 31 performs overall control such as addition/deletion of entries in the reference count table.

第3図において、実行エンジンから、他プロセ
ツサ中にあるデータ中に対する参照回数の更新依
頼をうけとると、参照回数テーブル34の検索を
行なう。もし、未登録データであれば、テーブル
への追加を行なう。これにより前記他プロセツサ
への局所的参照回数累積部を作ることになる。既
存データであれば既に局所的参照回数累積部があ
るので、増減回路35を用いて、テーブルの内容
を更新する。もしゼロとなつたならば、ゼロ検出
回路32が検出する制御回路31によつて参照回
数テーブルの該当エントリを削除する。同時に通
信文作成回路33によつて他プロセツサに送付す
る参照回数更新依頼通信文を生成する。
In FIG. 3, upon receiving a request from the execution engine to update the number of references to data in another processor, the reference number table 34 is searched. If it is unregistered data, it is added to the table. This creates a local reference count accumulator for the other processors. If it is existing data, there is already a local reference count accumulation section, so the contents of the table are updated using the increase/decrease circuit 35. If it becomes zero, the control circuit 31 detected by the zero detection circuit 32 deletes the corresponding entry in the reference count table. At the same time, the message creation circuit 33 generates a reference count update request message to be sent to other processors.

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

この発明によれば、他プロセツサ中のデータの
参照回数は、参照回数がゼロにならない限り、局
所的な参照回数累積部の更新処理のみで終り、プ
ロセツサ間の通信とはならない。そのため、参照
回数更新依頼の通信は大巾に減少される。しかも
この方式によれば、参照回数方式による即時性を
保つことになる。
According to this invention, unless the number of references becomes zero, the number of references to data in other processors ends with only a local update process of the reference number accumulator, and communication between processors does not occur. Therefore, the number of reference count update request communications is greatly reduced. Moreover, according to this method, the immediacy achieved by the reference count method is maintained.

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

第1図は、この発明の原理図であり、第2図、
第3図は、この発明の一実施例を示す図であり、
第4図は、従来例を示す図である。 #0,#1,#2,#3……プロセツサ・ユニ
ツト、1〜7……メモリ・セル、8,9……局所
的参照回数累積部、21……実行エンジン
(CPU)、22,23……参照回数更新装置、2
4……通信文送受信装置、25……ネツトワー
ク、26……局所記憶、31……制御回路、32
……ゼロ検出回路、33……通信文作成回路、3
4……参照回数テーブル、35……増減回路。
FIG. 1 is a diagram showing the principle of this invention, and FIG.
FIG. 3 is a diagram showing an embodiment of the present invention,
FIG. 4 is a diagram showing a conventional example. #0, #1, #2, #3...Processor unit, 1-7...Memory cell, 8, 9...Local reference number accumulator, 21...Execution engine (CPU), 22, 23 ...Reference count update device, 2
4...Message transmitting/receiving device, 25...Network, 26...Local memory, 31...Control circuit, 32
...Zero detection circuit, 33 ...Message creation circuit, 3
4... Reference count table, 35... Increase/decrease circuit.

Claims (1)

【特許請求の範囲】 1 不用データの回収を参照回数累積手段を用い
て行うマルチ・プロセツサ・システムであつて、
他のプロセツサ中に存在するデータの参照回数の
更新を、データを保持しているプロセツサに対し
参照回数変更の通信文で依頼する参照回数更新装
置において、 各プロセツサに、自プロセツサから他のプロセ
ツサが保持するデータへの参照回数を累積する局
所的な参照回数累積手段34,35と、 前記局所的な参照回数累積手段34,35の累
積値が零になつたときに、該当する他のプロセツ
サへの自プロセツサからの参照が零となつたこと
を示す通信文を作成する通信文作成手段32,3
3を設け、 前記局所的な参照回数累積手段34,35の更
新処理に際して、当該参照回数累積手段34,3
5の値が零でない値を有するときは該当する他プ
ロセツサへの通信を行わず、 当該参照回数累積手段34,35の値が零とな
つたときのみ、該当する他プロセツサへ参照回数
変更依頼のための通信文を送信するよう構成した
ことを特徴とする参照回数更新装置。
[Scope of Claims] 1. A multi-processor system that collects unnecessary data using reference count accumulation means, comprising:
In a reference count update device that requests a processor holding the data to update the reference count of data existing in another processor using a reference count change message, each processor receives a request from its own processor to the other processor. Local reference number accumulating means 34, 35 that accumulate the number of references to the retained data, and when the cumulative value of the local reference number accumulating means 34, 35 reaches zero, the information is sent to the corresponding other processor. Message creation means 32, 3 for creating a message indicating that the reference from its own processor has become zero.
3, and when updating the local reference number accumulating means 34, 35, the reference number accumulating means 34, 3
When the value of 5 is not zero, no communication is made to the corresponding other processor, and only when the value of the reference count accumulation means 34, 35 becomes zero, a request to change the reference count is sent to the corresponding other processor. 1. A reference count updating device, characterized in that it is configured to transmit a message for the purpose of updating the number of references.
JP61063598A 1986-03-20 1986-03-20 Updating device for reference frequency Granted JPS62221749A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61063598A JPS62221749A (en) 1986-03-20 1986-03-20 Updating device for reference frequency

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61063598A JPS62221749A (en) 1986-03-20 1986-03-20 Updating device for reference frequency

Publications (2)

Publication Number Publication Date
JPS62221749A JPS62221749A (en) 1987-09-29
JPH0437457B2 true JPH0437457B2 (en) 1992-06-19

Family

ID=13233869

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61063598A Granted JPS62221749A (en) 1986-03-20 1986-03-20 Updating device for reference frequency

Country Status (1)

Country Link
JP (1) JPS62221749A (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3611295B2 (en) 2000-03-09 2005-01-19 インターナショナル・ビジネス・マシーンズ・コーポレーション Computer system, memory management method, and storage medium

Also Published As

Publication number Publication date
JPS62221749A (en) 1987-09-29

Similar Documents

Publication Publication Date Title
US12236095B2 (en) Handling frequently accessed pages
US11513836B2 (en) Scheduling resuming of ready to run virtual processors in a distributed system
US5062040A (en) Handling of notification of asynchronous events by user and stub processes of a distributed process executing on a plurality of processors of a multi-processor system
EP2159694B1 (en) Method and device for barrier synchronization, and multicore processor
KR20180057639A (en) Network coupled memory using selective resource movement
RU93005211A (en) FAULT-RESISTANT COMPUTING SYSTEM AND METHOD FOR ITS FORMATION
Brzezinski et al. Deadlock models and a general algorithm for distributed deadlock detection
CN105357026A (en) Resource information collection method and computing node
JPH0437457B2 (en)
CN120407183A (en) A user-insensitive remote memory swap system with hot and cold sensing
US5021942A (en) Data processing system with packets specifying functions and arguments
DeMara et al. Tiered algorithm for distributed process quiescence and termination detection
JPH04288638A (en) Computer system
Istavrinos et al. A process and memory model for a parallel distributed-memory machine
Arden et al. A multi-microprocessor computer system architecture
Guo et al. Research on inter-process communication based on multi-core MCUs
EP0272837A2 (en) Inter-process signal handling in a multi-processor system
SE503506C2 (en) Systems and procedures for processing data and communication systems with such systems
JP2971119B2 (en) High-speed data transfer method in multiple processor system
CN117891583A (en) Process scheduling method, device and equipment for asynchronous parallel I/O request
JPH0619858A (en) Shared resource automatic return method
JPS6224377A (en) Information collecting system for data communication network
JPH04281539A (en) Data management system
Ghosh et al. Concurrent reading and writing with mobile agents
Satyanarayanan et al. Message-efficient distributed mutual exclusion incorporating the ‘least recently used’fairness criterion