JP2000010853A - Shared area managing method - Google Patents

Shared area managing method

Info

Publication number
JP2000010853A
JP2000010853A JP10177837A JP17783798A JP2000010853A JP 2000010853 A JP2000010853 A JP 2000010853A JP 10177837 A JP10177837 A JP 10177837A JP 17783798 A JP17783798 A JP 17783798A JP 2000010853 A JP2000010853 A JP 2000010853A
Authority
JP
Japan
Prior art keywords
information
area
shared area
shared
deletion
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP10177837A
Other languages
Japanese (ja)
Inventor
Shoji Yamamoto
昭二 山本
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 Software Shikoku Ltd
Original Assignee
NEC Software Shikoku 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 NEC Software Shikoku Ltd filed Critical NEC Software Shikoku Ltd
Priority to JP10177837A priority Critical patent/JP2000010853A/en
Publication of JP2000010853A publication Critical patent/JP2000010853A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To provide a shared area managing method which can improve the system performance even under LRU(least recently used) control. SOLUTION: When information 13 in a shared area 12 is referred to, the said information 13 is read in an information area 10 of a host 1; only when information needs to be registered and updated in the shared area 12, the information 13 in the shared area 12 is read in the information area 10, deletion time information 14 of the shared area 12 is read in a deletion time information area 11 and while the registration and update of the read-in information area 10 are performed, the deletion time information area 11 for deletion candidate selection time is updated. Consequently, the updating process (rewriting process for update information) of the deletion time information 14 which were done each time the information 13 in the shared area 12 is refereed to under the conventional LRU control can be omitted, so that the system performance can be improved even under the LRU control.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、クラスタシステム
を構成するコンピュータシステムに用いて好適な共有領
域管理方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a shared area management method suitable for use in a computer system constituting a cluster system.

【0002】[0002]

【従来の技術】従来より、クラスタシステムを構成する
コンピュータシステムのホスト間で高速アクセス可能な
共有領域を管理する機能として、一番長い間、登録、更
新、参照等のアクセスが発生しなかった情報を削除候補
に選択するLRU(Least Recently Used)制御が知ら
れている。
2. Description of the Related Art Conventionally, as a function of managing a shared area that can be accessed at high speed between hosts of a computer system constituting a cluster system, information for which access such as registration, update, and reference has not occurred for the longest time has occurred. (Least Recently Used) control for selecting a file as a deletion candidate is known.

【0003】[0003]

【発明が解決しようとする課題】ところで、こうしたL
RU制御に基づく共有領域管理方法では、共有領域に格
納される情報を参照する為の読み込み処理を行った後、
参照が行われた為に変更されて削除される情報を選択す
る際に必要となる制御情報(LRU制御で使用)を再度
共有領域に書き込む必要がある。この為、共有領域に格
納される情報について参照が多い状況下にあると、かか
る書き込み処理が多数発生する結果、共有領域に対する
アクセスに時間がかかり、システム性能が低下するとい
う問題がある。そこで本発明は、このような事情に鑑み
てなされたもので、LRU制御下にあってもシステム性
能の向上を図ることができる共有領域管理方法を提供す
ることを目的としている。
By the way, such L
In the shared area management method based on RU control, after performing a reading process for referring to information stored in the shared area,
It is necessary to write control information (used in LRU control) necessary for selecting information to be changed and deleted due to the reference to the shared area again. For this reason, if the information stored in the shared area is frequently referred to, a large number of such writing processes occur, so that it takes a long time to access the shared area, and the system performance is degraded. The present invention has been made in view of such circumstances, and an object of the present invention is to provide a shared area management method capable of improving system performance even under LRU control.

【0004】[0004]

【課題を解決するための手段】上記目的を達成するた
め、請求項1に記載の発明では、記憶情報および削除時
情報が格納される共有領域をLRU(Least Recently U
sed)制御によって管理する方法であって、共有領域を
参照する場合には、当該共有領域に格納される記憶情報
をホスト側情報領域に読み込み、一方、共有領域に対し
て登録/更新する必要がある場合にのみ、共有領域に格
納される記憶情報をホスト側情報領域に、共有領域に格
納される削除時情報をホスト側削除時情報領域にそれぞ
れ読み込み、読み込まれたホスト側情報領域に対して登
録/更新すると共に、ホスト側削除時情報領域を更新す
ることを特徴とする。
In order to achieve the above object, according to the first aspect of the present invention, a shared area in which storage information and information at the time of deletion are stored is stored in an LRU (Least Recently) area.
sed) This is a method of managing by control, and when referring to a shared area, it is necessary to read storage information stored in the shared area into the host side information area, and to register / update the information in the shared area. Only when there is, the storage information stored in the shared area is read into the host-side information area, and the deletion information stored in the shared area is read into the host-side deletion information area. In addition to registration / update, the host-side deletion information area is updated.

【0005】本発明では、共有領域の記憶情報を参照す
る場合には、その記憶情報をホスト側情報領域に読み込
むだけに止めたLRU制御としたので、従来、共有領域
を参照する都度行われていた削除時情報の更新処理を省
略でき、この結果、共有領域に対するアクセス時間を短
縮化してシステム性能の向上を図ることが可能になる。
In the present invention, when the storage information in the shared area is referred to, the LRU control is performed so that the storage information is only read into the host side information area. The update process of the deletion information can be omitted, and as a result, the access time to the shared area can be shortened and the system performance can be improved.

【0006】[0006]

【発明の実施の形態】以下、図面を参照して本発明の実
施の一形態について説明する。図1は本発明の実施の一
形態によるコンピュータシステムの構成を示すブロック
図である。この図に示すシステムは、ホストコンピュー
タ1(以下、ホストを略称する)1と、このホスト1が
他のホスト(図示略)と共に共有してアクセスされる共
有領域12とからなり、ホスト1は登録/更新装置3、
参照装置8、情報領域10および削除時情報領域11と
を有する。一方、共有領域12は情報13と削除時情報
14とを含む。
Embodiments of the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram showing a configuration of a computer system according to an embodiment of the present invention. The system shown in FIG. 1 includes a host computer 1 (hereinafter abbreviated as a host) 1 and a shared area 12 which is shared and accessed by the host 1 together with another host (not shown). / Update device 3,
It has a reference device 8, an information area 10, and a deletion information area 11. On the other hand, the shared area 12 includes information 13 and information 14 at the time of deletion.

【0007】登録/更新装置3は、共有領域読み込み手
段4と、情報更新手段5と、共有情報書き込み手段6と
を備える。共有領域読み込み手段4は、共有領域12か
ら情報13および削除時情報14を、ホスト1の情報領
域10および削除時情報領域11に読み込む。情報更新
手段5は、情報領域10に読み込まれた共有領域12か
らの情報13に対して登録/削除したり、削除時情報領
域11に読み込まれた共有領域12からの削除時情報1
4に基づき、削除候補選択時のための削除時情報領域1
1を更新する。共有情報書き込み手段6は、ホスト1の
情報領域10を共有領域12の情報13に、削除時情報
領域11を共有領域12の削除時情報14にそれぞれ書
き込む。参照装置8は、情報読み込み手段9を備える。
情報読み込み手段9は、共有領域12の情報13からホ
スト1の情報領域10への情報の読み込みを行う。
The registration / update device 3 includes a shared area reading means 4, an information updating means 5, and a shared information writing means 6. The shared area reading means 4 reads the information 13 and the deletion information 14 from the shared area 12 into the information area 10 and the deletion information area 11 of the host 1. The information updating means 5 registers / deletes information 13 from the shared area 12 read into the information area 10 and deletes information 1 from the shared area 12 read into the deleted information area 11.
4, a deletion information area 1 for selecting a deletion candidate
Update 1 The shared information writing means 6 writes the information area 10 of the host 1 into the information 13 of the shared area 12 and the information area at the time of deletion 11 into the information 14 at the time of deletion of the shared area 12. The reference device 8 includes information reading means 9.
The information reading means 9 reads information from the information 13 in the shared area 12 to the information area 10 in the host 1.

【0008】さて、このようなシステムにおいて、ホス
ト1側で共有領域12に対する登録/更新要求2が発生
すると、登録/更新装置3に制御が渡される。そうする
と、登録/更新装置3では、まず共有領域12の情報1
3および削除時情報14を自身の情報領域10にストア
すべく共有領域読み込み手段4を起動する。共有領域読
み込み手段4が起動されると、共有領域12の情報13
および削除時情報14が、ホスト1の情報領域10と削
除時情報領域11とにそれぞれ読み込まれる。
In such a system, when a registration / update request 2 for the shared area 12 occurs on the host 1 side, control is passed to the registration / update device 3. Then, the registration / update device 3 first sets the information 1 of the shared area 12
The shared area reading means 4 is started to store the information 3 and the deletion time information 14 in its own information area 10. When the shared area reading unit 4 is activated, the information 13 of the shared area 12 is read.
And the deletion time information 14 are read into the information area 10 and the deletion time information area 11 of the host 1, respectively.

【0009】こうして、共有領域読み込み手段4によっ
て、共有領域12の情報13が情報領域10に、共有領
域12の削除時情報14が削除時情報領域11に各々読
み込まれると、読み込まれた情報領域10に対して登録
/更新や、削除候補選択時のための削除時情報領域11
を更新する為、情報更新手段5が起動される。情報更新
手段5は、情報領域10を登録/更新する一方、削除時
情報領域11を更新した後、共有情報書き込み手段6に
制御を渡す。
When the information 13 of the shared area 12 is read into the information area 10 and the deletion information 14 of the shared area 12 is read into the deletion information area 11 by the shared area reading means 4, the read information area 10 is read. Information area 11 for registration / update or deletion candidate selection
Is updated, the information updating means 5 is activated. The information updating means 5 registers / updates the information area 10 and, after updating the information area 11 at the time of deletion, passes control to the shared information writing means 6.

【0010】次に、共有情報書き込み手段6は、ホスト
1の情報領域10を共有領域12の情報13に、削除時
情報領域11を共有領域12の削除時情報14それぞれ
に書き込み、処理を終了する。そして、共有領域12の
情報13に対する参照要求7が発生した場合には、参照
装置8に制御が渡される。参照装置8では共有領域12
の情報13を読み出すべく、情報読み込み手段9を起動
する。情報読み込み手段9は、共有領域12の情報13
を、ホスト1の情報領域10に読み込み、処理を終了す
る。
Next, the shared information writing means 6 writes the information area 10 of the host 1 in the information 13 of the shared area 12 and the deletion information area 11 in the deletion information 14 of the shared area 12, respectively, and ends the processing. . Then, when the reference request 7 for the information 13 of the shared area 12 occurs, the control is passed to the reference device 8. In the reference device 8, the shared area 12
The information reading means 9 is started to read out the information 13 of. The information reading means 9 includes information 13 of the shared area 12.
Is read into the information area 10 of the host 1, and the process is terminated.

【0011】以上のように、本発明によれば、共有領域
12の情報13を参照する場合には、共有領域12の情
報13をホスト1の情報領域10に読み込み、一方、共
有領域12に対して登録/更新する必要がある場合にの
み、共有領域12の情報13を情報領域10に、共有領
域12の削除時情報14を削除時情報領域11にそれぞ
れ読み込み、読み込まれた情報領域10に対して登録/
更新すると共に、削除候補選択時のための削除時情報領
域11を更新するようにしたので、従来のLRU制御の
ように、共有領域12の情報13を参照する都度行われ
ていた削除時情報14の更新処理(更新情報の再書き込
み処理)を省略でき、これによりLRU制御下にあって
もシステム性能の向上を図ることが可能になる訳であ
る。
As described above, according to the present invention, when the information 13 of the shared area 12 is referred to, the information 13 of the shared area 12 is read into the information area 10 of the host 1. Only when it is necessary to register / update the information, the information 13 of the shared area 12 is read into the information area 10 and the deletion information 14 of the shared area 12 is read into the deletion information area 11. Register /
In addition to the update, the deletion information area 11 for selecting the deletion candidate is updated, so that the deletion information 14 which is performed every time the information 13 of the shared area 12 is referred to as in the conventional LRU control is used. The update processing (rewrite processing of update information) can be omitted, and thereby the system performance can be improved even under LRU control.

【0012】なお、上述した実施の一形態では、単一ホ
スト下での処理について言及したが、本発明はこれに限
定されず、複数ホスト間での登録/更新/参照を競合す
る場合においても勿論有効である。すなわち、共有領域
12の情報13に対する参照要求が発生した場合には、
参照装置8に制御が渡されるが、参照装置8は共有領域
12の情報13の読み込みを行うために、情報読み込み
手段9に制御を渡す。情報読み込み手段9では、共有領
域12から情報13を読み込む際、共有領域12を他ホ
ストと排他的に使用するために、共有領域12を一時的
に占有使用する形態とする。そうすれば、情報読み込み
手段9は共有領域12の情報13からホスト1の情報領
域10への情報の読み込みを行い、処理を終了する。共
有領域12の更新処理の回数を少なくすると、共有領域
12を占有使用する回数、時間が減少する事となり、他
ホスト間との競合による待ち状態を減少させることがで
きる。
In the above-described embodiment, the processing under a single host has been described. However, the present invention is not limited to this. Of course, it is effective. That is, when a reference request to the information 13 of the shared area 12 occurs,
Control is passed to the reference device 8, which passes control to the information reading means 9 in order to read the information 13 in the shared area 12. When reading the information 13 from the shared area 12, the information reading unit 9 temporarily occupies the shared area 12 in order to exclusively use the shared area 12 with another host. Then, the information reading means 9 reads information from the information 13 of the shared area 12 into the information area 10 of the host 1, and ends the processing. If the number of times of updating the shared area 12 is reduced, the number and time of exclusive use of the shared area 12 are reduced, and the waiting state due to competition with other hosts can be reduced.

【0013】[0013]

【発明の効果】本発明によれば、共有領域の記憶情報を
参照する場合には、その記憶情報をホスト側情報領域に
読み込むだけに止めたLRU制御としたので、従来、共
有領域を参照する都度行われていた削除時情報の更新処
理を省略でき、この結果、共有領域に対するアクセス時
間を短縮化してシステム性能の向上を図ることができ
る。
According to the present invention, when the storage information in the shared area is referred to, the storage information is read only into the host-side information area, and the LRU control is stopped. The process of updating the information at the time of deletion, which is performed each time, can be omitted, and as a result, the access time to the shared area can be shortened, and the system performance can be improved.

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

【図1】 本発明の実施の一形態によるコンピュータシ
ステムの構成を示すブロック図である。
FIG. 1 is a block diagram illustrating a configuration of a computer system according to an embodiment of the present invention.

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

1 ホスト 3 登録/更新装置 4 共有領域読み込み手段 5 情報更新手段 6 共有情報書き込み手段 8 参照装置 9 情報読み込み手段 10 情報領域 11 削除時情報領域 12 共有領域 13 情報 14 削除時情報 DESCRIPTION OF SYMBOLS 1 Host 3 Registration / update device 4 Shared area reading means 5 Information updating means 6 Shared information writing means 8 Reference device 9 Information reading means 10 Information area 11 Deletion information area 12 Shared area 13 Information 14 Deletion information

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 記憶情報および削除時情報が格納される
共有領域をLRU(Least Recently Used)制御によっ
て管理する方法であって、 共有領域を参照する場合には、当該共有領域に格納され
る記憶情報をホスト側情報領域に読み込み、一方、共有
領域に対して登録/更新する必要がある場合にのみ、共
有領域に格納される記憶情報をホスト側情報領域に、共
有領域に格納される削除時情報をホスト側削除時情報領
域にそれぞれ読み込み、読み込まれたホスト側情報領域
に対して登録/更新すると共に、ホスト側削除時情報領
域を更新することを特徴とする共有領域管理方法。
1. A method for managing a shared area in which storage information and information at the time of deletion are stored by LRU (Least Recently Used) control, wherein when a shared area is referred to, the storage stored in the shared area is controlled. When information is read into the host-side information area, while only when it is necessary to register / update the information in the shared area, the storage information stored in the shared area is deleted in the host-side information area and stored in the shared area. A shared area management method comprising reading information into a host-side deletion information area, registering / updating the read host-side information area, and updating the host-side deletion information area.
JP10177837A 1998-06-24 1998-06-24 Shared area managing method Pending JP2000010853A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10177837A JP2000010853A (en) 1998-06-24 1998-06-24 Shared area managing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10177837A JP2000010853A (en) 1998-06-24 1998-06-24 Shared area managing method

Publications (1)

Publication Number Publication Date
JP2000010853A true JP2000010853A (en) 2000-01-14

Family

ID=16037991

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10177837A Pending JP2000010853A (en) 1998-06-24 1998-06-24 Shared area managing method

Country Status (1)

Country Link
JP (1) JP2000010853A (en)

Similar Documents

Publication Publication Date Title
US5293618A (en) Method for controlling access to a shared file and apparatus therefor
CN109542636B (en) Data updating method and device
JP2586219B2 (en) High-speed media priority release exclusion method
JP2001222466A (en) Multiprocessor system, shared memory control system, its method, and recording medium
JP2002024085A (en) Disk cache system and its control method
JP3882461B2 (en) Storage device system and backup acquisition method thereof
JP2000010853A (en) Shared area managing method
JPH01303547A (en) Control system for information memory
JP2001290607A (en) Command queuing control method for device driver and computer system
JP3335919B2 (en) Disk cache controller
JP2523499B2 (en) Access control method
JPH0816880B2 (en) Database system and processing method thereof
JP4131579B2 (en) Data management system and data management method
US5594909A (en) File I/O control device writing blocks to faster device first and canceling exclusive lock as each block is written
JPH02161514A (en) Control processing system for idle storage block
JP3085260B2 (en) Exclusive control unit
JP2735400B2 (en) Asynchronous I / O control method
JPH0156411B2 (en)
JPS59158464A (en) Disk cache control system
JPH02165354A (en) Auxiliary storage device
JPH0728701A (en) Computer system
JPH09282202A (en) Data movement management system
JPH02253358A (en) Cache memory
JP2000010944A (en) Multiprocessor disk array controller
JPS59133660A (en) Disk cache system

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20000201