JP3832543B2 - Polling method for coupling device and coupling device - Google Patents

Polling method for coupling device and coupling device Download PDF

Info

Publication number
JP3832543B2
JP3832543B2 JP12804999A JP12804999A JP3832543B2 JP 3832543 B2 JP3832543 B2 JP 3832543B2 JP 12804999 A JP12804999 A JP 12804999A JP 12804999 A JP12804999 A JP 12804999A JP 3832543 B2 JP3832543 B2 JP 3832543B2
Authority
JP
Japan
Prior art keywords
communication path
command
polling
coupling device
registration table
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 - Fee Related
Application number
JP12804999A
Other languages
Japanese (ja)
Other versions
JP2000322396A (en
Inventor
浩司 増田
隆夫 中島
康一 相馬
由人 高山
彰 大辻
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP12804999A priority Critical patent/JP3832543B2/en
Publication of JP2000322396A publication Critical patent/JP2000322396A/en
Application granted granted Critical
Publication of JP3832543B2 publication Critical patent/JP3832543B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Description

【0001】
【発明の属する技術分野】
本発明は複数の計算機と、複数の計算機を通信経路で結合した結合装置を有するデータ処理システムの一形態であるパラレルシステムに係り、特に、複数の計算機のうち任意の計算機から送信されるコマンドの同期処理と非同期処理が必要とされるパラレルシステムの性能を高めるためのポーリング方法に関する。
【0002】
【従来の技術】
通信経路を介した集中処理型のデータ処理システムにおいて、トランザクションの受信をトランザクション受信手段が検知する方法として幾つかの機構、または処理方式があり、その1つに、オペレーティングシステムもしくは通信処理によりトランザクション受信状態を定期的に検知する、ポーリング処理方式がある。
この処理方式は、計算機が、トランザクションを投じる複数の端末等に接続されている通信経路を定期的にポーリングしてトランザクションの受信を確認する。
ポーリング処理に関する従来技術としては、例えば特開平7−49822号公報の技術がある。
本公報記載の従来技術では、ホスト処理装置に接続されている通信処理装置の稼動情報を収集し、前記稼動情報からポーリング時間調整部によりポーリング時間間隔を調整することで、前記通信処理装置から送られてくるトランザクションの通信処理と、通信処理以外のトランザクション処理との負荷分散を行う。
【0003】
また、上記ポーリング技術とは異なった処理方法が必要なシステムとして、複数の計算機(中央処理複合体)と、これらの計算機により共用される結合装置(構造化電子記憶機構)と、それらを結合する通信パスとからなるデータ処理システムがある。
結合装置はデータ処理システムの一形態である、パラレルシステムを構成するための中枢機構として複数の計算機を結合するために使用され、共用のデータ・オブジェクトであるキャッシュ・オブジェクトやリスト・オブジェクトのための収納場所である。
前記パラレルシステムに関する従来技術として、例えば、特開平6−4490号公報等に記載された技術が知られている。
上記特開平6−4490号公報に記載の従来技術は、計算機と結合装置との間のメッセージの送信機構に関するもので、I/Sチャネルが、従来の入出力チャネルとは異なり、入出力の完了割り込みを発生させずにコマンドの完了を計算機に通知することができるようにしたものである。
【0004】
結合装置と、トランザクション処理に起因して結合装置へコマンドを発行する計算機で構成されるパラレルシステムにおいて、互いに送受信するコマンドは処理形態が2通りある。
1つは、計算機が結合装置へ送信したコマンドの処理完了を待つ同期コマンド、もう1つは計算機が結合装置へ送信したコマンドの処理完了を待たずに別の処理を行う非同期コマンドである。
結合装置は、計算機のコマンド処理形態を意識することなく、ラウンドロビン方式のポーリングにより全通信パスのコマンド受信を定期的に、かつ均等に確認し、受信を検知した順にコマンドを処理していた。
【0005】
【発明が解決しようとする課題】
結合装置と複数の計算機が通信パスで結合される、データ処理システムの一形態であるパラレルシステムにおいて、結合装置に結合されている複数の計算機が皆、同一処理形態のコマンドを送信する場合、従来の方式では各通信パスを均等に処理するため、各計算機の単位時間あたりのトランザクション処理件数は、ほぼ同数となる。
しかし、各計算機の送信するコマンドの処理形態が異なる場合、同期コマンドを送信する計算機は、結合装置がコマンドの受信を検知して処理を完了するまでの間、該計算機の他トランザクションを処理できないまま待つ必要があり、非同期コマンドを発行する計算機よりもこの他トランザクションの待ち時間が多くなる。
このため、同期コマンドを送信する計算機は非同期コマンドを送信する計算機に比べてトランザクション処理件数が低下し、各計算機のトランザクション処理件数にばらつきが発生すると、パラレルシステムのスループットが低下してしまう。
本発明の目的は、結合装置において、各通信パス毎のコマンド処理形態に応じたポーリング方法を提供することにあり、さらに、このポーリング方法により、パラレルシステムのスループットを向上させることにある。
【0006】
【課題を解決するための手段】
上記目的を達成するため、本発明は、
複数の計算機と、該複数の計算機を通信経路により結合する結合装置で構成されるデータ処理システムにおける前記複数の計算機に対する結合装置のポーリング方法であり、
前記複数の計算機の通信パスの各々に対して順次ポーリングを行い、該ポーリングが終了した後、結合装置内の登録テーブルに予め登録された計算機の通信パスに対して順次ポーリングするようにしている。
【0007】
また、複数の計算機と、該複数の計算機を通信経路により結合する結合装置で構成されるデータ処理システムにおける前記複数の計算機に対する結合装置のポーリング方法であり、
前記複数の計算機の通信パスの各々に対して順次ポーリングを行い、計算機から通信パスにより送信されたコマンドが同期コマンドであるか非同期コマンドであるか判別し、判別結果が同期コマンドである場合に、同期コマンドを送信した計算機の通信パスを結合装置内の登録テーブルへ登録し、前記複数の計算機の通信パスの各々に対してのポーリングが終了した後、前記登録テーブルに登録した通信パスに対して順次ポーリングするようにしている。
【0008】
また、複数の計算機と、該複数の計算機を通信経路により結合する結合装置で構成されるデータ処理システムにおける結合装置であり、
該結合装置と計算機を接続する通信パスの識別情報と該通信パスのコマンド受信状態を格納するエントリを複数有する通信パス登録テーブルと、該通信パス登録テーブルの各エントリに対してポーリングを行う通信パスポーリング手段と、該ポーリングにより取得されたエントリのコマンド受信状態から該コマンドが同期コマンドであるか否か判定するコマンド判定手段と、同期コマンドと判定された通信パスの識別情報を同期コマンド用の通信パス登録テーブルに登録する同期コマンド通信パス登録手段と、前記通信パスポーリング手段によるポーリング終了後、同期コマンド用の通信パス登録テーブルの各エントリに対してポーリングを行う同期コマンド通信パスポーリング手段を有するようにしている。
【0009】
【発明の実施の形態】
次に、本発明について図面を参照して詳細に説明する。
図1は、本発明の一実施例に係わるポーリング処理制御方法が適用された結合装置(10)と、コマンドを送受信する複数の計算機(11〜13)によって構成されたパラレルシステムの構成を示す図であり、特徴となる部分は点線で囲った(10−33)の部分である。
本発明によるシステム構成は、集中型処理を行う結合装置(10)、およびコマンドを送受信する計算機(11〜13)から構成され、それぞれの計算機は、パラレルシステムの中枢を担う結合装置(10)と計算機(11〜13)とを結ぶ通信パス(11−11〜13−11)で接続される。
計算機(11〜13)は、通信送受信部(11−10〜13−10)により通信パス(11−11〜13−11)を介して結合装置(10)を共用し、結合装置(10)はコマンド受信部(10−10)により、複数の計算機(11〜13)からのコマンド処理要求を受け付ける。
【0010】
通信パス(11−11〜13−11)を介して入出力装置(10−20〜10−22)にコマンドが受信されると、コマンド受信部(10−10)の通信パス登録テーブル(10−12)の該通信パスに対応するエントリにコマンドが受信されたことを登録する。
【0011】
コマンド受信部(10−10)は、通信パス登録テーブル(10−12)に登録された通信パス(11−11〜13−11)のエントリに対して定期的に、通信パスポーリング部(10−14)によりコマンド受信チェックを行うことでコマンドの受信を検知する。
ここで、コマンドの受信が検知された場合、受信したコマンドが同期コマンドであるか非同期コマンドであるかをコマンド判別部(10−30)により判別し、同期コマンドであれば同期コマンド通信パス登録部(10−31)により当該通信パスを、同期コマンド通信パス登録テーブル(10−34)へ登録する。
コマンドの受信が検知されない場合は、順次、通信パス登録テーブル(10−12)のエントリに登録された通信パス(11−11〜13−11)のコマンド受信チェックを実施し、コマンドの受信が検知されればコマンド処理部(10−11)へ制御を移行する。
全エントリの通信パスのコマンド受信のチェックが終了した場合には、次に、同期コマンド通信パス登録テーブル(10−34)に登録している通信パスのコマンド受信チェックを同期コマンド通信パスポーリング部(10―32)により実施する。
全エントリの通信パスに対する通信パスポーリングの後に、同期コマンド通信パスポーリング部(10−32)により通信パスポーリングを行うことにより、同期コマンドの受信検知率を高め、これにより同期コマンドを送信する計算機へのサービスを高める。
【0012】
なお、図には示していないが、ユーザが予め指定した通信パスを同期コマンド通信パス登録テーブル(10−34)に代わる指定通信パス登録テーブルに予め登録しておき、前記指定通信パス登録テーブルに登録した通信パスを同期コマンド通信パスポーリング部(10―32)に代わる図示しない指定通信パスポーリング部により通信パスポーリングを行うことで、ユーザが指定した通信パスの受信検知率を高め、当該通信パスを使用する計算機へのサービスを高めることも可能である。
この指定通信パス登録テーブルには同期コマンド通信パスのみを登録してもよいし、同期コマンド通信パスと非同期コマンド通信パスの別なく登録してもよい。
【0013】
図2の(a)、(b)は図1で示した構成の通信パス登録テーブル(10−12)と同期コマンド通信パス登録テーブル(10−34)を詳細に示したものである。
通信パス登録テーブル(10−12)は、通信パス番号(20―10)とコマンド受信フラグ(20−11)で1エントリを構成し、また、同期コマンド通信パス登録テーブル(10−34)は、通信パス番号(20−20)とコマンド受信フラグ(20−21)で1エントリを構成し、それぞれ結合装置に接続されている通信パス数分のエントリ数が設けられる。
通信パス登録テーブル(10−12)の通信パス番号(20−10)には、結合装置10に接続された通信パスの番号が予め登録されている。
同期コマンド通信パス登録テーブル(10−34)の通信パス番号(20−20)には、通信パス登録テーブル(10−12)のポーリングにより同期コマンドの受信が検知された場合に、同期コマンドの受信が検知された通信パスの番号が1エントリに1つ格納される。
【0014】
入出力装置(10−20〜10−22)がコマンドの受信を行うと、受信したコマンドのコマンド識別フラグにしたがって、通信パス登録テーブル(10−12)及び同期コマンド通信パス登録テーブル(10−34)の受信のあった通信パス番号のエントリのコマンド受信フラグ(20−11)及びコマンド受信フラグ(20−21)にフラグ値を登録する。
通信パスポーリング部(10−14)は通信パス登録テーブル(10−12)をポーリングすることによりコマンド受信フラグ(20−11)のフラグ値によりコマンド受信を検知し、検知したコマンドの処理はコマンド処理部(10−11)で行う。そして通信パスポーリング部(10−14)はコマンド受信フラグをクリアすることにより、次のコマンド受信を検知できるようにする。
同期コマンド通信パスポーリング部(10−31)も同期コマンド通信パス登録テーブル(10−34)をポーリングすることにより、上記と同様の処理をする。
【0015】
図3は任意の計算機から結合装置に送信されるコマンドを詳細化したものである。
メッセージコマンドブロック(10−13)は、内部にコマンドブロック(30−1)があり、本ブロック内のコマンド識別フラグ(30−2)により、受信したコマンドが同期であるか、非同期であるかを判別できる。
【0016】
図4は通信パスポーリング部(10−14)と同期コマンド通信パスポーリング部(10−32)の処理を示すフローチャートであり、点線で囲った(430)の部分に特徴がある。
通信パスポーリング部(10−14)の処理、及び同期コマンド通信パスポ―リング部(10−32)の処理は、コマンド受信チェック処理であり、結合装置(10)がシステムレディ状態になる時に、通信パスポーリング部(10−14)の処理から開始する。
そして、コマンドを検知するか、もしくは、通信パスポーリング部(10−14)の処理の場合には通信パス登録テーブル(10−12)、同期コマンド通信パスポ―リング部(10−32)の処理の場合には同期コマンド通信パス登録テーブル(10−34)に登録されている全通信パスのコマンド受信チェックが完了した時点でポーリング処理完了となる。
【0017】
通信パスポーリング部(10−14)の処理は、通信パス登録テーブル(10−12)のエントリから通信パス番号を求める(400)。
求めた通信パスがコマンド受信状態であるかチェックし(401)、受信状態であれば受信したコマンドが同期コマンドであるか、非同期コマンドかを判別する(420)。
同期コマンドであれば、同期コマンド通信パス登録テーブル(10−34)へ通信パス番号を登録する(422)。
コマンド判別後、通信パスポーリング部(10−14)の処理は終了となり、コマンド処理部(10−11)へ移行して非同期コマンド及び同期コマンドの処理を行う(421)。
未受信状態であれば、結合装置に接続されている全通信パスのコマンド受信チェックが完了したか判断し(402)、未完了であれば通信パス登録テーブル(10−12)より次に受信状態をチェックする通信パス番号を求め(410)、再度受信チェックを行う(401)。
完了していれば通信パスポーリング部(10−14)の処理を終え、次に同期コマンド通信パスポーリング部(10−32)の処理を行う。
【0018】
同期コマンド通信パスポーリング部(10−32)の処理は、同期コマンド通信パス登録テーブル(10−34)の第1エントリより、通信パス番号を求める(403)が、コマンドの受信期間を設けるために、本処理実行前に一旦、別の処理を行うようにすることも可能である。
求めた通信パス番号がコマンド受信状態であるかチェックし(404)、受信状態であれば同期コマンド通信パスポーリング部(10−32)の処理は終了し、コマンド処理部(10−11)へ移行して、例えばWARコマンド等の、コマンドの処理を行う(421)。
未受信状態であれば、同期コマンド通信パス登録テーブル(10−34)に登録されている全通信パスの処理が完了したかチェック(405)し、完了していれば同期コマンド通信パスポーリング(10−32)処理を終える。
未完了であれば同期コマンド通信パス登録テーブル(10−34)より、次に受信状態をチェックする通信パスを求め(411)、再度チェックする(404)。
【0019】
【発明の効果】
以上詳述したように、本発明によれば、結合装置に接続される計算機を効率よく稼動させることができ、パラレルシステムのスループットを向上させることができる。
【図面の簡単な説明】
【図1】本発明の一実施例である結合装置と複数の計算機からなるパラレルシステムの構成を示すブロック図である。
【図2】通信パス登録テーブル及び同期コマンド通信パス登録テーブルの例を示す図である。
【図3】メッセージコマンドブロックを示す図である。
【図4】コマンドの受信検知のポーリング処理のフローチャートを示す図である。
【符号の説明】
10 結合装置
11〜13 計算機
11−10〜13−10 通信送受信部
11−11〜13−11 通信パス
10−20〜10−22 入出力装置
10−10 コマンド受信部
10−11 コマンド処理部
10−12 通信パス登録テーブル
10−13 メッセージコマンドブロック
10−14 通信パスポーリング部
10−30 コマンド判別部
10−31 同期コマンド通信パス登録部
10−32 同期コマンド通信パスポーリング部
10−34 同期コマンド通信パス登録テーブル
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a parallel system, which is a form of a data processing system having a plurality of computers and a coupling device in which the plurality of computers are coupled by a communication path, and in particular, a command transmitted from an arbitrary computer among the plurality of computers. The present invention relates to a polling method for improving the performance of a parallel system that requires synchronous processing and asynchronous processing.
[0002]
[Prior art]
In a centralized processing data processing system via a communication path, there are several mechanisms or processing methods for the transaction receiving means to detect the reception of a transaction, one of which is transaction reception by operating system or communication processing. There is a polling method that periodically detects the status.
In this processing method, a computer periodically polls communication paths connected to a plurality of terminals or the like to which a transaction is to be sent to confirm receipt of the transaction.
As a conventional technique related to the polling process, for example, there is a technique disclosed in JP-A-7-49822.
In the prior art described in this publication, the operation information of the communication processing device connected to the host processing device is collected, and the polling time interval is adjusted from the operation information by the polling time adjusting unit, so that the communication processing device transmits the information. Load distribution is performed between communication processing of incoming transactions and transaction processing other than communication processing.
[0003]
In addition, as a system that requires a processing method different from the above-described polling technology, a plurality of computers (central processing complex), a coupling device (structured electronic storage mechanism) shared by these computers, and these are coupled. There is a data processing system comprising a communication path.
A coupling device is a form of a data processing system, used as a central mechanism for constructing a parallel system, for coupling multiple computers together, for cache objects and list objects that are shared data objects. It is a storage place.
As a conventional technique related to the parallel system, for example, a technique described in JP-A-6-4490 is known.
The prior art described in the above Japanese Patent Application Laid-Open No. 6-4490 relates to a message transmission mechanism between a computer and a coupling device. The I / S channel is different from the conventional input / output channel, and the input / output is completed. The computer can be notified of the completion of the command without generating an interrupt.
[0004]
In a parallel system composed of a coupling device and a computer that issues a command to the coupling device due to transaction processing, there are two types of processing modes for commands transmitted and received between each other.
One is a synchronous command that waits for completion of processing of a command transmitted from the computer to the coupling device, and the other is an asynchronous command that performs another processing without waiting for completion of processing of the command transmitted from the computer to the coupling device.
The coupling device regularly and evenly confirms command reception of all communication paths by round-robin polling without regard to the command processing mode of the computer, and processes the commands in the order in which reception is detected.
[0005]
[Problems to be solved by the invention]
In a parallel system, which is a form of a data processing system, in which a coupling device and a plurality of computers are coupled through a communication path, when all of the plurality of computers coupled to the coupling device transmit commands of the same processing mode, In this method, since each communication path is processed equally, the number of transaction processes per unit time of each computer is almost the same.
However, if the processing mode of the command transmitted by each computer is different, the computer that transmits the synchronization command remains unable to process other transactions of the computer until the coupling device detects the reception of the command and completes the processing. It is necessary to wait, and the waiting time of other transactions is larger than that of a computer that issues an asynchronous command.
For this reason, a computer that transmits a synchronous command has a lower transaction processing count than a computer that transmits an asynchronous command, and if the number of transaction processing in each computer varies, the throughput of the parallel system decreases.
An object of the present invention is to provide a polling method according to the command processing mode for each communication path in the coupling device, and to improve the throughput of the parallel system by this polling method.
[0006]
[Means for Solving the Problems]
In order to achieve the above object, the present invention provides:
A polling method of a coupling device for the plurality of computers in a data processing system composed of a plurality of computers and a coupling device that couples the plurality of computers via a communication path,
Polling is sequentially performed on each of the communication paths of the plurality of computers, and after the polling is completed, the communication paths of the computers registered in advance in the registration table in the coupling device are sequentially polled.
[0007]
Further, there is provided a polling method of a coupling device for the plurality of computers in a data processing system including a plurality of computers and a coupling device that couples the plurality of computers through a communication path.
Polling sequentially for each of the communication paths of the plurality of computers, determining whether the command transmitted from the computer through the communication path is a synchronous command or an asynchronous command, and when the determination result is a synchronous command, Register the communication path of the computer that sent the synchronization command in the registration table in the coupling device, and after the polling for each of the communication paths of the plurality of computers is completed, for the communication path registered in the registration table The polling is done sequentially.
[0008]
Also, a coupling device in a data processing system comprising a plurality of computers and a coupling device that couples the plurality of computers through a communication path,
Communication path registration table having a plurality of entries for storing identification information of a communication path connecting the coupling device and the computer and command reception status of the communication path, and a communication path for polling each entry of the communication path registration table Polling means, command determining means for determining whether or not the command is a synchronous command from the command reception state of the entry acquired by the polling, and communication information for the communication of the communication path identified as the synchronous command. A synchronous command communication path registration means for registering in the path registration table; and a synchronous command communication path polling means for polling each entry in the communication path registration table for the synchronous command after polling by the communication path polling means is completed. I have to.
[0009]
DETAILED DESCRIPTION OF THE INVENTION
Next, the present invention will be described in detail with reference to the drawings.
FIG. 1 is a diagram showing the configuration of a parallel system including a coupling device (10) to which a polling processing control method according to an embodiment of the present invention is applied and a plurality of computers (11 to 13) that transmit and receive commands. The characteristic part is a part (10-33) surrounded by a dotted line.
The system configuration according to the present invention includes a coupling device (10) that performs centralized processing, and computers (11 to 13) that transmit and receive commands. Each computer includes a coupling device (10) that plays a central role in a parallel system. The communication paths (11-11 to 13-11) connecting the computers (11 to 13) are connected.
The computers (11-13) share the coupling device (10) via the communication paths (11-11 to 13-11) by the communication transceivers (11-10 to 13-10), and the coupling device (10) The command receiving unit (10-10) receives command processing requests from a plurality of computers (11 to 13).
[0010]
When a command is received by the input / output devices (10-20 to 10-22) via the communication paths (11-11 to 13-11), the communication path registration table (10-) of the command receiving unit (10-10) is received. 12) Register that the command is received in the entry corresponding to the communication path.
[0011]
The command receiving unit (10-10) periodically performs communication path polling unit (10-) with respect to the entries of the communication paths (11-11 to 13-11) registered in the communication path registration table (10-12). The reception of the command is detected by performing the command reception check according to 14).
Here, when the reception of the command is detected, the command determination unit (10-30) determines whether the received command is a synchronous command or an asynchronous command, and if it is a synchronous command, a synchronous command communication path registration unit. The communication path is registered in the synchronous command communication path registration table (10-34) by (10-31).
When the reception of the command is not detected, the command reception check of the communication paths (11-11 to 13-11) registered in the entry of the communication path registration table (10-12) is sequentially performed, and the reception of the command is detected. Then, control is transferred to the command processing unit (10-11).
When the command reception check for the communication paths of all the entries is completed, the command reception check for the communication paths registered in the synchronous command communication path registration table (10-34) is performed. 10-32).
After performing communication path polling on the communication paths of all entries, the synchronous command communication path polling unit (10-32) performs communication path polling to increase the detection detection rate of the synchronous command, and thereby to the computer that transmits the synchronous command. Enhance service.
[0012]
Although not shown in the figure, a communication path designated in advance by the user is registered in advance in a designated communication path registration table in place of the synchronous command communication path registration table (10-34), and the designated communication path registration table is stored in the designated communication path registration table. By performing communication path polling on the registered communication path by a designated communication path polling unit (not shown) instead of the synchronous command communication path polling unit (10-32), the reception detection rate of the communication path designated by the user is increased, and the communication path concerned It is also possible to enhance service to computers that use.
Only the synchronous command communication path may be registered in the designated communication path registration table, or the synchronous command communication path and the asynchronous command communication path may be registered.
[0013]
2A and 2B show in detail the communication path registration table (10-12) and the synchronous command communication path registration table (10-34) configured as shown in FIG.
The communication path registration table (10-12) comprises one entry with the communication path number (20-10) and the command reception flag (20-11), and the synchronous command communication path registration table (10-34) The communication path number (20-20) and the command reception flag (20-21) constitute one entry, and the number of entries corresponding to the number of communication paths connected to the coupling device is provided.
In the communication path number (20-10) of the communication path registration table (10-12), the number of the communication path connected to the coupling device 10 is registered in advance.
The communication path number (20-20) of the synchronous command communication path registration table (10-34) is received when the reception of the synchronous command is detected by polling of the communication path registration table (10-12). The number of the communication path in which is detected is stored in one entry.
[0014]
When the input / output device (10-20 to 10-22) receives the command, according to the command identification flag of the received command, the communication path registration table (10-12) and the synchronous command communication path registration table (10-34). ) Is registered in the command reception flag (20-11) and command reception flag (20-21) of the entry of the communication path number received.
The communication path polling unit (10-14) detects command reception from the flag value of the command reception flag (20-11) by polling the communication path registration table (10-12), and processing of the detected command is command processing. (10-11). The communication path polling unit (10-14) can detect the next command reception by clearing the command reception flag.
The synchronous command communication path polling unit (10-31) also performs the same processing as described above by polling the synchronous command communication path registration table (10-34).
[0015]
FIG. 3 shows details of commands transmitted from an arbitrary computer to the coupling device.
The message command block (10-13) has a command block (30-1) inside, and the command identification flag (30-2) in this block indicates whether the received command is synchronous or asynchronous. Can be determined.
[0016]
FIG. 4 is a flowchart showing processing of the communication path polling unit (10-14) and the synchronous command communication path polling unit (10-32), which is characterized by a portion (430) surrounded by a dotted line.
The processing of the communication path polling unit (10-14) and the processing of the synchronous command communication path polling unit (10-32) are command reception check processing, and communication is performed when the coupling device (10) is in a system ready state. The process starts from the process of the path polling unit (10-14).
Then, when the command is detected or the processing of the communication path polling unit (10-14), the processing of the communication path registration table (10-12) and the synchronous command communication path polling unit (10-32) is performed. In this case, the polling process is completed when the command reception check for all communication paths registered in the synchronous command communication path registration table (10-34) is completed.
[0017]
The processing of the communication path polling unit (10-14) obtains the communication path number from the entry of the communication path registration table (10-12) (400).
It is checked whether the obtained communication path is in a command reception state (401), and if it is in a reception state, it is determined whether the received command is a synchronous command or an asynchronous command (420).
If it is a synchronous command, the communication path number is registered in the synchronous command communication path registration table (10-34) (422).
After the command is determined, the processing of the communication path polling unit (10-14) is terminated, and the process proceeds to the command processing unit (10-11) to process the asynchronous command and the synchronous command (421).
If not received, it is determined whether the command reception check of all communication paths connected to the coupling device has been completed (402). If not completed, the reception status is next from the communication path registration table (10-12). The communication path number for checking is obtained (410), and the reception check is performed again (401).
If completed, the processing of the communication path polling unit (10-14) is finished, and then the processing of the synchronous command communication path polling unit (10-32) is performed.
[0018]
The processing of the synchronous command communication path polling unit (10-32) is to obtain a communication path number from the first entry of the synchronous command communication path registration table (10-34) (403), but to provide a command reception period. It is also possible to perform another process once before executing this process.
It is checked whether the obtained communication path number is in the command reception state (404). If it is in the reception state, the processing of the synchronous command communication path polling unit (10-32) is terminated, and the process proceeds to the command processing unit (10-11) Then, for example, a command such as a WAR command is processed (421).
If not received, it is checked (405) whether processing of all communication paths registered in the synchronous command communication path registration table (10-34) is completed, and if completed, synchronous command communication path polling (10 -32) End the process.
If it is not completed, a communication path for checking the reception state next is obtained from the synchronous command communication path registration table (10-34) (411) and checked again (404).
[0019]
【The invention's effect】
As described above in detail, according to the present invention, the computer connected to the coupling device can be operated efficiently, and the throughput of the parallel system can be improved.
[Brief description of the drawings]
FIG. 1 is a block diagram illustrating a configuration of a parallel system including a coupling device and a plurality of computers according to an embodiment of the present invention.
FIG. 2 is a diagram illustrating an example of a communication path registration table and a synchronous command communication path registration table.
FIG. 3 is a diagram illustrating a message command block.
FIG. 4 is a diagram illustrating a flowchart of a polling process for command reception detection;
[Explanation of symbols]
DESCRIPTION OF SYMBOLS 10 Coupling apparatus 11-13 Computer 11-10-13-10 Communication transmission / reception part 11-11-13-13 Communication path 10-20-10-22 Input / output apparatus 10-10 Command reception part 10-11 Command processing part 10- 12 Communication Path Registration Table 10-13 Message Command Block 10-14 Communication Path Polling Unit 10-30 Command Determination Unit 10-31 Synchronization Command Communication Path Registration Unit 10-32 Synchronization Command Communication Path Polling Unit 10-34 Synchronization Command Communication Path Registration table

Claims (2)

複数の計算機と、該複数の計算機を通信経路により結合する結合装置で構成されるデータ処理システムにおける前記複数の計算機に対する結合装置のポーリング方法であって、
前記複数の計算機の通信パスの各々に対して順次ポーリングを行い、
計算機から通信パスにより送信されたコマンドが同期コマンドであるか非同期コマンドであるか判別し、
判別結果が同期コマンドである場合に、同期コマンドを送信した計算機の通信パスを結合装置内の登録テーブルへ登録し、
前記複数の計算機の通信パスの各々に対してのポーリングが終了した後、前記登録テーブルに登録した通信パスに対して順次ポーリングすることを特徴とする結合装置のポーリング方法。
A polling method of a coupling device for the plurality of computers in a data processing system comprising a plurality of computers and a coupling device that couples the plurality of computers via a communication path,
Polling sequentially for each of the communication paths of the plurality of computers,
Determine whether the command sent from the computer via the communication path is a synchronous command or an asynchronous command,
If the determination result is a synchronous command, register the communication path of the computer that sent the synchronous command in the registration table in the coupling device,
A polling method for a coupling apparatus, wherein polling is sequentially performed on communication paths registered in the registration table after polling for each of the communication paths of the plurality of computers is completed.
複数の計算機と、該複数の計算機を通信経路により結合する結合装置で構成されるデータ処理システムにおける結合装置であって、
該結合装置と計算機を接続する通信パスの識別情報と該通信パスのコマンド受信状態を格納するエントリを複数有する通信パス登録テーブルと、
該通信パス登録テーブルの各エントリに対してポーリングを行う通信パスポーリング手段と、
該ポーリングにより取得されたエントリのコマンド受信状態から該コマンドが同期コマンドであるか否か判定するコマンド判定手段と、
同期コマンドと判定された通信パスの識別情報を同期コマンド用の通信パス登録テーブルに登録する同期コマンド通信パス登録手段と、
前記通信パスポーリング手段によるポーリング終了後、同期コマンド用の通信パス登録テーブルの各エントリに対してポーリングを行う同期コマンド通信パスポーリング手段を有することを特徴とする結合装置。
A coupling device in a data processing system comprising a plurality of computers and a coupling device that couples the plurality of computers via a communication path,
A communication path registration table having a plurality of entries for storing identification information of a communication path connecting the coupling device and the computer and a command reception state of the communication path;
Communication path polling means for polling each entry of the communication path registration table;
Command determination means for determining whether the command is a synchronous command from the command reception status of the entry acquired by the polling;
Synchronous command communication path registration means for registering identification information of a communication path determined as a synchronous command in a communication path registration table for a synchronous command;
And a synchronization command communication path polling unit for polling each entry in the communication path registration table for the synchronous command after the polling by the communication path polling unit is completed.
JP12804999A 1999-05-10 1999-05-10 Polling method for coupling device and coupling device Expired - Fee Related JP3832543B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP12804999A JP3832543B2 (en) 1999-05-10 1999-05-10 Polling method for coupling device and coupling device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP12804999A JP3832543B2 (en) 1999-05-10 1999-05-10 Polling method for coupling device and coupling device

Publications (2)

Publication Number Publication Date
JP2000322396A JP2000322396A (en) 2000-11-24
JP3832543B2 true JP3832543B2 (en) 2006-10-11

Family

ID=14975244

Family Applications (1)

Application Number Title Priority Date Filing Date
JP12804999A Expired - Fee Related JP3832543B2 (en) 1999-05-10 1999-05-10 Polling method for coupling device and coupling device

Country Status (1)

Country Link
JP (1) JP3832543B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20210117235A1 (en) * 2019-10-16 2021-04-22 EMC IP Holding Company LLC Storage system with efficient release of address lock waiters during synchronous replication

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20210117235A1 (en) * 2019-10-16 2021-04-22 EMC IP Holding Company LLC Storage system with efficient release of address lock waiters during synchronous replication

Also Published As

Publication number Publication date
JP2000322396A (en) 2000-11-24

Similar Documents

Publication Publication Date Title
US20040015686A1 (en) Methods and apparatus for determination of packet sizes when transferring packets via a network
EP1038230A1 (en) Method and system for arbitrating path contention
EP0782298A1 (en) Carrier sense collision advoidance in a local area network
JPH05153194A (en) Method of buffer chain in communication controller and device thereof
JP3772690B2 (en) Service system and service method used therefor
CN107066413A (en) A kind of method and its bus system for being used to handle multiple bus apparatus data
JP3832543B2 (en) Polling method for coupling device and coupling device
JP2599553B2 (en) A picoprocessor-based coupler that performs complex functions outside the main communication data path.
JP3051798B2 (en) Output control device and output control method
JP2001092798A (en) Load distribution multi-processor system and method
JP2943710B2 (en) Buffer busy control method
JPH0675887A (en) Polling interval determining system
JP2004334840A (en) Control method and related device of system bus
JP3471653B2 (en) Data transmission equipment
JP3538069B2 (en) Broadcast communication test method
EP1193605B1 (en) Apparatus and method for the transfer of signal groups between digital signal processors in a digital signal processing unit
JP2809164B2 (en) Two-way data communication system
JPS5812045A (en) Storage data processor
KR100205055B1 (en) Emergency message send control method in a send network interface
JPH0353736A (en) Reception buffer control system
JP2502850B2 (en) Communication method for SCSI system
JP2910176B2 (en) Request reception processing device
JPH05216792A (en) System for controlling service request between processors
JPH0198061A (en) Repeating installation
JPH0668025A (en) Bus access control system

Legal Events

Date Code Title Description
RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20040317

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20051003

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20051108

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20060104

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: 20060627

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20060711

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees