JP5022330B2 - Request issuing node, request receiving node, system, and control method - Google Patents
Request issuing node, request receiving node, system, and control method Download PDFInfo
- Publication number
- JP5022330B2 JP5022330B2 JP2008242705A JP2008242705A JP5022330B2 JP 5022330 B2 JP5022330 B2 JP 5022330B2 JP 2008242705 A JP2008242705 A JP 2008242705A JP 2008242705 A JP2008242705 A JP 2008242705A JP 5022330 B2 JP5022330 B2 JP 5022330B2
- Authority
- JP
- Japan
- Prior art keywords
- request
- node
- value
- release instruction
- transmission
- 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.)
- Active
Links
Images
Description
本発明はリクエスト発行ノード、リクエスト受信ノード、システム、及び制御方法に関し、特に、リクエストの調停を行うリクエスト発行ノード、リクエスト受信ノード、システム、及び制御方法に関する。 The present invention relates to a request issuing node, a request receiving node, a system, and a control method, and more particularly, to a request issuing node, a request receiving node, a system, and a control method that perform request arbitration.
情報処理システム等では、ノード間で、リクエストの送信およびそのリクエストに応じたリプライの返信が行われている。リクエスト受信ノードは、リクエスト発行ノードからリクエストを受信した場合、受信バッファにリクエストを格納する。そして所定の処理が終わった後、リプライをリクエスト発行ノードに送信するが、その時点ではまだ受信バッファを開放せず、リプライを受信したリクエスト発行ノードで所定の処理が終わり、リクエスト発行ノードからリクエスト開放指示が送られてきた場合に、受信バッファを開放する。 In an information processing system or the like, a request is transmitted between nodes and a reply is returned according to the request. When receiving a request from the request issuing node, the request receiving node stores the request in the reception buffer. After the predetermined processing is completed, the reply is sent to the request issuing node, but at that time, the reception buffer is not released yet, the predetermined processing is completed at the request issuing node that has received the reply, and the request is issued from the request issuing node. When an instruction is sent, the reception buffer is released.
このようなリクエストの送受信に関連するリクエストの調停に関する技術の一例が、特許文献1および2に開示されている。
An example of a technique related to request arbitration related to transmission / reception of such a request is disclosed in
しかしながら、リクエスト発行ノードからのリクエストの送信とリクエスト開放指示の送信とが競合した場合の調停に関連して以下のような問題が発生する。 However, the following problems occur in relation to the arbitration when the request transmission from the request issuing node and the request release instruction transmission conflict.
すなわち、リクエスト受信ノードの受信バッファがビジーの場合、リクエスト受信ノードはリトライ要求をリクエスト発行ノードに送信する。これに応答して、リクエスト発行ノードはリクエストを再度発行する。このとき、リクエスト発行ノードにおいてリクエスト受信ノードへのリクエストの送信とリクエスト開放指示の送信とが競合した場合、リクエスト発行ノードは常にリクエストの送信を優先的するように調停を行う。このように、リクエストの再送信が優先されリクエスト開放指示の送信が遅れるため、リクエスト受信ノードの受信バッファは開放されず、結果として、リトライ動作が再度発生する。その結果、リトライ回数が増加を招いてしまう。 That is, when the reception buffer of the request receiving node is busy, the request receiving node transmits a retry request to the request issuing node. In response to this, the request issuing node issues the request again. At this time, if the request issuing node competes with the request receiving node for transmission of the request and the request release instruction, the request issuing node always performs arbitration so that the request transmission is prioritized. In this way, since the retransmission of the request is prioritized and the transmission of the request release instruction is delayed, the reception buffer of the request receiving node is not released, and as a result, the retry operation occurs again. As a result, the number of retries will increase.
このように常に「リクエスト送信優先順位>リクエスト開放指示送信優先順位」の優先度で調停した場合には、リトライ回数が多くなりトラフィックの増加を招いてしまう。逆に常に「リクエスト送信優先順位<リクエスト開放指示送信優先順位」の優先度とした場合には、リクエスト送信タイミングの遅延が大きくなる。このように、いずれの場合にも、システム性能が低下してしまうという問題があった。 As described above, when arbitration is always performed with a priority of “request transmission priority> request release instruction transmission priority”, the number of retries increases and traffic increases. Conversely, if the priority is always “request transmission priority <request release instruction transmission priority”, the delay in request transmission timing increases. As described above, in any case, there is a problem that the system performance is deteriorated.
本発明の目的は、上述したようなシステム性能の低下の問題を解決するリクエスト発行ノード、リクエスト受信ノード、システム、及び制御方法を提供することにある。 An object of the present invention is to provide a request issuing node, a request receiving node, a system, and a control method that solve the above-described problem of deterioration in system performance.
本発明のリクエスト発行ノードは、リクエストをリクエスト受信ノードに送信するリクエスト送信手段と、リクエストに対するリプライをリクエスト受信ノードから受信した場合に、リクエストを格納したリクエスト受信ノード内のリクエスト格納場所を開放させるリクエスト開放指示をリクエスト受信ノードに送信するリクエスト開放指示送信手段と、リクエスト受信ノード内の所定の数のリクエスト格納場所の全てが使用中となった場合に、リクエストの送信とリクエスト開放指示の送信とが競合したときには、優先する送信をリクエストの送信からリクエスト開放指示の送信に切り替える調停手段とを含む。 The request issuing node of the present invention includes a request transmitting means for transmitting a request to the request receiving node, and a request for releasing a request storage location in the request receiving node storing the request when a reply to the request is received from the request receiving node. Request release instruction transmission means for transmitting a release instruction to a request receiving node, and transmission of a request and request release instruction when all of a predetermined number of request storage locations in the request receiving node are in use. Arbitration means for switching the priority transmission from request transmission to request release instruction transmission when there is a conflict.
本発明のリクエスト受信ノードは、リクエスト発行ノードから受信したリクエストを格納する複数のリクエスト格納場所を有し、リクエストに対するリプライをリクエスト発行ノードに送信し、リクエスト発行ノードからリプライに対応するリクエスト開放指示を受信した場合は対応するリクエストが格納されたリクエスト格納場所を開放するリクエスト受信格納手段と、リクエスト受信格納手段内の所定の数のリクエスト格納場所が使用中となった場合に、ビジー通知を生成するビジー通知生成手段とを含む。 The request receiving node of the present invention has a plurality of request storage locations for storing the requests received from the request issuing node, transmits a reply to the request to the request issuing node, and issues a request release instruction corresponding to the reply from the request issuing node. When a request is received, a busy notification is generated when the request receiving storage means for releasing the request storing place where the corresponding request is stored and a predetermined number of request storing places in the request receiving storage means are in use. Busy notification generating means.
本発明のシステムは、リクエスト発行ノードとリクエスト受信ノードとを備え、リクエスト発行ノードは、リクエストをリクエスト受信ノードに送信するリクエスト送信手段と、リクエストに対するリプライをリクエスト受信ノードから受信した場合に、リクエストを格納したリクエスト受信ノード内のリクエスト格納場所を開放させるリクエスト開放指示をリクエスト受信ノードに送信するリクエスト開放指示送信手段と、リクエスト受信ノード内の所定の数のリクエスト格納場所の全てが使用中となった場合に、リクエストの送信とリクエスト開放指示の送信とが競合したときには、優先する送信をリクエストの送信からリクエスト開放指示の送信に切り替える調停手段とを含み、リクエスト受信ノードは、リクエスト発行ノードから受信したリクエストを格納する複数のリクエスト格納場所を有し、リクエストに対するリプライをリクエスト発行ノードに送信し、リクエスト発行ノードからリプライに対応するリクエスト開放指示を受信した場合は対応するリクエストが格納されたリクエスト格納場所を開放するリクエスト受信格納手段と、リクエスト受信格納手段内の所定の数のリクエスト格納場所が使用中となった場合に、ビジー通知を生成するビジー通知生成手段とを含む。 The system of the present invention includes a request issuing node and a request receiving node. The request issuing node receives a request when a request transmitting means for transmitting a request to the request receiving node and a reply to the request are received from the request receiving node. Request release instruction sending means for sending a request release instruction to release the request storage location in the stored request receiving node to the request receiving node, and all of the predetermined number of request storage locations in the request receiving node are in use In this case, when request transmission and request release instruction transmission compete, arbitration means for switching the priority transmission from request transmission to request release instruction transmission, the request receiving node receives from the request issuing node. If there are multiple request storage locations for storing the requested request, a reply to the request is sent to the request issuing node, and a request release instruction corresponding to the reply is received from the request issuing node, the request storage storing the corresponding request Request reception storage means for releasing the location, and busy notification generation means for generating a busy notification when a predetermined number of request storage locations in the request reception storage means are in use.
本発明のリクエスト発行ノード制御方法は、リクエストをリクエスト受信ノードに送信し、リクエストに対するリプライをリクエスト受信ノードから受信した場合に、リクエストを格納したリクエスト受信ノード内のリクエスト格納場所を開放させるリクエスト開放指示をリクエスト受信ノードに送信し、リクエスト受信ノード内の所定の数のリクエスト格納場所の全てが使用中となった場合に、リクエストの送信とリクエスト開放指示の送信とが競合したときには、優先する送信をリクエストの送信からリクエスト開放指示の送信に切り替える。 The request issuing node control method of the present invention transmits a request to a request receiving node, and when receiving a reply to the request from the request receiving node, a request release instruction for releasing the request storage location in the request receiving node storing the request. Is sent to the request receiving node, and when all of the predetermined number of request storage locations in the request receiving node are in use, when the request transmission and the request release instruction transmission compete, Switch from sending a request to sending a request release instruction.
本発明のリクエスト受信ノード制御方法は、リクエスト発行ノードから受信したリクエストをリクエスト格納場所に格納し、リクエストに対するリプライをリクエスト発行ノードに送信し、リクエスト発行ノードからリプライに対応するリクエスト開放指示を受信した場合は対応するリクエストが格納されたリクエスト格納場所を開放し、リクエスト受信格納手段内の所定の数のリクエスト格納場所が使用中となった場合に、ビジー通知を生成する。 The request receiving node control method of the present invention stores a request received from a request issuing node in a request storage location, transmits a reply to the request to the request issuing node, and receives a request release instruction corresponding to the reply from the request issuing node. In this case, the request storage location where the corresponding request is stored is released, and a busy notification is generated when a predetermined number of request storage locations in the request reception storage means are in use.
本発明のシステム制御方法は、リクエスト発行ノードが、リクエストをリクエスト受信ノードに送信し、リクエストに対するリプライをリクエスト受信ノードから受信した場合に、リクエストを格納したリクエスト受信ノード内のリクエスト格納場所を開放させるリクエスト開放指示をリクエスト受信ノードに送信し、リクエスト受信ノード内の所定の数のリクエスト格納場所の全てが使用中となった場合に、リクエストの送信とリクエスト開放指示の送信とが競合したときには、優先する送信をリクエストの送信からリクエスト開放指示の送信に切り替え、リクエスト受信ノードが、リクエスト発行ノードから受信したリクエストをリクエスト格納場所に格納し、リクエストに対するリプライをリクエスト発行ノードに送信し、リクエスト発行ノードからリプライに対応するリクエスト開放指示を受信した場合は対応するリクエストが格納されたリクエスト格納場所を開放し、リクエスト受信格納手段内の所定の数のリクエスト格納場所が使用中となった場合に、ビジー通知を生成する。 In the system control method of the present invention, when a request issuing node transmits a request to a request receiving node and receives a reply to the request from the request receiving node, the request storage location in the request receiving node storing the request is released. When the request release instruction is sent to the request receiving node and all of the predetermined number of request storage locations in the request receiving node are in use, the priority is given to the transmission of the request and the request release instruction. The request receiving node stores the request received from the request issuing node in the request storage location, and sends a reply to the request to the request issuing node. When a request release instruction corresponding to a reply is received from a row node, the request storage location where the corresponding request is stored is released, and a predetermined number of request storage locations in the request reception storage means are in use Generate busy notifications.
本発明には、システム性能を向上させることができるという効果がある。 The present invention has an effect that the system performance can be improved.
まず、本発明が前提とする一般的なリクエスト調停システムの一例を説明する。 First, an example of a general request arbitration system assumed by the present invention will be described.
図1は、リクエスト調停システム001の構成を示す図である。リクエスト調停システム001は、相互に接続されたノード101〜103を含む。ノード101〜103は、それぞれプロセッサ104〜106、メモリコントローラ107〜109、ノードコントローラ110〜112を含む。図2は、ノードコントローラ110〜112の内部構成を示す図である。例えば、ノードコントローラ110は、リクエスト発行部201と、リクエスト受信部202と、インターフェース制御部203とを含む。
FIG. 1 is a diagram showing a configuration of the request arbitration system 001. The request arbitration system 001 includes
次に動作の説明を行う。図3は、リクエスト調停システム001の動作を説明するための図である。ここでは、ノード101がリクエスト発行ノードであり、ノード102がリクエスト受信ノードである場合について説明する。そのため、ノードコントローラ110についてはリクエスト発行部201を、ノードコントローラ111についてはリクエスト受信部309を中心に説明する。
Next, the operation will be described. FIG. 3 is a diagram for explaining the operation of the request arbitration system 001. Here, a case where the
まず、プロセッサ104は、リクエスト発行部201内のリクエストキュー303へリクエストを送信する。リクエストはリクエストキュー303から調停回路304を通り、インターフェース制御部203から他ノードへ送信される。ここではノード101からのリクエストが配線306を使用してノード102へ送信されるものとする。ノード102のリクエスト受信部309内のリクエスト受信バッファ305は、受信したリクエストを格納する。
First, the
リクエスト受信バッファ305は、リクエストをメモリコントローラ108へ送信する。そして、メモリコントローラ108は、そのリクエストに対するリプライをリクエスト受信バッファ305へ送信する。このとき、メモリコントローラ108へ出力したリクエストはリクエスト受信バッファ305内に残っており、リプライが返ってきてもリクエストエントリは開放されない。リクエストエントリとはバッファ内のリクエストを格納するための場所である。例えば、リクエストエントリが32箇所ある場合、リクエスト受信バッファ305は最大32個のリクエストを格納しておくことができる。リクエスト受信バッファ305はあるリクエストエントリを開放するとそのリクエストエントリに新しいリクエストを格納する。
The
リクエスト受信バッファ305は、上述したようにメモリコントローラ108からリプライを受信すると、そのリプライをインターフェース制御部204と配線307とを経由してノード101へ送信する。ノード101で信されたリプライはインターフェイス制御部203を介してリプライキュー301へ送られ、リプライキュー301は受信したリプライをプロセッサ104へ送信する。プロセッサ104へリプライが送られると同時に、リクエスト開放指示キュー302に、プロセッサ104に送られたリプライに対応したリクエスト開放指示が送られる。このリクエスト開放指示は、受信したリプライに対応するリクエストが格納されたリクエスト受信バッファ305内のリクエストエントリを開放する指示である。
When receiving a reply from the
リクエスト開放指示キュー302は、リクエスト開放指示を、調停回路304と配線306とを経由してリクエスト受信バッファ305に送信する。リクエスト受信バッファ305は該当するリクエストエントリを開放する。以上で、一つのリクエスト処理が終了する。
The request
上述したように、メモリコントローラ108からリプライをリクエスト受信バッファ305が受信しても、その段階では、リクエスト受信バッファ305はまだリクエストエントリを開放しない。その後、プロセッサ104にリプライが返りリクエスト受信バッファ305がリクエスト開放指示を受信した際に、リクエスト受信バッファ305はリクエストエントリを開放する。以上が基本動作となる。
As described above, even if the
上述したようなシステムにおいて、リクエスト受信バッファ305がビジー(全てのリクエストエントリが未開放状態)でリクエストが受信できない状況が発生した場合、リクエスト受信バッファ305はリクエスト発行部201にリトライ要求を送信し、リクエストキュー303がリクエスト受信バッファ305で受信できなかったリクエストと同じリクエストを再度発行し、調停回路304を経由してノード102に送信する。リクエストキュー303はリクエスト受信バッファ305からリトライ要求を受信する毎にリクエストを発行する。また、リクエスト受信バッファ305も空きがない状態でリクエストを受信する毎にリトライ要求を発行する。
In the system as described above, when the
このように常に「リクエスト送信優先順位>リクエスト開放指示送信優先順位」の優先度で調停した場合には、リトライ回数が多くなりトラフィックの増大を招いてしまう。逆に常に「リクエスト送信優先順位<リクエスト開放指示送信優先順位」の優先度とした場合には、リクエストの遅延が大きくなる。このように、いずれの場合にも、システム性能が低下してしまうという問題がある。 As described above, when arbitration is always performed with the priority of “request transmission priority> request release instruction transmission priority”, the number of retries increases and traffic increases. Conversely, if the priority is always “request transmission priority <request release instruction transmission priority”, the request delay increases. Thus, in any case, there is a problem that the system performance is deteriorated.
次に、この問題を解決する本発明の概要について説明する。 Next, an outline of the present invention for solving this problem will be described.
図4は、リクエスト調停システム001の構成を示す図である。 FIG. 4 is a diagram showing a configuration of the request arbitration system 001.
リクエスト調停システム001は、リクエスト発行ノード500とリクエスト受信ノード600とを含む。
The request arbitration system 001 includes a
リクエスト発行ノード500は、リクエストキュー303と、リクエスト開放指示キュー302と、調停回路304とを含む。
The
リクエストキュー303は、リクエストをリクエスト受信ノード600に送信するリクエスト送信手段である。
The
リクエスト開放指示キュー302は、リクエストに対するリプライをリクエスト受信ノード600から受信した場合に、そのリクエストに対応するリクエスト受信ノード600のリクエスト受信バッファ305のリクエストエントリ(リクエスト格納場所)を開放させるリクエスト開放指示をリクエスト受信ノード600に送信するリクエスト開放指示送信手段である。
When the request
調停回路304は、リクエストの送信とリクエスト開放指示の送信とを調停する回路である。リクエスト受信バッファ305がビジーとなった場合(所定の数のリクエストエントリの全てが使用中となった場合)に、リクエストの送信とリクエスト開放指示の送信とが競合したときに、優先する送信をリクエストの送信からリクエスト開放指示の送信に切り替える調停手段である。
The
リクエスト受信ノード600は、リクエスト受信バッファ305と、ビジー通知生成部602とを含む。
The
リクエスト受信バッファ305は、リクエスト発行ノード500から受信したリクエストを格納する複数のリクエストエントリ(リクエスト格納場所)を有し、リクエストに対するリプライをリクエスト発行ノード500に送信し、リクエスト発行ノード500からリプライに対応するリクエスト開放指示を受信した場合は対応するリクエストが格納されたリクエストエントリを開放するリクエスト受信格納手段である。
The
ビジー通知生成部602は、リクエスト受信バッファ305内の所定の数のリクエストエントリが使用中となった場合に、ビジー通知を生成するビジー通知生成手段である。
The busy
以上により、本発明は、システム性能を向上させることができるという効果を奏する。 As described above, the present invention has an effect that the system performance can be improved.
その理由は、リクエスト受信バッファ305がビジーとなった場合にリクエスト開放指示の送信を優先するためである。これによりリトライ回数を減少させることができ、トラフィックを減少させることができる。
The reason is that transmission of a request release instruction is prioritized when the
本発明は、リクエスト開放指示とリクエストが競合した場合でも、リクエストのレイテンシを短くできるという効果を奏する。 The present invention has an effect that the latency of a request can be shortened even when the request release instruction and the request conflict.
その理由は、リクエスト受信バッファ305がビジーとなる前等の通常時はリクエストの送信を優先しているためである。
The reason is that priority is given to the transmission of the request in normal times such as before the
次に、本発明の実施の形態について図面を参照して詳細に説明する。図1,2および3を用いて説明した本発明の前提となるリクエスト調停システム001に追加した箇所について特に詳細に説明する。 Next, embodiments of the present invention will be described in detail with reference to the drawings. The part added to the request arbitration system 001 which is the premise of the present invention described with reference to FIGS. 1, 2, and 3 will be described in detail.
図5は、本発明の実施の形態におけるリクエスト発行部201の構成を示す図である。ここでは、ノード101内のリクエスト発行部201について説明するが、ノード102等の他のノード内のリクエスト発行部も同様の構成を有する。
FIG. 5 is a diagram showing a configuration of the
リクエスト発行部201は、リプライキュー301と、リクエスト開放指示キュー302と、リクエストキュー303と、調停回路304と、切り替えコントローラ401とを含む。
The
リプライキュー301は、プロセッサ104に送るリプライを他のノード(以下ではノード102を例に説明する)から受け取る。
The
リクエストキュー303は、プロセッサ104からのリクエストを受け取り、ノード102に送信する。
The
リクエスト開放指示キュー302は、リプライに対応したリクエスト開放指示を受信し、ノード102のリクエスト受信バッファ305のリクエストエントリを開放させるリクエスト開放指示を、ノード102に送信する。
The request
調停回路304は、リクエスト送信とリクエスト開放指示送信との調停を行う。本実施の形態では、常にリクエストの送信を優先するのではなく、調停回路304は、リクエスト受信バッファ305がビジーとなった場合には、優先する送信をリクエストの送信からリクエスト開放指示の送信に切り替える。
The
切り替えコントローラ401は、ノード102からビジー通知パケットを受信した場合に、調停回路304にリクエスト開放指示の送信を優先させる切り替え信号を送信する切り替え手段である。切り替えコントローラ401は、ビジー通知パケットを受信した後、所定の時間が経過した場合に、調停回路304にリクエスト開放指示の送信を優先させる切り替え信号の送信を停止する。
The switching
図6は、切り替えコントローラ401の構成を示す図である。
FIG. 6 is a diagram illustrating a configuration of the switching
切り替えコントローラ401は、タイマ406と、設定レジスタ407と、切り替え信号生成回路408とを含む。
The switching
タイマ406は、ノード102からビジー通知パケットを受信した場合に、初期値からカウントアップを開始する。
When the
設定レジスタ407は、所定の値を格納する。 The setting register 407 stores a predetermined value.
切り替え信号生成回路408は、ノード102からビジー通知パケットを受信した場合に、調停回路304にリクエスト開放指示の送信を優先させる切り替え信号を生成する。これを受けて、調停回路304は、調停の優先度を「リクエスト送信優先順位>リクエスト開放指示送信優先順位」から「リクエスト送信優先順位<リクエスト開放指示送信優先順位」に切り替える。切り替え信号生成回路408は、タイマ406が所定の値となった場合(設定レジスタ407の値と同じになった場合)に、前記切り替え信号の生成を停止する。これを受けて、調停回路304の優先度は「リクエスト送信優先順位>リクエスト開放指示送信優先順位」に戻る。
When the switching
図7は、本実施の形態におけるリクエスト受信部309の構成を示した図である。ここではノード102内のリクエスト受信部309について説明するが、ノード101等の他のノード内のリクエスト受信部も同様の構成を有する。リクエスト受信部309は、リクエスト及びリクエスト開放指示を受信すると共に、リトライ要求、リプライ、及びビジー通知パケットをインターフェース制御部204を経由し送信する。インターフェース制御部204は、バッファー305がビジーの場合、ビジー通知パケットをノード101のリクエスト発行部201及びノード102のリクエスト発行部308等、全てのノードのリクエスト発行部へブロードキャストする。リクエスト発行部201の切り替えコントローラ401及びリクエスト発行部308の切り替えコントローラ(図示せず)等、全ての切り替えコントローラは、ビジー通知パケットを受信する。
FIG. 7 is a diagram showing a configuration of the
リクエスト受信部309は、リクエスト受信バッファ305と、ビジー通知パケット生成部402とを含む。
The
リクエスト受信バッファ305は、リクエスト、リプライ、リクエスト開放指示を受信する。リクエスト受信バッファ305は、ノード101から受信したリクエストをリクエストエントリに格納し、リクエストに対するリプライをノード101に送信する。ノード101からリクエスト開放指示を受信した場合はリクエストエントリを開放する。
The
ビジー通知パケット生成部402は、リクエスト受信バッファ305がビジーとなった場合、ビジー通知パケットを生成し、ノード101を含む全てのノードに送信する。具体的には、ビジー通知パケット生成部402は、リクエスト受信バッファ305内に格納されている有効リクエストのエントリ数をカウントし、設定した閾値を超えるか判定する。
When the
図8は、ビジー通知パケット生成部402の構成を示した図である。
FIG. 8 is a diagram illustrating a configuration of the busy notification
ビジー通知パケット生成部402は、有効リクエスト計測カウンタ403と、閾値レジスタ404と、ビジー通知パケット生成回路405とを含む。
The busy notification
有効リクエスト計測カウンタ403は、ノード101等の他のノードからリクエストを受信する毎にその計数値を1だけ増やし(インクリメント)し、リクエスト開放指示を受信する毎にその計数値を1だけ減らす(デクリメントする)。なお、リトライ時には何も行わない。
The valid
閾値レジスタ404は、所定を値を格納する。 The threshold register 404 stores a predetermined value.
ビジー通知パケット生成回路405は、有効リクエスト計測カウンタ403の値が閾値レジスタ404に格納された所定の値以上となった場合、ビジー通知パケットを生成し、ノード101等の他のノードに送信する。ビジー通知パケット生成回路405は、比較器410と、レジスタ411と、AND回路412と、パケット生成回路413とを含む。
When the value of the valid
比較器410は、有効リクエスト計測カウンタ403の値が閾値レジスタ404に格納された所定の値より小さい場合は0を出力し、有効リクエスト計測カウンタ403の値がこの所定の値以上の場合は1を出力する。
The comparator 410
レジスタ411は、比較器410が出力する値を保持し、所定期間経過後(例えば、1クロック経過後)、保持している当該値を出力する。 The register 411 holds the value output from the comparator 410, and outputs the held value after a predetermined period (for example, after one clock).
AND回路412は、比較器410が出力する値とレジスタ411が出力する値を反転した値との論理積を取り、当該論理積の値を出力する。 The AND circuit 412 takes a logical product of a value output from the comparator 410 and a value obtained by inverting the value output from the register 411, and outputs the value of the logical product.
パケット生成回路413は、論理積の値が1の場合にビジー通知パケットを生成する。
The
図9は、ビジー通知パケット生成回路405の動作を説明するための図である。
FIG. 9 is a diagram for explaining the operation of the busy notification
閾値レジスタ404の値が有効リクエスト計測カウンタ403の値より大きい場合、比較器410の出力値は0となり、その直後のクロックタイミングでこれがレジスタ411に格納される。さらに、次のクロックでレジスタ411の値である0が出力され、これがAND回路412の反転入力端子に与えられる。AND回路412の反転入力端子および非反転入力端子の入力値はそれぞれ0および0となり、AND回路412の出力値は0となる(a)。次に、有効リクエスト計測カウンタ403の値が閾値レジスタ404の値以上となった場合、比較器410の出力値は1となり、その直後のクロックタイミングでレジスタ411に格納される。この時点では、レジスタ411からはまだ0が出力されているため、AND回路412の反転入力端子および非反転入力端子の入力値はそれぞれ0および1となり、AND回路412の出力値は1となる(パルスが発生する)(b)。次のクロックタイミングで、1クロック前に格納された1がレジスタ411から出力され、AND回路412の反転入力端子および非反転入力端子の入力値はそれぞれ1と1となり、AND回路412は再び0を出力する(c)。
When the value of the
次に、本発明の実施の形態の動作について図面を参照して説明する。まず、リクエスト調停システム001全体の動作について説明する。 Next, the operation of the embodiment of the present invention will be described with reference to the drawings. First, the operation of the entire request arbitration system 001 will be described.
図10は、リクエスト調停システム001の動作の概要を示したシーケンス図である。 FIG. 10 is a sequence diagram showing an outline of the operation of the request arbitration system 001.
ノード101(リクエスト発行ノードとする)は、リクエストをノード102(リクエスト受信ノードとする)に送信する(A1)。これを受けて、ノード102は、受信したリクエストを受信バッファーのリクエストエントリに格納し(B1)、リプライを送信する(B2)。このとき、リクエストの受付により受信バッファーがビジーとなった場合(B3,Y)、ノード102は、ビジー通知パケットを生成し、ノード101含む他のノードに送信する(B4)。
The node 101 (referred to as a request issuing node) transmits a request to the node 102 (referred to as a request receiving node) (A1). In response to this, the
ノード101は、リプライを受信すると(A2)、リクエスト開放指示を送信することになる。ここで、ノード101が新たなリクエストを送信しようとしていなかった場合、リクエスト送信とリクエスト開放指示送信との競合は発生せず(A3,N)、ノード101はリクエスト開放指示を送信する(A4)。ノード101が新たなリクエストを送信しようとしてしていた場合、リクエスト送信とリクエスト開放指示送信の競合が発生する(A3,Y)。この場合、ノード101はビジー通知パケットを受信しているか判断し(A5)、ビジー通知パケットを受信していなかった場合(A5,N)、リクエストの送信を優先し(A9)、リクエストを送信する(A1)。
When the
ビジー通知を受信していた場合(A5,Y)、ノード101は、リクエスト開放指示の送信を優先し(A6)、リクエスト開放指示をノード102に送信する(A7)。これを受けて、ノード102は、該当するリクエストエントリを開放する(B5)。
When the busy notification has been received (A5, Y), the
ノード101は、所定の時間経過した場合(A8,Y)、再度リクエストの送信を優先するように切り替える(A9)。
When a predetermined time has elapsed (A8, Y), the
次に、ビジー通知パケット生成部402の動作を説明する。図11は、ビジー通知パケット生成部402の動作を示すフローチャートである。図10のB3,B4の処理に対応する。
Next, the operation of the busy
リクエスト受信バッファ305がノード101等の他のノードからリクエストを受信す毎にインクリメントし、他のノードからリクエスト開放指示を受信する毎にデクリメントすることにより、ビジー通知パケット生成部402内の有効リクエスト計測カウンタ403は、有効リクエストをカウントする(C1)。そして、比較器410は、有効リクエスト数が所定の閾値以上であるか判定する。即ち、有効リクエスト計測カウンタ403と閾値レジスタ404との値を比較する(C2)。比較した結果、有効リクエスト計測カウンタ403の値が閾値レジスタ404の値より小さい場合(C2,No)、ビジー通知パケット生成部402は、ビジー通知パケットを生成せず、処理はC1へ戻り、またリクエストとリクエスト開放指示をカウントする。
The
ビジー通知パケット生成部402は、前回カウントしたときの有効リクエスト数が所定の閾値より小さく、今回カウントしたときの有効リクエスト数が所定の閾値以上であった場合(C3)、ビジー通知を生成、送信する(C4)。具体的には、ビジー通知パケット生成部402は、有効リクエスト計測カウンタ403の値が閾値レジスタ404の値以上になった場合、ビジー通知パケットを生成する(C4)。例えば、リクエストエントリ数を32とし、閾値レジスタ404の値を30とした場合、有効リクエスト計測カウンタ403の値が30以上となった時に、ビジー通知パケット生成部402はビジー通知パケットを生成する。
The busy notification
前回及び今回の有効リクエスト数が所定の閾値以上であった場合、又は、C4の処理でビジー通知を生成、送信した場合、有効リクエスト数のカウントの処理(C1)に再度戻る。このように、前回有効リクエスト計測カウンタ403の値が閾値レジスタ404の値以上であって、今回も閾値レジスタ404の値以上であった場合には、既にビジー通知パケットは生成されているので、ビジー通知パケットは生成しない。
When the number of previous and current valid requests is equal to or greater than a predetermined threshold, or when a busy notification is generated and transmitted in the process of C4, the process returns to the process of counting the number of valid requests (C1). As described above, when the value of the previous valid
次に、ビジー通知パケットの生成送信を受けた切り替えコントローラ401の動作を説明する。
Next, the operation of the switching
図12は、切り替えコントローラ401の動作を説明するフローチャートである。図10のA5,A6の処理に対応する。
FIG. 12 is a flowchart for explaining the operation of the switching
まず、切り替えコントローラ401は、ビジー通知パケットを受信したか否かを判定する(D1)。切り替えコントローラ401は、ビジー通知パケットを受信した場合(D1,Yes)、タイマ値を1にセットする(D2)。ビジー通知パケットを受信しなかった場合(D1,No)、タイマ値が閾値と同じか、タイマ値が0であるか、又はタイマ値が0より大きく閾値より小さいか判定する(D3)。
First, the switching
タイマ値が所定の閾値と同じであった場合、タイマ値を0にリセットする(D4)。タイマ値が0より大きく所定の閾値より小さかった場合、タイマ値に1を加える(D5)。 If the timer value is the same as the predetermined threshold, the timer value is reset to 0 (D4). When the timer value is larger than 0 and smaller than the predetermined threshold value, 1 is added to the timer value (D5).
タイマ値を1にセットした(D2)とき、タイマ値を0にリセットした(D4)とき、ビジー通知パケットを受信しなかった場合でタイマ値が0であったとき、又はタイマ値に1を加えた(D5)とき、タイマ値が0より大きいか判定する(D6)。 When the timer value is set to 1 (D2), when the timer value is reset to 0 (D4), when the busy notification packet is not received and the timer value is 0, or 1 is added to the timer value (D5), it is determined whether the timer value is greater than 0 (D6).
タイマ値が0より大きい場合(D6,Yes)、リクエスト送信とリクエスト開放指示送信のいずれを優先するか決める切り替え信号の値をリクエスト開放指示を優先する1とする(D7)。タイマ値が0の場合(タイマ値が0より大きくない場合(D6,No))、切り替え信号の値をリクエストを優先する0とする(D8)。 When the timer value is greater than 0 (D6, Yes), the value of the switching signal that determines which of request transmission and request release instruction transmission is given priority is set to 1 that gives priority to the request release instruction (D7). When the timer value is 0 (when the timer value is not greater than 0 (D6, No)), the value of the switching signal is set to 0 which gives priority to the request (D8).
次に図12をより具体的に説明する。まず、切り替えコントローラ401はビジー通知パケットを受信したかどうかを監視する(D1)。ビジー通知パケットを受信していない場合は(D1,No)、タイマ値を判定する(D3)。次に、タイマ値が0より大きいか判定し(D6)、タイマ値が0なのでタイマ値は0より大きくないため(D6,No)、切り替え信号生成条件で切り替え信号を生成せず(リクエスト優先)(D8)、再びビジー通知パケット受信の監視をする(D1)。
Next, FIG. 12 will be described more specifically. First, the switching
次に、切り替えコントローラ401は、ビジー通知パケット受信を監視し(D1)、初めてビジー通知パケットを受信した場合は(D1,Yes)、タイマ値を1にセットする(D2)。切り替え信号生成条件(タイマ値が0より大きいか)を判定し(D6)、タイマ値は0より大きいので(D6,Yes)、切り替え信号が生成されるので(D7)、調停回路304はリクエスト開放指示送信優先調停に切り替わる。このように初期状態でビジー通知パケットを受信した場合、リクエスト開放指示の送信が優先されることになる。
Next, the switching
リクエスト開放指示優先調停に切り替わった状態でステップD1に戻ったとき、新たにビジー通知パケットを受信していなかったら(D1,No)、タイマ値に応じて処理を変更する(D3)。 When returning to step D1 in the state of switching to the request release instruction priority arbitration, if a new busy notification packet has not been received (D1, No), the processing is changed according to the timer value (D3).
まずタイマ値が設定レジスタ407で設定した閾値と等しかった場合、切り替えコントローラ401は、タイマ値をリセットし値を0にする(D4)。次にリセットされた場合、切り替え信号生成条件(タイマ値が0より大きいか)を判定し(D6)、タイマ値は0より大きくないので(D6,No)、切り替え信号が生成されないので(D8)、調停回路304はリクエスト優先調停に切り替わる。即ち、ビジー通知パケットを受信してから所定の時間経過すると、リクエストの送信が優先されることになる。
First, when the timer value is equal to the threshold value set by the
そしてタイマ値が0より大きく、タイマ値が閾値より小さかった場合、切り替えコントローラ401は、タイマ値をカウントアップする(D5)。切り替え信号生成条件(タイマ値が0より大きいか)を判定し(D6)、タイマ値が0より大きいため(D6,Yes)、切り替え信号が生成されるので(D7)、調停回路304はリクエスト開放指示優先調停のままになる。即ち、ビジー通知パケットを受信してから所定の時間経過していない場合、リクエスト開放指示の送信を優先する状態が継続する。
When the timer value is larger than 0 and the timer value is smaller than the threshold value, the switching
ビジー通知パケットを受信し、タイマ値が閾値と等しくなる前に新たなビジー通知パケットを受信した場合(D1、Yes)、タイマ値は1にセットされる(D2)。切り替え信号生成条件(タイマ値が0より大きいか)を判定し(D6)、タイマ値が0より大きいため(D6,Yes)、切り替え信号が生成され、調停回路304はリクエスト開放指示優先調停のままになる。即ち、ビジー通知パケットを受信してから所定の時間経過していない場合でも、再度ビジー通知パケットを受信するとタイマ406がリセットされ、この時点から所定の時間経過するまでリクエスト開放指示の送信を優先する状態が継続することになる。
When a busy notification packet is received and a new busy notification packet is received before the timer value becomes equal to the threshold value (D1, Yes), the timer value is set to 1 (D2). The switching signal generation condition (whether the timer value is greater than 0) is determined (D6). Since the timer value is greater than 0 (D6, Yes), the switching signal is generated, and the
上述した本実施の形態には、システム性能を向上させることができるという効果がある。 The above-described embodiment has an effect that the system performance can be improved.
その理由は、リクエスト受信バッファ305がビジーとなった場合にリクエスト開放指示の送信を優先するためである。これによりリトライ回数を減少させることができトラフィックを減少させることができる。
The reason is that transmission of a request release instruction is prioritized when the
さらに本実施の形態には、リクエスト開放指示とリクエストが競合した場合でも、リクエストのレイテンシを短くできるという効果がある。 Furthermore, this embodiment has an effect that the latency of the request can be shortened even when the request release instruction and the request conflict.
その理由は、リクエスト受信バッファ305がビジーとなる前と、リクエスト受信バッファ305がビジーになった後、所定の時間が経過した場合に、リクエストの送信を優先させるためである。即ち、通常時はリクエストの送信を優先しているためである。
The reason is to prioritize request transmission before the
001 リクエスト調停システム
101,102,103 ノード
104,105,106 プロセッサ
107,108,109 メモリコントローラ
110,111,112 ノードコントローラ
201 リクエスト発行部
202 リクエスト受信部
203 インターフェース制御部
204 インターフェース制御部
301 リプライキュー
302 リクエスト開放指示キュー
303 リクエストキュー
304 調停回路
305 リクエスト受信バッファ
306,307 配線
308 リクエスト発行部
309 リクエスト受信部
401 切り替えコントローラ
402 ビジー通知パケット生成部
403 有効リクエスト計測カウンタ
404 閾値レジスタ
405 ビジー通知パケット生成回路
406 タイマ
407 設定レジスタ
408 切り替え信号生成回路
410 比較器
411 レジスタ
412 AND回路
413 パケット生成回路
500 リクエスト発行ノード
600 リクエスト受信ノード
602 ビジー通知生成部
001
Claims (17)
前記リクエストに対するリプライを前記リクエスト受信ノードから受信した場合に、前記リクエストを格納した前記リクエスト受信ノード内のリクエスト格納場所を開放させるリクエスト開放指示を前記リクエスト受信ノードに送信するリクエスト開放指示送信手段と、
前記リクエスト受信ノード内の所定の数の前記リクエスト格納場所の全てが使用中となった場合に、前記リクエストの送信と前記リクエスト開放指示の送信とが競合したときには、優先する送信を前記リクエストの送信から前記リクエスト開放指示の送信に切り替える調停手段と
を含むリクエスト発行ノード。 A request sending means for sending a request to a request receiving node;
A request release instruction transmission means for transmitting a request release instruction for releasing a request storage location in the request reception node storing the request to the request reception node when a reply to the request is received from the request reception node;
When all of a predetermined number of the request storage locations in the request receiving node are in use, if the transmission of the request and the transmission of the request release instruction compete, the priority transmission is transmitted. A request issuing node including: arbitration means for switching to transmission of the request release instruction.
前記ビジー通知を受信した後、所定の時間が経過した場合に、前記切り替え信号の送信を停止する切り替え手段
を含む請求項1に記載のリクエスト発行ノード。 When a busy notification indicating that all of the predetermined number of request storage locations are in use is received from the request receiving node, a switching signal for giving priority to transmission of the request release instruction is sent to the arbitration means,
The request issuing node according to claim 1, further comprising: a switching unit that stops transmission of the switching signal when a predetermined time has elapsed after receiving the busy notification.
所定の値を格納するレジスタと、
前記リクエスト受信ノードからビジー通知を受信した場合に、初期値からカウントアップを開始するタイマと、
前記リクエスト受信ノードからビジー通知を受信した場合に、前記調停手段に前記リクエスト開放指示の送信を優先させる切り替え信号を生成し、前記タイマが前記所定の値となった場合に、前記切り替え信号の生成を停止する切り替え信号生成回路と
を含む請求項2に記載のリクエスト発行ノード。 The switching means is
A register for storing a predetermined value;
A timer that starts counting up from an initial value when a busy notification is received from the request receiving node;
When a busy notification is received from the request receiving node, a switching signal for giving priority to transmission of the request release instruction to the arbitration unit is generated, and when the timer reaches the predetermined value, the switching signal is generated. The request issuing node according to claim 2, further comprising: a switching signal generation circuit that stops the switching.
前記リクエスト受信格納手段内の所定の数の前記リクエスト格納場所が使用中となった場合に、ビジー通知を生成するビジー通知生成手段と
を含むリクエスト受信ノード。 When having a plurality of request storage locations for storing requests received from the request issuing node, sending a reply to the request to the request issuing node, and receiving a request release instruction corresponding to the reply from the request issuing node Request reception storage means for releasing the request storage location in which the corresponding request is stored;
A request receiving node comprising: busy notification generating means for generating a busy notification when a predetermined number of the request storage locations in the request receiving storage means are in use.
所定を値を格納するレジスタと、
前記リクエスト発行ノードから前記リクエストを受信するとインクリメントし、前記リクエスト開放指示を受信するとデクリメントする有効リクエスト計測カウンタと、
前記有効リクエスト計測カウンタの値が前記所定の値以上となった場合、ビジー通知を生成、送信するビジー通知生成回路と
を含む請求項4に記載のリクエスト受信ノード。 The busy notification generation means includes:
A register for storing a predetermined value;
An effective request measurement counter that increments when receiving the request from the request issuing node and decrements when receiving the request release instruction;
The request reception node according to claim 4, further comprising: a busy notification generation circuit that generates and transmits a busy notification when the value of the valid request measurement counter becomes equal to or greater than the predetermined value.
前記有効リクエスト計測カウンタの値が前記所定の値より小さい場合は0を出力し、前記有効リクエスト計測カウンタの値が前記所定の値以上の場合は1を出力する比較器と、
前記比較器が出力する値を保持し、所定期間経過後、保持している当該値を出力するレジスタと、
前記比較器が出力する値と、前記レジスタが出力する値を反転した値との積を取り、当該積の値を出力するAND回路と、
前記積の値が1の場合にビジー通知を生成する生成回路と
を含む請求項5に記載のリクエスト受信ノード。 The busy notification generation means includes:
A comparator that outputs 0 if the value of the valid request measurement counter is smaller than the predetermined value, and outputs 1 if the value of the valid request measurement counter is greater than or equal to the predetermined value;
A register that holds the value output by the comparator, and outputs the value held after a predetermined period;
An AND circuit that takes a product of a value output by the comparator and a value obtained by inverting the value output by the register, and outputs the value of the product;
The request receiving node according to claim 5, further comprising: a generation circuit that generates a busy notification when the product value is 1.
前記リクエスト発行ノードは、
リクエストをリクエスト受信ノードに送信するリクエスト送信手段と、
前記リクエストに対するリプライを前記リクエスト受信ノードから受信した場合に、前記リクエストを格納した前記リクエスト受信ノード内のリクエスト格納場所を開放させるリクエスト開放指示を前記リクエスト受信ノードに送信するリクエスト開放指示送信手段と、
前記リクエスト受信ノード内の所定の数の前記リクエスト格納場所の全てが使用中となった場合に、前記リクエストの送信と前記リクエスト開放指示の送信とが競合したときには、優先する送信を前記リクエストの送信から前記リクエスト開放指示の送信に切り替える調停手段と
を含み、
前記リクエスト受信ノードは、
リクエスト発行ノードから受信したリクエストを格納する複数のリクエスト格納場所を有し、前記リクエストに対するリプライを前記リクエスト発行ノードに送信し、前記リクエスト発行ノードから前記リプライに対応するリクエスト開放指示を受信した場合は対応する前記リクエストが格納された前記リクエスト格納場所を開放するリクエスト受信格納手段と、
前記リクエスト受信格納手段内の所定の数の前記リクエスト格納場所が使用中となった場合に、ビジー通知を生成するビジー通知生成手段と
を含むシステム。 A request issuing node and a request receiving node;
The request issuing node is
A request sending means for sending a request to a request receiving node;
A request release instruction transmission means for transmitting a request release instruction for releasing a request storage location in the request reception node storing the request to the request reception node when a reply to the request is received from the request reception node;
When all of a predetermined number of the request storage locations in the request receiving node are in use, if the transmission of the request and the transmission of the request release instruction compete, the priority transmission is transmitted. And arbitration means for switching to transmission of the request release instruction,
The request receiving node is:
When having a plurality of request storage locations for storing requests received from the request issuing node, sending a reply to the request to the request issuing node, and receiving a request release instruction corresponding to the reply from the request issuing node Request reception storage means for releasing the request storage location in which the corresponding request is stored;
A busy notification generation unit configured to generate a busy notification when a predetermined number of the request storage locations in the request reception storage unit are in use.
前記リクエスト受信ノードから前記所定の数のリクエスト格納場所の全てが使用中であることを示すビジー通知を受信した場合に、前記調停手段に前記リクエスト開放指示の送信を優先させる切り替え信号を送信し、
前記ビジー通知を受信した後、所定の時間が経過した場合に、前記切り替え信号の送信を停止する切り替え手段
を含む請求項7に記載のシステム。 The request issuing node is
When a busy notification indicating that all of the predetermined number of request storage locations are in use is received from the request receiving node, a switching signal for giving priority to transmission of the request release instruction is sent to the arbitration means,
The system according to claim 7, further comprising switching means for stopping transmission of the switching signal when a predetermined time has elapsed after receiving the busy notification.
所定の値を格納するレジスタと、
前記リクエスト受信ノードから前記ビジー通知を受信した場合に、初期値からカウントアップを開始するタイマと、
前記リクエスト受信ノードからビジー通知を受信した場合に、前記調停手段に前記リクエスト開放指示の送信を優先させる切り替え信号を生成し、前記タイマが前記所定の値となった場合に、前記切り替え信号の生成を停止する切り替え信号生成回路と
を含む請求項8に記載のシステム。 The switching means is
A register for storing a predetermined value;
A timer that starts counting up from an initial value when the busy notification is received from the request receiving node;
When a busy notification is received from the request receiving node, a switching signal for giving priority to transmission of the request release instruction to the arbitration unit is generated, and when the timer reaches the predetermined value, the switching signal is generated. A switching signal generating circuit for stopping
所定を値を格納するレジスタと、
前記リクエスト発行ノードから前記リクエストを受信するとインクリメントし、前記リクエスト開放指示を受信するとデクリメントする有効リクエスト計測カウンタと、
前記有効リクエスト計測カウンタの値が前記所定の値以上となった場合、ビジー通知を生成、送信するビジー通知生成回路と
を含む請求項7乃至9のいずれかに記載のシステム。 The busy notification generation means includes:
A register for storing a predetermined value;
An effective request measurement counter that increments when receiving the request from the request issuing node and decrements when receiving the request release instruction;
The system according to claim 7, further comprising: a busy notification generation circuit that generates and transmits a busy notification when the value of the valid request measurement counter becomes equal to or greater than the predetermined value.
前記有効リクエスト計測カウンタの値が前記所定の値より小さい場合は0を出力し、前記有効リクエスト計測カウンタの値が前記所定の値以上の場合は1を出力する比較器と、
前記比較器が出力する値を保持し、所定期間経過後、保持している当該値を出力するレジスタと、
前記比較器が出力する値と、前記レジスタが出力する値を反転した値との積を取り、当該積の値を出力するAND回路と、
前記積の値が1の場合にビジー通知を生成する生成回路と
を含む請求項10に記載のシステム。 The busy notification generation means includes:
A comparator that outputs 0 if the value of the valid request measurement counter is smaller than the predetermined value, and outputs 1 if the value of the valid request measurement counter is greater than or equal to the predetermined value;
A register that holds the value output by the comparator, and outputs the value held after a predetermined period;
An AND circuit that takes a product of a value output by the comparator and a value obtained by inverting the value output by the register, and outputs the value of the product;
The system according to claim 10, further comprising: a generation circuit that generates a busy notification when the product value is 1.
前記リクエストに対するリプライを前記リクエスト受信ノードから受信した場合に、前記リクエストを格納した前記リクエスト受信ノード内のリクエスト格納場所を開放させるリクエスト開放指示を前記リクエスト受信ノードに送信し、
前記リクエスト受信ノード内の所定の数の前記リクエスト格納場所の全てが使用中となった場合に、前記リクエストの送信と前記リクエスト開放指示の送信とが競合したときには、優先する送信を前記リクエストの送信から前記リクエスト開放指示の送信に切り替える
リクエスト発行ノード制御方法。 Send the request to the request receiving node,
When a reply to the request is received from the request receiving node, a request release instruction for releasing a request storage location in the request receiving node storing the request is transmitted to the request receiving node,
When all of a predetermined number of the request storage locations in the request receiving node are in use, if the transmission of the request and the transmission of the request release instruction compete, the priority transmission is transmitted. A request issuing node control method for switching from sending to sending of the request release instruction.
前記ビジー通知を受信した後、所定の時間が経過した場合に、前記リクエストの送信を優先させる
請求項12に記載のリクエスト発行ノード制御方法。 When receiving a busy notification indicating that all of the predetermined number of request storage locations are in use from the request receiving node, prioritize transmission of the request release instruction,
The request issuing node control method according to claim 12, wherein transmission of the request is prioritized when a predetermined time has elapsed after receiving the busy notification.
前記ビジー通知を受信した場合、タイマ値を1にセットし、
前記ビジー通知を受信しなかった場合でタイマ値が所定の閾値と同じであった場合、タイマ値を0にリセットし、
前記ビジー通知を受信しなかった場合でタイマ値が0より大きく所定の閾値より小さかった場合、タイマ値に1を加え、
前記タイマ値を1にセットした後、前記タイマ値を0にリセットした後、ビジー通知を受信しなかった場合でタイマ値が0であった場合、又は前記タイマ値に1を加えた後、タイマ値が0より大きいか判定し、
タイマ値が0より大きい場合、前記リクエストと前記リクエスト開放指示のどちらを優先するか決める切り替え信号の値をリクエスト開放指示を優先する1とし、
タイマ値が0の場合、切り替え信号の値をリクエストを優先する0とする
請求項13に記載のリクエスト発行ノード制御方法。 Determine whether the busy notification is received,
When the busy notification is received, the timer value is set to 1,
If the busy notification is not received and the timer value is equal to a predetermined threshold, the timer value is reset to 0,
If the busy notification is not received and the timer value is greater than 0 and less than a predetermined threshold, 1 is added to the timer value;
After setting the timer value to 1, after resetting the timer value to 0, when a busy notification is not received and the timer value is 0, or after adding 1 to the timer value, Determine if the value is greater than 0,
When the timer value is greater than 0, the value of the switching signal that determines whether to give priority to the request or the request release instruction is set to 1 that gives priority to the request release instruction.
The request issuing node control method according to claim 13, wherein when the timer value is 0, the value of the switching signal is set to 0 which gives priority to the request.
前記リクエストに対するリプライを前記リクエスト発行ノードに送信し、
前記リクエスト発行ノードから前記リプライに対応するリクエスト開放指示を受信した場合は対応する前記リクエストが格納された前記リクエスト格納場所を開放し、
前記リクエスト受信格納手段内の所定の数の前記リクエスト格納場所が使用中となった場合に、ビジー通知を生成する
リクエスト受信ノード制御方法。 Store the request received from the request issuing node in the request storage location,
Sending a reply to the request to the request issuing node;
If the request release instruction corresponding to the reply is received from the request issuing node, the request storage location where the corresponding request is stored is released,
A request reception node control method for generating a busy notification when a predetermined number of the request storage locations in the request reception storage means are in use.
前記有効リクエスト数が所定の閾値以上であるか判定し、
前記有効リクエスト数が前記所定の閾値以上でなかった場合、再び有効リクエスト数をカウントする処理に戻り、
前回カウントしたときの有効リクエスト数が前記所定の閾値より小さく、今回カウントしたときの有効リクエスト数が所定の閾値以上であった場合、ビジー通知を生成、送信し、
前回及び今回の有効リクエスト数が前記所定の閾値以上であった場合、又は前記ビジー通知を生成、送信した場合、再度前記有効リクエスト数をカウントする処理に戻る
請求項15に記載のリクエスト受信ノード制御方法。 Incrementing when receiving the request from the request issuing node, and counting the number of valid requests by decrementing when receiving the request release instruction,
Determining whether the number of valid requests is equal to or greater than a predetermined threshold;
If the number of valid requests is not greater than or equal to the predetermined threshold, the process returns to the process of counting the number of valid requests again,
If the number of valid requests at the previous count is smaller than the predetermined threshold and the number of valid requests at the current count is greater than or equal to the predetermined threshold, a busy notification is generated and transmitted.
The request receiving node control according to claim 15, wherein when the number of valid requests at the previous time and this time is equal to or greater than the predetermined threshold value, or when the busy notification is generated and transmitted, the process returns to the process of counting the number of valid requests again. Method.
リクエストをリクエスト受信ノードに送信し、
前記リクエストに対するリプライを前記リクエスト受信ノードから受信した場合に、前記リクエストを格納した前記リクエスト受信ノード内のリクエスト格納場所を開放させるリクエスト開放指示を前記リクエスト受信ノードに送信し、
前記リクエスト受信ノード内の所定の数の前記リクエスト格納場所の全てが使用中となった場合に、前記リクエストの送信と前記リクエスト開放指示の送信とが競合したときには、優先する送信を前記リクエストの送信から前記リクエスト開放指示の送信に切り替え、
リクエスト受信ノードが、
リクエスト発行ノードから受信したリクエストをリクエスト格納場所に格納し、
前記リクエストに対するリプライを前記リクエスト発行ノードに送信し、
前記リクエスト発行ノードから前記リプライに対応するリクエスト開放指示を受信した場合は対応する前記リクエストが格納された前記リクエスト格納場所を開放し、
前記リクエスト受信格納手段内の所定の数の前記リクエスト格納場所が使用中となった場合に、ビジー通知を生成する
システム制御方法。 Request issuing node is
Send the request to the request receiving node,
When a reply to the request is received from the request receiving node, a request release instruction for releasing a request storage location in the request receiving node storing the request is transmitted to the request receiving node,
When all of a predetermined number of the request storage locations in the request receiving node are in use, if the transmission of the request and the transmission of the request release instruction compete, the priority transmission is transmitted. Switch to sending the request release instruction,
The request receiving node
Store the request received from the request issuing node in the request storage location,
Sending a reply to the request to the request issuing node;
If the request release instruction corresponding to the reply is received from the request issuing node, the request storage location where the corresponding request is stored is released,
A system control method for generating a busy notification when a predetermined number of the request storage locations in the request reception storage means are in use.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2008242705A JP5022330B2 (en) | 2008-09-22 | 2008-09-22 | Request issuing node, request receiving node, system, and control method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2008242705A JP5022330B2 (en) | 2008-09-22 | 2008-09-22 | Request issuing node, request receiving node, system, and control method |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2010073122A JP2010073122A (en) | 2010-04-02 |
JP5022330B2 true JP5022330B2 (en) | 2012-09-12 |
Family
ID=42204807
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2008242705A Active JP5022330B2 (en) | 2008-09-22 | 2008-09-22 | Request issuing node, request receiving node, system, and control method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP5022330B2 (en) |
Family Cites Families (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH1031484A (en) * | 1996-07-15 | 1998-02-03 | Yamaha Corp | Network system |
JP3206562B2 (en) * | 1998-10-09 | 2001-09-10 | 日本電気株式会社 | Computer system |
JP2001005718A (en) * | 1999-06-24 | 2001-01-12 | Seiko Instruments Inc | Protocol handler and its signal processing method |
JP2001109450A (en) * | 1999-10-01 | 2001-04-20 | Seiko Epson Corp | Display device, display method and information recording medium |
JP2003122706A (en) * | 2002-10-07 | 2003-04-25 | Fujitsu Ltd | Data processing system |
JP2008046969A (en) * | 2006-08-18 | 2008-02-28 | Fujitsu Ltd | Access monitoring method and device for shared memory |
-
2008
- 2008-09-22 JP JP2008242705A patent/JP5022330B2/en active Active
Also Published As
Publication number | Publication date |
---|---|
JP2010073122A (en) | 2010-04-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107005494B (en) | Apparatus and method for buffering data in a switch | |
WO2011089660A1 (en) | Bus arbitration device | |
US20100095036A1 (en) | Priority Based Bus Arbiters Avoiding Deadlock And Starvation On Buses That Support Retrying Of Transactions | |
EP2902914B1 (en) | Data transmission method and device | |
US20160041862A1 (en) | Method and system for timeout monitoring | |
EP2975529B1 (en) | Requests and data handling in a bus architecture | |
JP3625280B2 (en) | COMMUNICATION METHOD, COMMUNICATION DEVICE, AND COMMUNICATION SYSTEM | |
US20190057047A1 (en) | Data storage device and a method for controlling access to a memory device of a data storage device | |
US8588234B2 (en) | Data processing apparatus, method, and computer-readable storage medium for dynamically controlling a transmission interval | |
WO2011131010A1 (en) | Method and apparatus for timing | |
JP5022330B2 (en) | Request issuing node, request receiving node, system, and control method | |
EP2294767A2 (en) | Electronic device and method for controlling an electronic device | |
JP5978849B2 (en) | Parallel computer system, crossbar switch, and parallel computer system control method | |
JP6881116B2 (en) | Information processing equipment, information processing methods and programs | |
JP2016151949A (en) | Dma controller | |
CN115884229B (en) | Transmission delay management method, electronic device and storage medium | |
JP7226084B2 (en) | Information processing equipment | |
JP4898527B2 (en) | RESOURCE USE MANAGEMENT DEVICE, RESOURCE USE MANAGEMENT SYSTEM, AND RESOURCE USE MANAGEMENT DEVICE CONTROL METHOD | |
US8219732B2 (en) | Method for managing state in a wireless network | |
US7747806B2 (en) | Resource use management device, resource use management system, and control method for a resource use management device | |
JP5586442B2 (en) | COMMUNICATION DEVICE, COMMUNICATION DEVICE DATA TRANSFER METHOD, AND COMMUNICATION PROGRAM | |
JP2020129205A (en) | Control device and control method | |
CN114443244A (en) | Task execution method, device and equipment | |
JP2016181124A (en) | DMA controller | |
GB2488680A (en) | A method/architecture for processing requests in a bus architecture that includes at least two master devices an at least one slave device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
RD01 | Notification of change of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7421 Effective date: 20110712 |
|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20110811 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20120525 |
|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20120605 |
|
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20120615 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 5022330 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20150622 Year of fee payment: 3 |
|
S111 | Request for change of ownership or part of ownership |
Free format text: JAPANESE INTERMEDIATE CODE: R313111 |
|
R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |