JPH0934851A - Multi-cluster exclusive controller - Google Patents

Multi-cluster exclusive controller

Info

Publication number
JPH0934851A
JPH0934851A JP7201896A JP20189695A JPH0934851A JP H0934851 A JPH0934851 A JP H0934851A JP 7201896 A JP7201896 A JP 7201896A JP 20189695 A JP20189695 A JP 20189695A JP H0934851 A JPH0934851 A JP H0934851A
Authority
JP
Japan
Prior art keywords
lock
wait
storage means
process name
storing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP7201896A
Other languages
Japanese (ja)
Other versions
JP2848437B2 (en
Inventor
Shigeyuki Aino
茂幸 愛野
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Corp
Original Assignee
NEC Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Corp filed Critical NEC Corp
Priority to JP7201896A priority Critical patent/JP2848437B2/en
Publication of JPH0934851A publication Critical patent/JPH0934851A/en
Application granted granted Critical
Publication of JP2848437B2 publication Critical patent/JP2848437B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To provide a multi-cluster exclusive controller in which the performance of the entire system is improved by executing dead lock monitor processing only for a dead lock case. SOLUTION: This controller is provided with a lock block name storage means 7 storing common data or file identifier accessed exclusively, a lock process name storage means 8 storing a process name accessed exclusively corresponding to the identifier, a wait process name storage means 9 storing an awaited process name with respect to the identifier when the exclusive access is awaited, a lock wait time monitor mechanism 5 monitoring a wait time of the awaited process, and a dead lock monitor device 6 starting the investigation whether or not a deal lock wait takes place after the monitored wait time reaches a specified time or over.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】本発明は、複数のホストから
なる計算機システムに関し、特に、ホスト間における共
有データ又はファイルへのアクセスの排他制御を行うマ
ルチクラスタ排他制御装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a computer system composed of a plurality of hosts, and more particularly to a multi-cluster exclusive control device for exclusive control of access to shared data or files between hosts.

【0002】[0002]

【従来の技術】従来のマルチクラスタ排他制御装置は、
共有データ又はファイルへの排他的なアクセス時に、そ
のアクセスしようとしている共有データ又はファイル
が、別のプロセスにより既に排他的にアクセスされてい
た場合に、デッドロック待ちが発生するかを直ちに調べ
ていた。
2. Description of the Related Art A conventional multi-cluster exclusive control device is
When exclusively accessing a shared data or file, if the shared data or file to be accessed is already exclusively accessed by another process, it is immediately checked whether a deadlock wait occurs. .

【0003】すなわち、あるホスト内の例えば第1のプ
ロセスが、共有データ又はファイルに対して排他的にア
クセスしようとした時に、別の第2のプロセスが該共有
データ又はファイルを既にアクセスしていたためロック
されていたならば、第1のプロセスのアクセスをロック
が開放されるまで待たせるが、その際、デッドロック待
ちが発生するか否かを直ちに必ず調査していた。この
為、実際にデッドロック待ちになるケースよりも遥かに
大きい頻度で、デッドロック待ちが発生するかの調査を
実施することになり、システム全体の性能を著しく低下
させている。
That is, when, for example, the first process in a certain host tries to exclusively access the shared data or file, another second process has already accessed the shared data or file. If it was locked, the access of the first process is made to wait until the lock is released, but at that time, it was always investigated immediately whether a deadlock wait occurred. For this reason, it is necessary to investigate whether deadlock waiting occurs or not at a frequency much higher than in the case of actually waiting for deadlock, which significantly reduces the performance of the entire system.

【0004】[0004]

【発明が解決しようとする課題】本発明は、デッドロッ
クになるケースのみデッドロック監視処理を実行するこ
とにより、システム全体の性能向上を図ることを目的と
する。
SUMMARY OF THE INVENTION An object of the present invention is to improve the performance of the entire system by executing deadlock monitoring processing only in the case of deadlock.

【0005】[0005]

【課題を解決するための手段】本発明によるマルチクラ
スタ排他制御装置では、排他的にアクセスされる共有デ
ータ又はファイルを識別する識別子を記憶するロックブ
ロック名記憶手段と、該共有データ又はファイルを排他
的にアクセスするプロセスのプロセス名を、上記識別子
と対応して記憶するロックプロセス名記憶手段と、上記
共有データ又はファイルに対して、排他的アクセスの要
求は行ったが、該共有データ又はファイルは、他のプロ
セスにより排他的アクセス中であったためアクセスを待
たされることになった場合に、その待たされるプロセス
のプロセス名を上記識別子と対応して記憶するウェイト
プロセス名記憶手段と、上記アクセス待ちになった場合
にその待ち時間を監視するロック待ち時間監視手段と、
その監視された待ち時間が規定時間以上になってから、
デッドロック待ちが発生しているかの調査を開始するデ
ッドロック監視開始手段とを備えている。
In a multi-cluster exclusive control device according to the present invention, lock block name storage means for storing an identifier for identifying shared data or file to be exclusively accessed, and the shared data or file are excluded. A request for exclusive access is made to the lock process name storage means for storing the process name of the process to be accessed in a corresponding manner and the shared data or file, but the shared data or file is In the case of waiting for access due to exclusive access by another process, wait process name storage means for storing the process name of the process to be waited for in correspondence with the identifier, and waiting for the access. Lock waiting time monitoring means for monitoring the waiting time when
After the monitored waiting time exceeds the specified time,
A deadlock monitoring start means for starting an investigation as to whether a deadlock wait has occurred is provided.

【0006】ロックブロック名記憶手段とロックプロセ
ス名記憶手段とウェイトプロセス名記憶手段とは、書き
込み・読み出しを効率良く行えるように、対応付けてメ
モリ上に形成すると良い。
The lock block name storage means, the lock process name storage means, and the wait process name storage means are preferably formed on the memory in association with each other so that writing and reading can be performed efficiently.

【0007】本発明によれば、あるプロセスのアクセス
要求が待たされた場合に、一定時間経過してから、デッ
ドロック待ちが発生しているか否かの調査を開始するの
で、ほぼデッドロックになるケースのみデッドロック監
視処理を実行することができる。
According to the present invention, when an access request of a certain process is made to wait, after a certain period of time, the investigation as to whether or not a deadlock wait is occurring is started, so that almost deadlock occurs. The deadlock monitoring process can be executed only in the case.

【0008】[0008]

【発明の実施の形態】次に本発明の一実施例について図
面を参照して説明する。図1は、本発明によるマルチク
ラスタ排他制御装置1に2つのホスト2・3を接続した
例のブロック図である。各ホスト2・3は、ホスト間で
共有するファイルをアクセスする場合、先ず、マルチク
ラスタ排他制御装置1に対して、ファイル名とアクセス
要求を出しているプロセスのプロセス名を通知する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Next, an embodiment of the present invention will be described with reference to the drawings. FIG. 1 is a block diagram of an example in which two hosts 2.3 are connected to a multi-cluster exclusive control device 1 according to the present invention. When accessing the file shared between the hosts, each of the hosts 2 and 3 first notifies the multi-cluster exclusive control device 1 of the file name and the process name of the process issuing the access request.

【0009】マルチクラスタ排他制御装置1は、排他制
御部4とロック待ち時間監視機構5とデッドロック監視
機構6と3項目の記録手段7・8・9とを有する。これ
ら記憶手段7・8・9は、排他的アクセス要求のリクエ
ストがあったファイルのファイル名と、該リクエストを
発生してアクセスが許可されたプロセスのプロセス名
と、該リクエストを発生したが、アクセスを待たされて
いるプロセスのプロセス名とを、識別子によりそれぞれ
対応づけて記憶する。本発明の一実施例では、これら記
憶手段を図3に示すようなメモリ上に展開するチェイン
テーブル上で構成しているが、その詳細は後述する。
The multi-cluster exclusive control device 1 has an exclusive control unit 4, a lock waiting time monitoring mechanism 5, a deadlock monitoring mechanism 6 and three items of recording means 7. 8. 9. These storage means 7, 8 and 9 have a file name of a file for which an exclusive access request has been requested, a process name of a process which has issued the request and is permitted access, and the access request which has been issued. The process name of the process waiting for is stored in association with the process name by the identifier. In one embodiment of the present invention, these storage means are constructed on a chain table which is expanded on the memory as shown in FIG. 3, but the details will be described later.

【0010】排他制御部4は、マイクロプロセッサによ
り構成され、各ホスト2・3からのファイルへのアクセ
ス要求を受け付け、記憶手段7・8・9を使って、当該
アクセス要求が許可可能か否かを判別するとともに、記
憶手段7・8・9内の情報の更新を行う。また、排他制
御部4は、アクセス要求の判別の結果、当該アクセス要
求を待たせる場合には、ロック待ち時間監視機構6に、
アクセス要求元のプロセス名と、ウェイトプロセス名記
憶手段9における該プロセスを記憶するエントリを示す
ポインタを通知する。
The exclusive control unit 4 is composed of a microprocessor, receives an access request to a file from each host 2 and 3, and uses the storage means 7. 8. 9 to determine whether the access request can be granted. And the information in the storage means 7, 8 and 9 is updated. Further, as a result of the determination of the access request, the exclusive control unit 4 causes the lock waiting time monitoring mechanism 6 to wait for the access request.
A process name of the access request source and a pointer indicating an entry for storing the process in the wait process name storage unit 9 are notified.

【0011】ロック待ち時間監視機構5では、プロセス
が共有ファイルへのアクセスを待たされた場合、その待
ち時間を監視し、待ち時間が規定時間以上に達した場合
は、デッドロック監視機構6に通知する。ロック待ち時
間監視機構5の詳細については、図4を用いて後述す
る。デッドロック監視機構6は、マイクロプロセッサで
構成され、記憶手段7・8・9を使用してデッドロック
待ちが発生しているかを調査する。なお、図1において
100〜106は信号線を示す。
The lock waiting time monitoring mechanism 5 monitors the waiting time when a process waits for access to a shared file, and notifies the deadlock monitoring mechanism 6 when the waiting time reaches a prescribed time or longer. To do. Details of the lock waiting time monitoring mechanism 5 will be described later with reference to FIG. The deadlock monitoring mechanism 6 is composed of a microprocessor, and investigates whether a deadlock wait occurs by using the storage means 7, 8 and 9. In FIG. 1, reference numerals 100 to 106 denote signal lines.

【0012】図2は、デッドロック待ちが発生している
一態様を示す。プロセス1は、共有ファイルAをアクセ
スしようとしたが、該ファイルは、既にプロセス2がア
クセス中であるためにアクセスを待たされている。プロ
セス2は、共有ファイルBをアクセスしようとしたが、
該ファイルは、既にプロセス1がアクセス中であるため
にアクセスを待たされている。この状態であると、プロ
セス1及びプロセス2とも、処理を待たされているた
め、共有ファイルA及び共有ファイルBともに解放され
ることがなく、両プロセスとも処理を進めることができ
なくなる。
FIG. 2 shows an aspect in which a deadlock wait occurs. The process 1 tries to access the shared file A, but the file is kept waiting because the process 2 is already accessing it. Process 2 tried to access shared file B,
The file is waiting for access because process 1 is already accessing it. In this state, since both process 1 and process 2 have been waiting for processing, neither shared file A nor shared file B is released, and both processes cannot proceed.

【0013】図3は、図1に示した記憶手段7・8・9
の構造の一実施例を示している。本実施例では、図1に
示したロックブロック名であるファイル名を記憶するフ
ィールド、ロックプロセス名を記憶するフィールド、ウ
ェイトプロセス名を記憶するフィールドと次のエントリ
を示すポインタを記憶するフィールドを持つエントリ
を、アクセス中であるファイル名毎に持ち、メモリに格
納する。
FIG. 3 shows the storage means 7, 8 and 9 shown in FIG.
2 shows an example of the structure of FIG. The present embodiment has a field for storing a file name which is the lock block name shown in FIG. 1, a field for storing a lock process name, a field for storing a wait process name and a field for storing a pointer indicating the next entry. It has an entry for each file name being accessed and stores it in memory.

【0014】各ホスト2・3から排他制御部4にアクセ
スを要求するファイル名と要求元のプロセス名を通知し
たら、排他制御部4は、上記エントリのロックブロック
名記憶フィールドに、要求されているファイル名が記憶
されているか否かをサーチする。記憶されていなけれ
ば、ロックブロック名記憶フィールドに該ファイル名を
書き込み、ロックプロセス名記憶フィールドに要求元プ
ロセス名を書き込み、新規のエントリとしてメモリ内に
記憶させ、既に記憶させている最後のエントリの次エン
トリへのポインタフィールドに、該新規エントリを格納
するメモリのアドレスを書き込み、アクセスの要求元ホ
ストにアクセスの許可を通知する。上記サーチの結果、
要求するファイル名が記憶されていれば、該要求ファイ
ル名を記憶しているエントリのウェイトプロセス名記憶
フィールドに要求元のプロセス名を書き込み、該エント
リを格納するメモリのアドレスと、該要求元プロセス名
と待ちプロセスが発生したことをロック待ち時間監視機
構5に通知する。
When each host 2/3 notifies the exclusive control unit 4 of the file name requesting access and the process name of the requesting source, the exclusive control unit 4 requests the lock block name storage field of the above entry. Search whether the file name is stored. If not stored, the file name is written in the lock block name storage field, the requesting process name is written in the lock process name storage field, and it is stored in the memory as a new entry. The address of the memory that stores the new entry is written in the pointer field to the next entry, and the access permission is notified to the access request source host. As a result of the above search,
If the requested file name is stored, the process name of the request source is written in the wait process name storage field of the entry storing the requested file name, the address of the memory storing the entry, and the request source process. The lock waiting time monitoring mechanism 5 is notified that a name and a waiting process have occurred.

【0015】プロセスの共有ファイルのアクセスが終了
した場合は、各ホスト2・3から、排他制御部4にファ
イルの解放が通知される。排他制御部4は、解放される
ファイル名を記憶しているエントリをサーチする。この
サーチに係る当該エントリのウェイトプロセス名記憶フ
ィールドに何も記憶されていなければ、当該エントリを
削除するために、当該エントリを次エントリとして示し
ているエントリのポインタフィールドを当該エントリが
記憶しているポインタ値に書き換える。すなわち、第1
番と第2番と第3番のエントリのうち当該エントリが第
2番目のエントリだったとすると、第2番目のエントリ
である当該エントリを削除するに当たり、それに記憶さ
れていたポインタ値を、第1番目のエントリが次エント
リとして示していたポインタ値と置き換え、第1番目の
エントリのポインタ値が第3番のエントリを次エントリ
として示すようにする。
When the access to the shared file of the process is completed, each host 2/3 notifies the exclusive control unit 4 of the release of the file. The exclusive control unit 4 searches for an entry that stores the released file name. If nothing is stored in the wait process name storage field of the entry related to this search, the entry stores the pointer field of the entry indicating the entry as the next entry in order to delete the entry. Rewrite to the pointer value. That is, the first
If the entry is the second entry among the second, third, and third entries, the pointer value stored in the first entry is changed to the first entry when deleting the second entry. The third entry is replaced with the pointer value shown as the next entry, and the entry having the third pointer value of the first entry is shown as the next entry.

【0016】当該エントリのウェイトプロセス名記憶フ
ィールドに、アクセスを待たされているプロセス名が記
憶されていた場合は、ウェイトプロセス名記憶フィール
ドに記憶されているプロセス名を当該エントリのロック
プロセス名記憶フィールドに書き込み、該プロセスのあ
るホストに、共有ファイルへのアクセスの許可を通知
し、該プロセス名と共有ファイルへのアクセス待ちの解
除をロック待ち時間監視機構5に通知する。
If the wait process name storage field of the entry stores the process name waiting for access, the process name stored in the wait process name storage field is set to the lock process name storage field of the entry. , The host having the process is notified of permission to access the shared file, and the lock waiting time monitoring mechanism 5 is notified of release of the process name and access waiting to the shared file.

【0017】図4は、図1のロック待ち時間監視機構5
の内部回路を示している。ロック待ち時間監視機構5
は、複数個の残時間監視回路10とその出力を選択する
選択回路11とで構成される。各残時間監視回路10に
は、第1及び第2のレジスタ12・13と、第2のレジ
スタ13の内容を−1する−1ディクリメンタ14と、
この−1ディクリメンタ14の出力が0と等しいかを比
較し、等しければ論理値1を出力する比較器15とが備
えられている。第1のレジスタ12には、図1の排他制
御部4より通知されるウェイトプロセス名と、該ウェイ
トプロセス名を記憶しているメモリアドレスと、有効な
情報があることを示す識別ビットとを格納する。第2の
レジスタ14には、プロセスのアクセス待ち時間の規定
値から見た残り時間を格納しておく。そして、ロック待
ち時間監視機構5は、複数の残時間監視回路10の出力
中で、比較器15の出力値が論理値1であれば、当該残
時間監視回路10内のレジスタ12の情報を選択回路1
1を通して図1のデッドロック監視機構6に通知する構
成になっている。
FIG. 4 shows the lock waiting time monitoring mechanism 5 of FIG.
2 shows an internal circuit of the first embodiment. Lock wait time monitoring mechanism 5
Is composed of a plurality of remaining time monitoring circuits 10 and a selection circuit 11 for selecting its output. Each remaining time monitoring circuit 10 includes a first and second register 12 and 13, and a -1 decrementer 14 that decrements the contents of the second register 13 by -1.
A comparator 15 is provided for comparing whether the output of the -1 decrementer 14 is equal to 0 and, if they are equal, outputting a logical value of 1. The first register 12 stores a wait process name notified from the exclusive control unit 4 of FIG. 1, a memory address storing the wait process name, and an identification bit indicating that there is valid information. To do. The second register 14 stores the remaining time as viewed from the specified value of the process access waiting time. Then, the lock waiting time monitoring mechanism 5 selects the information of the register 12 in the remaining time monitoring circuit 10 when the output value of the comparator 15 is the logical value 1 among the outputs of the plurality of remaining time monitoring circuits 10. Circuit 1
1 is used to notify the deadlock monitoring mechanism 6 of FIG.

【0018】すなわち、図1の排他制御部4より、共有
ファイルへのアクセスを待たされたプロセスが発生した
ことがロック待ち時間監視機構5に通知されたら、複数
個ある残時間監視回路10の中のレジスタ12の識別ビ
ットをサーチし、有効な情報を保持していない残時間監
視回路10を検出し、該残時間監視回路10内のレジス
タ12の識別ビットを有効にし、排他制御部4より通知
されるアクセスを待たされたプロセス名と、該プロセス
名を記憶しているエントリのメモリアドレスをレジスタ
12に格納し、レジスタ13に規定値を設定する。その
後、各マシンサイクル毎に、該レジスタ13の値を−1
ディクリメンタ14により−1し、比較器15により0
になったことが検出されたら、レジスタ12の情報を選
択回路11を通して、デッドロック監視機構6に出力す
る。
That is, when the exclusive control unit 4 of FIG. 1 notifies the lock waiting time monitoring mechanism 5 that a process waiting for access to a shared file has occurred, a plurality of remaining time monitoring circuits 10 Search the identification bit of the register 12 to detect the remaining time monitoring circuit 10 that does not hold valid information, enable the identification bit of the register 12 in the remaining time monitoring circuit 10, and notify from the exclusive control unit 4. The process name for which the access is waited for and the memory address of the entry storing the process name are stored in the register 12, and a prescribed value is set in the register 13. After that, the value of the register 13 is set to -1 for each machine cycle.
Decrementer 14 decrements by 1 and comparator 15 decrements by 1.
When it is detected, the information in the register 12 is output to the deadlock monitoring mechanism 6 through the selection circuit 11.

【0019】排他制御部4より、プロセスのファイルへ
のアクセス待ちが解消されたことがロック待ち時間監視
機構5に通知されたら、排他制御部4より通知されるア
クセス待ちが解消されたプロセス名を保持しているレジ
スタ12を持つ残時間監視回路10を検出し、該残時間
監視回路10のレジスタ12の識別ビットを無効とし、
レジスタ13の更新を抑止する。
When the lock waiting time monitoring mechanism 5 is notified by the exclusive control unit 4 that the process wait for access to a file has been canceled, the process name of the access wait notified by the exclusive control unit 4 is set. Detecting the remaining time monitoring circuit 10 having the held register 12 and invalidating the identification bit of the register 12 of the remaining time monitoring circuit 10,
The update of the register 13 is suppressed.

【0020】なお、本実施例では、図4における回路を
レジスタ,−1ディクリメンタ,比較器,選択回路で構
成したが、メモリとマイクロプロセッサで構成しても同
様の処理が可能であることは自明である。
In this embodiment, the circuit in FIG. 4 is composed of the register, the -1 decrementer, the comparator, and the selection circuit, but it is obvious that the same processing can be carried out even if it is composed of the memory and the microprocessor. Is.

【0021】図1のデッドロック監視機構6は、マイク
ロプロセッサより構成され、図1のロック待ち時間監視
機構5より規定時間以上共有ファイルへのアクセスが待
たされたプロセスがあることを、デッドロック監視機構
6に通知されたら、該デッドロック監視機構6は、排他
制御部5からの各記憶手段7・8・9へのアクセスを抑
止し、記憶手段7・8・9を使用してデッドロック待ち
が発生しているかをマイクロプロセッサ上でのプログラ
ムをもとに調査を開始する。
The deadlock monitoring mechanism 6 of FIG. 1 is composed of a microprocessor, and deadlock monitoring is performed by the lock waiting time monitoring mechanism 5 of FIG. When notified to the mechanism 6, the deadlock monitoring mechanism 6 inhibits the access from the exclusive control unit 5 to the respective storage means 7/8/9, and waits for the deadlock by using the storage means 7/8/9. The investigation is started on the basis of the program on the microprocessor to see if the occurrence has occurred.

【0022】[0022]

【発明の効果】本発明によれば、当該プロセスが共有デ
ータ又はファイルへの排他的アクセス時に、他のプロセ
スが既に該共有データ又はファイルへのアクセスを行っ
ているため、当該プロセスのアクセス要求が待たされた
場合に、一定時間経過してから、デッドロック待ちが発
生しているかの調査を開始するので、ほぼデッドロック
になるケースのみデッドロック監視処理を実行すること
になり、システム全体としての性能向上が得られる。
According to the present invention, when the process concerned has exclusive access to the shared data or file, another process has already accessed the shared data or file. When waiting, after a certain period of time has passed, the investigation to see if a deadlock wait is occurring is started, so the deadlock monitoring process will be executed only in the case of almost deadlock. Performance improvement can be obtained.

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

【図1】本発明の一実施例のブロック構成図である。FIG. 1 is a block diagram of an embodiment of the present invention.

【図2】デッドロック待ち発生の一態様を示す説明図で
ある。
FIG. 2 is an explanatory diagram showing one aspect of deadlock wait occurrence.

【図3】図1内の記憶手段の一構成例を示す図である。FIG. 3 is a diagram showing a configuration example of a storage unit in FIG.

【図4】図1内の残時間監視機構の一実施例を示すブロ
ック図である。
FIG. 4 is a block diagram showing an embodiment of a remaining time monitoring mechanism in FIG.

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

1 マルチクラスタ排他制御装置 2・3 ホスト 4 排他制御部 5 ロック待ち時間監視機構 6 デッドロック監視機構 7 ロックブロック名記憶手段 8 ロックプロセス名記憶手段 9 ウェイトプロセス名記憶手段 1 Multi-cluster Exclusive Control Device 2.3 Host 4 Exclusive Control Unit 5 Lock Wait Time Monitoring Mechanism 6 Deadlock Monitoring Mechanism 7 Lock Block Name Storage Means 8 Lock Process Name Storage Means 9 Wait Process Name Storage Means

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】複数のホスト間での共有データ又はファイ
ルへのアクセスの排他制御を行うマルチクラスタ排他制
御装置において、排他的にアクセスされる共有データ又
はファイルの識別子を記憶するロックブロック名記憶手
段と、該共有データ又はファイルを排他的にアクセスし
ているプロセス名を上記識別子に対応して記憶するロッ
クプロセス名記憶手段と、上記共有データ又はファイル
に対する排他的アクセスが待たされた場合に、待たされ
るプロセス名を上記識別子に対応して記憶するウェイト
プロセス名記憶手段と、上記待たされるプロセスの待ち
時間を監視するロック待ち時間監視手段と、その監視さ
れた待ち時間が規定時間以上になってから、デッドロッ
ク待ちが発生しているかの調査を開始するデッドロック
監視開始手段を有することを特徴とするマルチクラスタ
排他制御装置。
1. A multi-cluster exclusive control device for performing exclusive control of access to shared data or files among a plurality of hosts, and lock block name storage means for storing an identifier of shared data or files to be exclusively accessed. A lock process name storing means for storing a process name that exclusively accesses the shared data or file in correspondence with the identifier, and a wait process when exclusive access to the shared data or file is waited. Wait process name storage means for storing the process name to be stored corresponding to the above identifier, lock waiting time monitoring means for monitoring the waiting time of the waiting process, and after the monitored waiting time exceeds the specified time. Has a deadlock monitoring start method that starts investigation to see if a deadlock wait has occurred. Multi-cluster exclusive control device according to claim Rukoto.
【請求項2】ロックブロック名記憶手段とロックプロセ
ス名記憶手段とウェイトプロセス名記憶手段とを、対応
付けてメモリ上に形成することを特徴とする請求項1記
載のマルチクラスタ排他制御装置。
2. The multi-cluster exclusive control device according to claim 1, wherein lock block name storage means, lock process name storage means, and wait process name storage means are associated with each other and formed on a memory.
JP7201896A 1995-07-17 1995-07-17 Multi-cluster exclusive control unit Expired - Fee Related JP2848437B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7201896A JP2848437B2 (en) 1995-07-17 1995-07-17 Multi-cluster exclusive control unit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7201896A JP2848437B2 (en) 1995-07-17 1995-07-17 Multi-cluster exclusive control unit

Publications (2)

Publication Number Publication Date
JPH0934851A true JPH0934851A (en) 1997-02-07
JP2848437B2 JP2848437B2 (en) 1999-01-20

Family

ID=16448625

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7201896A Expired - Fee Related JP2848437B2 (en) 1995-07-17 1995-07-17 Multi-cluster exclusive control unit

Country Status (1)

Country Link
JP (1) JP2848437B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20000043478A (en) * 1998-12-29 2000-07-15 김영환 Method for implementing file protection function in communication exchange system cable of multi-task
JP2009065713A (en) * 2008-12-08 2009-03-26 Ricoh Co Ltd Image forming apparatus, shared memory arbitrating method, program and recording medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20000043478A (en) * 1998-12-29 2000-07-15 김영환 Method for implementing file protection function in communication exchange system cable of multi-task
JP2009065713A (en) * 2008-12-08 2009-03-26 Ricoh Co Ltd Image forming apparatus, shared memory arbitrating method, program and recording medium

Also Published As

Publication number Publication date
JP2848437B2 (en) 1999-01-20

Similar Documents

Publication Publication Date Title
US9652385B1 (en) Apparatus and method for handling atomic update operations
JP3611295B2 (en) Computer system, memory management method, and storage medium
JPH07501904A (en) Semaphore bypass
US8301844B2 (en) Consistency evaluation of program execution across at least one memory barrier
US6970963B2 (en) Apparatus and method for synchronizing multiple accesses to common resources
JPH0532775B2 (en)
US7146533B2 (en) Method for and system producing shared usage of intercommunication fabric error logging registers in a multiprocessor environment
US20060236040A1 (en) Multiprocessor system for preventing starvation in case of occurring address competition and method thereof
JP3129224B2 (en) Cache memory device
JPH0934851A (en) Multi-cluster exclusive controller
JP3419392B2 (en) Memory access monitoring device, memory access monitoring method, and recording medium recording memory access monitoring program
JP6222100B2 (en) Data storage device, data storage method and program
CN113806389A (en) Data processing method and device, computing equipment and storage medium
JP3187446B2 (en) Cache memory controller
JP3239935B2 (en) Tightly-coupled multiprocessor system control method, tightly-coupled multiprocessor system, and recording medium therefor
JP3555847B2 (en) Cache memory failure processing apparatus, cache memory failure processing method, and multiprocessor system
JPH10254775A (en) Memory controller having common cache memory
JPWO2007099616A1 (en) Address exclusion control system and address exclusion control method
JP4199746B2 (en) Computer system, exclusive control method, and program
JP2742246B2 (en) Lock request control mechanism
KR100368744B1 (en) Retry apparatus and method for maintaining cache consistency in hi-fi bus
JP2825589B2 (en) Bus control method
JP2982197B2 (en) Bus monitor circuit for cache
JP2003058522A (en) Method and device for monitoring internal ram
JPH05241965A (en) Memory managing device

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20071106

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20081106

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20081106

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20091106

Year of fee payment: 11

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

Free format text: PAYMENT UNTIL: 20091106

Year of fee payment: 11

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

Free format text: PAYMENT UNTIL: 20101106

Year of fee payment: 12

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

Free format text: PAYMENT UNTIL: 20111106

Year of fee payment: 13

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

Free format text: PAYMENT UNTIL: 20111106

Year of fee payment: 13

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

Free format text: PAYMENT UNTIL: 20121106

Year of fee payment: 14

LAPS Cancellation because of no payment of annual fees