JPS6394350A - Memory managing system in on-line system - Google Patents

Memory managing system in on-line system

Info

Publication number
JPS6394350A
JPS6394350A JP61239686A JP23968686A JPS6394350A JP S6394350 A JPS6394350 A JP S6394350A JP 61239686 A JP61239686 A JP 61239686A JP 23968686 A JP23968686 A JP 23968686A JP S6394350 A JPS6394350 A JP S6394350A
Authority
JP
Japan
Prior art keywords
program
memory
page
processing
loaded
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
JP61239686A
Other languages
Japanese (ja)
Inventor
Hiromichi Ogata
緒方 博通
Toshibumi Nomura
俊文 野村
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.)
Hitachi Software Engineering Co Ltd
Hitachi Ltd
Original Assignee
Hitachi Software Engineering Co Ltd
Hitachi Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hitachi Software Engineering Co Ltd, Hitachi Ltd filed Critical Hitachi Software Engineering Co Ltd
Priority to JP61239686A priority Critical patent/JPS6394350A/en
Publication of JPS6394350A publication Critical patent/JPS6394350A/en
Pending legal-status Critical Current

Links

Landscapes

  • Memory System Of A Hierarchy Structure (AREA)

Abstract

PURPOSE:To reduce overhead in a memory management, by securing a desired memory area on a first actual memory device for a transaction processing, and loading a job program required for the said trasnsaction processing. CONSTITUTION:The memory area (number of pages) required for the execution of the job program on the actual memory device is decided first. And when it is decided that the said job program is also not loaded on a main memory device according to a memory managing table, the job programs of the said page being loaded until then for desired number of pages in which an effective bit represents '0', are purged to an auxiliary memory device 11. And a required job program is loaded on the said page from a program library 12. At this time, a loaded job program ID is stored in the corresponding page entry of a memory managing table, and also, a flag '1' which represents the effective bit, is set.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明はオンラインシステムのメモリ管理方式に係り、
特に仮想記憶方式によるオンラインシステムにおいて、
トランザクションを処理する業務プログラムの実記憶装
置へのローディング処理に好適なメモリ管理方式に関す
る。
[Detailed Description of the Invention] [Field of Industrial Application] The present invention relates to a memory management method for an online system.
Especially in online systems using virtual memory,
The present invention relates to a memory management method suitable for loading a business program that processes transactions into a real storage device.

〔従来の技術〕[Conventional technology]

従来、仮想記憶方式のコンピュータシステムをオンライ
ン環境下で稼動する場合、業務プログラムによるトラン
ザクション処理とは独立にメモリ管理を行っていた。即
ち、実記憶装置の各ページの利用状況を監視し、ページ
置き換え要求が発生すると、例えば、所謂LRU (L
east RecentlyUsed)方式により置き
換え対象のページを決定しており、オンラインシステム
の特性であるトランザクション処理中には、該トランザ
クションを処理する業務プログラムが多量に実記憶装置
を使用して、トランザクション終了時には実記憶装置上
から不要となる点については配慮されていなかった。
Conventionally, when operating a virtual memory computer system in an online environment, memory management has been performed independently of transaction processing by business programs. That is, the usage status of each page of the real storage device is monitored, and when a page replacement request occurs, for example, the so-called LRU (LRU)
During transaction processing, which is a characteristic of online systems, the business program that processes the transaction uses a large amount of real storage, and when the transaction ends, the page to be replaced is determined by the page to be replaced. No consideration was given to the fact that it would be unnecessary from the perspective of the equipment.

なお、従来の仮想記憶方式のメモリ管理については、日
経エレクトロニクス・ブックス「汎用大型コンピュータ
」(日経マグロウヒル社 1982年5月31日)第1
53頁から第161頁及び第181頁から第188頁に
記載されている。
Regarding memory management using conventional virtual memory methods, please refer to Nikkei Electronics Books, "General Purpose Large Computers" (Nikkei McGraw-Hill Publishing, May 31, 1982), Vol.
It is described on pages 53 to 161 and pages 181 to 188.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

従来技術においては、オンラインシステムでは、1トラ
ンクザクジヨンを処理中にはトランザクションを処理す
る業務プログラムが多量に実記憶装置を使用してトラン
クザクジョン終了時には実記憶装置上から不要となる点
について配慮されていないため、トランザクションの処
理途中でページ不在が多発したり、プログラムのローデ
ィング処理のために実記憶装置が多量に必要となってメ
モリ管理の処理オーバヘッドが増大してオンラインシス
テムの応答性能の劣化の問題があった。
In the conventional technology, consideration has been given to the fact that in online systems, business programs that process transactions use a large amount of real storage while processing one trunk transaction, and are no longer needed on the real storage device when the transaction is completed. As a result, page faults occur frequently during transaction processing, and a large amount of real storage is required for program loading, increasing the processing overhead of memory management and deteriorating the response performance of the online system. There was a problem.

本発明の目的は、メモリ管理の処理オーバヘッドを抑え
て、オンラインシステムの応答性能を向上させることに
ある。
An object of the present invention is to suppress the processing overhead of memory management and improve the response performance of an online system.

〔問題点を解決するための手段〕[Means for solving problems]

本発明は、業務プログラムをトランクザクジョンの最初
に制御を渡す際に実記憶装置にローディングしてページ
置き換え対象外とし、トランクザクジョン終了時にペー
ジ置き換え対象化とする仮想記憶制御を採用する。
The present invention employs virtual storage control in which a business program is loaded into a real storage device when control is handed over at the beginning of trunk processing, and is excluded from page replacement, and is made into a page replacement target when trunk processing ends.

〔作 用〕 種々のトランクザクジョンを処理する業務プログラムの
必要メモリ領域はトランクサクシ3ンの最初に業務プロ
グラムに制御を渡す際に、実記憶装置に確保し、プログ
ラムライブラリから当該業務プログラムをロードして、
ページ置き換え対象外とする。その後、当該トランクザ
クジョン終了時に確保した業務プログラムのメモリ領域
をページ置き換え対象化とする。これによって、実記憶
装置の記憶容量の増大を極力抑えてトランクザクジョン
処理中のメモリ管理オーバヘッドを抑えることができ、
オンラインシステムの応答性能が向上する。
[Operation] The memory area required for business programs that process various trunk transactions is secured in the real storage device when control is passed to the business program at the beginning of trunk execution 3, and the business program is loaded from the program library. do,
The page will not be replaced. Thereafter, the memory area of the business program secured at the end of the transaction is targeted for page replacement. As a result, it is possible to suppress the increase in the storage capacity of the real storage device as much as possible, and to suppress memory management overhead during trunk deletion processing.
Improves responsiveness of online systems.

〔実施例〕〔Example〕

以下、本発明の一実施例について図面により説明する。 An embodiment of the present invention will be described below with reference to the drawings.

第1図は本発明によるオンラインシステムの構成例であ
る。電子計算機10には仮想記憶の実現のための補助記
憶装置11、業務プログラムやオンライン制御プログラ
ムが存在するプログラムライブラリ12、オンライン処
理で使用する端末システム13、及びデータベース14
が接続されている。電子計算機には実記憶装置(メイン
メモリ)゛ があり、端末システム13からの入力によ
ってトランクザクジョン制御を行うオンライン制御プロ
グラム、トランクザクジョン処理を行う業務プログラム
に加えて、業務プログラムのためのメモリ管理テーブル
が存在する。
FIG. 1 shows an example of the configuration of an online system according to the present invention. The computer 10 includes an auxiliary storage device 11 for realizing virtual storage, a program library 12 in which business programs and online control programs exist, a terminal system 13 used for online processing, and a database 14.
is connected. The electronic computer has a real storage device (main memory), and in addition to an online control program that performs trunk deduction control based on input from the terminal system 13, and a business program that performs trunk deduction processing, it also has a memory for business programs. A management table exists.

第2図はメモリ管理テーブルの構成例を示したもので、
実記憶装置の各ページ対応に、当該ページに存在する業
務プログラムの識別情報(業務プログラムID)、及び
該当ページの業務プログラムが置き換え対象外かどうか
を示す有効性ビットからなる。有効性ビットは、例えば
該当ページの業務プログラムが置き換え対象の場合は“
0″、対象外の場合は“1”とする。
Figure 2 shows an example of the structure of the memory management table.
Each page of the real storage device includes identification information (business program ID) of the business program existing on the page, and a validity bit indicating whether the business program on the page is not to be replaced. For example, if the business program on the relevant page is to be replaced, the validity bit is “
0", and "1" if not applicable.

第3図は、本発明によるオンラインシステムのトランザ
クションの処理フローの例である。端末システム13か
らのメツセージ入力によって、トランザクション処理が
発生する。オンライン制御プログラムはメツセージ入力
によって起動すべき業務プログラムを決定するトランク
ザクジョンスケジュール処理を行う。次に、該業務プロ
グラムの実行に必要な実記憶装置上のメモリ領域(ペー
ジ数)を決定する。そして、メモリ管理テーブルに従い
、当該業務プログラムがまだ主記憶装置上に存在しない
場合には、有効性ビットが0″を示している所望数のペ
ージについて、該ページのそれまでの業務プログラムを
補助記憶袋[11に追い出した後、該ページに対し、プ
ログラムライブラリ12から必要とする業務プログラム
をロードする。この時、メモリ管理テーブルの該当ペー
ジエントリに、ロードした業務プログラムIDを格納す
ると\もに有効性ビットを“′1′″にする。
FIG. 3 is an example of a transaction processing flow of the online system according to the present invention. Message input from the terminal system 13 causes transaction processing. The online control program performs trunk processing schedule processing to determine the business program to be started based on message input. Next, the memory area (number of pages) on the real storage device required to execute the business program is determined. Then, according to the memory management table, if the relevant business program does not yet exist on the main storage device, the previous business program of the page is stored in the auxiliary memory for the desired number of pages whose validity bit indicates 0''. After expelling the page to the page 11, load the required business program from the program library 12 to the page. At this time, it is effective to store the loaded business program ID in the corresponding page entry of the memory management table. Set the gender bit to "'1'".

次に業務処理プログラムに制御を渡して業務処理を行う
Next, control is passed to a business processing program to perform business processing.

業務処理途中にオンライン制御プログラムに対して、デ
ータベース14の参照、更新、端末システム13への出
力、業務プログラムのオーバレイロードなど各種要求が
された後に業務処理終了によって、オンライン制御プロ
グラムに制御が戻される。オンライン制御プログラムは
、メモリ管理テーブルの該当ページエントリの有効性ビ
ットを“0″として、不要になった業務プログラムが格
納されているページを置き換え対象化した後に、データ
ベース14の更新、端末システム13へのメツセージ出
力などトランクザクジョン終了処理を行う。
After various requests are made to the online control program during business processing, such as referencing and updating the database 14, outputting to the terminal system 13, and overlay loading of the business program, control is returned to the online control program when the business process ends. . The online control program sets the validity bit of the corresponding page entry in the memory management table to "0" and targets the page where the business program that is no longer needed is stored, and then updates the database 14 and sends the page to the terminal system 13. Performs trunk processing termination processing such as outputting messages.

本実施例によれば、業務プログラムをロードする際に必
要なメモリ領域を実記憶に確保することができるために
、プログラムロードの処理オーバヘッドが軽減される。
According to this embodiment, since the memory area necessary for loading a business program can be secured in real storage, the processing overhead of program loading is reduced.

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

以上説明したように、本発明によれば、トランクザクジ
ョン処理の最初の実記憶装置上に所望メモリ領域を確保
し、該トランクザクジョン処理に必要な業務プログラム
をロードすることにより、メモリ管理オーバヘッドを削
除でき、実記憶装置の増大を極力抑えてオンラインシス
テムの応答性能を向上できる効果がある。
As explained above, according to the present invention, by securing a desired memory area on the first real storage device for trunk ablation processing and loading a business program necessary for the trunk ablation processing, memory management overhead is reduced. This has the effect of improving the response performance of the online system by minimizing the increase in real storage capacity.

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

第1図は本発明によるオンラインシステムの構成例を示
す図、第2図はメモリ管理テーブルの内容の一例を示す
図、第3図は本発明によるトランクザクジョンの処理フ
ロー例を示す図である。 10・・・電子計算機、  11・・・補助記憶装置、
12・・・プログラムライブラリ、  13・・・端末
システム、  14・・・データベース。 第1図 第2図 メモリ1t¥−T−フ1ル 第3図
FIG. 1 is a diagram showing an example of the configuration of an online system according to the present invention, FIG. 2 is a diagram showing an example of the contents of a memory management table, and FIG. 3 is a diagram showing an example of the processing flow of trunk redemption according to the present invention. . 10...Electronic computer, 11...Auxiliary storage device,
12...Program library, 13...Terminal system, 14...Database. Figure 1 Figure 2 Memory 1t\-T-Full Figure 3

Claims (1)

【特許請求の範囲】[Claims] (1)仮想記憶方式のオンラインシステムにおいて、ト
ランザクション処理を行う業務プログラムを、当該トラ
ンザクション処理の最初に制御を渡す際に実記憶装置に
ローディングして置き換え対象外とし、当該トランザク
ション処理の終了時に置き換え対象とすることを特徴と
するオンラインシステムのメモリ管理方式。
(1) In a virtual memory-based online system, a business program that performs transaction processing is loaded into the real storage device when control is passed at the beginning of the transaction processing, and is excluded from replacement, and is targeted for replacement at the end of the transaction processing. A memory management method for an online system characterized by the following.
JP61239686A 1986-10-08 1986-10-08 Memory managing system in on-line system Pending JPS6394350A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61239686A JPS6394350A (en) 1986-10-08 1986-10-08 Memory managing system in on-line system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61239686A JPS6394350A (en) 1986-10-08 1986-10-08 Memory managing system in on-line system

Publications (1)

Publication Number Publication Date
JPS6394350A true JPS6394350A (en) 1988-04-25

Family

ID=17048400

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61239686A Pending JPS6394350A (en) 1986-10-08 1986-10-08 Memory managing system in on-line system

Country Status (1)

Country Link
JP (1) JPS6394350A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008532163A (en) * 2005-03-02 2008-08-14 シンビアン ソフトウェア リミテッド Computer device and method of operation paged in real time

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008532163A (en) * 2005-03-02 2008-08-14 シンビアン ソフトウェア リミテッド Computer device and method of operation paged in real time

Similar Documents

Publication Publication Date Title
CN110806933B (en) Batch task processing method, device, equipment and storage medium
US20060064408A1 (en) Program, method and apparatus for database management, and recording medium
JPS6394350A (en) Memory managing system in on-line system
US7047321B1 (en) Unblocking an operating system thread for managing input/output requests to hardware devices
JPH0844670A (en) File managing method, computer system using the same and operating method for computer system
JP2526728B2 (en) Disk cache automatic usage method
JPH06222916A (en) On-line real-time processor
JPH06266619A (en) Page saving/restoring device
JPS63311450A (en) Exclusive control system for file access
JPH04199444A (en) File controller
JPH10161915A (en) Data inheriting method for realizing exclusive control giving priority to subsequent job
JPH08272739A (en) Method for improving on-line response
JPH0567059A (en) Network computer system
JP2740572B2 (en) Program loading method
JPS62184535A (en) System for making operating system nonresident
CN115375457A (en) Transaction current limiting method and device, storage medium and electronic equipment
GB2362246A (en) Computer system with checkpoint facility.
JPS62209635A (en) Access system for system control file of asynchronous communication
JPH01112448A (en) System for updating file
JPH09319708A (en) On-line control process substitution system
JPH02138646A (en) Processing system for addition of record
JP2830293B2 (en) Program execution method
JP3490465B2 (en) Abnormal data processing device
JPH08292906A (en) Update buffer management device
JPH09269913A (en) On-line transaction processing system