JPH0454545A - Common area management method - Google Patents
Common area management methodInfo
- Publication number
- JPH0454545A JPH0454545A JP2164990A JP16499090A JPH0454545A JP H0454545 A JPH0454545 A JP H0454545A JP 2164990 A JP2164990 A JP 2164990A JP 16499090 A JP16499090 A JP 16499090A JP H0454545 A JPH0454545 A JP H0454545A
- Authority
- JP
- Japan
- Prior art keywords
- area
- processing program
- management method
- acquisition
- processing
- 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
Links
Landscapes
- Multi Processors (AREA)
- Memory System (AREA)
- Memory System Of A Hierarchy Structure (AREA)
Abstract
(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。(57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.
Description
【発明の詳細な説明】
〔概 要〕
複数の処理プログラムを同時並行的に実行可能なコンピ
ュータシステムにおける共用エリアの管理方式に関し、
処理プログラムの側で使用エリアの上限の設定を行わな
くても、1つの処理プログラムが使用エリアを無制限に
獲得してしまうことのない共用エリアの管理方式を提供
することを目的とし、複数の処理プログラムを同時並行
的に実行可能なコンピュータシステムにおける共用エリ
アの管理方式であって、1つの前記処理プログラムが前
記共用エリアにおいて使用エリアを獲得する際4こ、当
該処理プログラムによる使用が不可であり且つ他の処理
プログラムによる使用が可である獲得不可エリアが設け
られるように構成される。[Detailed Description of the Invention] [Summary] Regarding a common area management method in a computer system that can execute multiple processing programs in parallel, the present invention provides a method for managing a common area in a computer system that can execute multiple processing programs in parallel, without setting an upper limit on the usage area on the processing program side. A common area management method for a computer system that can execute multiple processing programs concurrently, with the aim of providing a common area management method that prevents one processing program from acquiring an unlimited amount of usage area. In this case, when one processing program acquires a usable area in the common area, an unacquirable area is provided that cannot be used by the processing program but can be used by other processing programs. It is composed of
[産業上の利用分野]
本発明は、複数の処理プログラムを同時並行的に実行可
能なコンピュータシステムにおける共用エリアの管理方
式に関する。[Industrial Field of Application] The present invention relates to a shared area management method in a computer system that can execute a plurality of processing programs in parallel.
コンピュータシステムの種々の資源を有効に活用するた
めに、複数の処理プログラムを同時並行的に実行する多
重処理の機能がオペレーティングシステムに組み込まれ
ている。In order to effectively utilize the various resources of a computer system, operating systems have built-in multiprocessing functions that execute multiple processing programs simultaneously.
このようなオペレーティングシステムにおいては、1つ
の処理プログラムの実行によって他の処理プログラムの
実行に支障が生じないように共用エリアを管理する必要
がある。In such an operating system, it is necessary to manage the shared area so that the execution of one processing program does not interfere with the execution of other processing programs.
一般に、多重処理の機能を有したオペレーティングシス
テム(以下「O5」という)では、当=亥O3による制
御が可能な記憶空間に、アドレスマツプなどを有する制
御エリア、多重処理の連絡領域としての共用エリア、個
々の処理プログラム又はプログラム処理命令の格納に用
いられる処理エリアを持っている。In general, in an operating system with a multiprocessing function (hereinafter referred to as "O5"), the storage space that can be controlled by the O3 includes a control area containing address maps, etc., and a common area as a communication area for multiprocessing. , has a processing area used for storing individual processing programs or program processing instructions.
O3は、処理プログラムからの獲得依頼によって、当該
処理プログラムが使用する使用エリアを共用エリア内に
獲得するための獲得処理を行うが、共用エリアは有限で
あるため、1つの処理プログラムについての使用エリア
を無制限に獲得してしまうと、他の処理プログラムのた
めの使用エリアが不足して実行不可能となり、システム
ダウンに至ることがある。In response to an acquisition request from a processing program, O3 performs acquisition processing to acquire the usage area used by the processing program in the shared area, but since the shared area is limited, the usage area for one processing program If an unlimited number of programs are acquired, there will be insufficient area for other processing programs to run, which may lead to system failure.
そのため、従来においては、使用エリアを獲得する際の
上限を、処理プログラムの側で設定するようになってい
る。Therefore, conventionally, the upper limit for acquiring a usage area has been set by the processing program.
〔発明が解決しようとする課B]
しかし、共用エリアの大きさは、個々のコンピュータシ
ステムのハード資源やメモリ割り当て構造によって大き
く異なるため、処理プログラムを作成する際に一律に設
定しておくことはできない。[Problem B to be solved by the invention] However, the size of the common area varies greatly depending on the hardware resources and memory allocation structure of each computer system, so it is not possible to set it uniformly when creating a processing program. Can not.
例えば、大きなシステムに対して使用エリアの上限が低
すぎると、大量のデータ処理に耐えられないために実用
不可能となり、また逆に小さなシステムに対して使用エ
リアの上限が高すぎると、当該処理プログラムが無駄な
使用エリアを確保してしまって他の処理プログラムの実
行に支障をきたすこととなる。For example, if the upper limit of the usable area is too low for a large system, it will not be practical because it cannot withstand the processing of large amounts of data, and conversely, if the upper limit of the usable area is too high for a small system, the processing This results in the program securing a useless area, which interferes with the execution of other processing programs.
したがって、共用エリアの設定は、実際にはシステムエ
ンジニアが個々のシステムの環境条件に合わせて行って
いるが、その個々の環境条件を調査すること及び適切な
上限を決めることはかなり難しく且つ面倒な作業であっ
た。Therefore, although system engineers actually set the common area according to the environmental conditions of each individual system, it is quite difficult and troublesome to investigate the individual environmental conditions and determine an appropriate upper limit. It was work.
そのため、例えば掻く小さな使用エリアしか使用しない
場合などにおいては上限の設定が行われないこともあり
、そのような場合において、処理プログラムに含まれた
バグなどに起因して獲得処理がループとなってしまうこ
とによって、共用工リアの全部を獲得し尽くしてしまう
恐れがあった。Therefore, for example, if only a small area is used, the upper limit may not be set, and in such cases, the acquisition process may become a loop due to a bug in the processing program. By putting it away, there was a risk that the entire common use area would be acquired.
本発明は、上述の問題に鑑み、処理プログラムの側で使
用エリアの上限の設定を行わなくても、1つの処理プロ
グラムが使用エリアを無制限に獲得してしまうことのな
い共用エリアの管理方式を提供することを目的としてい
る。In view of the above-mentioned problems, the present invention provides a shared area management method that prevents one processing program from acquiring an unlimited amount of usage area without setting an upper limit on the usage area on the processing program side. is intended to provide.
〔課題を解決するための手段]
請求項1の発明に係る管理方式は、上述の課題を解決す
るため、第1図〜第3図に示すように、1つの処理プロ
グラムAPが共用エリア22.32において使用エリア
Gを獲得する際に、当該処理プログラムAPによる使用
が不可であり且つ他の処理プログラムAPによる使用が
可である獲得不可エリアEが設けられる。[Means for Solving the Problems] In order to solve the above-mentioned problems, the management system according to the invention of claim 1 allows one processing program AP to operate in a common area 22. as shown in FIGS. When acquiring the use area G in step 32, an unacquirable area E is provided that cannot be used by the processing program AP in question but can be used by other processing programs AP.
請求項2の発明に係る管理方式は、1つの処理プログラ
ムAPの依頼によって共用エリア2232において使用
エリアGを獲得する獲得処理が実行される際に、前記獲
得処理を依頼した処理プログラムAPによる使用が不可
であり且つ他の処理プログラムAPによる使用が可であ
る獲得不可エリアEを同時に獲得する。The management method according to the invention of claim 2 is such that when an acquisition process for acquiring a usage area G in the common area 2232 is executed by a request from one processing program AP, the usage by the processing program AP that requested the acquisition process is At the same time, an area E that cannot be acquired and that can be used by another processing program AP is acquired.
請求項3の発明に係る管理方式は、前記獲得不可エリア
Eの獲得に当たり、他の処理プログラムAPの依頼によ
って既に獲得された使用エリアGに対しては不可とする
。In the management system according to the third aspect of the present invention, when acquiring the unobtainable area E, it is not possible to acquire the use area G that has already been acquired by a request from another processing program AP.
請求項4の発明に係る管理方式は、前記獲得不可エリア
Eの獲得に当たり、他の処理プログラムAPの依頼によ
って既に獲得された獲得不可エリア已に対しても可とす
る。In the management method according to the invention of claim 4, when acquiring the unobtainable area E, it is also possible to acquire the unobtainable area E that has already been acquired by a request from another processing program AP.
請求項4の発明に係る管理方式は、前記獲得不可エリア
Eの大きさを、当該獲得処理において獲得される使用エ
リアGに対して一定の比率となるように設定する。In the management system according to the fourth aspect of the invention, the size of the unobtainable area E is set to be a constant ratio to the use area G acquired in the acquisition process.
O3は、1つの処理プログラムAPからの獲得依頼によ
って、共用エリア22,32に使用エリアGを獲得する
獲得処理を行う。O3 performs acquisition processing to acquire the use area G in the common areas 22 and 32 in response to an acquisition request from one processing program AP.
獲得処理においては、使用エリアGの獲得とともに、獲
得不可エリアEを仮想的に獲得する。In the acquisition process, in addition to acquiring the use area G, the unacquirable area E is virtually acquired.
獲得不可エリアEは、当該獲得処理を依頼した処理プロ
グラムAPによる使用が不可であり且つ他の処理プログ
ラムAPによる使用が可であるエリアである。The unobtainable area E is an area that cannot be used by the processing program AP that requested the acquisition process, but can be used by other processing programs AP.
獲得不可エリアEの獲得に当たっては、他の処理プログ
ラムAPの依頼によって既に獲得された獲得不可エリア
Eに対しても行われる。Acquisition of unobtainable areas E is also performed for unobtainable areas E that have already been acquired by requests from other processing programs AP.
なお、本明細書において、獲得依頼を行う処理プログラ
ムAPとしては、当該処理プログラムAPによって実行
されるジョブを含む。したがって、獲得不可エリアEと
は、当該獲得依頼を行ったジョブによる使用が不可であ
り且つ他のジョブによる使用が可であるエリアであると
も言える。つまり、獲得不可エリアEは、処理プログラ
ムAP毎に又はジョブ毎に獲得される。Note that in this specification, the processing program AP that makes an acquisition request includes a job executed by the processing program AP. Therefore, it can be said that the unobtainable area E is an area that cannot be used by the job that made the acquisition request, but can be used by other jobs. In other words, the unobtainable area E is obtained for each processing program AP or for each job.
〔実施例〕 以下、本発明の実施例を図面を参照しつつ説明する。〔Example〕 Embodiments of the present invention will be described below with reference to the drawings.
第1図は本発明に係る共用エリア22の管理方式の一例
を示す図である。FIG. 1 is a diagram showing an example of a management method for a common area 22 according to the present invention.
第1図において、コンピュータシステム1の仮想記憶空
間11には、制御エリア21、共用エリア22、処理エ
リア23が設けられている。In FIG. 1, a virtual storage space 11 of a computer system 1 is provided with a control area 21, a common area 22, and a processing area 23.
制御エリア21には、制御プログラムが格納され、また
共用エリア22の使用状況を管理するためのアドレスマ
ツプAMが作成される。A control program is stored in the control area 21, and an address map AM for managing the usage status of the common area 22 is created.
共用エリア22は、処理エリア23に格納された複数の
処理プログラムAPa、APb (これらをまとめて「
処理プログラムAPJということがある)による多重処
理の連絡領域として、互いにデータの受は渡しや共通デ
ータの参照のために用いられる。The common area 22 has a plurality of processing programs APa and APb stored in the processing area 23 (collectively "
It is used as a communication area for multiple processing by processing programs (sometimes referred to as APJ), and is used for mutually receiving and passing data and for referencing common data.
共用エリア22内に、それぞれの処理プログラムAPの
実行に必要な使用エリアG、及び後述する獲得不可エリ
アEが獲得される。In the common area 22, a use area G necessary for executing each processing program AP and an unobtainable area E, which will be described later, are acquired.
処理エリア23には、処理プログラムAPa。The processing area 23 includes a processing program APa.
APbが格納されている。これらの処理プログラムAP
a、APbは、サービスプログラムやユーザ作成プログ
ラムなどの全部又は一部であり、個々のプログラム処理
命令などからなっている。処理プログラムAPが実行さ
れると、後述する獲得依頼などのジョブが発生する。APb is stored. These processing programs AP
a and APb are all or a part of a service program or a user-created program, and are composed of individual program processing instructions. When the processing program AP is executed, a job such as an acquisition request, which will be described later, is generated.
0310は、複数の処理プログラムAPa、Apbを同
時並列的に実行可能であり、また、仮想記憶空間11を
制御し且つ管理する空間制御機能を有している。0310 can execute a plurality of processing programs APa and Apb simultaneously and in parallel, and also has a space control function to control and manage the virtual storage space 11.
0510は、処理プログラムAPから使用エリアGの獲
得依頼があちたときには、その使用エリアGの獲得とと
もに、使用エリアGと同じ大きさの獲得不可エリアEを
共用エリア22内に獲得するための獲得処理を行う。0510, when a request to acquire a usage area G is received from the processing program AP, acquisition is performed to acquire the usage area G and also acquire an unobtainable area E of the same size as the usage area G in the common area 22. Perform processing.
0310の獲得処理によって獲得される獲得不可エリア
Eとは、使用エリアGの獲得を依頼した処理プログラム
APa、APbによる使用が不可であり且つ他の処理プ
ログラムAPb、APaによる使用が可であるエリアの
ことである。The unobtainable area E acquired by the acquisition process of 0310 is an area that cannot be used by the processing programs APa, APb that requested the acquisition of the usage area G, but can be used by other processing programs APb, APa. That's true.
つまり、獲得不可エリアEは、それを獲得した処理プロ
グラムAPにとっては、使用も再獲得も不可のエリアで
あり、それ以外の処理プログラムAPにとっては、使用
エリアGとして獲得することによって使用が可のエリア
である。In other words, the area E that cannot be acquired is an area that cannot be used or re-acquired by the processing program AP that acquired it, and for other processing programs AP, it can be used by acquiring it as a usage area G. area.
また、獲得不可エリアEの獲得は、他の処理プログラム
APの獲得依頼によって既に獲得された使用エリアGに
対しては不可であるが、他の処理プログラムAPの獲得
依頼によって既に獲得された獲得不可エリアEに対して
は可である。In addition, the unobtainable area E cannot be acquired for the use area G that has already been acquired through an acquisition request from another processing program AP, but the unobtainable area E cannot be acquired from a usage area G that has already been acquired through an acquisition request from another processing program AP. It is possible for area E.
第2図はアドレスマツプAMの一例を示す図である。FIG. 2 is a diagram showing an example of address map AM.
アドレスマツプAMには、獲得処理番号JN。The address map AM contains the acquisition processing number JN.
使用エリアG又は獲得不可エリアEの開始位置及び終了
位置のアドレスAD、獲得されたエリアの種類を示す獲
得フラグCM(使用エリアGの場合)又はEC(獲得不
可エリアEの場合)が書き込まれる。Addresses AD of the start and end positions of the used area G or the unobtainable area E, and an acquisition flag CM (in the case of the used area G) or EC (in the case of the unobtainable area E) indicating the type of acquired area are written.
獲得処理番号JNとしては、例えばプログラム番号、タ
スク番号などが書き込まれる。As the acquisition processing number JN, for example, a program number, a task number, etc. are written.
アドレスADの開始位置は0310の指定により、終了
位置は獲得依転倒の使用エリアGの要求する大きさに基
づいて、それぞれ決定される。The start position of the address AD is determined by the specification of 0310, and the end position is determined based on the size required by the use area G of the acquisition dependence.
次に、0510による獲得処理について説明する。Next, the acquisition processing by 0510 will be explained.
まず、処理プログラムAPaから0510に対して獲得
依頼が行われると、ostoは現在のアドレスマツプA
Mを参照して使用エリアGaを獲得可能なアドレスAD
を捜し、アドレスマツプAMに当該獲得処理番号JNで
あるrJOBa」、アドレスAD、及び使用エリアGで
あることを示す獲得フラグrGM、をそれぞれセットす
る。First, when an acquisition request is made to 0510 from the processing program APa, osto retrieves the current address map A.
Address AD that can obtain the usage area Ga by referring to M
, and sets the acquisition processing number JN "rJOBa", the address AD, and the acquisition flag rGM indicating that the area is in use G in the address map AM.
これと同時に、0510は使用エリアGaと同一の大き
さの獲得不可エリアEaを獲得可能なアドレスADを捜
し、そのアドレスAD、及び獲得不可エリアEであるこ
とを示す獲得フラグ「EG」をそれぞれセントする。At the same time, 0510 searches for an address AD that can acquire an unobtainable area Ea that is the same size as the used area Ga, and sets the address AD and an acquisition flag "EG" indicating that it is an unobtainable area E, respectively. do.
そして、共用エリア22においてその使用エリアGa及
び獲得不可エリアEaを確保する。Then, the use area Ga and the unobtainable area Ea are secured in the common area 22.
また次に、処理プログラムAPbから0310に対して
獲得依頼が行われると、上述と同様にして使用エリアc
b及び獲得不可エリアEbのためのアドレスADを捜し
、アドレスマツプAMに当該獲得処理番号JNであるr
JOBb、 、アドレスAD、及び獲得フラグrGM、
rEG、をそれぞれセットする。Next, when an acquisition request is made to 0310 from the processing program APb, the usage area c is
b and the address AD for the unobtainable area Eb, and enter the corresponding acquisition processing number JN in the address map AM.
JOBb, , address AD, and acquisition flag rGM,
rEG, respectively.
このとき、第1図に示す例では、処理プログラムAPb
からの依頼による使用エリアcbの獲得に当たって、処
理プログラムAPbからの依頼によって先に獲得した獲
得不可エリアEaと同一のアドレスマツプに重ねて使用
エリアcbを獲得している。At this time, in the example shown in FIG.
In acquiring the use area cb according to a request from the processing program APb, the use area cb is acquired by superimposing it on the same address map as the unobtainable area Ea that was previously acquired according to the request from the processing program APb.
この実施例によると、処理プログラムAPa。According to this embodiment, the processing program APa.
APbからの使用エリアGの獲得依頼があった場合に、
0510は獲得処理によって使用エリアGの獲得ととも
に獲得不可エリアEの獲得を行うので、1つの処理プロ
グラムAP′によっては共用エリア22の半分までしか
使用エリアGが獲得されず、他のエリア、すなわち獲得
不可エリアEは他の処理プログラムAPによって使用可
能となり、その処理プログラムAPが共用エリア22内
において使用エリアGを無制限に獲得し尽くしてしまう
ことが防止される。When there is a request to acquire usage area G from APb,
0510 acquires the use area G and the unobtainable area E through the acquisition process, so one processing program AP' can only acquire up to half of the use area G of the common area 22, and other areas, that is, acquisition The unavailable area E becomes usable by another processing program AP, and the processing program AP is prevented from acquiring the usable area G in the common area 22 without limit.
したがって、処理プログラムAPの側で使用エリアGの
上限の設定を行っていなべても、且つ処理プログラムA
Pにバグが含まれた場合や獲得処理がループとなってし
まった場合でも、そのような処理プログラムAPによっ
て共用エリア22の全部が獲得されてしまうことがなく
、他の処理プログラムAPのための使用エリアGが不足
して実行不可能となってシステムダウンに至るというこ
とが防止される。Therefore, even if the upper limit of the usage area G is set on the processing program AP side, and the processing program A
Even if P contains a bug or the acquisition process becomes a loop, the entire shared area 22 will not be acquired by such a processing program AP, and the This prevents the system from going down due to a lack of available area G and becoming impossible to execute.
また、処理プログラムAPが小さなエリアしか使用しな
い場合には、使用エリアGを獲得する際の上限を予め設
定しておかなくてもコンピュータシステム1の動作に支
障が生じない。したがって、使用エリアGの上限の設定
に要していた作業を省略することができ、処理プログラ
ムAPの作成及びシステムへの適用が極めて容易になる
。Furthermore, if the processing program AP uses only a small area, the operation of the computer system 1 will not be hindered even if the upper limit for acquiring the use area G is not set in advance. Therefore, the work required to set the upper limit of the usage area G can be omitted, making it extremely easy to create the processing program AP and apply it to the system.
第3図は本発明に係る共用エリア32の管理方式の他の
例を示す図である。FIG. 3 is a diagram showing another example of the management method for the common area 32 according to the present invention.
第3図は、多重仮想記憶方式のO3を採用したコンピュ
ータシステムlaについての仮想記憶空間11aを示し
たものである。FIG. 3 shows a virtual storage space 11a for a computer system la that employs the multiple virtual storage system O3.
このようなコンピュータシステム1aでは、船釣に、仮
想記憶空間11aにおける全ジョブ空間に共通のエリア
として制御エリア31及びテーブルエリア(共用エリア
)32を持っている。この制御エリア31にあるストレ
ージマツプSMに、テーブルエリア32の使用有フラグ
GM(使用エリアGを確保した場合)又は仮使用フラグ
EC(獲得不可エリアEを確保した場合)がセントされ
る。Such a computer system 1a has a control area 31 and a table area (common area) 32 as areas common to all job spaces in the virtual storage space 11a. In the storage map SM in this control area 31, the usage flag GM (when the usage area G is secured) or the provisional usage flag EC (when the unobtainable area E is secured) of the table area 32 is posted.
使用エリアGとして、DB、(Data Ba5e)
、DS (Data 5et)の排他制御エリアGc
を考えた場合には、これらDB及びDSの排他制御エリ
アGcとして大規模なエリアが確保されてしまう可能性
がある。As usage area G, DB, (Data Ba5e)
, DS (Data 5et) exclusive control area Gc
If this is considered, a large area may be secured as the exclusive control area Gc for these DBs and DSs.
例えば、第3図に示すように、応用プログラムAPcの
排他制御エリア取得処理JOBcのループが実行される
と、AAIからAAnまでの大規模な排他制御エリアG
cが確保される。この場合に、「n」は極めて大きな数
値であるか又は無限大であるので、従来においてはテー
ブルエリア32の全部が排他制御エリアGcとなってし
まう可能性があるが、この実施例によれば、排他制御エ
リアGcが1つ確保される毎に同じ大きさの獲得不可エ
リアE、cが確保されるので、排他制御エリアGcがテ
ーブルエリア32の半分になった時点で排他制御エリア
Gcの確保が不可となりアベンドする。For example, as shown in FIG. 3, when the loop of the exclusive control area acquisition process JOBc of the application program APc is executed, the large-scale exclusive control area G from AAI to AAn is
c is secured. In this case, since "n" is an extremely large number or infinite, conventionally there is a possibility that the entire table area 32 becomes the exclusive control area Gc, but according to this embodiment , every time one exclusive control area Gc is secured, unobtainable areas E and c of the same size are secured, so when the exclusive control area Gc becomes half of the table area 32, the exclusive control area Gc is secured. becomes impossible and abends.
これによって、ユーザエリア33に格納された応用プロ
グラムAPc以外の応用プログラム又はジョブは、獲得
不可エリアEcとして確保されたABIからABnまで
のエリアを使用可能であるため、エリア不足を起こすこ
とが防止される。As a result, application programs or jobs other than the application program APc stored in the user area 33 can use the area from ABI to ABn, which is secured as the unobtainable area Ec, so that an area shortage is prevented. Ru.
したがって、テーブルエリア32を使用する応用プログ
ラムAPcなどが暴走した場合又は大規模専有を行った
場合などにおいて、テーブルエリア32の資源不足によ
ってコンピュータシステム1aの全体がダウンに至るこ
とが防止される。Therefore, when an application program APc or the like that uses the table area 32 goes out of control or performs large-scale exclusive use, the entire computer system 1a is prevented from going down due to a lack of resources in the table area 32.
上述の実施例においては、獲得不可エリアEの大きさを
使用エリアGと同じとしたが、この比率は、例えば、1
対10.10対1など、適当に変更してもよい。また、
獲得不可エリアEの大きさを使用エリアGの大きさに関
係なく一定としてもよく、処理プログラムAPから指定
するようにしてもよい。In the above embodiment, the size of the unobtainable area E is the same as the use area G, but this ratio is, for example, 1.
You may change it as appropriate, such as 10 to 10.10 to 1. Also,
The size of the unobtainable area E may be constant regardless of the size of the use area G, or may be specified from the processing program AP.
上述の実施例においては、仮想記憶空間1111aにお
ける共用エリア22.32の管理について説明したが、
仮想記憶空間を持たないコンピュータシステムにも適用
可能である。In the above embodiment, management of the shared area 22.32 in the virtual storage space 1111a was explained.
It is also applicable to computer systems that do not have virtual storage space.
本発明によると、処理プログラムの側で使用エリアの上
限の設定を行わなくても、1つの処理プログラムが使用
エリアを無制限に獲得してしまうことのない共用エリア
の管理方式を提供することができる。According to the present invention, it is possible to provide a common area management method that prevents one processing program from acquiring an unlimited amount of usage area without setting an upper limit on the usage area on the processing program side. .
第1図は本発明に係る共用エリアの管理方式の−例を示
す図、
第2図はアドレスマツプの一例を示す図、第3図は本発
明に係る共用エリアの管理方式の他の例を示す図である
。
図において、
1.1aはコンピュータシステム、
11、llaは仮想記憶空間、
22は共用エリア、
32はテーブルエリア(共用エリア)
APは処理プログラム、
Gは使用エリア、
Eは獲得不可エリアである。
本発明に係る共用エリアの管理方式の一9′11を示す
1第1図
アドレスマツプの−fllを示す図
第2図FIG. 1 is a diagram showing an example of the common area management method according to the present invention, FIG. 2 is a diagram showing an example of an address map, and FIG. 3 is a diagram showing another example of the common area management method according to the present invention. FIG. In the figure, 1.1a is a computer system, 11 and lla are virtual storage spaces, 22 is a shared area, 32 is a table area (common area), AP is a processing program, G is a used area, and E is an area that cannot be acquired. Fig. 1 showing one 9'11 of the common area management method according to the present invention Fig. 2 showing -fll of the address map
Claims (5)
行可能なコンピュータシステム(1)(1a)における
共用エリア(22)(32)の管理方式であって、 1つの前記処理プログラム(AP)が前記共用エリア(
22)(32)において使用エリア(G)を獲得する際
に、当該処理プログラム(AP)による使用が不可であ
り且つ他の処理プログラム(AP)による使用が可であ
る獲得不可エリア(E)が設けられる ことを特徴とする共用エリアの管理方式。(1) A management method for a common area (22) (32) in a computer system (1) (1a) capable of concurrently executing a plurality of processing programs (AP), wherein one of the processing programs (AP) is the said common area (
22) When acquiring the usable area (G) in (32), there is an unacquirable area (E) that cannot be used by the processing program (AP) but can be used by other processing programs (AP). A common area management method characterized by:
行可能としたオペレーティングシステムによる共用エリ
ア(22)(32)の管理方式であって、 1つの前記処理プログラム(AP)の依頼によって前記
共用エリア(22)(32)において使用エリア(G)
を獲得する獲得処理が実行される際に、 前記獲得処理を依頼した処理プログラム(AP)による
使用が不可であり且つ他の処理プログラム(AP)によ
る使用が可である獲得不可エリア(E)を同時に獲得す
る ことを特徴とする共用エリアの管理方式。(2) A management method for shared areas (22) and (32) by an operating system that allows multiple processing programs (AP) to run concurrently, wherein the shared areas (22) and (32) are Usage area (G) in area (22) (32)
When the acquisition process to acquire is executed, a non-acquisition area (E) that cannot be used by the processing program (AP) that requested the acquisition process and can be used by other processing programs (AP) is created. A common area management method characterized by simultaneous acquisition.
ログラム(AP)の依頼によって既に獲得された使用エ
リア(G)に対しては不可とした ことを特徴とする請求項2記載の共用エリアの管理方式
。(3) The acquisition of the unobtainable area (E) is made impossible for the use area (G) that has already been acquired by a request from another processing program (AP). Common area management method.
ログラム(AP)の依頼によって既に獲得された獲得不
可エリア(E)に対しても可とした ことを特徴とする請求項2又は3記載の共用エリアの管
理方式。(4) The acquisition of the unobtainable area (E) is made possible even for the unobtainable area (E) that has already been acquired by a request from another processing program (AP). The common area management method described in 3.
処理において獲得される使用エリア(G)に対して一定
の比率となるように設定した ことを特徴とする請求項1から4のいずれかに記載の共
用エリアの管理方式。(5) The size of the unobtainable area (E) is set to be a constant ratio to the use area (G) acquired in the acquisition process. A common area management method described in any of the above.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2164990A JPH0454545A (en) | 1990-06-21 | 1990-06-21 | Common area management method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2164990A JPH0454545A (en) | 1990-06-21 | 1990-06-21 | Common area management method |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH0454545A true JPH0454545A (en) | 1992-02-21 |
Family
ID=15803746
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2164990A Pending JPH0454545A (en) | 1990-06-21 | 1990-06-21 | Common area management method |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0454545A (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS635873A (en) * | 1986-06-25 | 1988-01-11 | Diesel Kiki Co Ltd | Welding method for pipe and pipe |
-
1990
- 1990-06-21 JP JP2164990A patent/JPH0454545A/en active Pending
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS635873A (en) * | 1986-06-25 | 1988-01-11 | Diesel Kiki Co Ltd | Welding method for pipe and pipe |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP4586019B2 (en) | Parallel recovery with non-failing nodes | |
| Menage | Adding generic process containers to the linux kernel | |
| US9104501B2 (en) | Preparing parallel tasks to use a synchronization register | |
| US20130179895A1 (en) | Paas hierarchial scheduling and auto-scaling | |
| US20140108681A1 (en) | System and method for providing a flexible buffer management interface in a distributed data grid | |
| US20130179894A1 (en) | Platform as a service job scheduling | |
| US20130179881A1 (en) | Decoupling paas resources, jobs, and scheduling | |
| CN112052068A (en) | Method and device for binding CPU (central processing unit) of Kubernetes container platform | |
| US12141203B2 (en) | Tenant based permission allocation for a graph database | |
| KR20140119090A (en) | Dynamic load balancing in a scalable environment | |
| KR20140122240A (en) | Managing partitions in a scalable environment | |
| JP2007501458A (en) | Dynamic reassignment of data ownership | |
| JPH0628053B2 (en) | Resource allocation control method for multiprocessor system | |
| JP2002268933A (en) | Cluster system | |
| CN120123305B (en) | Method, product, device and storage medium for multi-host shared file system | |
| US5682507A (en) | Plurality of servers having identical customer information control procedure functions using temporary storage file of a predetermined server for centrally storing temporary data records | |
| CN111858056B (en) | Task scheduling method and device, computer equipment and storage medium | |
| CN103049328A (en) | Distribution method of internal memory resources in computer system | |
| US9274819B2 (en) | Performing garbage collection using a virtual thread in operating system without kernel thread support | |
| US20090287899A1 (en) | Lock-free vector utilizing a resource allocator for assigning memory exclusively to a thread | |
| US20140351550A1 (en) | Memory management apparatus and method for threads of data distribution service middleware | |
| US5630133A (en) | Customer information control system and method with API start and cancel transaction functions in a loosely coupled parallel processing environment | |
| JP2013522740A (en) | Dual mode reader / writer lock | |
| JPH0454545A (en) | Common area management method | |
| CN119597491A (en) | GPU resource isolation method, system, medium and product |