JPH04330529A - Management system for shared resource - Google Patents

Management system for shared resource

Info

Publication number
JPH04330529A
JPH04330529A JP13062591A JP13062591A JPH04330529A JP H04330529 A JPH04330529 A JP H04330529A JP 13062591 A JP13062591 A JP 13062591A JP 13062591 A JP13062591 A JP 13062591A JP H04330529 A JPH04330529 A JP H04330529A
Authority
JP
Japan
Prior art keywords
packet
shared resource
tag
packets
processor
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP13062591A
Other languages
Japanese (ja)
Inventor
Hirono Tsubota
浩乃 坪田
Takeshi Tokuda
健 徳田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP13062591A priority Critical patent/JPH04330529A/en
Publication of JPH04330529A publication Critical patent/JPH04330529A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To effectively use a shared resource without repeating ineffective execution. CONSTITUTION:Plural tasks, processings, or processors PEi request the use of a shared resource 3 on a network 1 to output a packet 11 having a specific tag 21, and the shared resource 3 in the available state outputs a packet 10 having a tag 21 designating itself, and plural arrival packets 11 are stored in a queue memory 4 on the network 1, and one of plural packets 11 having the tag 21 matching with the tag 21 of the shared resource 3 is selected to output a permission packet which permits the use of the shared resource.

Description

【発明の詳細な説明】[Detailed description of the invention]

【0001】0001

【産業上の利用分野】この発明はデータ駆動型マイクロ
プロセッサの共有資源の管理方式に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a shared resource management method for data-driven microprocessors.

【0002】0002

【従来の技術】VLSI技術の進展にともなって、マイ
クロプロセッサの価格が低下し、信頼性が向上したため
に、多数のマイクロプロセッサをネットワークに連結し
て高速にデータ処理を行う並列処理が盛になっている。 ところが、多数のマイクロプロセッサに分割された処理
を、まったく独立に処理した場合、不都合が生じる場合
がある。特に、記憶装置やプリンタ等の共有資源を複数
のマイクロプロセッサが同時に使用する場合、同時に使
用できるマイクロプロセッサを一つに制限し、排他的に
実行させなければ、処理の整合性が保証されない場合が
ある。
[Background Art] With the advancement of VLSI technology, the price of microprocessors has decreased and their reliability has improved, so parallel processing in which multiple microprocessors are connected to a network to process data at high speed has become popular. ing. However, if the processes divided among a large number of microprocessors are processed completely independently, problems may occur. In particular, when multiple microprocessors use shared resources such as storage devices or printers at the same time, the consistency of processing may not be guaranteed unless the microprocessors that can be used at the same time are restricted to one and executed exclusively. be.

【0003】従来では、複数のマイクロプロセッサ(タ
スク)が共有資源を排他的に使用する場合、共有資源の
使用可能を示すメモリ上のエリアに対する一連のアクセ
ス要求をインタロック(連結)して、使用中、未使用を
示す標識を排他的に書き換えるテストアンドセット命令
を使用していた。
Conventionally, when multiple microprocessors (tasks) use a shared resource exclusively, a series of access requests to memory areas indicating the availability of the shared resource are interlocked (concatenated). During the test, a test-and-set instruction was used to exclusively rewrite the unused indicator.

【0004】0004

【発明が解決しようとする課題】図6に示すように従来
では、ステップS1でTEST&SET命令を実行し、
ステップS2で成功すれば、ステップS3で共有資源を
利用処理している。共有資源が他のタスクで使用中のと
きは、要求元のタスクはステップS1に戻り、共有資源
が未使状態になるまで、成功するまで無効実行を繰り返
す必要があった。そのためネットワーク系全体としての
パイプライン処理が遅れるという問題があった。
[Problems to be Solved by the Invention] As shown in FIG. 6, conventionally, in step S1, a TEST & SET command is executed;
If step S2 is successful, shared resources are used in step S3. When the shared resource is being used by another task, the requesting task must return to step S1 and repeat invalid execution until the shared resource becomes unused and is successful. As a result, there was a problem in that the pipeline processing of the network system as a whole was delayed.

【0005】この発明の目的は、無効実行を繰り返すこ
となく共有資源を使用できるようにし、ネットワーク系
全体の処理速度を向上させることである。
An object of the present invention is to improve the processing speed of the entire network system by making it possible to use shared resources without repeating invalid execution.

【0006】[0006]

【課題を解決するための手段】この発明では、上記目的
を達成するために、複数のタスクや処理又はプロセッサ
PEi がネットワーク1上の共有資源3を使用するこ
とを要求して特定のタグ21を有するパケット11を出
力し、使用可能状態にある共有資源3が自己を指定する
タグ21を有するパケット10を出力し、ネットワーク
1上にある待合せメモリ4では、到着した複数のパケッ
ト11を格納し、共有資源3のタグ21と一致するタグ
21を有する複数のパケット11のうち1つを選んで、
当該共有資源3の使用を許可する許可パケットを出力す
るようにした。
[Means for Solving the Problems] In order to achieve the above object, in the present invention, a plurality of tasks, processes, or processors PEi request the use of a shared resource 3 on a network 1 and issue a specific tag 21. The shared resource 3 in an available state outputs a packet 10 having a tag 21 specifying itself, and the waiting memory 4 on the network 1 stores the plurality of arrived packets 11. Select one of the plurality of packets 11 having a tag 21 that matches the tag 21 of the shared resource 3,
A permission packet that permits the use of the shared resource 3 is output.

【0007】[0007]

【作用】共有資源3からのパケット10のタグ21と、
プロセッサPEi等からのパケット11のタグ21とが
待ち合わせメモリ4で比較され、一致するものがあると
、一致した複数のパケット11のなかから1つを選んで
許可パケットを生成する。この許可パケットは選ばれた
パケット11を出力したプロセッサPEi に返される
ので、このプロセッサPEi が共有資源3を使用でき
る。
[Operation] Tag 21 of packet 10 from shared resource 3,
The tags 21 of the packets 11 from the processor PEi etc. are compared in the waiting memory 4, and if there is a match, one is selected from the plurality of matching packets 11 to generate a permission packet. This permission packet is returned to the processor PEi that outputs the selected packet 11, so that this processor PEi can use the shared resource 3.

【0008】[0008]

【実施例】以下、この発明を図面に従って説明する。図
1において、1はネットワーク、2は共有資源を管理す
る管理用プロセッサ、3は記憶装置やプリンタ等の共有
資源、4は待ち合わせメモリ(MM)、5は命令実行部
である。又PE1 ,PE2…PEn はネットワーク
1に接続されたプロセッサである。
DESCRIPTION OF THE PREFERRED EMBODIMENTS The present invention will be explained below with reference to the drawings. In FIG. 1, 1 is a network, 2 is a management processor that manages shared resources, 3 is a shared resource such as a storage device or a printer, 4 is a waiting memory (MM), and 5 is an instruction execution unit. Further, PE1, PE2...PEn are processors connected to the network 1.

【0009】共有資源3と各プロセッサPE1 ,PE
2 …PEnは図2,3に示すようなパケット10,1
1をネットワーク1にそれぞれ出力している。管理用プ
ロセッサ2には番号q(定数)が予め設定され、各プロ
セッサPEi 等は簡単にE1 ,E2 …En の順
番号が設定されている。一方共有資源3にも予め番号k
(定数)が設定され、ネットワーク1上のプロセッサP
E1 ,PE2 …PEn と管理プロセッサ2及び共
有資源3は互いに当該番号q,k,E1 ,E2 …E
n により識別可能となっている。
[0009] Shared resource 3 and each processor PE1, PE
2...PEn is the packet 10,1 as shown in Figures 2 and 3
1 to network 1. A number q (constant) is set in advance for the management processor 2, and sequential numbers E1, E2, . . . En are simply set for each processor PEi, etc. On the other hand, shared resource 3 also has a number k in advance.
(constant) is set and processor P on network 1
E1, PE2...PEn, the management processor 2, and the shared resource 3 each have the corresponding numbers q, k, E1, E2...E
It can be identified by n.

【0010】図2は共有資源3が、使用可能になった場
合にネットワーク1を介して管理用プロセッサ2に送出
するパケット10を示している。まずパケット10の各
ビット区画を説明すると、高位ビット側から複数ビット
からなる20はこのパケット10の行き先プロセッサの
番号を示す、番号#qは、管理用プロセッサ2が行き先
プロセッサであることを示している。
FIG. 2 shows a packet 10 that the shared resource 3 sends over the network 1 to the management processor 2 when it becomes available. First, to explain each bit section of the packet 10, 20 consisting of multiple bits from the high-order bit side indicates the number of the destination processor of this packet 10, and the number #q indicates that the management processor 2 is the destination processor. There is.

【0011】次に21は対生成(メイト)相手の識別に
も用いられる行き先ノード番号を示し、特に共有資源3
用に予め決められた#kが設定されている。22は左,
右データを示す識別フラグで、例えば1,0でそれぞれ
左右を示す。この場合共有資源側からは右データを含む
パケットが出力されることになっているので右を示すフ
ラグが設定されている。23は命令コード(オペコード
)を示し、例えば、加算,減算の演算命令等であり、こ
こではRET−REQがセットされている。24はその
他のフラグが設定されるビットエリアである。又25は
データエリアで時刻,ジョブ番号等の共有資源3を管理
する上で必要な情報が含まれる。
[0011] Next, 21 indicates a destination node number which is also used to identify a pair creation (mate) partner, and in particular, the shared resource 3
A predetermined value #k is set for the purpose. 22 is on the left,
An identification flag indicating right data, for example, 1 and 0 indicate left and right, respectively. In this case, since a packet containing right data is to be output from the shared resource side, a flag indicating right is set. Reference numeral 23 indicates an instruction code (operation code), which is, for example, an operation instruction such as addition or subtraction, and RET-REQ is set here. 24 is a bit area where other flags are set. A data area 25 includes information necessary for managing the shared resource 3 such as time and job number.

【0012】図3はプロセッサPEi が共有資源3を
使用するための要求を示すパケット11である。この要
求パケット11は共有資源3に直接出されるのではなく
、管理を専門とする管理用プロセッサ2(#q)に行き
先が向けられる。従って、行き先プロセッサ番号20は
管理用プロセッサ2の番号qで、次に行き先ノード番号
21は共有資源3用に予め決められた#kとなっている
FIG. 3 shows a packet 11 indicating a request for the processor PEi to use the shared resource 3. This request packet 11 is not sent directly to the shared resource 3, but is directed to the management processor 2 (#q) that specializes in management. Therefore, the destination processor number 20 is the number q of the management processor 2, and the next destination node number 21 is #k, which is predetermined for the shared resource 3.

【0013】左右データ識別フラグ22はプロセッサP
Ei 側からは左データを含むパケットが出力されるこ
ととなっているので左を指定し、命令コード23にはR
ET−REQが、またデータエリア25では、要求元の
プロセッサPEi の識別番号#Eiと戻り先のノード
番号を含むデータが格納されている。
The left and right data identification flag 22 is set by the processor P.
A packet containing left data is to be output from the Ei side, so specify left, and instruction code 23 is R.
ET-REQ, and data including the identification number #Ei of the requesting processor PEi and the return destination node number are stored in the data area 25.

【0014】共有資源3は、利用可能になると図2に示
される情報を含むパケット10をネットワーク1を介し
て管理プロセッサ2(#q)の待ち合わせメモリ(MM
)4に送る。
When the shared resource 3 becomes available, the packet 10 containing the information shown in FIG.
)4.

【0015】一方、共有資源3を使用したい任意のプロ
セスPEi は、図3に示される情報を含むパケット1
1をネットワーク1を介して管理プロセッサ2(#q)
の待ち合わせメモリ(MM)4に送る。
On the other hand, any process PEi that wants to use shared resource 3 sends packet 1 containing the information shown in FIG.
1 to management processor 2 (#q) via network 1
The data is sent to the waiting memory (MM) 4.

【0016】管理プロセッサ2の待ち合わせメモリ4で
は図2,図3のパケット10,11がそろうと、行き先
ノード番号がともに#kで互いにメイトすべき相手を識
別し、メイト処理を行い、対生成されたパケット10,
11は命令実行部5に送る。命令実行部5ではパケット
10,11の命令RET−REQを実行する、すなわち
左データに格納されていた要求元のプロセッサPEi 
の識別番号Ei が新しい行き先プロセッサ番号とし、
さらに戻り先ノード番号が新しい行き先ノード番号とし
た共有資源の使用の許可を示すパケットを出力する。こ
の行き先プロセッサPEi の識別番号#Eiを戻り先
ノード番号は要求元PEi から送られたデータで、ノ
ード番号は共有資源3を利用する処理の先頭を示してい
る。これにより要求元PEi は共有資源3の利用処理
を開始する。処理が終了するとまた共有資源3は図2の
パケット10を管理プロセッサ2に送る。
In the waiting memory 4 of the management processor 2, when the packets 10 and 11 of FIG. 2 and FIG. packet 10,
11 is sent to the instruction execution unit 5. The instruction execution unit 5 executes the instructions RET-REQ of packets 10 and 11, that is, the requesting processor PEi stored in the left data
Let the identification number Ei of Ei be the new destination processor number,
Furthermore, the return destination node number outputs a packet indicating permission to use the shared resource with the new destination node number. The identification number #Ei of the destination processor PEi and the return destination node number are data sent from the request source PEi, and the node number indicates the beginning of the process that uses the shared resource 3. As a result, the requesting PEi starts the process of using the shared resource 3. When the processing is completed, the shared resource 3 also sends the packet 10 of FIG. 2 to the management processor 2.

【0017】図4は上記動作のデータフローグラフを示
し、右入力として共有資源3より出力された共有資源利
用可能を示すパケットが左入力としてプロセッサPEi
 から共有資源利用を要求するパケットが入力され発火
し、丸いノードでRET−REQ命令を行い許可パケッ
トを出力する。要求元のプロセッサPEi が共有資源
3を専有して利用処理を行う。複数のプロセスが共有資
源3の利用を要求すると、管理プロセッサ2のMM4で
は、データ25中の要求元プロセッサ番号や戻り先ノー
ド番号が異なる複数個のパケット11が、共有資源3か
らのパケット10の到着を待つこととなる。図2のパケ
ット10は複数の図3パケット11の中から1つを選び
、あとのパケット11はMM4内で待ちつづけるように
制御する必要がある。ネットワーク1上の複数のプロセ
ッサPE1 ,PEi …から共有資源3を利用しよう
とするパケット11が、管理プロセッサ2に複数出力さ
れた場合、MM4が行う一の処理について、次に説明す
る。
FIG. 4 shows a data flow graph of the above operation, in which a packet indicating that the shared resource can be used is output from the shared resource 3 as the right input, and a packet indicating that the shared resource can be used is input as the left input to the processor PEi.
A packet requesting the use of a shared resource is input and fired, and the round node issues a RET-REQ command and outputs a permission packet. The requesting processor PEi exclusively uses the shared resource 3 and performs usage processing. When multiple processes request the use of the shared resource 3, the MM4 of the management processor 2 recognizes the packets 11 with different request source processor numbers and return destination node numbers in the data 25 as packets 10 from the shared resource 3. We will have to wait for it to arrive. It is necessary to select one packet 10 in FIG. 2 from among the plurality of packets 11 in FIG. 3, and control the remaining packets 11 to continue waiting in the MM4. Next, one process performed by the MM 4 when a plurality of packets 11 that attempt to use the shared resource 3 from a plurality of processors PE1, PEi, .

【0018】図5は待ち合わせメモリ(MM)4の詳細
構成を示し、7はハッシュメモリ(HASH)、8は制
御部、9は連想メモリ(CAM)、12は優先ワード選
択部、14はタイマーである。複数の要求パケット11
がMM4に到着すると、制御部8は該当するハッシュア
ドレスがあれば、ハッシュメモリ7に該当するハッシュ
アドレスにすでにパケットが格納されていれば、連想メ
モリ12に順次格納していく。
FIG. 5 shows the detailed configuration of the waiting memory (MM) 4, in which 7 is a hash memory (HASH), 8 is a control section, 9 is a content addressable memory (CAM), 12 is a priority word selection section, and 14 is a timer. be. Multiple request packets 11
When the packet arrives at the MM 4, if there is a corresponding hash address, and if a packet is already stored at the corresponding hash address in the hash memory 7, the control unit 8 sequentially stores the packet in the associative memory 12.

【0019】そこで、共有資源3から利用可能を示すパ
ケット10が、ネットワーク1を介して管理プロセッサ
2(q)に到着すると、制御部8は、ハッシュメモリ7
の該当ハッシュアドレスにパケット11が格納されてい
るかをチェックしあれば制御部8はこれらパケット10
,11を対生成させる。ハッシュメモリ7には他(資源
利用以外)のパケットも待ち合わせている場合等、該当
アドレスが空き状態の場合や識別子が異なりメイト相手
と異なるパケットが格納されていた場合には、連想メモ
リ9の中にパケット10をメイトすべきパケット11が
格納されていないかをチェックする。メイトすべきパケ
ットが連想メモリ9に複数存在した場合には優先ワード
選択部により最も若いアドレスに格納されていたパケッ
トが選択されメイト処理が行なわれる。共有資源3を複
数のプロセッサPE1 ,PEi から利用要求が出さ
れた場合、待ち合わせメモリ(MM)4が行う他の処理
方法を説明する。
Therefore, when the packet 10 indicating availability from the shared resource 3 arrives at the management processor 2 (q) via the network 1, the control unit 8 stores the hash memory 7
If it is checked whether packets 11 are stored in the corresponding hash address of
, 11 are generated as a pair. When the hash memory 7 is also waiting for other packets (other than resource usage), when the corresponding address is in an empty state, or when a packet with a different identifier and different from that of the mate is stored, the contents of the associative memory 9 are It is checked whether packet 11 to which packet 10 should be mate is stored. If a plurality of packets to be mate exist in the associative memory 9, the packet stored at the lowest address is selected by the priority word selection section and mate processing is performed. Another processing method performed by the waiting memory (MM) 4 when a request to use the shared resource 3 is issued from a plurality of processors PE1, PEi will be described.

【0020】複数の要求パケット11が管理用プロセッ
サ2に到着すると、制御部8はタイマー14により、こ
れら到着時間を計装する。制御部8は各パケット11を
ハッシュメモリ7や連想メモリ9に格納する際には、こ
れらの到着時間を付した(タイムスタンプ済)パケット
11をHASH7やCAM9の各エントリーに記録する
。この場合は各エントリーには余分なタイムスタンプ用
のメモリエリアを予め確保しておく。そこへ、利用可能
を示すパケット10が共有資源3からMM4に到着する
と、制御部8はHASH7やCAM9に格納した要求パ
ケット11のうち最も古いタイムスタンプのものから対
生成をさせる。
When a plurality of request packets 11 arrive at the management processor 2, the control unit 8 uses a timer 14 to time their arrival times. When storing each packet 11 in the hash memory 7 or the associative memory 9, the control unit 8 records the packets 11 with the arrival times attached (time stamped) in each entry of the HASH 7 or CAM 9. In this case, a memory area for extra timestamps is reserved in advance for each entry. When the packet 10 indicating availability arrives at the MM 4 from the shared resource 3, the control unit 8 generates a pair from among the request packets 11 stored in the HASH 7 and the CAM 9, starting with the one with the oldest time stamp.

【0021】又共有資源3の利用について、更に他の処
理方法はプロセッサPE毎にプライオリティがある場合
、もしくは、処理内容によってプライオリティがある場
合は各パケット11のデータ25領域にプライオリティ
フラグを持たせることもできる。HASH7やCAM9
で待ち合わせ中のパケット11について、制御部8はま
ずプライオリティフラグを調べ、優先度の高いパケット
11を利用可能パケット10と発火させる。
Regarding the use of the shared resource 3, yet another processing method is to provide a priority flag in the data 25 area of each packet 11 when each processor PE has a priority, or when there is a priority depending on the processing content. You can also do it. HASH7 and CAM9
The control unit 8 first checks the priority flags of the packets 11 waiting in the queue, and fires the packets 11 with a high priority as the available packets 10.

【0022】なお、上記実施例では管理プロセッサ2(
q)をかりに設けたものとしたが、共有資源3自身が管
理プロセッサの機能を持つようにしてもよい。又、上記
実施例では共有資源をプロセッサPE外に設けたが、一
つのプロセッサPE内で、共有資源がこのプロセッサP
E内にあるメモリ等であってもよい。
[0022] In the above embodiment, the management processor 2 (
q), but the shared resource 3 itself may have the function of a management processor. Further, in the above embodiment, the shared resources are provided outside the processor PE, but within one processor PE, the shared resources are provided outside the processor PE.
It may also be a memory in E.

【0023】なお、更に上記実施例では各プロセッサP
E1 ,PE2 …から一の要求パケットが出されたか
、各プロセッサPE1 等は複数の要求パケット11を
出力してもよい。又、更に同一機能の共有資源3が2つ
以上あり、図2パケット10のデータ25に資源番号1
,2等が格納されて識別されるようにしてもよい。また
、上記実施例では共有資源がネットワーク上に配置され
ている例を示したが、本発明はこれに限定されるもので
はなく、単一プロセッサで実行中の複数のタスクの管理
にも適用できることは言うまでもない。
Furthermore, in the above embodiment, each processor P
One request packet is issued from E1, PE2, etc., or each processor PE1, etc. may output a plurality of request packets 11. Furthermore, there are two or more shared resources 3 with the same function, and resource number 1 is included in the data 25 of packet 10 in FIG.
, 2, etc. may be stored and identified. Further, although the above embodiment shows an example in which shared resources are arranged on a network, the present invention is not limited to this, and can also be applied to the management of multiple tasks being executed by a single processor. Needless to say.

【0024】[0024]

【発明の効果】以上説明してきたように、この発明によ
れば、複数のタスクや処理又はプロセッサがネットワー
ク上の共有資源を使用することを要求して特定のタグを
有するパケットを出力し、使用可能状態にある共有資源
が自己を指定するタグを有するパケットを出力し、ネッ
トワーク上にある待合せメモリでは、到着した複数のパ
ケットを格納し、共有資源のタグと一致するタグを有す
る複数のパケットのうち1つを選んで、当該共有資源の
使用を許可する許可パケットを出力するようにしたので
、待ち合わせメモリが自動的に共有資源利用の可否を判
断する。従って各プロセッサはテストアンドセット命令
のように無効実行を繰り返す必要がなく、その間は他の
処理が有効に実行でき、システム全体の処理能力が大幅
に向上する。
As described above, according to the present invention, multiple tasks, processes, or processors request the use of shared resources on a network, output packets with specific tags, and use the shared resources. A shared resource in the enabled state outputs a packet with a tag that specifies itself, and a waiting memory on the network stores the multiple arriving packets and outputs a packet with a tag that matches the tag of the shared resource. Since one of them is selected and a permission packet for permitting use of the shared resource is output, the waiting memory automatically determines whether or not the shared resource can be used. Therefore, there is no need for each processor to repeatedly perform invalid execution like a test-and-set instruction, and other processes can be effectively executed during that time, greatly improving the processing capacity of the entire system.

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

【図1】この発明を説明する全体構成図である。FIG. 1 is an overall configuration diagram illustrating the present invention.

【図2】この発明のパケット構成を示す図である。FIG. 2 is a diagram showing a packet configuration of the present invention.

【図3】この発明のパケット構成を示す図である。FIG. 3 is a diagram showing a packet configuration of the present invention.

【図4】この発明の動作を示すフローグラフである。FIG. 4 is a flow graph showing the operation of the present invention.

【図5】この発明の待ち合わせメモリの構成を示す図で
ある。
FIG. 5 is a diagram showing the configuration of a waiting memory according to the present invention.

【図6】従来の動作を示す流れ図である。FIG. 6 is a flowchart showing conventional operation.

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

1  ネットワーク 2  管理用プロセッサ 3  共有資源 4  待ち合わせメモリ 5  命令実行部 PE1 ,PE2 …PEn   プロセッサ10,1
1  パケット
1 Network 2 Management processor 3 Shared resource 4 Waiting memory 5 Instruction execution unit PE1, PE2...PEn Processor 10, 1
1 packet

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】  複数のタスクや処理又はプロセッサが
システム内の共有資源を使用することを要求して特定の
タグを有するパケットを出力し、使用可能状態にある前
記共有資源を指定するタグを有するパケットを出力し、
前記システム内にある待ち合わせメモリでは、到着した
前記複数のパケットを格納し、前記共有資源に対応する
パケットのタグと一致するタグを有する前記複数のパケ
ットのうち1つを選んで、当該共有資源の使用を許可す
る許可パケットを出力するようにした共有資源の管理方
式。
1. A plurality of tasks, processes, or processors requesting the use of a shared resource in a system and outputting a packet having a specific tag, the packet having a tag specifying the shared resource in a usable state. output the packet,
A waiting memory in the system stores the plurality of arrived packets, selects one of the plurality of packets having a tag that matches the tag of the packet corresponding to the shared resource, and selects one of the plurality of packets having a tag that matches the tag of the packet corresponding to the shared resource. A shared resource management method that outputs a permission packet that permits use.
【請求項2】  前記選ばれる1のパケットは前記待ち
合わせメモリの低位のアドレスに格納されたあるパケッ
トであることを特徴とする請求項1記載の共有資源の管
理方式。
2. The shared resource management method according to claim 1, wherein the selected one packet is a certain packet stored at a low address in the waiting memory.
【請求項3】  前記選ばれる1のパケットは、前記待
ち合わせメモリに早く到着したパケットであることを特
徴とする請求項1記載の共有資源の管理方式。
3. The shared resource management method according to claim 1, wherein the selected one packet is a packet that arrived at the waiting memory early.
【請求項4】  前記複数のタスクや処理又はプロセッ
サの間に予め優先順位を定め、前記選ばれるパケットは
この優先順位の高いパケットであることを特徴とす請求
項1記載の共有資源の管理方式。
4. The shared resource management method according to claim 1, wherein priorities are determined in advance among the plurality of tasks, processes, or processors, and the selected packet is a packet with a high priority. .
JP13062591A 1991-05-02 1991-05-02 Management system for shared resource Pending JPH04330529A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP13062591A JPH04330529A (en) 1991-05-02 1991-05-02 Management system for shared resource

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP13062591A JPH04330529A (en) 1991-05-02 1991-05-02 Management system for shared resource

Publications (1)

Publication Number Publication Date
JPH04330529A true JPH04330529A (en) 1992-11-18

Family

ID=15038718

Family Applications (1)

Application Number Title Priority Date Filing Date
JP13062591A Pending JPH04330529A (en) 1991-05-02 1991-05-02 Management system for shared resource

Country Status (1)

Country Link
JP (1) JPH04330529A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004506265A (en) * 2000-08-04 2004-02-26 アドバンスト・マイクロ・ディバイシズ・インコーポレイテッド Executing locks in distributed processing systems
JP2009251871A (en) * 2008-04-04 2009-10-29 Nec Corp Contention analysis device, contention analysis method, and program

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004506265A (en) * 2000-08-04 2004-02-26 アドバンスト・マイクロ・ディバイシズ・インコーポレイテッド Executing locks in distributed processing systems
JP2009251871A (en) * 2008-04-04 2009-10-29 Nec Corp Contention analysis device, contention analysis method, and program

Similar Documents

Publication Publication Date Title
US7386619B1 (en) System and method for allocating communications to processors in a multiprocessor system
US6125399A (en) Computer system including a plurality of nodes for transferring through a data transfer network messages having distinguishing fields used for distinguishing the messages and controlling receipt thereof
US7316017B1 (en) System and method for allocatiing communications to processors and rescheduling processes in a multiprocessor system
USRE41849E1 (en) Parallel multi-threaded processing
JPH0570177B2 (en)
US5047917A (en) Apparatus for intrasystem communications within a binary n-cube including buffer lock bit
US5701495A (en) Scalable system interrupt structure for a multi-processing system
US7246167B2 (en) Communication multiplexor using listener process to detect newly active client connections and passes to dispatcher processes for handling the connections
US4796178A (en) Special purpose processor for off-loading many operating system functions in a large data processing system
US7443836B2 (en) Processing a data packet
JP2664663B2 (en) Microcomputer and method of operating simultaneous processes
US7337275B2 (en) Free list and ring data structure management
US20090165003A1 (en) System and method for allocating communications to processors and rescheduling processes in a multiprocessor system
US5010482A (en) Multi-event mechanism for queuing happened events for a large data processing system
US4922413A (en) Method for concurrent execution of primitive operations by dynamically assigning operations based upon computational marked graph and availability of data
JPH06309252A (en) Interconnection interface
JPH0944424A (en) Message transmission method between remote information-processing systems
KR100895536B1 (en) Data transfer mechanism
US6253274B1 (en) Apparatus for a high performance locking facility
JPH05274252A (en) Transaction execution method for computer system
CA1299758C (en) Task scheduling mechanism for large data processing systems
US7130936B1 (en) System, methods, and computer program product for shared memory queue
US20070079077A1 (en) System, method, and computer program product for shared memory queue
JPH04330529A (en) Management system for shared resource
JP7346649B2 (en) Synchronous control system and method