JPH08272632A - Exclusive control method for shared resources - Google Patents
Exclusive control method for shared resourcesInfo
- Publication number
- JPH08272632A JPH08272632A JP7077615A JP7761595A JPH08272632A JP H08272632 A JPH08272632 A JP H08272632A JP 7077615 A JP7077615 A JP 7077615A JP 7761595 A JP7761595 A JP 7761595A JP H08272632 A JPH08272632 A JP H08272632A
- Authority
- JP
- Japan
- Prior art keywords
- job
- resource
- shared resource
- jobs
- shared
- 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
Links
Landscapes
- Multi Processors (AREA)
- Memory System Of A Hierarchy Structure (AREA)
Abstract
(57)【要約】
【目的】 動作の信頼性を損なうことなく、共有資源を
利用する複数のジョブの処理時間を短縮する。
【構成】 ディスクサブシステムにおいて、キャッシュ
メモリ内のキャッシュスロット905を使用して1つの
仕事を行う同期コマンドジョブ900、ステージングジ
ョブ901、非同期デステージ監視ジョブ902、非同
期デステージジョブ903を、チャネル同期制御ジョブ
グループ906、非同期デステージジョブグループ90
7に分けて各々に異なるジョブグループ識別子を付与
し、各ジョブからのキャッシュスロット905に対する
確保要求908,909,910,911に対し、ジョ
ブグループ識別子の一致チェックを行い、一致の場合に
のみ共有を許可することにより、同一ジョブグループ内
の複数のジョブ間でキャッシュスロット905を同時に
使用させ、異なるジョブグループ間では排他する。
(57) [Summary] [Purpose] To reduce the processing time for multiple jobs that use shared resources without compromising the reliability of operations. [Constitution] In a disk subsystem, channel synchronization control is performed for a synchronous command job 900, a staging job 901, an asynchronous destage monitoring job 902, and an asynchronous destage job 903, which perform one job using a cache slot 905 in a cache memory. Job group 906, asynchronous destage job group 90
Different job group identifiers are given to each of the seven job groups, and the job group identifier match check is performed for the reservation requests 908, 909, 910, and 911 for the cache slot 905 from each job, and sharing is performed only when they match. By permitting, the cache slot 905 is used simultaneously between a plurality of jobs in the same job group, and exclusive between different job groups.
Description
【0001】[0001]
【産業上の利用分野】本発明は、共有資源の排他制御技
術に関し、特に、機能/負荷分散を目的として複数のプ
ロセッサによる並列処理を行うマルチプロセッサシステ
ムを採用したディスク制御装置を含むディスクサブシス
テム等に適用して有効な技術に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a shared resource exclusive control technique, and more particularly, to a disk subsystem including a disk controller which employs a multiprocessor system for performing parallel processing by a plurality of processors for the purpose of function / load distribution. It is related to effective technology when applied to etc.
【0002】[0002]
【従来の技術】従来の技術では、同一な資源を複数のジ
ョブなどで使用するコンピュータシステムにおいては、
たとえばCPUやチャネル、主記憶装置、キャッシュメ
モリ等の共有資源の同時使用により論理的な不整合が発
生することを防止するため、共有な資源を排他的に使用
する排他制御が行われている。この技術によると、特定
のジョブによる共有資源に対するデータ更新要求等の処
理の実行が終了するまで、他のジョブによる当該資源へ
のアクセスは抑止される。2. Description of the Related Art In the prior art, in a computer system that uses the same resource for a plurality of jobs,
For example, in order to prevent a logical inconsistency from occurring due to simultaneous use of shared resources such as a CPU, a channel, a main storage device, and a cache memory, exclusive control for exclusively using shared resources is performed. According to this technique, access to the resource by another job is suppressed until the execution of the processing such as the data update request for the shared resource by the specific job is completed.
【0003】また、類似の従来技術として、たとえば、
特開平1−303537号公報に記載の技術では、共有
資源の専有の有無を特定のファイルの存在の有無に対応
させることによって排他制御を行うとともに、前記特定
のファイルを一定期間経過毎に強制的に削除することに
より、特定のジョブによる共有資源へのアクセス中は、
他のジョブによる当該資源へのアクセスを排他的に抑止
するとともに、デッドロックを回避するようにした共有
資源の排他制御方法が開示されている。As a similar conventional technique, for example,
In the technique described in Japanese Patent Laid-Open No. 1-303537, exclusive control is performed by associating the presence / absence of a shared resource with the presence / absence of a specific file, and forcibly executing the specific file every certain period of time. By accessing the shared resource by a specific job,
An exclusive control method for a shared resource is disclosed that exclusively prevents access to the resource by another job and avoids a deadlock.
【0004】[0004]
【発明が解決しようとする課題】前述した前者の従来技
術では、たとえば資源に対する特定ジョブのデータ更新
要求の実行中における他ジョブの当該資源に対する参照
要求は、排他的に抑止されるため、複数のジョブ全体の
処理時間が平均的に長くなるという問題がある。すなわ
ち、共有資源を使用して処理するジョブの実行時間は、
各ジョブの実行所要時間の単純な和となって長くなるた
め、たとえばホストコンピュータの資源であるCPUや
チャネル、主記憶装置、キャッシュメモリを長時間占有
して可用性を低下させるという不利益が生じる。In the former conventional technique described above, for example, a reference request for a resource by another job during execution of a data update request for the resource for a specific job is exclusively suppressed, so that a plurality of requests for reference to the resource are not accepted. There is a problem that the processing time of the entire job becomes long on average. That is, the execution time of the job processed using the shared resource is
Since the time required for execution of each job becomes a simple sum and becomes long, there is a disadvantage that, for example, the CPU and channels, the main storage device, and the cache memory, which are the resources of the host computer, are occupied for a long time to lower the availability.
【0005】また、後者の従来技術では、ファイルの有
無によって資源の排他制御を行うため、高級言語等によ
って容易に排他制御は実現できるものの、ある時点では
複数のジョブの1つに資源を割り当てるという単純な排
他制御には変わりがない。In the latter prior art, since exclusive control of resources is performed depending on the presence or absence of files, exclusive control can be easily realized by a high-level language or the like, but at some point the resources are assigned to one of a plurality of jobs. There is no change to simple exclusive control.
【0006】以上のように、従来の共有資源の排他制御
方法は、あるジョブが共有資源を使用したときには、そ
のジョブが完全に終了するまで他のジョブが共有資源を
使用できないため、システムの効率や共有資源の使用効
率が著しく低下する1つの要因となっていた。As described above, according to the conventional shared resource exclusive control method, when a certain job uses the shared resource, other jobs cannot use the shared resource until the job is completely completed. It was one of the factors that significantly reduced the use efficiency of shared resources.
【0007】本発明の目的は、動作の信頼性を損なうこ
となく、共有資源を利用する複数のジョブの処理時間を
短縮することが可能な共有資源の排他制御技術を提供す
ることにある。An object of the present invention is to provide a shared resource exclusive control technique capable of shortening the processing time of a plurality of jobs using the shared resource without impairing the reliability of the operation.
【0008】本発明の他の目的は、動作の信頼性を損な
うことなく、共有資源の可用性の向上を実現することが
可能な共有資源の排他制御技術を提供することにある。Another object of the present invention is to provide a shared resource exclusive control technique capable of realizing improvement of availability of shared resources without impairing the reliability of operation.
【0009】[0009]
【課題を解決するための手段】本発明では、同一資源を
共有して処理する複数のジョブを1つのまとまりと考
え、それをジョブグループと定義し、同一ジョブグルー
プ内の複数のジョブ間では、同一資源に対する参照要
求、更新要求にかかららず同時使用を許可し、異なるジ
ョブグループ間では、共有資源を排他する、という動作
を行う。In the present invention, a plurality of jobs that share the same resource and process them are considered as one group, and they are defined as a job group, and among a plurality of jobs within the same job group, Operation is performed such that simultaneous use is permitted regardless of a reference request and an update request for the same resource, and shared resources are mutually exclusive between different job groups.
【0010】また、個々のジョブの共有資源に対する処
理の種別を示す処理モードの組み合わせ毎の可否を示す
共有許可条件を設定し、同一のジョブグループに属し、
かつ共有許可条件を満足する複数のジョブにのみ共有資
源の同時使用を許可する、という動作を行うことができ
る。Further, a sharing permission condition indicating whether or not each combination of processing modes indicating a processing type for a shared resource of an individual job is set, and belonging to the same job group,
In addition, it is possible to perform an operation of permitting simultaneous use of the shared resource only to a plurality of jobs that satisfy the sharing permission condition.
【0011】たとえば、一例として次のような各手段に
よって制御論理を構築することができる。For example, the control logic can be constructed by the following means as an example.
【0012】(1)共有資源が使用中か否かを判断する
第1の手段。(1) First means for judging whether or not a shared resource is in use.
【0013】(2)共有資源が使用中のとき、ジョブグ
ループ番号が一致するか否かをチェックし、一致してい
れば、資源確保(共有)成功を、不一致であれば資源確
保(共有)失敗を判断する第2の手段。(2) When the shared resources are in use, it is checked whether or not the job group numbers match. If they match, the resource securing (sharing) is successful, and if they do not match, the resource securing (sharing). A second means of determining failure.
【0014】(3)資源確保成功時に、各資源に1対1
に対応する資源管理テーブルに割り当てジョブ番号とジ
ョブグループ番号を登録し、各ジョブに1対1に対応す
るジョブ管理テーブルに確保資源番号を登録することに
より、資源を割り当てを行う第3の手段。(3) One to one for each resource when resource securing is successful
A third means for allocating resources by registering allocated job numbers and job group numbers in the resource management table corresponding to, and registering reserved resource numbers in the job management table corresponding to each job on a one-to-one basis.
【0015】(4)資源解放時に、解放要求ジョブが、
当該資源の最後の割り当てジョブの時、資源管理テーブ
ルからジョブグループ番号を削除し、通常は、資源管理
テーブルより割り当てジョブ番号を削除し、ジョブ管理
テーブルから確保資源番号を削除することにより、資源
を解放する第4の手段。(4) When releasing resources, the release request job is
At the time of the last allocation job of the resource, the resource is deleted by deleting the job group number from the resource management table, usually deleting the allocation job number from the resource management table, and deleting the reserved resource number from the job management table. Fourth means to release.
【0016】[0016]
【作用】図3は、本発明の作用の一例を説明する概念図
であり、以下、図3を用いて本発明の作用を説明する。FIG. 3 is a conceptual diagram for explaining an example of the operation of the present invention, and the operation of the present invention will be described below with reference to FIG.
【0017】たとえば、ジョブA300,ジョブB30
1、ジョブC302、ジョブD306、ジョブE307
が、各々独立に、共有資源確保要求309、共有資源確
保要求310、共有資源確保要求311、共有資源確保
要求312、共有資源確保要求313の手続きを経て共
有資源305を使用できるとする。そして、ジョブA3
00、ジョブB301、ジョブC302の3つで、シス
テムとして1つの仕事を行い、同様にジョブD306、
ジョブE307の2つでシステムとして1つの仕事をす
る。ジョブA300、ジョブB301、ジョブC302
の3つを1つのジョブグループとしジョブグループ番号
A303を付与し、ジョブD306、ジョブE307の
2つを1つのジョブグループとしてジョブグループ番号
B308を付与する。For example, job A300 and job B30
1, job C302, job D306, job E307
However, it is assumed that the shared resource 305 can be independently used through the procedures of the shared resource securing request 309, the shared resource securing request 310, the shared resource securing request 311, the shared resource securing request 312, and the shared resource securing request 313. And job A3
00, job B301, and job C302 perform one job as a system, and similarly job D306,
Two jobs E307 perform one job as a system. Job A300, Job B301, Job C302
The job group number A303 is assigned as the three job groups, and the job group number B308 is assigned as the two job groups D306 and E307.
【0018】ジョブA300が、資源管理処理部304
へ共有資源確保要求309を行う。資源管理処理部30
4では、第1の手段により、共有資源305が使用中で
ないことを判断し、第3の手段によりジョブA300に
共有資源305を第3の手段により、割り当てる。続い
て、ジョブB301が、資源管理処理部304へ共有資
源確保要求310を行う。資源管理処理部304では、
第1の手段により共有資源確保中であると判断し、第2
の手段によりジョブグループ番号のチェックを行う。同
一ジョブグループであると判断し、共有資源305をジ
ョブB301に第3の手段により、割り当てる。次に、
ジョブC302が、資源管理処理部304へ共有資源確
保要求311を行う。上記手順と同様にジョブC302
に共有資源305を第3の手段により、割り当てる。こ
の時、共有資源305はジョブA300,ジョブB30
1、ジョブC302で同時使用することが可能となる。The job A 300 is the resource management processing unit 304.
A shared resource securing request 309 is made to Resource management processing unit 30
In step 4, the first means determines that the shared resource 305 is not in use, and the third means allocates the shared resource 305 to the job A300 by the third means. Then, the job B301 makes a shared resource securing request 310 to the resource management processing unit 304. In the resource management processing unit 304,
It is judged that the shared resources are being secured by the first means, and the second
The job group number is checked by this means. It is determined that they are in the same job group, and the shared resource 305 is assigned to the job B301 by the third means. next,
The job C302 makes a shared resource securing request 311 to the resource management processing unit 304. Job C302 similar to the above procedure
The shared resource 305 is allocated to the third means by the third means. At this time, the shared resources 305 are the job A300 and the job B30.
1, job C302 can be used simultaneously.
【0019】一方、ジョブグループの異なるジョブD3
06が資源管理処理部304に対して、共有資源確保要
求312を行うと、第2の手段により、共有不可とな
る。同様に、ジョブE307も共有不可となる。すなわ
ち、ジョブグループB308のジョブD306、ジョブ
E307は、ジョブグループA303のジョブと排他さ
れる。また、ジョブC302が資源管理処理部304に
対して、共有資源305の解放要求314を行ったと
き、第4の手段によりジョブC302から共有資源30
5が解放される。On the other hand, job D3 having a different job group
When 06 issues a shared resource securing request 312 to the resource management processing unit 304, the sharing becomes impossible by the second means. Similarly, the job E307 cannot be shared. That is, the job D306 and the job E307 of the job group B308 are exclusive to the jobs of the job group A303. When the job C302 makes a request 314 for releasing the shared resource 305 to the resource management processing unit 304, the shared resource 30 is transmitted from the job C302 by the fourth means.
5 is released.
【0020】[0020]
【実施例】以下、本発明の実施例を、図面により詳細に
説明する。Embodiments of the present invention will now be described in detail with reference to the drawings.
【0021】図1および図2は、本発明の一実施例であ
る共有資源の排他制御方法の動作原理の一例を示すフロ
ーチャートであり、図4は、本発明の共有資源の排他制
御方法が適用されるディスクサブシステムの構成の一例
を示すブロック図、図5、図6および図8は、本実施例
の共有資源の排他制御方法で用いられる制御情報の一例
を示す概念図、図7は、ディスクサブシステムにおける
処理(共有資源の使用モード)の種別を説明する概念
図、図9は、図4のディスクサブシステムにおける本実
施例の共有資源の排他制御方法の作用の一例を示す概念
図である。1 and 2 are flow charts showing an example of the operating principle of the shared resource exclusive control method according to one embodiment of the present invention, and FIG. 4 is applied to the shared resource exclusive control method of the present invention. 5, 6 and 8 are conceptual diagrams showing an example of the control information used in the shared resource exclusive control method of the present embodiment, and FIG. FIG. 9 is a conceptual diagram for explaining the types of processing (shared resource use mode) in the disk subsystem, and FIG. 9 is a conceptual diagram showing an example of the operation of the shared resource exclusive control method of this embodiment in the disk subsystem of FIG. is there.
【0022】まず、図4によって本実施例の共有資源の
排他制御方法が実施されるキャッシュ付きディスクサブ
システムの構成を簡単に説明する。First, the configuration of a cached disk subsystem in which the shared resource exclusive control method of this embodiment is implemented will be briefly described with reference to FIG.
【0023】図4において、ディスク制御装置402
は、上位側で、信号線416,417およびチャネル制
御装置401を通してホストコンピュータ400と接続
され、また下位側では磁気記憶媒体であるドライブ41
5と接続される。ディスク制御装置402は、ドライブ
415上でホストコンピュータ400の要求に応じてデ
ータのリード、ライトを行う。ホストコンピュータ40
0とドライブ415との間のデータ転送を制御するのは
ディスク制御装置402に内蔵された制御プロセッサ4
03,制御プロセッサ404,制御プロセッサ405,
制御プロセッサ406である。これらの制御プロセッサ
は、チャネル制御装置401、ドライブインタフェース
413,ドライブインタフェース414を介し、ホスト
コンピュータ400、およびドライブ415と接続され
ている。In FIG. 4, the disk controller 402
Is connected to the host computer 400 through the signal lines 416 and 417 and the channel control device 401 on the upper side, and the drive 41 which is a magnetic storage medium on the lower side.
Connected with 5. The disk controller 402 reads and writes data on the drive 415 in response to a request from the host computer 400. Host computer 40
0 and the drive 415 are controlled by the control processor 4 built in the disk controller 402.
03, control processor 404, control processor 405,
The control processor 406. These control processors are connected to the host computer 400 and the drive 415 via the channel control device 401, the drive interface 413, and the drive interface 414.
【0024】制御メモリ407は、全ての制御プロセッ
サ403,404,405,406からアクセス可能な
共通メモリであり、ディスク制御装置402が資源を管
理するための資源管理テーブル408,ジョブ管理テー
ブル409等の共通制御情報が格納される。この共通制
御情報の具体的な説明は後述する。キャッシュメモリ4
11およびその管理情報を格納するディレクトリは、全
ての制御プロセッサ403,404,405,406か
らアクセス可能なメモリであり、キャッシュメモリ41
1は、ドライブ415から制御プロセッサ403,40
4,405,406が読み出したデータを一時的に格納
するために用いる。また、キャッシュメモリ411は、
制御プロセッサ403,404,405,406が、互
いに独立に使用できる共有資源である。キャッシュスロ
ット412は、キャッシュメモリ411のデータ管理単
位である。制御プロセッサ403,404,405,4
06は、信号線410を介して、キャッシュメモリ41
1、制御メモリ407と互いにデータ、および制御信号
をやり取りする。The control memory 407 is a common memory that can be accessed by all the control processors 403, 404, 405, 406, and includes a resource management table 408 and a job management table 409 for managing resources by the disk controller 402. Common control information is stored. A specific description of this common control information will be given later. Cache memory 4
11 and a directory for storing the management information thereof are memories accessible from all the control processors 403, 404, 405, 406, and the cache memory 41.
1 is from the drive 415 to the control processors 403, 40
It is used to temporarily store the data read by 4,405,406. In addition, the cache memory 411 is
The control processors 403, 404, 405, 406 are shared resources that can be used independently of each other. The cache slot 412 is a data management unit of the cache memory 411. Control processor 403, 404, 405, 4
06 is a cache memory 41 via a signal line 410.
1. Data and control signals are exchanged with the control memory 407.
【0025】このような、複数の制御プロセッサ403
〜406を備えたマルチプロセッサ構成のディスク制御
装置402およびドライブ415からなるディスクサブ
システムは、図9に例示されるように、キャッシュスロ
ット905(412)を、制御プロセッサ403〜40
6を制御する制御論理からなる資源管理部904を介し
て複数のジョブ(制御プロセッサ403〜406)が共
有する情報処理系と見なすことができる。資源管理部9
04の制御論理は、たとえば後述の図1および図2のよ
うな制御動作を行う。Such a plurality of control processors 403
9 to 406, a disk subsystem including a disk controller 402 and a drive 415 having a multiprocessor configuration includes a cache slot 905 (412) and control processors 403 to 40 as illustrated in FIG.
It can be regarded as an information processing system shared by a plurality of jobs (control processors 403 to 406) via a resource management unit 904 composed of control logic for controlling 6. Resource management department 9
The control logic 04 performs control operation as shown in FIGS. 1 and 2, which will be described later.
【0026】そして、キャッシュメモリ411(キャッ
シュスロット412)を介してホストコンピュータ40
0とドライブ415との間におけるデータの授受を制御
するディスク制御装置402においては、ホストコンピ
ュータ400のコマンドに対して、同期する処理と内部
的に発生する処理がある。前者の例として、ホストコン
ピュータ400からのアクセスコマンド処理は、同期コ
マンドジョブ900とステージングジョブ901があ
る。たとえば、データ転送処理を行う際、ステージング
ジョブ901は、キャッシュメモリ411のデータ管理
単位であるキャッシュスロット905へドライブ415
からデータを転送する。同期コマンドジョブ900は、
キャッシュスロット905からチャネル制御装置401
へデータ転送する。後者の例として、ドライブ415に
未反映データをキャッシュスロット905からドライブ
415へデータ転送(以後、デステージという)処理す
る非同期デステージジョブ903と、それを監視する非
同期デステージ監視ジョブ902(確保要求910を使
用)がある。Then, via the cache memory 411 (cache slot 412), the host computer 40
In the disk control device 402 that controls the exchange of data between 0 and the drive 415, there is a process of synchronizing with a command of the host computer 400 and a process that occurs internally. As an example of the former, the access command processing from the host computer 400 includes a synchronization command job 900 and a staging job 901. For example, when performing the data transfer process, the staging job 901 drives the drive 415 to the cache slot 905 which is a data management unit of the cache memory 411.
Transfer data from. The sync command job 900 is
From the cache slot 905 to the channel controller 401
Data transfer to. As an example of the latter, an asynchronous destage job 903 that performs data transfer (hereinafter referred to as destage) of unreflected data to the drive 415 from the cache slot 905 to the drive 415, and an asynchronous destage monitoring job 902 (secure request) 910 is used).
【0027】このような観点からジョブグループを分類
し、同期コマンドジョブ900とステージングジョブ9
01を1つのチャネル同期制御ジョブグループ906と
し、非同期デステージジョブ903と非同期デステージ
監視ジョブ902を1つの非同期デステージジョブグル
ープ907とする。さらに、各々に異なるジョブグルー
プ番号を付与する。制御プロセッサ403で処理される
同期コマンドジョブ900が、後述のような資源確保処
理100によってキャッシュスロット905の確保要求
908を実行すると、キャッシュスロット905を割り
当てられる。また、制御プロセッサ404で処理される
同じジョブグループ番号を持つステージングジョブ90
1が、同一のキャッシュスロット905の確保要求90
9を実行すると、資源確保処理100により、同一キャ
ッシュスロット905を割り当てられ、同時使用するこ
とが可能である。一方、制御プロセッサ406で処理さ
れる異なるジョブグループ番号を持つ非同期デステージ
ジョブ903が、同一キャッシュスロット905の確保
要求911を実行すると資源確保処理100により、キ
ャッシュスロット確保を拒否される。From this point of view, the job groups are classified, and the synchronization command job 900 and the staging job 9 are classified.
01 is one channel synchronization control job group 906, and the asynchronous destage job 903 and the asynchronous destage monitoring job 902 are one asynchronous destage job group 907. Further, a different job group number is given to each. When the synchronous command job 900 processed by the control processor 403 executes the reservation request 908 for the cache slot 905 by the resource reservation processing 100 described later, the cache slot 905 is allocated. In addition, the staging job 90 having the same job group number processed by the control processor 404.
1 is a reservation request 90 for the same cache slot 905.
9 is executed, it is possible to allocate the same cache slot 905 by the resource securing process 100 and use the same cache slot 905 at the same time. On the other hand, when the asynchronous destage job 903 having a different job group number processed by the control processor 406 executes the reservation request 911 for the same cache slot 905, the resource reservation processing 100 rejects the reservation of the cache slot.
【0028】以上により、同一ジョブグループ番号を持
つジョブとは、キャッシュスロット412(905)を
共有し、異なるジョブグループ番号を持つジョブと排他
することが可能である。As described above, it is possible to share a cache slot 412 (905) with a job having the same job group number and to exclude a job having a different job group number.
【0029】次に、上述のような排他制御を実現するた
めに本実施例で用いられる各種の共通制御情報について
説明する。本実施例での共通制御情報には、ジョブ管理
テーブル409と資源管理テーブル408がある。以
下、順に説明する。Next, various common control information used in this embodiment to realize the above-mentioned exclusive control will be described. The common control information in this embodiment includes a job management table 409 and a resource management table 408. Hereinafter, they will be described in order.
【0030】図5に、本実施例で用いられるジョブ管理
テーブル500(Job Control Block ;以下、JCB略
記する)の一例を示す。JCB500は、各ジョブに1
対1に対応する数だけあり、その各々には、3つのデー
タが個別に格納される3つの設定エリアを持つ。すなわ
ち、資源管理処理部904が各ジョブを識別するための
ジョブ番号501が格納されるジョブ番号設定エリア5
01a、当該ジョブが確保した確保資源番号502が格
納される確保資源番号設定エリア502a、当該ジョブ
が属するジョブグループ番号503が格納されるジョブ
グループ番号設定エリア503aの3つである。ジョブ
番号501は、ジョブが生成される以前に格納されてい
る。確保資源番号設定エリア502aには、資源確保処
理100が、当該ジョブへ資源を割り当てたとき、後述
の割り当てた資源番号601を格納する。ジョブグルー
プ番号503は、当該ジョブが生成されるときに格納さ
れる。FIG. 5 shows an example of a job management table 500 (Job Control Block; hereinafter abbreviated as JCB) used in this embodiment. JCB500 has 1 for each job
There are as many as one to one, and each of them has three setting areas in which three data are individually stored. That is, the job number setting area 5 in which the job number 501 for the resource management processing unit 904 to identify each job is stored.
01a, a reserved resource number setting area 502a in which a reserved resource number 502 reserved by the job is stored, and a job group number setting area 503a in which a job group number 503 to which the job belongs is stored. The job number 501 is stored before the job is generated. In the reserved resource number setting area 502a, when the resource reservation process 100 allocates a resource to the job, the allocated resource number 601 described later is stored. The job group number 503 is stored when the job is generated.
【0031】図6は、本実施例で用いられる資源管理テ
ーブル600の一例を示す。本実施例の資源管理テーブ
ル600は、各資源に1対1に対応する数だけあり、各
々は4種類(6つ)のデータが個別に格納される設定エ
リアを備えている。すなわち、資源管理処理部904
が、各資源を識別するための資源番号601が格納され
る資源番号設定エリア601a、当該資源を割り当てた
割り当てジョブ番号602、割り当てジョブ番号603
が格納される割り当てジョブ番号設定エリア602a、
割り当てジョブ番号設定エリア603a、当該資源を確
保しているジョブグループ番号604が格納されるジョ
ブグループ番号設定エリア604a、確保している資源
の使用モード605、使用モード606(以下、fun
ctionという)が格納される使用モード設定エリア
605a、使用モード設定エリア606a、の6つであ
る。FIG. 6 shows an example of the resource management table 600 used in this embodiment. The resource management table 600 of this embodiment has a number corresponding to each resource in a one-to-one correspondence, and each has a setting area in which four types (six) of data are individually stored. That is, the resource management processing unit 904
, A resource number setting area 601a in which a resource number 601 for identifying each resource is stored, an allocation job number 602 to which the resource is allocated, an allocation job number 603
Assigned job number setting area 602a in which
The allocated job number setting area 603a, the job group number setting area 604a in which the job group number 604 that secures the resource is stored, the reserved resource use mode 605, and the use mode 606 (hereinafter, "fun").
6), that is, a use mode setting area 605a and a use mode setting area 606a.
【0032】資源番号601は、ディスク制御装置40
2が、起動したときに格納される。割り当てジョブ番号
602,603とジョブグループ番号604は、資源管
理処理部904が、当該資源の共有を許可したときに格
納される。function605,606は、資源の
使用モードを表し、資源管理処理部904が、当該資源
の共有を許可したときで、後述のリードモード801、
ライトモード802、ステージングモード803、デス
テージングモード804のいずれかが格納される。The resource number 601 is the disk controller 40.
2 is stored when started. The assigned job numbers 602 and 603 and the job group number 604 are stored when the resource management processing unit 904 permits sharing of the resource. functions 605 and 606 represent resource use modes, and when the resource management processing unit 904 permits sharing of the resource, a read mode 801 to be described later,
Any of the write mode 802, staging mode 803, and destaging mode 804 is stored.
【0033】図7は、本実施例における前述のリードモ
ード801(リード701)、ライトモード802(ラ
イト702)、ステージングモード803(ステージン
グ703)、デステージングモード804(デステージ
ング704)の定義の一例を示す。リードモード801
(リード701)は、キャッシュスロット412からホ
ストコンピュータ400へのデータ転送を示し、ライト
モード802(ライト702)は、ホストコンピュータ
400からキャッシュスロット412へのデータ転送を
示す。ステージングモード803(ステージング70
3)はドライブ415からキャッシュスロット412へ
のデータ転送を示し、デステージングモード804(デ
ステージング704)は、キャッシュスロット412か
らドライブ415へのデータ転送を示す。FIG. 7 shows an example of the definitions of the above-mentioned read mode 801 (read 701), write mode 802 (write 702), staging mode 803 (staging 703), and destaging mode 804 (destaging 704) in this embodiment. Indicates. Read mode 801
A (read 701) indicates data transfer from the cache slot 412 to the host computer 400, and a write mode 802 (write 702) indicates data transfer from the host computer 400 to the cache slot 412. Staging mode 803 (Staging 70
3) shows data transfer from the drive 415 to the cache slot 412, and the destaging mode 804 (destaging 704) shows data transfer from the cache slot 412 to the drive 415.
【0034】図8に、ディスクサブシステム内のキャッ
シュスロット412の複数の使用モードの間に設定され
る条件(共有可否条件800)の一例を示す。本実施例
の場合、functionとしては、前述のようにリー
ドモード801、ライトモード802、およびステージ
ングモード803、デステージングモード804の4種
類あり、これらの間における資源(キャッシュスロット
905)の共有の可否が、エントリ805、エントリ8
06、エントリ807、エントリ808に設定されてい
る。本実施例の場合、データ保護の観点から、リードモ
ード801に対してはステージングモード803との共
有は許可(エントリ805)されるが、デステージング
モード804との共有は許可されない(エントリ80
6)、ように設定されている。同様に、ライトモード8
02に対してはステージングモード803との共有は許
可(エントリ807)されるが、デステージングモード
804との共有は許可されない(エントリ808)、よ
うに設定されている。本共有可否条件800は、本実施
例のディスクサブシステム内に有効な条件である。FIG. 8 shows an example of conditions (shareability condition 800) set during a plurality of usage modes of the cache slot 412 in the disk subsystem. In the case of the present embodiment, there are four types of functions, read mode 801, write mode 802, staging mode 803, and destaging mode 804, as described above, and whether or not resources (cache slot 905) can be shared among them. But entry 805, entry 8
06, entry 807, and entry 808 are set. In the case of the present embodiment, from the viewpoint of data protection, the read mode 801 is permitted to be shared with the staging mode 803 (entry 805), but is not permitted to be shared with the destaging mode 804 (entry 80).
6) is set as follows. Similarly, write mode 8
No. 02 is permitted to be shared with the staging mode 803 (entry 807), but is not permitted to be shared with the destaging mode 804 (entry 808). The sharing permission / inhibition condition 800 is a condition valid in the disk subsystem of this embodiment.
【0035】たとえば、プログラムのバグなどにより、
同一ジョブグループ内のジョブが、リードモード801
で、確保したキャッシュスロット412に対して、デス
テージングモード804でキャッシュスロット412を
確保しようとしたとき、両者の共有関係を示すエントリ
806はデータ保護の観点から共有不可に設定されてい
るので、同一ジョブグループのジョブであっても、共有
を許可しない。For example, due to a bug in the program,
Jobs in the same job group are read mode 801
Then, when an attempt is made to reserve the cache slot 412 in the destaging mode 804 with respect to the secured cache slot 412, the entry 806 indicating the sharing relationship between the two is set to be unshareable from the viewpoint of data protection. Sharing is not allowed even for jobs in the job group.
【0036】次に、前述のような共有資源の排他制御方
法を実行する本実施例のディスク制御装置402の制御
プロセッサ403,404,405,406の動作を説
明する。Next, the operation of the control processors 403, 404, 405, 406 of the disk controller 402 of this embodiment which executes the above-mentioned shared resource exclusive control method will be described.
【0037】最初に、図1のフローチャートによって、
資源確保処理100を説明する。まず、確保資源が空い
ているか否かを、資源管理テーブル600のジョブグル
ープ番号604が、設定されているか否かで判定する
(ステップ101)。ジョブグループ番号604が、設
定されていなければ、以下の処理を実行する。JCB5
00の確保資源番号設定エリア502aへ確保しようと
する資源番号601を設定する(ステップ109)。続
いて、資源管理テーブル600のジョブグループ番号設
定エリア604aへジョブグループ番号503を格納す
る(ステップ110)。続いて、資源管理テーブル60
0の割り当てジョブ番号設定エリア602aへ確保要求
元のジョブ番号501を格納する(ステップ111)。
資源管理テーブル600のfunction605の設
定エリアへ確保要求元ジョブが、指定してきたfunc
tionを格納する(ステップ112)。続いて、リタ
ーンコードに確保成功を設定し(ステップ113)、確
保要求元へリターンする(ステップ114)。First, according to the flowchart of FIG.
The resource securing process 100 will be described. First, it is determined whether or not the reserved resource is free, by whether or not the job group number 604 of the resource management table 600 is set (step 101). If the job group number 604 is not set, the following processing is executed. JCB5
The reserved resource number 601 of 00 is set to the reserved resource number setting area 502a (step 109). Then, the job group number 503 is stored in the job group number setting area 604a of the resource management table 600 (step 110). Next, the resource management table 60
The job number 501 of the reservation request source is stored in the assigned job number setting area 602 of 0 (step 111).
The reservation request source job has designated the func specified in the function 605 setting area of the resource management table 600.
stored in step 112. Then, the return code is set to secure success (step 113) and the process returns to the secure request source (step 114).
【0038】ジョブグループ番号604が、設定済みで
あれば、以下の処理を行う。資源管理テーブル600に
設定されているジョブグループ番号604と確保要求元
のJCB500上のジョブグループ番号503の一致チ
ェックを行う(ステップ102)。不一致であれば、リ
ターンコードに共有失敗を設定し(ステップ108)、
確保要求元へリターンする(ステップ114)。ジョブ
グループ番号503が一致していれば、以下の処理を実
行する。資源管理テーブル600に設定されているfu
nction605の条件一致チェックを行う(ステッ
プ103)。条件が不一致であれば、リターンコードに
資源確保失敗を設定し(ステップ108)、確保要求元
へリターンする(ステップ114)。条件が一致してい
れば、JCB500の確保資源番号設定エリア502a
へ確保しようとする資源番号601を格納する(ステッ
プ104)。続いて、資源管理テーブル600の割り当
てジョブ番号登録エリア603aへ資源要求元のジョブ
番号501を格納する(ステップ105)。資源管理テ
ーブル600の使用モード設定エリア606aへ確保要
求元ジョブが、提示してきたfunctionを格納す
る(ステップ106)。続いて、リターンコードへ確保
成功を設定し(ステップ107)、確保要求元へリター
ンする(ステップ114)。If the job group number 604 is already set, the following processing is performed. A match check is performed between the job group number 604 set in the resource management table 600 and the job group number 503 on the JCB 500 that is the reservation request source (step 102). If they do not match, the sharing failure is set in the return code (step 108),
The process returns to the reservation request source (step 114). If the job group numbers 503 match, the following processing is executed. Fu set in the resource management table 600
The condition match of the naction 605 is checked (step 103). If the conditions do not match, resource reservation failure is set in the return code (step 108), and the process returns to the reservation request source (step 114). If the conditions match, the reserved resource number setting area 502a of the JCB 500
The resource number 601 to be secured is stored (step 104). Then, the resource request source job number 501 is stored in the assigned job number registration area 603a of the resource management table 600 (step 105). The function requested by the reservation requesting job is stored in the usage mode setting area 606a of the resource management table 600 (step 106). Then, the securing success is set in the return code (step 107), and the process returns to the securing request source (step 114).
【0039】次に、図2のフローチャートによって、資
源解放処理200の一例を説明する。まず、解放要資源
の資源管理テーブル600の割り当てジョブ番号60
2,603を有無を判定し、解放要求元ジョブが、当該
資源の最後の確保ジョブが否かを判定する(ステップ2
01)。最後のジョブならば、資源管理テーブル600
のジョブグループ番号604を削除する(ステップ20
4)。続いて、資源管理テーブル600の割り当てジョ
ブ番号設定エリア602aから解放要求元のジョブ番号
501を削除する(ステップ202)。続いて、解放要
求元ジョブのJCB500の確保資源番号設定エリア5
02aから解放要求された資源の資源番号601を削除
し(ステップ203)、リターンコードに解放成功を設
定し(ステップ205)、解放要求元へリターンする
(ステップ206)。Next, an example of the resource release processing 200 will be described with reference to the flowchart of FIG. First, the assigned job number 60 in the resource management table 600 of resources to be released
2, 603, the release request source job determines whether the last secure job of the resource is present (step 2).
01). If it is the last job, the resource management table 600
The job group number 604 of (step 20
4). Subsequently, the job number 501 of the release request source is deleted from the assigned job number setting area 602a of the resource management table 600 (step 202). Subsequently, the reserved resource number setting area 5 of the JCB 500 of the release request source job
The resource number 601 of the resource requested for release from 02a is deleted (step 203), release success is set in the return code (step 205), and the process returns to the release request source (step 206).
【0040】最後の解放ジョブでなければ、資源管理テ
ーブル600の割り当てジョブ番号設定エリア602a
から解放要求元のジョブ番号501を削除する(ステッ
プ202)。続いて、解放要求元ジョブのJCB500
の確保資源番号設定エリア502aから解放要求された
資源の資源番号601を削除し(ステップ203)、リ
ターンコードに解放成功を設定し(ステップ205)、
解放要求元へリターンする(ステップ206)。If it is not the last release job, the assigned job number setting area 602a of the resource management table 600
The release request source job number 501 is deleted from (step 202). Then, the release request source job JCB500
The resource number 601 of the resource requested to be released is deleted from the reserved resource number setting area 502a (step 203), and release success is set to the return code (step 205).
The process returns to the release request source (step 206).
【0041】このように、本実施例では、複数の制御プ
ロセッサ403〜406の共有資源であるキャッシュメ
モリ411(キャッシュスロット412)の排他制御に
際して、複数の制御プロセッサ403〜406を、チャ
ネル同期制御ジョブグループ906と非同期デステージ
ジョブグループ907に分け、各ジョブグループに付与
されたジョブグループ番号604により、異なる制御プ
ロセッサ403〜406でも同一のジョブグループ番号
604を持つ場合にはキャッシュスロット412の共有
を許すことで、従来のように制御プロセッサ403〜4
06のキャッシュスロット412に対するアクセスを単
純排他制御で管理する場合に比較して、たとえば、同期
コマンドジョブ900とステージングジョブ901がキ
ャッシュスロット412を共有して、並列に処理するこ
とが可能となる。すなわち、キャッシュスロット412
に対するステージング処理が完全に終了しなくとも、キ
ャッシュスロット412からチャネル制御装置401へ
のデータ転送処理を並列実行することができ、データ転
送処理時間が短縮され、ディスクサブシステムのファイ
ル処理のスループットが向上する。また、キャッシュメ
モリ411やキャッシュスロット412の可用性が向上
する。As described above, in this embodiment, when exclusive control of the cache memory 411 (cache slot 412) which is a shared resource of the plurality of control processors 403 to 406 is performed, the plurality of control processors 403 to 406 are controlled by the channel synchronization control job. Grouping into a group 906 and an asynchronous destage job group 907, and according to the job group number 604 assigned to each job group, sharing of the cache slot 412 is allowed even when different control processors 403 to 406 have the same job group number 604. Therefore, the control processors 403-
Compared with the case where access to the cache slot 412 of 06 is managed by simple exclusive control, for example, the synchronous command job 900 and the staging job 901 can share the cache slot 412 and process in parallel. That is, the cache slot 412
Data transfer processing from the cache slot 412 to the channel control device 401 can be executed in parallel even if the staging processing for the disk storage is not completely completed, the data transfer processing time is shortened, and the file processing throughput of the disk subsystem is improved. To do. Further, availability of the cache memory 411 and the cache slot 412 is improved.
【0042】また、単に複数の制御プロセッサ403〜
406をジョブグループに分け、各ジョブグループに属
する複数の制御プロセッサ403〜406に対して、仮
に無条件に共有を許可した場合、共有資源であるキャッ
シュスロット412を共有しているジョブの1つがリセ
ットされた場合、リセットされる前のジョブの組合せと
は異なるジョブが、リセット後の共有資源を共有してし
まうという懸念がある。また、プログラムのバグなどに
より本来共有してはならないジョブとの共有が生じると
いう懸念がある。その結果として、たとえば、データ化
が発生する。Further, the plurality of control processors 403 ...
If 406 is divided into job groups and the plurality of control processors 403 to 406 belonging to each job group are allowed to share unconditionally, one of the jobs sharing the cache slot 412, which is a shared resource, is reset. In that case, there is a concern that a job different from the combination of the jobs before the reset will share the shared resource after the reset. In addition, there is a concern that a program bug may cause sharing with a job that should not be shared. As a result, for example, dataization occurs.
【0043】これを防止するために、本実施例では、前
述のように、資源管理テーブル600上に、ジョブグル
ープ番号503とともに、当該共有資源を共有すること
が可能なfunciton605,606を格納してお
き、ジョブグループ番号604のチェックととともに、
共有資源の使用モード(funciton)605,6
06をチェックし、ジョブグループ番号604が一致し
ていてもfunciton605,606の共有許可条
件を満たさないジョブ同士には共有資源であるキャッシ
ュスロット412の共有を許可しない。これにより、複
数の制御プロセッサ403〜406等によって実行され
る複数のジョブによるキャッシュスロット412の共有
に際して、プログラムのバグやプロセッサ障害などに起
因して、本来共有してはならないジョブの間でのキャッ
シュスロット412の共有が生じるという問題を確実に
防止することができ、動作の信頼性が向上する。In order to prevent this, in the present embodiment, as described above, the job group number 503 and the funcitons 605 and 606 capable of sharing the shared resource are stored in the resource management table 600. Every time, along with checking the job group number 604,
Shared resource usage mode (funciton) 605, 6
06 is checked, and even if the job group numbers 604 match, jobs that do not satisfy the sharing permission conditions of funcitons 605 and 606 are not permitted to share the cache slot 412, which is a shared resource. As a result, when the cache slot 412 is shared by a plurality of jobs executed by the plurality of control processors 403 to 406 and the like, the cache is shared between jobs that should not be shared due to a program bug or processor failure. The problem that the slot 412 is shared can be reliably prevented, and the reliability of operation is improved.
【0044】以上説明したように、本実施例によれば、
複数の制御プロセッサ403〜406等によって実行さ
れる複数のジョブによるキャッシュスロット412への
アクセスに際して、当該キャッシュスロット412への
アクセスで論理的な不整合を生じない複数のジョブが同
一ジョブグループに属するようにグループ分けし、同一
のジョブグループに属するジョブ群に対してはキャッシ
ュスロット412の同時使用を許すことにより、共有資
源であるキャッシュスロット412に対するデータ更新
要求であるステージング処理とデータ参照要求であるチ
ャネル制御装置401へのデータ転送処理を並列に実行
することができ、ディスクサブシステムのファイル処理
のスループットを向上することができる。またキャッシ
ュメモリ411やキャッシュスロット412の可用性が
向上する。As described above, according to this embodiment,
When a plurality of jobs executed by the plurality of control processors 403 to 406 and the like access the cache slot 412, a plurality of jobs that do not cause a logical inconsistency in the access to the cache slot 412 belong to the same job group. The cache slots 412 are grouped into two groups, and the jobs belonging to the same job group are allowed to use the cache slots 412 at the same time. Data transfer processing to the control device 401 can be executed in parallel, and the file processing throughput of the disk subsystem can be improved. Further, availability of the cache memory 411 and the cache slot 412 is improved.
【0045】さらに、各ジョブのキャッシュスロット4
12に対する処理のレベル(funciton)でも論
理的な不整合が発生するか否かを判定するので、たとえ
ば、プロセッサ障害、プログラムのバグやリセットなど
に起因して、論理的な不整合を発生させる複数のジョブ
によるキャッシュスロット412の共有を防止すること
が可能となり、ディスクサブシステムの信頼性が向上す
る。Further, the cache slot 4 of each job
Since it is determined whether or not a logical inconsistency occurs even at the processing level (functon) for 12, a plurality of logical inconsistencies caused by a processor failure, a program bug, a reset, or the like are generated. It becomes possible to prevent the cache slot 412 from being shared by the above job, and the reliability of the disk subsystem is improved.
【0046】以上本発明者によってなされた発明を実施
例に基づき具体的に説明したが、本発明は前記実施例に
限定されるものではなく、その要旨を逸脱しない範囲で
種々変更可能であることはいうまでもない。Although the invention made by the present inventor has been specifically described based on the embodiments, the present invention is not limited to the above embodiments, and various modifications can be made without departing from the scope of the invention. Needless to say.
【0047】たとえば、本発明の共有資源の排他制御技
術が適用されるシステムとしては、ディスクサブシステ
ム等に限らず、共有資源を備えた一般の情報処理系等に
広く適用することができる。For example, the system to which the shared resource exclusive control technique of the present invention is applied is not limited to the disk subsystem and the like, but can be widely applied to general information processing systems having shared resources.
【0048】[0048]
【発明の効果】本発明の共有資源の排他制御方法によれ
ば、動作の信頼性を損なうことなく、共有資源を利用す
る複数のジョブの処理時間を短縮することができる、と
いう効果が得られる。According to the shared resource exclusive control method of the present invention, it is possible to reduce the processing time of a plurality of jobs using the shared resource without deteriorating the reliability of the operation. .
【0049】また、動作の信頼性を損なうことなく、共
有資源の可用性の向上を実現することができる、という
効果が得られる。Further, it is possible to obtain the effect that the availability of the shared resource can be improved without impairing the reliability of the operation.
【図1】本発明の一実施例である共有資源の排他制御方
法の動作原理の一例を示すフローチャートである。FIG. 1 is a flowchart showing an example of the operating principle of a shared resource exclusive control method according to an embodiment of the present invention.
【図2】本発明の一実施例である共有資源の排他制御方
法の動作原理の一例を示すフローチャートである。FIG. 2 is a flowchart showing an example of the operation principle of the shared resource exclusive control method according to the embodiment of the present invention.
【図3】本発明の一実施例である共有資源の排他制御方
法の作用の一例を説明する概念図である。FIG. 3 is a conceptual diagram illustrating an example of an operation of a shared resource exclusive control method that is an embodiment of the present invention.
【図4】本発明の共有資源の排他制御方法が適用される
ディスクサブシステムの構成の一例を示すブロック図で
ある。FIG. 4 is a block diagram showing an example of a configuration of a disk subsystem to which the shared resource exclusive control method of the present invention is applied.
【図5】本発明の共有資源の排他制御方法で用いられる
制御情報の一例を示す概念図である。FIG. 5 is a conceptual diagram showing an example of control information used in the shared resource exclusive control method of the present invention.
【図6】本発明の共有資源の排他制御方法で用いられる
制御情報の一例を示す概念図である。FIG. 6 is a conceptual diagram showing an example of control information used in the shared resource exclusive control method of the present invention.
【図7】本発明の共有資源の排他制御方法が適用される
ディスクサブシステムにおける使用モードの定義の一例
を示す概念図である。FIG. 7 is a conceptual diagram showing an example of definition of a usage mode in a disk subsystem to which the shared resource exclusive control method of the present invention is applied.
【図8】本発明の共有資源の排他制御方法が適用される
ディスクサブシステムにおける使用モードの共有許可条
件の一例を示す概念図である。FIG. 8 is a conceptual diagram showing an example of a sharing permission condition of a use mode in a disk subsystem to which the shared resource exclusive control method of the present invention is applied.
【図9】本発明の共有資源の排他制御方法が適用される
ディスクサブシステムの作用の一例を示す概念図であ
る。FIG. 9 is a conceptual diagram showing an example of an operation of a disk subsystem to which the shared resource exclusive control method of the present invention is applied.
402…ディスク制御装置(記憶制御装置)、403,
404,405,406…制御プロセッサ、407…制
御メモリ、411…キャッシュメモリ(共有資源)、4
13,414…ドライブインタフェース、400…ホス
トコンピュータ、410…制御プロセッサとキャッシュ
メモリと制御メモリ間の信号線、415…ドライブ(回
転型記憶装置)、416,417…チャネル制御装置と
制御プロセッサ間の信号線、500…ジョブ管理テーブ
ル、600…資源管理テーブル。402 ... Disk control device (storage control device), 403,
404, 405, 406 ... Control processor, 407 ... Control memory, 411 ... Cache memory (shared resource), 4
13, 414 ... Drive interface, 400 ... Host computer, 410 ... Signal line between control processor and cache memory and control memory, 415 ... Drive (rotary storage device), 416, 417 ... Channel control device and control processor signal Line, 500 ... Job management table, 600 ... Resource management table.
Claims (3)
数のジョブの集まりをジョブグループとして定義し、個
々の前記ジョブグループと1対1に対応する識別子を各
ジョブグループに付与することで前記ジョブグループの
各々に属する前記ジョブを管理し、前記識別子が一致す
る複数の前記ジョブ間では、前記共有資源の同時使用を
許可し、前記識別子が不一致の複数の前記ジョブ間では
前記共有資源を排他するような排他制御を行うことを特
徴とする共有資源の排他制御方法。1. A group of a plurality of jobs to be processed by using the same shared resource is defined as a job group, and an identifier corresponding to each job group is assigned to each job group. Managing the jobs belonging to each of the job groups, permitting simultaneous use of the shared resource between the plurality of jobs having the same identifier, and allowing the shared resource to be shared between the plurality of jobs having the same identifier. An exclusive control method for a shared resource, which is characterized by performing exclusive control such as exclusive access.
の前記ジョブの各々の前記共有資源に対する処理の種別
を示す処理モードの組み合わせ毎の可否を示す共有許可
条件を設定し、同一の前記ジョブグループに属し、かつ
前記共有許可条件を満足する複数の前記ジョブにのみ前
記共有資源の同時使用を許可することを特徴とする請求
項1記載の共有資源の排他制御方法。2. A sharing permission condition indicating whether or not each combination of processing modes indicating a processing type for the shared resource of each of the plurality of jobs belonging to the same job group is set, and the same job group is set. The shared resource exclusive control method according to claim 1, wherein the simultaneous use of the shared resource is permitted only to a plurality of jobs that belong to the job and satisfy the sharing permission condition.
する回転型記憶装置と、前記回転型記憶装置内のデータ
の写しを保持するキャッシュメモリと、前記キャッシュ
メモリを介して前記回転型記憶装置と上位装置との間に
おける前記データの授受を制御する複数のプロセッサを
備えた記憶制御装置とを含むディスクサブシステムにお
いて前記キャッシュメモリ内に設定されるキャッシュス
ロットであり、前記ジョブは、前記キャッシュスロット
から前記上位装置にデータを読み出すリード、前記上位
装置から前記キャッシュスロットにデータを書き込むラ
イト、前記回転型記憶装置から前記キャッシュスロット
にデータを読み出すステージング、前記キャッシュスロ
ットから前記回転型記憶装置にデータを書き込むデステ
ージングからなり、同一の前記キャッシュスロットに対
する前記上位装置からの前記リードおよびライト要求
と、前記回転型記憶装置からの前記ステージングおよび
デステージング要求を可能な限り並列に実行できるよう
に前記ジョブグループを設定することを特徴とする請求
項1または2記載の共有資源の排他制御方法。3. The shared resource is a rotary storage device that permanently stores data, a cache memory that holds a copy of the data in the rotary storage device, and the rotary storage device via the cache memory. A cache slot set in the cache memory in a disk subsystem including a storage controller including a plurality of processors for controlling the transfer of the data between a device and a host device, and the job is the cache Read to read data from the slot to the host device, write to write data from the host device to the cache slot, staging to read data from the rotary storage device to the cache slot, data from the cache slot to the rotary storage device Consists of destaging The job group is set such that the read and write requests from the host device for the same cache slot and the staging and destaging requests from the rotary storage device can be executed in parallel as much as possible. The shared resource exclusive control method according to claim 1 or 2.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP07761595A JP3342597B2 (en) | 1995-04-03 | 1995-04-03 | Exclusive control method for disk subsystem and shared resources |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP07761595A JP3342597B2 (en) | 1995-04-03 | 1995-04-03 | Exclusive control method for disk subsystem and shared resources |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH08272632A true JPH08272632A (en) | 1996-10-18 |
| JP3342597B2 JP3342597B2 (en) | 2002-11-11 |
Family
ID=13638828
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP07761595A Expired - Fee Related JP3342597B2 (en) | 1995-04-03 | 1995-04-03 | Exclusive control method for disk subsystem and shared resources |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP3342597B2 (en) |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2007013280A1 (en) * | 2005-07-29 | 2007-02-01 | Access Co., Ltd. | Plug-in module execution method, browser execution method, mailer execution method, program, terminal device, and computer-readable recording medium containing page data |
| US9298517B2 (en) | 2013-06-12 | 2016-03-29 | Fujitsu Limited | Exclusive control request allocation method and system |
-
1995
- 1995-04-03 JP JP07761595A patent/JP3342597B2/en not_active Expired - Fee Related
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2007013280A1 (en) * | 2005-07-29 | 2007-02-01 | Access Co., Ltd. | Plug-in module execution method, browser execution method, mailer execution method, program, terminal device, and computer-readable recording medium containing page data |
| US9298517B2 (en) | 2013-06-12 | 2016-03-29 | Fujitsu Limited | Exclusive control request allocation method and system |
Also Published As
| Publication number | Publication date |
|---|---|
| JP3342597B2 (en) | 2002-11-11 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US6105085A (en) | Lock mechanism for shared resources having associated data structure stored in common memory include a lock portion and a reserve portion | |
| US9448733B2 (en) | Data management method in storage pool and virtual volume in DKC | |
| US5511177A (en) | File data multiplexing method and data processing system | |
| US7213165B2 (en) | Host I/O performance and availability of a storage array during rebuild by prioritizing I/O requests | |
| JP3206247B2 (en) | Method and system for dynamically reconfiguring resources | |
| EP0381325A2 (en) | Synchronising and processing of memory access operations | |
| US5829052A (en) | Method and apparatus for managing memory accesses in a multiple multiprocessor cluster system | |
| JPS61109164A (en) | Bus control | |
| JPH034940B2 (en) | ||
| US20040098542A1 (en) | Storage system | |
| JPH0830398A (en) | Optical disc system | |
| JPH07319627A (en) | External storage device | |
| JP3342597B2 (en) | Exclusive control method for disk subsystem and shared resources | |
| US5440712A (en) | Database input/output control system having nonvolatile storing unit for maintaining the database | |
| JPH1063525A (en) | Information processing apparatus, information processing system and control method therefor | |
| JPS62287359A (en) | Control system for simultaneous file access in loosely coupled multi-processor system | |
| JPS6272051A (en) | Multiple simultaneous processing controlling method in multiple processor system | |
| JPH06161861A (en) | File processing control system | |
| JPS5827255A (en) | Controlling system of file used for plural electronic computers in common | |
| JPH09190375A (en) | Shared memory management method | |
| JPH02280222A (en) | electronic computer system | |
| JP2535584B2 (en) | Real memory fixed processing computer | |
| JPH10124388A (en) | Storage controller | |
| JPS61267862A (en) | File processing system | |
| JPH06259292A (en) | Online Garbage Collection Method for External Storage Device |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20070823 Year of fee payment: 5 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20080823 Year of fee payment: 6 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20080823 Year of fee payment: 6 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20090823 Year of fee payment: 7 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20100823 Year of fee payment: 8 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20100823 Year of fee payment: 8 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110823 Year of fee payment: 9 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120823 Year of fee payment: 10 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130823 Year of fee payment: 11 |
|
| LAPS | Cancellation because of no payment of annual fees |