JPH02214963A - Dynamic real memory control system for processing program of transaction assigning shared space - Google Patents

Dynamic real memory control system for processing program of transaction assigning shared space

Info

Publication number
JPH02214963A
JPH02214963A JP3661089A JP3661089A JPH02214963A JP H02214963 A JPH02214963 A JP H02214963A JP 3661089 A JP3661089 A JP 3661089A JP 3661089 A JP3661089 A JP 3661089A JP H02214963 A JPH02214963 A JP H02214963A
Authority
JP
Japan
Prior art keywords
processing program
resident
real memory
shared space
transaction 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
Application number
JP3661089A
Other languages
Japanese (ja)
Inventor
Yukio Chichida
知々田 幸雄
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Corp
Original Assignee
NEC Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Corp filed Critical NEC Corp
Priority to JP3661089A priority Critical patent/JPH02214963A/en
Publication of JPH02214963A publication Critical patent/JPH02214963A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To assign an effective real memory to a batch processing task by changing dynamically a non-resident discriminator stored in a control table for decision of non-residence of a shared space real memory. CONSTITUTION:A real memory control part 7 is prepared together with a shared space real memory non-residence decision control table 8. Then a fact whether a real memory assigned into a shared space should be returned to a memory loop of a virtual computer or not in accordance with the using frequency of a shared space assignment transaction TX is set to a non-residence discriminator stored in the table 8. Then the assignment state of the real memory is dynamically released to the shared space by reference to the non-residence discriminator and in accordance with the load fluctuation of the working TX of a TX processing system. As a result, the shared space assignment TX processing program never occupies the real memory when the TX has a low load. Then the real memory is effectively used.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は仮想記憶計算機上で動作する複数プロセスによ
って実行されるトランザクション(以下、TXと略記す
る)処理システムの実メモリ制御方式に関し、特に複数
プロセスからの参照を可能とする共有空間に割り付けら
れた実メモリ上に配置されるTX処理プログラム(以下
、共有空間配置TX処理プログラムという)の動的実メ
モリ制御方式に関する。
Detailed Description of the Invention [Field of Industrial Application] The present invention relates to a real memory control method for a transaction (hereinafter abbreviated as TX) processing system executed by multiple processes running on a virtual memory computer, and in particular, The present invention relates to a dynamic real memory control method for a TX processing program (hereinafter referred to as a shared space allocated TX processing program) placed on real memory allocated to a shared space that can be referenced by processes.

〔従来の技術〕[Conventional technology]

従来のTX処理システムでは、共有空間配置TX処理プ
ログラムは、プログラム実行時のページ不在フォルト(
MPF)を契機に実行プログラムファイル(RU)から
実メモリ上にロードされ、しかる後は実メモリ上に常駐
する。このため、共有空間配置TX処理プログラムは、
−度でも動作するとほとんどの場合に使用頻度とは関係
なしに実メモリ上に常駐することになって共有資源であ
る実メモリを専有する。
In conventional TX processing systems, shared space-based TX processing programs are subject to page faults (
MPF), it is loaded onto the real memory from the executable program file (RU), and after that it resides on the real memory. Therefore, the shared space arrangement TX processing program is
If it operates even at -100 degrees, in most cases it will reside in the real memory regardless of the frequency of use, and it will occupy the real memory, which is a shared resource.

共有空間配置TX処理プログラムが常駐された実メモリ
の解放および再割当ては、オペレーティングシステム(
O8)の実メモリ管理制御部(実メモリ制御プログラム
(DMM))によって見直されるが、共有空間配置TX
処理プログラムは複数プロセスから参照されるのでプロ
グラムの処理性能を低下させないロジックとしてページ
不在フォルトを契機とした実行プログラムファイルから
のロード回数を少なく抑えるようになっており、このた
め、非共有空間に割り付けられた実メモリ上に配置され
たTX処理プログラムに比べて見直しの度合いがきわめ
て少ない。
Freeing and reallocation of the real memory in which the shared space-located TX processing program resides is handled by the operating system (
The shared space arrangement TX is reviewed by the real memory management control unit (real memory control program (DMM)) of O8).
Since the processing program is referenced by multiple processes, the logic that does not reduce the processing performance of the program is to keep the number of loads from the executable program file triggered by a page fault fault to a low level. The degree of review is extremely small compared to the TX processing program located in real memory.

大規模なメモリ構成を採る仮想記憶計算機においては、
共有空間配置TX処理プログラムの実メモリの専有によ
るメモリ量の減少が影響する性能低下はほとんどないと
いえるが、中小規模のメモリ構成を採る仮想記憶計算機
においては、TX処理システムを稼働させるためには、
TX処理プログラムも共有空間に割り付けられた実メモ
リ上に配置することが性能上必要であるので性能低下が
生じることになる。
In virtual memory computers with large-scale memory configurations,
Although it can be said that there is almost no performance deterioration due to a reduction in the amount of memory due to the exclusive use of real memory by the shared space allocated TX processing program, in a virtual memory computer with a small to medium memory configuration, it is necessary to operate the TX processing system. ,
Since it is necessary for performance to place the TX processing program on the real memory allocated to the shared space, performance will be degraded.

例えば、中小規模のメモリ構成を採る仮想記憶計算機に
おいても、TX処理システムの稼働中のバッチ処理業務
の並列処理は一般的に行われており、特に24時間運転
のオンラインTX処理システムのように時間軸をヘース
とした業務別運用を行う場合やTXの低負荷時にバッチ
処理プログラムの並列走行を行う場合には、共有空間配
置TX処理プログラムが専有する実メモリのためにバッ
チ処理プログラムに実メモリを割り当てようとしても、
変更ページ退避ファイル(BS)と未使用実メモリペー
ジとの入替え処理によって変更ページ退避ファイルの入
出力Cl10)の増加および実メモリ管理制御部による
中央処理装置(CPU)の消費が増加され、これが仮想
記憶計算機全体に影響を及ぼし、バッチ処理業務のみな
らずTX処理システムのレスポンスにも影響を与えるこ
とになる。
For example, even in virtual memory computers with small to medium-sized memory configurations, parallel processing of batch processing operations is generally performed during operation of the TX processing system, and in particular, parallel processing of batch processing operations is performed over a long period of time, such as in an online TX processing system that operates 24 hours a day. When performing business-specific operations based on axes, or when running batch processing programs in parallel when the TX load is low, it is necessary to allocate real memory to the batch processing program in order to use the real memory exclusive to the TX processing program located in a shared space. Even if you try to assign
The process of replacing the changed page save file (BS) with unused real memory pages increases the input/output Cl10) of the changed page save file and increases the consumption of the central processing unit (CPU) by the real memory management control unit. This will affect the entire storage computer, and will affect not only the batch processing operations but also the response of the TX processing system.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

上述した従来のトランザクション処理システムの実メモ
リ制御方式では、TXが長時間にわたって低負荷状態に
ある場合でも共有空間配ITX処理プログラムが実メモ
リ上に常駐して実メモリを専有したままとなるので、仮
想記憶計算機上でTX処理プログラムとともにバッチ処
理プログラムが並列に走行する場合には、バッチ処理業
務の増大が実メモリ管理制御部でのCPU消費の増加を
加速させ、バッチ処理業務の遅延のみならず、TX処理
システムの処理遅延につながるという欠点がある。特に
、オンラインTX処理システムでは、この遅延がただち
にレスポンスの悪化につながるという問題点がある。
In the real memory control method of the conventional transaction processing system described above, even if the TX is in a low load state for a long time, the shared space ITX processing program resides in the real memory and remains exclusive of the real memory. When a batch processing program runs in parallel with a TX processing program on a virtual memory computer, the increase in batch processing operations accelerates the increase in CPU consumption in the real memory management control unit, causing not only delays in batch processing operations but also delays in batch processing operations. , which has the disadvantage of leading to processing delays in the TX processing system. Particularly in an online TX processing system, there is a problem in that this delay immediately leads to a deterioration in response.

本発明の目的は、上述の点に鑑み、共有空間に割り付け
られた実メモリを共有空間配置TX処理プログラムの使
用頻度に応じて仮想記憶計算機のメモリプールに返却す
るか否かを共有空間実メモリ非常駐判定管理テーブル中
の非常駐判別子に設定するとともに、TX処理システム
の稼働中のTXの負荷変動に応じて共有空間実メモリ非
常駐判定管理テーブル中の非常駐判別子を参照して共有
空間への実メモリの割当て状態の解除を動的に行えるよ
うにして、仮想記憶計算機においてバッチ処理業務への
有効な実メモリの割当てを可能とする共有空間配置トラ
ンザクション処理プログラムの動的実メモリ制御方式を
提供することにある。
In view of the above-mentioned points, it is an object of the present invention to determine whether or not to return real memory allocated to a shared space to a memory pool of a virtual memory computer depending on the usage frequency of a shared space allocation TX processing program. In addition to setting it in the non-resident discriminator in the non-resident determination management table, the non-resident discriminator in the shared space real memory non-resident determination management table is referenced to determine whether the real memory in the shared space is To provide a dynamic real memory control method for a shared space-located transaction processing program that enables dynamic release of memory allocation status and effective allocation of real memory to batch processing tasks in a virtual memory computer. There is a particular thing.

〔課題を解決するための手段〕[Means to solve the problem]

本発明の共有空間配置トランザクション処理プログラム
の動的実メモリ制御方式は、仮想記憶計算機上で動作す
る複数プロセスによって実行されるトランザクション処
理システムにおいて、トランザクション処理システムの
アルゴリズムに従い起動され共有空間実メモリ非常駐判
定管理テーブル中の非常駐判別子を参照して共有空間配
置トランザクション処理プログラムを一括ページリリー
ス要求の対象とするか否かを判定するトランザクション
処理プログラム非常駐判定手段と、このトランザクショ
ン処理プログラム非常駐判定手段によって共有空間配置
トランザクション処理プログラムを一括ページリリース
要求の対象とすると判定された場合にオペレーティング
システムの実メモリ管理制御部に対して一括ページリリ
ース要求するトランザクション処理プログラム非常駐要
求手段と、トランザクションの入力を契機に前記共有空
間実メモリ非常駐判定管理テーブル中の非常駐判別子を
参照して共有空間配置トランザクション処理プログラム
が共有空間に割り付けられた実メモリ上に常駐されてい
るか否かを判定し常駐されていない場合に前記実メモリ
管理制御部に対して一括ページロード要求するトランザ
クション処理プログラム常駐判定要求手段と、共有空間
配置トランザクション処理プログラムの手続き部に制御
を渡すトランザクション処理プログラム移行制御手段と
、このトランザクション処理プログラム移行制御手段か
ら起動され共有空間配置トランザクション処理プログラ
ムの使用頻度が高い場合には前記共有空間実メモリ非常
駐判定管理テーブル中の非常駐判別子に常駐ステータス
を設定するトランザクション処理プログラム使用算定手
段と、トランザクション処理システムが有する運用コマ
ンド機能により前記共有空間実メモリ非常駐判定管理テ
ーブル中の非常駐判別子を動的に変更するトランザクシ
ョン処理プログラム非常駐変更手段とを存する。
The dynamic real memory control method of the shared space allocated transaction processing program of the present invention is activated in accordance with the algorithm of the transaction processing system in a transaction processing system executed by a plurality of processes running on a virtual memory computer, and determines whether the real memory in the shared space is non-resident. A transaction processing program non-resident determination means refers to a non-resident discriminator in a management table to determine whether or not a shared space-located transaction processing program is subject to a batch page release request; transaction processing program non-resident requesting means for requesting a bulk page release to the real memory management control unit of the operating system when it is determined that the placed transaction processing program is subject to a bulk page release request; Referring to the non-resident discriminator in the spatial real memory non-resident determination management table, it is determined whether the shared space allocated transaction processing program is resident on the real memory allocated to the shared space. A transaction processing program residency determination requesting means for requesting a bulk page load to the memory management control section, a transaction processing program migration control means for passing control to the procedure section of the transaction processing program located in the shared space, and from this transaction processing program migration control means. A transaction processing program usage calculation means that sets a resident status to a non-resident identifier in the shared space real memory non-resident determination management table when the shared space allocated transaction processing program is started and used frequently; and an operation included in the transaction processing system. transaction processing program non-resident changing means for dynamically changing the non-resident discriminator in the shared space real memory non-resident determination management table by a command function;

〔作用〕[Effect]

本発明の共有空間配置トランザクション処理プログラム
の動的実メモリ制御方式では、トランザクション処理プ
ログラム非常駐判定手段がトランザクション処理システ
ムのアルゴリズムに従い起動され共有空間実メモリ非常
駐判定管理テーブル中の非常駐判別子を参照して共存空
間配置トランザクション処理プログラムを一括ページリ
リース要求の対象とするか否かを判定し、トランザクシ
ョン処理プログラム非常駐要求手段がトランザクション
処理プログラム非常駐判定手段によって共有空間配置ト
ランザクション処理プログラムを一括ページリリース要
求の対象とすると判定された場合にオペレーティングシ
ステムの実メモリ管理制御部に対して一括ページリリー
ス要求し、トランザクション処理プログラム常駐判定要
求手段がトランザクションの入力を契機に共有空間実メ
モリ非常駐判定管理テーブル中の非常駐判別子を参照し
て共有空間配置トランザクション処理プログラムが共有
空間に割り付けられた実メモリ上に常駐されているか否
かを判定し常駐されていない場合に実メモリ管理制御部
に対して一括ページロード要求し、トランザクション処
理プログラム移行制御手段が共存空間配置トランザクシ
ョン処理プログラムの手続き部に制御を渡し、トランザ
クション処理プログラム使用算定手段がトランザクショ
ン処理プログラム移行制御手段から起動され共有空間配
置トランザクション処理プログラムの使用頻度が高い場
合には共有空間実メモリ非常駐判定管理テーブル中の非
常駐判別子に常駐ステータスを設定し、トランザクショ
ン処理プログラム非常駐変更手段がトランザクション処
理システムが有する運用コマンド機能により共有空間実
メモリ非常駐判定管理テーブル中の非常駐判別子を動的
に変更する。
In the dynamic real memory control method of the shared space allocated transaction processing program of the present invention, the transaction processing program non-resident determination means is started according to the algorithm of the transaction processing system and refers to the non-resident discriminator in the shared space real memory non-resident determination management table. The transaction processing program non-resident requesting means determines whether or not the co-located space-located transaction processing program is to be made the target of the batch page release request, and the transaction processing program non-resident requesting means makes the shared space-located transaction processing program the subject of the batch page release request. If it is determined that this is the case, a batch page release request is made to the real memory management control unit of the operating system, and the transaction processing program resident determination request means uses the transaction input as a trigger to release the non-resident discriminator in the shared space real memory non-resident determination management table. determines whether the shared space allocated transaction processing program is resident on the real memory allocated to the shared space by referring to the shared space, and if it is not resident, requests the real memory management control unit to load a page in bulk; When the transaction processing program migration control means passes control to the procedure section of the coexistence space-located transaction processing program, and the transaction processing program usage calculation means is activated by the transaction processing program migration control means, and the usage frequency of the shared space arrangement transaction processing program is high. sets the resident status to the non-resident discriminator in the shared space real memory non-resident determination management table, and the transaction processing program non-resident change means uses the operation command function of the transaction processing system to set the non-resident discriminator in the shared space real memory non-resident determination management table. change dynamically.

〔実施例〕〔Example〕

次に、本発明について図面を参照して詳細に説明する。 Next, the present invention will be explained in detail with reference to the drawings.

第1図は、本発明の一実施例に係る共有空間配置トラン
ザクション処理プログラムの動的実メモリ制御方式の構
成を示すブロック図である。本実施例の共有空間配置ト
ランザクション処理プログラムの動的実メモリ制御方式
は、TX処理プログラム常駐判定要求手段1と、TX処
理プログラム移行制御手段2と、TX処理プログラム使
用算定手段3と、TX処理プログラム非常駐変更手段4
と、TX処理プログラム非常駐判定手段5と、TX処理
プログラム非常駐要求手段6と、実メモリ管理制御部7
と、共有空間実メモリ非常駐判定管理テーブル8と、実
行プログラムファイル(RU)9と、変更ページ退避フ
ァイル(BS)10と、実行プログラムファイルリンク
情報テーブル11と、通信処理制御部12と、入力手段
13とから構成されている。なお、第1図中、符号10
0はTX処理システムを示す。
FIG. 1 is a block diagram showing the configuration of a dynamic real memory control method for a shared space-located transaction processing program according to an embodiment of the present invention. The dynamic real memory control method of the shared space arrangement transaction processing program of this embodiment includes a TX processing program resident determination requesting means 1, a TX processing program migration control means 2, a TX processing program usage calculation means 3, and a TX processing program Non-resident change means 4
, TX processing program non-resident determination means 5, TX processing program non-resident requesting means 6, and real memory management control section 7
, a shared space real memory non-resident determination management table 8, an execution program file (RU) 9, a changed page save file (BS) 10, an execution program file link information table 11, a communication processing control unit 12, and an input means. It consists of 13. In addition, in Fig. 1, the reference numeral 10
0 indicates the TX processing system.

第2図を参照すると、TX処理プログラム常駐判定要求
手段1における処理は、共有空間配置TX処理プログラ
ム有無判定ステップ21と、−括ページロードセグメン
ト記述子取出しステップ22と、−括ページロード要求
ステップ23とからなる。
Referring to FIG. 2, the processes in the TX processing program residency determination requesting means 1 include a step 21 for determining the presence or absence of a shared space arrangement TX processing program, a step 21 for extracting a block page load segment descriptor, and a step 23 for requesting a block page load. It consists of.

第3図を参照すると、TX処理プログラム使用算定手段
3における処理は、TX処理プログラム名取得ステップ
31と、使用回数および再利用間隔時間設定ステップ3
2と、使用回数判定ステップ33と、再利用間隔時間判
定ステップ34と、常駐ステータス設定ステップ35と
からなる。
Referring to FIG. 3, the processing in the TX processing program usage calculation means 3 includes a TX processing program name acquisition step 31 and a usage count and reuse interval time setting step 3.
2, a use count determination step 33, a reuse interval time determination step 34, and a resident status setting step 35.

第4図を参照すると、TX処理プログラム非常駐変更手
段4における処理は、入力パラメータチェックステソプ
41と、不正判定ステップ42と、常駐ステータス/非
常駐ステータス設定ステップ43と、拒否メソセージ通
知ステップ44とからなる。
Referring to FIG. 4, the processing in the TX processing program non-resident changing means 4 consists of an input parameter check step 41, a fraud determination step 42, a resident status/non-resident status setting step 43, and a rejection message notification step 44. .

第5図を参照すると、TX処理プログラム非常駐判定手
段5における処理は、TX負荷状況判断ステップ51と
、−括ページリリース要求共有空間装置TX処理プログ
ラム有無判定ステップ52と、−括ページリリースセグ
メント記述子リスト作成ステップ53と、−括ページリ
リースセグメント記述子リスト設定ステップ54と、T
X処理プログラム非常駐要求手段起動ステップ55とか
らなる。
Referring to FIG. 5, the processing in the TX processing program non-resident determination means 5 includes a TX load situation determination step 51, a block page release request shared space device TX processing program presence determination step 52, and a block page release segment descriptor A list creation step 53, a block page release segment descriptor list setting step 54, and a T
This step consists of a step 55 for activating the X processing program non-resident requesting means.

第6図を参照すると、TX処理プログラム非常駐要求手
段6における処理は、−括ページリリースセグメント記
述子取出しステップ61と、−括ページリリース要求ス
テップ62と、セグメント記述子リスト最終判定ステッ
プ63とからなる。
Referring to FIG. 6, the processing in the TX processing program non-resident requesting means 6 consists of -bloc page release segment descriptor retrieval step 61, -bloc page release request step 62, and segment descriptor list final determination step 63. .

第7図を参照すると、共有空間実メモリ非常駐判定管理
テーブル8は、TX処理システム100のシステム生成
時に作成され、TX識別子と、TX処理プログラム列ポ
インタと、TX処理プログラム名と、非常駐判別子と、
使用回数と、再利用間隔時間とが格納される。なお、非
常駐判別子は、非常駐ステータスに初期化されるものと
する。
Referring to FIG. 7, the shared space real memory non-resident determination management table 8 is created when the TX processing system 100 is generated, and contains a TX identifier, a TX processing program sequence pointer, a TX processing program name, and a non-resident discriminator. ,
The number of uses and the reuse interval time are stored. Note that the non-resident identifier is initialized to non-resident status.

第8図を参照すると、実行プログラムファイルリンク情
報テーブル11は、実行プログラムファイル9の作成時
に生成され、−括ページロード/リリースセグメント記
述子対応に、メインプログラム名と、メインプログラム
セグメント記述子と、複数のサブプログラム名と、複数
のサブプログラムセグメント記述子とが格納される。
Referring to FIG. 8, the execution program file link information table 11 is generated when the execution program file 9 is created, and contains the main program name, main program segment descriptor, and other information corresponding to the page load/release segment descriptor. A plurality of subprogram names and a plurality of subprogram segment descriptors are stored.

次に、このように構成された本実施例の共有空間配置ト
ランザクション処理プログラムの動的実メモリ制御方式
の動作について説明する。
Next, the operation of the dynamic real memory control method of the shared space arrangement transaction processing program of this embodiment configured as described above will be explained.

TX処理を構成するTX処理プログラム列内の先頭のT
X処理プログラムに対応するTX識別子を持つTXが入
力手段13から入力されると、TX処理システム100
では通信処理制御部12を介してTX処理プログラム常
駐判定要求手段1に制御が渡される。
The first T in the TX processing program sequence that constitutes TX processing
When a TX having a TX identifier corresponding to an X processing program is input from the input means 13, the TX processing system 100
Then, control is passed to the TX processing program resident determination requesting means 1 via the communication processing control section 12.

TX処理プログラム常駐判定要求手段1は、共有空間実
メモリ非常駐判定管理テーブル8中の非常駐判別子が常
駐ステータスである非常駐ステータスであるかに応じて
TX識別子に対応するTX処理プログラム列のページが
共有空間に割り付けられた実メモリ上に常駐されている
か否かを判定する(ステップ21)。TX識別子に対応
するTX処理プログラム列のページが共有空間に割り付
けられた実メモリ上に常駐されていなければ、TX処理
プログラム常駐判定要求手段1は、TX識別子に対応す
るTX処理プログラム列のセグメントを示すセグメント
記述子を実行プログラムファイルリンク情報テーブル1
1から取り出しくステップ22)、取り出したセグメン
ト記述子が示すセグメントを実メモリ管理制御部7に対
して一括ページロード要求する(ステップ23)。なお
、TX識別子に対応するTX処理プログラム列のページ
が共有空間に割り付けられた実メモリ上に常駐されてい
れば、TX処理プログラム常駐判定要求手段1は、何も
しないで処理を終了する。
The TX processing program resident determination requesting means 1 determines whether the page of the TX processing program string corresponding to the TX identifier is shared depending on whether the non-resident identifier in the shared space real memory non-resident determination management table 8 is a resident status. It is determined whether the memory is resident on the real memory allocated to the space (step 21). If the page of the TX processing program string corresponding to the TX identifier is not resident on the real memory allocated to the shared space, the TX processing program residency determination requesting means 1 sends the segment of the TX processing program string corresponding to the TX identifier. Execute segment descriptor shown in program file link information table 1
1 (Step 22), a batch page load request is made to the real memory management control unit 7 for the segment indicated by the extracted segment descriptor (Step 23). Note that if the page of the TX processing program sequence corresponding to the TX identifier is resident on the real memory allocated to the shared space, the TX processing program residency determination requesting means 1 ends the process without doing anything.

実メモリ管理制御部7は、−括ページロード要求を受け
ると、検出されるページ不在フォルトを契機に実行プロ
グラムファイル9から実メモリ管理制御部7で規定され
たセグメントサイズ単位に共有空間に割り付けられた実
メモリ上にTX識別子に対応するTX処理プログラム列
のセグメントを一括ページロードしていく。
When the real memory management control unit 7 receives a bulk page load request, the real memory management control unit 7 allocates the shared space from the execution program file 9 to the shared space in units of segment size specified by the real memory management control unit 7 in response to the detected page fault. The segment of the TX processing program sequence corresponding to the TX identifier is page-loaded into the real memory at once.

TX処理プログラム移行制御手段2は、TX処理プログ
ラム常駐判定要求手段1によりTX識別子に対応するT
X処理プログラム列のページが共有空間に割り付けられ
た実メモリ上に常駐されていると判定された場合および
実メモリ管理制御部7により共有空間に割り付けられた
実メモリ上にTX識別子に対応するTX処理プログラム
列のセグメントが一括ページロートされた場合に、共有
空間配置TX処理プログラムの手続き部への制御の移行
を行い、この移行時にTX処理プログラム使用算定手段
3を起動する。
The TX processing program migration control means 2 causes the TX processing program resident determination requesting means 1 to transfer the Tx that corresponds to the TX identifier.
When it is determined that the page of the X processing program sequence is resident on the real memory allocated to the shared space, and the TX corresponding to the TX identifier is stored on the real memory allocated to the shared space by the real memory management control unit 7. When the segments of the processing program sequence are page loaded at once, control is transferred to the procedure section of the TX processing program located in the shared space, and at the time of this transfer, the TX processing program usage calculation means 3 is activated.

TX処理プログラム使用算定手段3は、現在のTX処理
プロセス上でどの共有空間配置TX処理プログラムが顧
繁に動作するかを示す情報を収集し再利用性の高い共有
空間配置TX処理プログラムの常駐を選択する。詳しく
は、TX処理プログラム使用算定手段3は、実行プログ
ラムファイルリンク情報テーブル11から現在の共有空
間配置TX処理プログラムのTX処理プログラム名を取
得しくステップ31)、現在の共有空間配WTX処理プ
ログラムの使用回数および再利用間隔時間を共存空間実
メモリ非常駐判定管理テーブル8中に設定する(ステッ
プ32)。次に、TX処理プログラム使用算定手段3は
、現在の共有空間配置TX処理プログラムの使用回数を
あらかじめシステム生成時に与えられた規定使用回数と
比較しくステップ33)、使用回数が規定使用回数より
も多いときには現在の共有空間配置TX処理プログラム
の再利用間隔時間とあらかじめシステム生成時に与えら
れた規定再利用間隔時間とを比較する(ステップ34)
。使用回数が規定使用回数を越えかつ再利用間隔時間が
規定再利用間隔時間より小さい場合には、現在の共有空
間配置TX処理プログラムの使用頻度が高いことを意味
するので、TX処理プログラム使用算定手段3は、−括
ページリリース要求の対象から現在の共有空間配置TX
処理プログラムを外すために共有空間実メモリ非常駐判
定管理テーブル8中の非常駐判別子に常駐ステータスを
設定する(ステップ35)。使用回数が規定使用回数を
越えないか、または再利用間隔時間が規定再利用間隔時
間より大きい場合には、TX処理プログラム使用算定手
段3は、現在の共有空間配置TX処理プログラムの使用
頻度が高くないとみなして、ステップ35の処理をスキ
ップする。
The TX processing program usage calculation means 3 collects information indicating which shared space arrangement TX processing program frequently operates on the current TX processing process, and makes resident the shared space arrangement TX processing program with high reusability. select. Specifically, the TX processing program usage calculation means 3 acquires the TX processing program name of the current shared space arrangement TX processing program from the execution program file link information table 11 (step 31), and determines the use of the current shared space arrangement WTX processing program. The number of times and reuse interval time are set in the coexistence space real memory non-resident determination management table 8 (step 32). Next, the TX processing program usage calculation means 3 compares the number of uses of the current shared space arrangement TX processing program with the specified number of uses given in advance at the time of system generation (step 33), and determines that the number of uses is greater than the specified number of uses. Sometimes, the reuse interval time of the current shared space arrangement TX processing program is compared with the specified reuse interval time given in advance at the time of system generation (step 34).
. If the number of uses exceeds the specified number of uses and the reuse interval time is smaller than the specified reuse interval time, it means that the frequency of use of the current shared space arrangement TX processing program is high, so the TX processing program usage calculation means 3 - The current shared space arrangement TX from the target of the bulk page release request
In order to remove the processing program, the resident status is set in the non-resident identifier in the shared space real memory non-resident determination management table 8 (step 35). If the number of uses does not exceed the specified number of uses or the reuse interval time is greater than the specified reuse interval time, the TX processing program usage calculation means 3 calculates that the frequency of use of the current shared space arrangement TX processing program is high. It is assumed that there is no one, and the process of step 35 is skipped.

TX処理プログラム非常駐変更手段4は、TX処理シス
テム100が有する運用コマンド機能により随時起動さ
れ、共有空間実メモリ非常駐判定管理テーブル8中の非
常駐判別子を動的に変更する。
The TX processing program non-resident changing unit 4 is activated at any time by the operation command function of the TX processing system 100, and dynamically changes the non-resident discriminator in the shared space real memory non-resident determination management table 8.

詳しくは、TX処理プログラム非常駐変更手段4は、入
力手段13から通信処理制御部12を介して運用コマン
ドが入力されると、運用コマンドの入力パラメータであ
るTX処理プログラム名をチエツクしくステップ41)
 、TX処理プログラム名が不正でなければ(ステップ
42)、共有空間実メモリ非常駐判定管理テーブル8中
のTX処理プログラム名と対応する非常駐判別子に運用
コマンドに応した常駐ステータスまたは非常駐ステータ
スを設定する(非常駐判別子を動的に変更する)(ステ
ップ43)。ステップ42でTX処理プログラム名が不
正であれば、TX処理プログラム非常駐変更手段4は、
拒否メソセージを通信処理制御部12を介して運用コマ
ンドの入力元である入力手段13に返す(ステップ44
)。
Specifically, when an operation command is input from the input means 13 via the communication processing control section 12, the TX processing program non-resident changing means 4 checks the TX processing program name which is an input parameter of the operation command (step 41).
, if the TX processing program name is not invalid (step 42), the resident status or non-resident status corresponding to the operation command is set to the non-resident identifier corresponding to the TX processing program name in the shared space real memory non-resident determination management table 8. (Dynamically change the non-resident discriminator) (step 43). If the TX processing program name is invalid in step 42, the TX processing program non-resident changing means 4:
The rejection message is returned via the communication processing control unit 12 to the input means 13 that is the input source of the operation command (step 44
).

TX処理プログラム非常駐判定手段5は、TX処理シス
テム100のアルゴリズムに従って起動され、まずTX
処理システム100におけるTXの負荷状況を判断する
(ステップ51)。TXの負荷状況が低負荷の場合には
、TX処理プログラム非常駐判定手段5は、共有空間実
メモリ非常駐判定管理テーブル8中の非常駐判別子に非
常駐ステータスが設定されているか常駐ステータスが設
定されているかに基づいて一括ページリリース要求する
共有空間配置TX処理プログラムの有無を判断する(ス
テップ52)。TXの負荷状況が低くかつ一括ページリ
リース要求する共有空間配置TX処理プログラムがある
場合には、TX処理プログラム非常駐判定手段5は、−
括ページリリース要求する共有空間配置TX処理プログ
ラムのTX処理プログラム名に対応する実行プログラム
ファイルリンク情報テーブル11中のセグメント記述子
に基づいて共有空間配置TX処理プログラムを一括ペー
ジリリース要求するためのセグメント記述子リストを作
成する(ステップ53)。次に、TX処理プログラム非
常駐判定手段5は、作成したセグメント記述子リストを
現在のTX処理プロセスに固有のローカルデータ領域に
設定しくステップ54)、TX処理プログラム非常駐要
求手段6を起動する(ステップ55)。なお、TX負荷
状況が高いか、または−括ページリリース要求する共有
空間配置TX処理プログラムがない場合には、TX処理
プログラム非常駐判定手段5は、ステップ53〜55の
処理をスキップする。
The TX processing program non-resident determination means 5 is activated according to the algorithm of the TX processing system 100, and first
The TX load status in the processing system 100 is determined (step 51). When the TX load status is low, the TX processing program non-resident determination means 5 determines whether the non-resident status is set in the non-resident identifier in the shared space real memory non-resident determination management table 8 or whether the resident status is set. Based on this, it is determined whether there is a shared space layout TX processing program that requests a batch page release (step 52). If the TX load status is low and there is a shared space-located TX processing program that requests bulk page release, the TX processing program non-resident determination means 5 determines -
Segment description for requesting bulk page release of the shared space layout TX processing program based on the segment descriptor in the execution program file link information table 11 corresponding to the TX processing program name of the shared space layout TX processing program requesting bulk page release. A child list is created (step 53). Next, the TX processing program non-resident determination means 5 sets the created segment descriptor list in the local data area specific to the current TX processing process (step 54), and activates the TX processing program non-resident requesting means 6 (step 55). ). Note that if the TX load status is high or if there is no shared space-located TX processing program that requests bulk page release, the TX processing program non-resident determination means 5 skips the processing of steps 53 to 55.

TX処理プログラム非常駐要求手段6は、現在のTX処
理プロセスに固有のローカルデータ領域のセグメント記
述子リストから一括ページリリース要求するセグメント
記述子を取り出しくステップ61)、実メモリ管理制御
部7に対して一括ベーシリリース要求を行う(ステップ
62)。TX処理プログラム非常駐要求手段6は、−括
ページリリース要求をセグメント記述子リストの最終の
セグメント記述子まで繰り返して(ステップ63)、処
理を終了する。
The TX processing program non-resident requesting means 6 extracts a segment descriptor for a batch page release request from the segment descriptor list of the local data area specific to the current TX processing process (step 61), and requests the real memory management control unit 7 to do so. A batch basis release request is made (step 62). The TX processing program non-resident requesting means 6 repeats the -batch page release request up to the last segment descriptor in the segment descriptor list (step 63), and ends the process.

実メモリ管理制御部7は、−括ページリリース要求を受
けると、共有空間に割り付けられた実メモリ上のTX処
理プログラム列のセグメントを変更ページ退避ファイル
10に退避して、共有空間への実メモリの割当て状態を
解除する。
Upon receiving a bulk page release request, the real memory management control unit 7 saves the segments of the TX processing program sequence on the real memory allocated to the shared space to the changed page save file 10, and releases the real memory to the shared space. Release the allocation status of.

〔発明の効果〕〔Effect of the invention〕

以上説明したように本発明は、共有空間に割り付けられ
た実メモリを共有空間配置TX処理プログラムの使用頻
度に応じて仮想計算機のメモリブールに返却するか否か
を共有空間実メモリ非常駐判定管理テーブル中の非常駐
判別子に設定するとともに、TX処理システムの稼働中
のTXの負荷変動に応じて共有空間実メモリ非常駐判定
管理テーブル中の非常駐判別子を参照して共有空間への
実メモリの割当て状態の解除を動的に行えるようにした
ことにより、TXの低負荷時には共有空間配置TX処理
プログラムが実メモリを専有することがなくなり、バッ
チ処理プログラムの動作時にタイムリーな実メモリの割
当てが行われ、TX処理システムの安定した稼働ととも
に実メモリの有効利用が図れるという効果がある。
As explained above, the present invention uses a shared space real memory non-resident determination management table that determines whether or not to return the real memory allocated to the shared space to the memory boolean of the virtual machine according to the usage frequency of the shared space allocation TX processing program. In addition to setting the non-resident discriminator in the shared space real memory non-resident discriminator in the shared space real memory non-resident determination management table according to the TX load fluctuation during operation of the TX processing system, the allocation state of real memory to the shared space is determined. By making it possible to release dynamically, the shared space TX processing program no longer monopolizes the real memory when the TX load is low, and real memory is allocated in a timely manner when the batch processing program is running. This has the effect of ensuring stable operation of the TX processing system and effective use of real memory.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は本発明の一実施例に係る共有空間配置トランザ
クション処理プログラムの動的実メモリ制御方式の構成
を示すブロック図、 第2図は第1図中のTX処理プログラム常駐判定要求手
段の処理を示す流れ図、 第3図は第1図中のTX処理プログラム使用算定手段の
処理を示す流れ図、 第4図は第1図中のTX処理プログラム非常駐変更手段
の処理を示す流れ図、 第5図は第1図中のTX処理プログラム非常駐判定手段
の処理を示す流れ図、 第6図は第1図中のTX処理プログラム非常駐要求手段
の処理を示す流れ図、 第7図は第1図中の共存空間実メモリ非常駐判定管理テ
ーブルの内容を示す図、 第8図は第1図中の実行プログラムファイルリンク情報
テーブルの内容を示す図である。 図において、 1・・・TX処理プログラム常駐判定要求手段、2・・
・TX処理プログラム移行制御手段、3・・・TX処理
プログラム使用算定手段、4・・・TX処理プログラム
非常駐変更手段、5・・・TX処理プログラム非常駐判
定手段、6・・・TX処理プログラム非常駐要求手段、
7・・・実メモリ管理制御部、 8・・・共有空間実メモリ非常駐判定管理テーブル、 9・・・実行プログラムファイル(RU)、lO・・・
変更ページ退避ファイル(BS)、11・・・実行プロ
グラムファイルリンク情報テーブル、 12・・・通信処理制御部、 13・・・入力手段である。 弔 図 上り’V−レ゛D−ト/リリース判立
FIG. 1 is a block diagram showing the configuration of a dynamic real memory control method for a transaction processing program located in a shared space according to an embodiment of the present invention, and FIG. 2 is a process of the TX processing program residency determination requesting means in FIG. FIG. 3 is a flowchart showing the processing of the TX processing program usage calculation means in FIG. 1, FIG. 4 is a flowchart showing the processing of the TX processing program non-resident changing means in FIG. 1, and FIG. 1. FIG. 6 is a flowchart showing the processing of the TX processing program non-resident requesting means in FIG. 1. FIG. 7 is a flowchart showing the processing of the TX processing program non-resident requesting means in FIG. FIG. 8 is a diagram showing the contents of the non-memory resident determination management table. FIG. 8 is a diagram showing the contents of the execution program file link information table in FIG. In the figure, 1... TX processing program residency determination requesting means, 2...
- TX processing program migration control means, 3... TX processing program usage calculation means, 4... TX processing program non-resident changing means, 5... TX processing program non-resident determination means, 6... TX processing program non-resident request means,
7... Real memory management control unit, 8... Shared space real memory non-resident determination management table, 9... Execution program file (RU), lO...
Changed page save file (BS), 11... Execution program file link information table, 12... Communication processing control unit, 13... Input means. Funeral map up 'V-Rate D-T/Release judgment

Claims (1)

【特許請求の範囲】 仮想記憶計算機上で動作する複数プロセスによって実行
されるトランザクション処理システムにおいて、 トランザクション処理システムのアルゴリズムに従い起
動され共有空間実メモリ非常駐判定管理テーブル中の非
常駐判別子を参照して共有空間配置トランザクション処
理プログラムを一括ページリリース要求の対象とするか
否かを判定するトランザクション処理プログラム非常駐
判定手段と、このトランザクション処理プログラム非常
駐判定手段によって共有空間配置トランザクション処理
プログラムを一括ページリリース要求の対象とすると判
定された場合にオペレーティングシステムの実メモリ管
理制御部に対して一括ページリリース要求するトランザ
クション処理プログラム非常駐要求手段と、 トランザクションの入力を契機に前記共有空間実メモリ
非常駐判定管理テーブル中の非常駐判別子を参照して共
有空間配置トランザクション処理プログラムが共有空間
に割り付けられた実メモリ上に常駐されているか否かを
判定し常駐されていない場合に前記実メモリ管理制御部
に対して一括ページロード要求するトランザクション処
理プログラム常駐判定要求手段と、 共有空間配置トランザクション処理プログラムの手続き
部に制御を渡すトランザクション処理プログラム移行制
御手段と、 このトランザクション処理プログラム移行制御手段から
起動され共有空間配置トランザクション処理プログラム
の使用頻度が高い場合には前記共有空間実メモリ非常駐
判定管理テーブル中の非常駐判別子に常駐ステータスを
設定するトランザクション処理プログラム使用算定手段
と、 トランザクション処理システムが有する運用コマンド機
能により前記共有空間実メモリ非常駐判定管理テーブル
中の非常駐判別子を動的に変更するトランザクション処
理プログラム非常駐変更手段と を有することを特徴とする共有空間配置トランザクショ
ン処理プログラムの動的実メモリ制御方式。
[Scope of Claims] In a transaction processing system executed by a plurality of processes running on a virtual memory computer, the process is started according to an algorithm of the transaction processing system and shared by referring to a non-resident discriminator in a shared space real memory non-resident determination management table. A transaction processing program non-resident determination means for determining whether or not a space-located transaction processing program is subject to a batch page release request; a transaction processing program non-resident requesting means that requests the real memory management control unit of the operating system to release all pages in a batch when it is determined that the non-resident resident discriminator in the shared space real memory non-resident determination management table is triggered by the input of a transaction; Determine whether or not the shared space allocated transaction processing program is resident on the real memory allocated to the shared space by referring to , and if it is not resident, issue a batch page load request to the real memory management control unit. transaction processing program residency determination requesting means; transaction processing program migration control means for passing control to the procedure section of the transaction processing program located in the shared space; a transaction processing program usage calculation means that sets the resident status to the non-resident discriminator in the shared space real memory non-resident determination management table if the value is high; 1. A dynamic real memory control method for a transaction processing program located in a shared space, characterized by comprising a transaction processing program non-resident change means for dynamically changing a non-resident discriminator in the transaction processing program.
JP3661089A 1989-02-16 1989-02-16 Dynamic real memory control system for processing program of transaction assigning shared space Pending JPH02214963A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3661089A JPH02214963A (en) 1989-02-16 1989-02-16 Dynamic real memory control system for processing program of transaction assigning shared space

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3661089A JPH02214963A (en) 1989-02-16 1989-02-16 Dynamic real memory control system for processing program of transaction assigning shared space

Publications (1)

Publication Number Publication Date
JPH02214963A true JPH02214963A (en) 1990-08-27

Family

ID=12474571

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3661089A Pending JPH02214963A (en) 1989-02-16 1989-02-16 Dynamic real memory control system for processing program of transaction assigning shared space

Country Status (1)

Country Link
JP (1) JPH02214963A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8180719B2 (en) 2007-12-27 2012-05-15 Seiko Epson Corporation Printer

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8180719B2 (en) 2007-12-27 2012-05-15 Seiko Epson Corporation Printer

Similar Documents

Publication Publication Date Title
US9430388B2 (en) Scheduler, multi-core processor system, and scheduling method
Needham et al. The Cambridge CAP computer and its protection system
US5748959A (en) Method of conducting asynchronous distributed collective operations
JP6138774B2 (en) Computer-implemented method and computer system
JP6370218B2 (en) MEMORY MANAGEMENT METHOD, COMPUTER SYSTEM, COMPUTER PROGRAM, AND STORAGE MEDIUM
US6161147A (en) Methods and apparatus for managing objects and processes in a distributed object operating environment
JP5980916B2 (en) Computer-implemented method and computer system
CN108459898B (en) Resource recovery method and device
KR102338849B1 (en) Method and system for providing stack memory management in real-time operating systems
US20170344398A1 (en) Accelerator control device, accelerator control method, and program storage medium
US6985976B1 (en) System, method, and computer program product for memory management for defining class lists and node lists for allocation and deallocation of memory blocks
US20060253503A1 (en) Method and apparatus for aging a versioned heap system
US6363410B1 (en) Method and system for threaded resource allocation and reclamation
US7395386B2 (en) Method and apparatus for data versioning and recovery using delta content save and restore management
CN111708638A (en) Memory allocation method, device, equipment and storage medium
CN114625533A (en) Distributed task scheduling method and device, electronic equipment and storage medium
CN114546587A (en) Capacity expansion and reduction method of online image recognition service and related device
US5862340A (en) Method operating in each node of a computer system providing and utilizing special records for collective communication commands to increase work efficiency at each node
Calderón et al. Understanding and exploiting the internals of GPU resource allocation for critical systems
JPH02214963A (en) Dynamic real memory control system for processing program of transaction assigning shared space
CN112000471B (en) Memory optimization method and device
CN113282382B (en) Task processing method, device, computer equipment and storage medium
Takada et al. Inter-and intra-processor synchronizations in multiprocessor real-time kernel
US20060161601A1 (en) Heap manager and application programming interface support for managing versions of objects
US11593159B2 (en) External exception handling