JPS593659A - Virtual library control processing system - Google Patents

Virtual library control processing system

Info

Publication number
JPS593659A
JPS593659A JP57113323A JP11332382A JPS593659A JP S593659 A JPS593659 A JP S593659A JP 57113323 A JP57113323 A JP 57113323A JP 11332382 A JP11332382 A JP 11332382A JP S593659 A JPS593659 A JP S593659A
Authority
JP
Japan
Prior art keywords
library
space
control interval
virtual library
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
JP57113323A
Other languages
Japanese (ja)
Inventor
Hideaki Doi
土肥 英明
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP57113323A priority Critical patent/JPS593659A/en
Publication of JPS593659A publication Critical patent/JPS593659A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

PURPOSE:To perform fast loading regardless of whether a logical space is usable or not by assuming a virtual library space independent of the normal logical space and exploding a load module in this virtual library. CONSTITUTION:Control intervals CI are given CI numbers corresponding to relative track addresses in a library 1, one to one. A space grasped as a set of the control intervals CI is the virtual library space 4. The contents of the virtual library space 4 are all outputted to an external storage for the library (LIBEPS) 2. The correspondence between respective members of the library 1 and the control intervals CI in the virtual library space is shown by a member table 9. Real pages 8 are allotted in the virtual library space and the fast loading of the load module is possible.

Description

【発明の詳細な説明】 (1)  発明の技術分野 本発明は仮想2イブ2り管理処理方式、特にデータ処理
システムがローディングの対象とするロードモジュール
が格納された2イブラリの管理処理方式において、ライ
ブラリの内容をトラック単位でまとめたコントロールイ
ンタバルの集合としての仮想ライブラリ空間の概念によ
う−〔、ライブラリの各ロードモジュールを管理し、必
要に応じて予め論理空間に無関係に実ページを割当てる
ことかできるようにして、四−ドモジュールの高速ロー
ディングを可能にした仮想ライブラリ管理処理方式に関
するものである。
DETAILED DESCRIPTION OF THE INVENTION (1) Technical Field of the Invention The present invention relates to a virtual two-library management processing method, particularly a two-library management processing method in which load modules to be loaded by a data processing system are stored. Consider the concept of a virtual library space as a collection of control intervals that organize the contents of a library in track units. This invention relates to a virtual library management processing method that enables high-speed loading of four-door modules.

(2)技術の背景と問題点 四−ドモジュールは、一般に区分データセットで編成さ
れるライブラリに格納されて管理されている。区分デー
タ七ットは、ディレクトリ部とメンバ部とからなり−、
メンバ部の各メンバには、それぞれロードモジュールの
内容が格納され、ディレクトリ部のディレクト情報によ
って検索されもライブラリに格納されたロード至ジュー
ルの主記憶装置上へのローディングに際しては、未解決
アドレスの設定など、実行可能な形式に書き替える必要
がある。ロードモジュールには、いわゆる再使用可能な
りエンドラントなロードモジュールと、一度使用すると
その内容が変わってしまい再度使用することができない
ような再使用不可能なロードモジュールとがある。また
、他のカテゴリで言えば、一度ローデイングされたなら
はアンロードされずに論理空間を占有する常駐ロードモ
ジュールと、毎回ローディングが必要な非常駐ロードモ
ジュールとがある。
(2) Technical Background and Problems Quad modules are generally stored and managed in libraries organized into partitioned datasets. The segmented data seven bits consist of a directory part and a member part.
The contents of the load module are stored in each member of the member section, and unresolved addresses are set when loading the load module stored in the library into the main memory, even if it is searched by the directory information of the directory section. etc., it is necessary to rewrite it into an executable format. Load modules include so-called reusable or end-run load modules, and non-reusable load modules whose contents change once they are used and cannot be used again. In other categories, there are resident load modules that occupy logical space without being unloaded once loaded, and non-resident load modules that require loading every time.

常駐ロードモジュールについては、必要なときにローデ
ィングすることなく、直ちに制御を移行して使用するこ
とができる。従って、処理の高速性という点では問題は
ないが、論理空間を占有するため、同じ論理空間で動作
する他のロードモジュールに対して論理空間割当ての大
きな制限となるCまた、非常駐ロードモジュールは、必
要なときに、毎回向えば磁気ディスク装置などの外部記
憶装置上に設けられたライブラリから入力して、ローデ
ィングしなければならないので、ローディングに要する
処理時間が長くかかるという問題があった。なお、再使
用不可能なロードモジュールを実行可能な形式でメモリ
上に常駐させるのは、無意味であることは言うまでもな
いG (3)発明の目的と構成 本発明は上記問題点の解決を図り、論理空間を圧迫する
ことなく、かつ再使用可能、再使用不可能にかかわらず
高速ローディングを可能とすることを目的としている。
As for the resident load module, control can be immediately transferred and used without loading it when necessary. Therefore, although there is no problem in terms of processing speed, since it occupies logical space, there is a big restriction on logical space allocation for other load modules that operate in the same logical space. Each time it is necessary, the data must be input and loaded from a library provided on an external storage device such as a magnetic disk drive, which poses a problem in that the processing time required for loading is long. It goes without saying that it is meaningless to make a non-reusable load module resident in an executable format in memory. (3) Purpose and structure of the invention The present invention aims to solve the above problems. , the purpose is to enable high-speed loading without compressing logical space and regardless of whether it is reusable or not.

この目的達成のため、本発明は通常の論理空間とは独立
な仮想ライブラリ空間を想定し、該仮想ライブラリ空間
にロードモジュールを展開して、必要に応じ仮想ライブ
ラリ空間に実ページを割当てて、該実ページを指定され
た論理空間にマツピングできるようにすることに着目し
たものである。すなわち、本発明の仮想ライブラリ管理
処理方式は、主記憶上にローディンググされてデータ処
理装置で実行される命令群からなるロードモジュールが
各メンバ毎に格納されたライブラリの管理処理方式にお
いて、ライブラリの所定のサイズ分のレコードとその制
御情報とからなるコントロールインタバルの集合で構成
される仮想ライブラリ空間を設けるとともに、該仮想ラ
イブラリ空間の内容が上記各コントロールインタバルに
付与された番号に対応して格納される外部記憶装置をそ
なえ、少なくとも指定されたメンバに対応する上記コン
トロールインタバルニ実ページを割当て上記外部記憶装
置からページ−インするコントロールインタバル番ロー
)”処理部ト、1m定されたコントロールインタバルに
割当てられた実ページをページ・テーブルを更新するこ
とによって指定された論理空間に割当てるコントロール
インタバル獲得処理部とをそなえたことを特徴としてい
る。以下図面を参照しつつ実施例にもとづいて説明する
To achieve this objective, the present invention assumes a virtual library space that is independent of the normal logical space, deploys load modules in the virtual library space, allocates real pages to the virtual library space as necessary, and It focuses on making it possible to map real pages to specified logical spaces. That is, the virtual library management processing method of the present invention is a library management processing method in which a load module consisting of a group of instructions loaded onto main memory and executed by a data processing device is stored for each member. A virtual library space is provided which is made up of a set of control intervals consisting of records of a predetermined size and their control information, and the contents of the virtual library space are stored in correspondence with the numbers assigned to each control interval. a control interval number (row) to be page-ined from the external storage device, and allocates the control interval real page corresponding to at least the specified member to the control interval specified by 1 m. The present invention is characterized in that it includes a control interval acquisition processing section that allocates the real page to a specified logical space by updating a page table.Examples will be described below with reference to the drawings.

(4) 発明の実施例 第1図は本発明の一実施例構成、第2図はコントロール
インタバルの構成図、第3図は仮想ライブラリ空間とラ
イブラリ用外部記憶との対応関係説明図、第4図はメン
バ・テーブルの説明図、第5図はCIテーブルの説明図
、第6図は初期設定処理部の処理説明図、第7図はロー
ディング処理部の処理説明図、第8図はCILOAD処
理部の処理説明図、第9図はCIGET処理部の処理説
明図を示す。
(4) Embodiment of the invention FIG. 1 shows the configuration of an embodiment of the invention, FIG. 2 is a configuration diagram of a control interval, FIG. 3 is an explanatory diagram of the correspondence between the virtual library space and external storage for the library, and The figure is an explanatory diagram of the member table, Fig. 5 is an explanatory diagram of the CI table, Fig. 6 is an explanatory diagram of the processing of the initial setting processing section, Fig. 7 is an explanatory diagram of the processing of the loading processing section, and Fig. 8 is an illustration of the CILOAD processing. FIG. 9 is an explanatory diagram of the processing of the CIGET processing section.

図中、1はライブラリ、2はライブラリ用外部記憶(L
I BEPS )、3−0.3−1.・・・はスロット
、4は仮想ライブラリ空間、5−0.5−1、・・・は
コントロールインタバル(CI)、6U論論理間、7は
ウィンド、8は実ページ、9はメンバ・テーブル、10
はCIテーブル、11はページ・テーブル、12はデー
タ処□理装置、13は初期設定処理部、14はローディ
ング処理部、15FiCILOAD処理部、16はCI
GET処理部、17はCI FREE処理部を表わす。
In the figure, 1 is the library, 2 is the external storage for the library (L
IBEPS), 3-0.3-1. ... is a slot, 4 is a virtual library space, 5-0.5-1, ... is a control interval (CI), 6U logical space, 7 is a window, 8 is a real page, 9 is a member table, 10
is a CI table, 11 is a page table, 12 is a data processing unit, 13 is an initial setting processing unit, 14 is a loading processing unit, 15 is a FiCILOAD processing unit, 16 is a CI
The GET processing unit 17 represents a CI FREE processing unit.

ライブラリlは、従来から存在する例えば区分編成によ
るデータセットであって、各メンノ(−にロード・モジ
ュールが格納されている。ロードモジュール名はメンバ
名と一致するか、または関連づけられているOライブラ
リ1のメンノ(部のすべてのトラックに対して、コント
ロールインタバル(CI)5−0.5−1.・・・がつ
くられる。コントロールインタバルCIは、例えは第2
図図示の如きフォーマットで構成され、テキスト部とC
TL部とCIDF部等とからなる。テキスト部はテキス
トレコードであって、ロードモジュールの命令コードが
格納され、CTL部はコントロールレコードであって、
ロードモジュールの制御情報が格納される。また、CI
DF部はコントロールインタバルの定義フィールドであ
って、これに各テキストレコード長、コントロールレコ
ード長等の制御情報が格納され、管理される0 コントロールインタバルCIには、ライブラリ1内の相
対トラックアドレスと1対1に対応するCI番号が付さ
れる0このコントロールイア p /(ルCIの集合と
して把握される空間が、仮想ライブラリ空間4である。
The library l is a conventionally existing data set, for example, partitioned and organized, in which load modules are stored in each menu (-.The load module name matches the member name or is associated with the O library. A control interval (CI) of 5-0.5-1... is created for all tracks in the 1st part.
It consists of a format as shown in the figure, with a text part and C
It consists of a TL section, a CIDF section, etc. The text part is a text record in which the instruction code of the load module is stored, and the CTL part is a control record,
Load module control information is stored. Also, CI
The DF section is a control interval definition field, in which control information such as each text record length and control record length is stored and managed. The space that is grasped as a collection of CIs is the virtual library space 4.

仮想ライブラリ空間4の内容は、すべてライブラリ用外
部記憶(LI BEPS )2に出力される○換言すれ
ば、ライブラリ用外部記憶2は、ライブラリ1の内容を
区分編成ではなく、上記コントロールインタバルCIの
形で保持し、管理していると言ってよい。例えば当該デ
ータ処理システムがメモリ割当ての単位である1ページ
’jz4096バイトの大きさでページ管理していると
すれば、ライブラリ用外部記憶2についても、4096
バイトの大きさの各スロツ)3−0.3−1.・・・に
区分して管理するようにされる。
The contents of the virtual library space 4 are all output to the library external storage (LI BEPS) 2. In other words, the library external storage 2 stores the contents of the library 1 in the form of the control interval CI, rather than organizing the contents in sections. It can be said that it is maintained and managed by For example, if the data processing system manages pages with a size of 4096 bytes per page, which is the unit of memory allocation, the external memory for library 2 also has a size of 4096 bytes.
Byte size of each slot) 3-0.3-1. It will be managed by classifying it into...

ところで、コントロールインタバルCIは、上記ページ
・サイズ4096バイトのちょうど整数倍になるように
され、従って、ライブラリ用外部記憶2の複数のスロッ
トが1個のコントロールインタバルCIに対応する。こ
の対応関係は、例えば第3図図示の如くになる。第3図
においては、1つのコントロールインタバル5−0等d
Z、4つのスロット3−0ないし3−3等に対応して格
納されているにの仮想ライブラリ空間4とライブラリ用
外部記憶2とのし1係は、周知の仮想記憶方式における
論理空間と外部ページデータセットとの関係に類似して
いると考えてよい。
By the way, the control interval CI is set to be exactly an integral multiple of the page size of 4096 bytes, and therefore, a plurality of slots of the external storage for library 2 correspond to one control interval CI. This correspondence relationship is, for example, as shown in FIG. In Figure 3, one control interval 5-0 etc.
Z, the relationship between the virtual library space 4 and the library external storage 2 stored corresponding to the four slots 3-0 to 3-3, etc. is the logical space and external storage in the well-known virtual storage system. You can think of it as having a similar relationship to page datasets.

ライブラリ1の各メンバと、仮想ライブラリ空間4上に
おけるコントロールインタバルCIとの対応は、メンバ
・テーブル9によって示される。
The correspondence between each member of the library 1 and the control interval CI on the virtual library space 4 is shown by a member table 9.

メンバ・テーブル9は、例えば第4図図示の如く構成さ
れ、各メンバ名と、そのメンノくが占めるコントロール
インタバルのCIi号との対応情報が設定されている。
The member table 9 is configured, for example, as shown in FIG. 4, and has correspondence information set between each member name and the CIi number of the control interval occupied by that member.

また、各メンバの実メモリへの常駐/非常駐を示す情報
が設定され、第4図においては、rV=VJが非常駐を
、rV=RJが常駐を示している。
Further, information indicating whether each member resides in the real memory or not is set, and in FIG. 4, rV=VJ indicates non-resident, and rV=RJ indicates resident.

仮想記憶方式における論理空間に、主記憶上の実ページ
が割当てられるように、仮想ライブ畏す空間4のコント
ロールインタバルCIに対しても、必要に応じて実ペー
ジ8が割当てられる。実ページ80割当ては、コントロ
ールインタノくルCI毎に行われるので、1つのコント
ロールインタバルCIに対して、例えば4ぺ一、ジ割轟
てられることになる。実ページ8が新たに割当てられる
と、ライブラリ用外部記憶2の対応するスロットの内容
が転送さ−れる。なお、この転送は、4つのス、ロット
トに対しc1回の入出力命令で実行できるので、効率よ
く処理可能である。
Just as real pages on the main memory are allocated to logical spaces in the virtual storage system, real pages 8 are allocated to the control interval CI of the virtual live space 4 as needed. Since the allocation of 80 real pages is performed for each control interval CI, for example, 4 pages are allocated to one control interval CI. When the real page 8 is newly allocated, the contents of the corresponding slot in the external library storage 2 are transferred. Note that this transfer can be executed with c1 input/output commands for four slots, so it can be processed efficiently.

仮想ライブラリ空間4と実ページ8との対応は、CIテ
ーブル10によって示されるoCIテーブル10は、例
えば第5、図図示の如く構成され、各CI番号に対応し
て、割当てられた4つの実ページ番号がそれぞれ設定さ
れる。第5図において、実ページ番号「X」で表わされ
ているところは、実ページが割当てられていない部分を
示している0また、rV=RJはメモリ常駐のコントロ
ールインタバルQ、rV=VJは非常駐のコントロール
インタバルを示している0なお、仮想ライブラリ空間4
に対して、実ページ8が割当てられても、論理空間6と
は独立であり、論理空間6上の領域を占有することはな
い。
The correspondence between the virtual library space 4 and the real pages 8 is shown by the CI table 10. The oCI table 10 is configured as shown in the figure, for example, and has four real pages allocated corresponding to each CI number. A number is set for each. In Fig. 5, the part represented by the real page number "X" indicates a part to which no real page is allocated.0 Also, rV=RJ is the memory resident control interval Q, and rV=VJ is the part where the real page is not allocated. 0 indicates a non-resident control interval. Furthermore, the virtual library space 4
However, even if the real page 8 is allocated, it is independent of the logical space 6 and does not occupy any area on the logical space 6.

論理空間6から仮想ライブラリ空間4の実体か格納され
た実ページ8を参照する場合には、ウィンド7を介して
行われる0ウインド7は、論理空間6上のコントロール
インタバルCIに対する入出力ハツ7アのようなものと
考えてよい。ウィンド7の論理アドレスと、CI番号と
を指定して、CIGET処理部16fiI:呼ひ出すこ
とによって、後述する如く、ウィンド70縞するページ
−テーブル11のエントリが更新さね、ウィンド7の占
める論理空間6とコントロールインタバルCIに対応す
る実ページ8とが関連づけられる0従って仮想ライブラ
リ空間4のコント1−ルインタバルCIに既に実ページ
8が割当てられている場合には、ライブラリ用外部記憶
2からの入出力はもちろん、実メモリ上のデータ転送も
伴わすに、ウィンド7から参照できることとなる。ペー
□ジ・テーブル11の内容については周知であるので説
明を省略するO 初期設定処理部13は仮想ライブラリ空間4を創設す、
るもの−である0ロ一デイング処理部14は、ロードモ
ジュールのロード要求に対して、メモリ上にそのモジュ
ールを実行可能な形式で用意するものである。CILO
AD処理部15は、指定されたメンバに対応スるコント
ロールインタバルCI上に実ページ8を割当て、シイブ
ラリ用外部、記憶2からページインするものである。C
IGET処理部16は、指定されたコントロールインタ
バルCIに割当てられた実ページを、指定された論理空
間すなわちウィンド7に割当てる処理を実行するもので
ある。指定されたコントロールインタバルCIに実ペー
ジが割当てられていない場合には、実ページを割当て、
ライブラリ用外部記憶2からページインした後、ウィン
ド7に割当てる0CIFREE処理部17は、指定され
たメンバに対応するコントロールインタバルCIに割付
けられている実ページを返却する処理を実行するもので
ある。
When referring to the real page 8 in which the entity of the virtual library space 4 is stored from the logical space 6, the window 7 performed via the window 7 is used to refer to the input/output data 7 for the control interval CI on the logical space 6. You can think of it as something like By specifying the logical address of Window 7 and the CI number and calling the CIGET processing unit 16fiI, the entries in the page-table 11 in Window 70 are updated as described later, and the logic occupied by Window 7 is updated. The space 6 is associated with the real page 8 corresponding to the control interval CI. Therefore, if the real page 8 has already been allocated to the control interval CI in the virtual library space 4, the input from the library external storage 2 is Not only output but also data transfer on the real memory is involved, and it can be referenced from the window 7. The contents of the page table 11 are well known, so their explanation will be omitted.O The initial setting processing unit 13 creates the virtual library space 4.
The zero loading processing unit 14, which is the main component, prepares a load module in an executable format on the memory in response to a load module load request. CILO
The AD processing unit 15 allocates a real page 8 on the control interval CI corresponding to the designated member, and reads the page in from the external memory 2 for the library. C
The IGET processing unit 16 executes a process of allocating the real page allocated to the specified control interval CI to the specified logical space, that is, the window 7. If a real page is not allocated to the specified control interval CI, a real page is allocated,
After page-in from the library external storage 2, the 0CIFREE processing unit 17 that allocates to the window 7 executes processing to return the real page allocated to the control interval CI corresponding to the designated member.

仮想ライブラリ空間4に割当てられた実ページは、例え
ばLRU (Least Recentl)r Use
d )方式によって管理され、実ページが不足した場合
には、使用頻度の低いメンバに割当てられた実ページが
奪われるようにされるC従って、使用頻度の高いメンバ
の実ページは奪われにくい。
The real page allocated to the virtual library space 4 is, for example, LRU (Least Recent)
d) When there is a shortage of real pages, the real pages allocated to members that are used less frequently are taken away. Therefore, the real pages of members that are used more frequently are less likely to be taken away.

次に初期設定処理部13の処理について、第6図を参照
して詳細に説明する。初期設定処理部13は、ライブラ
リ1のライブラリ塩を入力情報として起動される。すな
わち、仮想ライブラリ空間4は、ライブラリ毎に創設さ
れることになる。先ず第6図図示処理20によって、ラ
イブラリ1のディレクトリ部を参照し、必要ガ大きさを
算出して直接アクセスボリューム上にライブラリ用外部
記憶2の領域を確保する。次に処理21によって、ライ
ブラリ1のメンバをトラック単位にライブラリ用外部記
憶2に書き出す。なお、ライブラリ用外部記憶2は、ペ
ージ単位のスロットにフォーマツティングされる。続い
て処理22によって、第4図図示のようなメンバーテー
ブル9を作成する。
Next, the processing of the initial setting processing section 13 will be explained in detail with reference to FIG. 6. The initial setting processing unit 13 is activated using the library salt of the library 1 as input information. That is, the virtual library space 4 will be created for each library. First, in the process 20 shown in FIG. 6, the directory section of the library 1 is referred to, the required size is calculated, and an area of the library external storage 2 is secured on the direct access volume. Next, in process 21, the members of the library 1 are written to the library external storage 2 track by track. Note that the library external storage 2 is formatted into slots in units of pages. Subsequently, in step 22, a member table 9 as shown in FIG. 4 is created.

常駐指示メンバ、すなわちメンバ・テーブル9上でrV
=RJのメンバのコントロールインタバルに対しては、
処理23によって、実メモリ上の実ページ8が割当てら
れる。処理24によって、第5図図示のようなCIテー
ブル10を作成し、処理25によって、ライブラリ1の
ディレクトリ部を参照して、全メンバについての処理が
終了したかどうかを判定する。まだ未処理のメンバがあ
る場合には、処理21に制御を戻し、処理21から処理
24までを同様に繰り返す。全メンバについで処理が終
了したならば、初期設定部13の処理を終了する。
rV on the resident directed member, i.e. member table 9
= For the control interval of the members of RJ,
Through process 23, real page 8 on real memory is allocated. A process 24 creates a CI table 10 as shown in FIG. 5, and a process 25 refers to the directory section of the library 1 to determine whether processing for all members has been completed. If there are still unprocessed members, control is returned to process 21 and processes 21 to 24 are repeated in the same way. When the processing is completed for all members, the processing of the initial setting unit 13 is ended.

ローディング処理部14は、例えば第7図図示の如く処
理する。ローディング処理部14は、ロード要求のあっ
たモジュール名を指定して、第7図図示処理30によっ
て、CILOAD処理部15を呼び出し、コントロール
インタバルCIを実メモリに用意する0次に処理31に
よって、論理空間6上にコントロールインタバルCIの
大きさのウィンド7を確保する。処理32によって、メ
ンバに対応するコントロールインタバルのCI番’4と
ウィンド7の論理アドレスとを指定してCIGET処理
部16を呼び出す。ウィンド7を介してコントロールイ
ンタバルCIのレコードが参照できるようになる。続い
て処理33によって、ウィンド7のレコードを処理して
、論理空間6内に実行可能なロードモジュールを生成す
る。この生成処理については、従来からの処理機構をそ
のまま用いることができる。処理34によって、指定さ
れたモジュールノ全コントロールインタバルCIについ
ての処理が終了したかどうかを判定し、終了していない
場合には、次のコントロールインタバルCIについて、
同様に処理32および処理33を繰り返す。終了したな
らば、処理35によってウィンド7f:解放し、また処
理36によって、必要に応じてCIFREE処理部17
を呼び出し、不要となった非常駐コントロールインタバ
ルCIの実ページを返却して、ローディング処理を終了
するO CILOAD処理部15は、例えば第8図図示の如く処
理する。ます、第8図図示処理40によって、メンバ・
テーブル9を検索して、指定されたモジュールのメンバ
に対応するコントロールインタバルのCI番号を得る。
The loading processing unit 14 performs processing as shown in FIG. 7, for example. The loading processing section 14 specifies the module name for which the load request has been made, calls the CILOAD processing section 15 through the process 30 shown in FIG. A window 7 having the size of the control interval CI is secured in the space 6. In process 32, the CI GET processing unit 16 is called by specifying the CI number '4 of the control interval corresponding to the member and the logical address of the window 7. The control interval CI record can now be referenced via window 7. Subsequently, in process 33, the record of the window 7 is processed to generate an executable load module in the logical space 6. For this generation process, the conventional processing mechanism can be used as is. In process 34, it is determined whether the processing for all control interval CIs of the specified module has been completed, and if the processing has not been completed, for the next control interval CI,
Similarly, processing 32 and processing 33 are repeated. When the process is completed, the window 7f is released by processing 35, and the CIFREE processing unit 17 is released by processing 36 as necessary.
The CILOAD processing unit 15 calls the real page of the non-resident control interval CI that is no longer needed, and ends the loading process, for example, as shown in FIG. Then, by the process 40 shown in FIG.
Search Table 9 to obtain the CI number of the control interval corresponding to the member of the specified module.

次にこのCI番号をもとに、処理41によって、CIテ
ーブル10を検索する。そして、処理42によって、現
在対象としているコントロールインタバルCIに既に実
ページ8が割当て済みであるかどうがを判定する。
Next, in step 41, the CI table 10 is searched based on this CI number. Then, in process 42, it is determined whether the real page 8 has already been allocated to the currently targeted control interval CI.

割当て済み・の場合には、処理46に制御を渡す。If allocated, control is passed to process 46.

未割蟲ての場合には、処理43によって、例えば4ペー
ジの実ページ8を確保し、処理44によって、ライブラ
リ用外部記憶2から、対応する;ントロールインタバル
CIの内容を確保した実ページ8に読み込む。そして、
処理45によって、CIテーブル10の当該CI番号の
エントリに、割当てた実ページ番号を設定する。処理4
6によって、指定されたモジュールのすべてのコントロ
ー /L/ インタバルCIについての処理が終了した
かどうかを調べ、終了していない場合には、処理41に
戻り、同様に実ページの割当て処理を繰り返す。
In the case of unallocated data, for example, 4 pages of real page 8 are secured in process 43, and the content of the corresponding control interval CI is stored in the real page 8 from library external storage 2 in process 44. Load. and,
Through process 45, the assigned real page number is set in the entry for the CI number in the CI table 10. Processing 4
6, it is checked whether processing has been completed for all controller /L/ interval CIs of the specified module, and if it has not been completed, the process returns to step 41 and the real page allocation processing is repeated in the same way.

すべて終了した後に、呼び出し元へ制御を戻す。When everything is finished, control is returned to the caller.

CIGET処理部16は、例えば第9図図示の如く処理
する。まず、処理50によって、指定されたCI番号を
もとにCIテーブル10を検索するO検索したCIテー
ブル10を参照して、処理51によって、尚該CI番号
を持つコントロールインタバルCIに、実ページが割当
てられているかどうかを判定するC一般に、CILOA
D処理部15による処理の後に、直ちにCIGET処理
部16が呼び出された場合には、実ページは割当てられ
ていることになるが、そうでない場合には、LRU方式
によって、実ページが返却されていることがある。実ペ
ージが割当てられていれは、処理55に制御を移す0割
当てられていなければ、処理52によって実ページ8を
確保し、処理53によって、その実ページ8にライブラ
リ用外部記[2カラコントロールインタバルCIの内容
ヲヘージインする0そして、処理54によって、CIテ
ーブル10の当該CI番号のエントリに、実ページ番号
を設定する。次に処理55によって、指定されたウィン
ド7の論理アドレスに対応するページ・テーブル11の
エントリを更新し、指定されたコントロールインタバル
CIの内容が設定された実ページ8を、該エントリがポ
イントするようにして、ウィンド7を上記実ページ8に
マツピングする。こうして、ウィンド7を介してコント
ロールインタバルCIを参照できるようにし、呼び出し
元へ制御を戻す。
The CIGET processing unit 16 performs processing as shown in FIG. 9, for example. First, in process 50, the CI table 10 is searched based on the specified CI number, and with reference to the searched CI table 10, in process 51, the real page is stored in the control interval CI having the CI number. Determining whether CILOA is allocated
If the CIGET processing unit 16 is called immediately after the processing by the D processing unit 15, it means that the real page has been allocated, but if not, the real page is returned by the LRU method. Sometimes there are. If a real page is allocated, control is transferred to process 55. If not allocated, real page 8 is secured in process 52, and in process 53, a library external memory [2 color control interval CI Then, in step 54, a real page number is set in the entry of the CI number in the CI table 10. Next, in process 55, the entry in the page table 11 corresponding to the logical address of the specified window 7 is updated so that the entry points to the real page 8 where the contents of the specified control interval CI have been set. , and maps the window 7 to the above real page 8. In this way, the control interval CI can be referenced via the window 7, and control is returned to the caller.

(5)発明の詳細 な説明した如く本発明によれば、仮想ライブラリ空間に
実ページが割当てられている場合に、ロードモジュール
の高速ローディングが可能となり、特に実メモリが大鷲
に存在するシステムにおいては、その効果が大きい。な
お、仮想ライブラリ空間に実ページが割当てられている
からと言って、対応するロードモジュールが使用されて
いなければ、論理空間を占有することはなく、論理空間
を圧迫することばない。また、仮想ライブラリ空間に実
べ1−ジが割当てられていない場合であっても、外部記
憶からの例えばトラック単位の効率的な入力処理が可能
となる。
(5) As described in detail, according to the present invention, when real pages are allocated in the virtual library space, high-speed loading of load modules is possible, especially in systems where real memory exists in large quantities. , the effect is great. Note that even if a real page is allocated to the virtual library space, if the corresponding load module is not used, it will not occupy the logical space and will not put pressure on the logical space. Further, even if no actual pages are allocated to the virtual library space, efficient input processing can be performed, for example, in track units from external storage.

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

第1図は本発明の一実施例構成、第2図はコントロール
インタバルの構成汐11第3図は仮想ライブラリ空間と
ライブラリ用外部記憶との対応関係説明図、M4図はメ
ンバ・テーブルの説明図、第5図はCIテーブルの説明
図、第6図は初期設定処理部の処理説明図、第7図はロ
ープインク処理部の処理説明図、第8図はCI LOA
D処理部の処理説明図、第9図はCIGET処理部の処
理説明図を示す。 図中、1はう゛イブラリ、2はライブラリ用外部記憶、
4は仮想ライブラリ空間、6は論理空間、7はケインド
、8は実ページ、9はメンバ・テーブル、lOはCIテ
ーブル、11はページ・テーブル、12はデータ処理装
置、13は初期設定処理部、14はローディング処理部
、15はCI LOAD処理部、16はCIGET処理
部、17はCI FREE処理部を表わす。 特許出願人  寓士通株式会社 代理人弁理士  森 1) 寛(外1名)才2図 I 第4図
Figure 1 shows the configuration of an embodiment of the present invention, Figure 2 shows the configuration of the control interval, Figure 3 is an explanatory diagram of the correspondence between the virtual library space and external storage for libraries, and Figure M4 is an explanatory diagram of the member table. , Fig. 5 is an explanatory diagram of the CI table, Fig. 6 is an explanatory diagram of the processing of the initial setting processing section, Fig. 7 is an explanatory diagram of the processing of the rope ink processing section, and Fig. 8 is an explanatory diagram of the CI LOA.
FIG. 9 is an explanatory diagram of the processing of the D processing section, and FIG. 9 is an explanatory diagram of the processing of the CIGET processing section. In the figure, 1 is a library, 2 is an external storage for the library,
4 is a virtual library space, 6 is a logical space, 7 is a bind, 8 is a real page, 9 is a member table, IO is a CI table, 11 is a page table, 12 is a data processing device, 13 is an initial setting processing unit, Reference numeral 14 represents a loading processing section, 15 a CI LOAD processing section, 16 a CIGET processing section, and 17 a CI FREE processing section. Patent applicant Mori 1) Hiroshi (1 other person) Sai 2 Figure I Figure 4

Claims (1)

【特許請求の範囲】[Claims] 主記憶装置上にローディングされてデータ処理装置で実
行される命令群からなるロードモジュールが各メンバ毎
に格納されたライブラリの管理処理方式において、ライ
ブラリの所定のサイズ分のレコードとその制御情報とか
らなるコントロールインタバルの集合で構成される仮想
ライブラリ空間を設けるとともに、該仮想ライフ゛ラリ
空間の内容が上記各コントロールインタノくルに付与さ
れた番号に対応して格納される外部記憶装置をそなえ、
少なくとも指定されたメンノくに対応する上言己コント
ロールインタバルに実ページを割当て上目己、外部記憶
装置からページインするコントロールインタバル・ロー
ド処理部と、指定されたコントロールインタバルに割当
てられた実ページをページ・テーブルを更新することに
よって指定された論理空間に割当てるコントロールイン
タバル獲得処理部とをそなえたことを特徴とする仮想ラ
イブラリ管理処理方式。
In a management processing method for a library in which a load module consisting of a group of instructions loaded onto the main memory and executed by a data processing device is stored for each member, records of a predetermined size of the library and their control information are a virtual library space consisting of a set of control intervals, and an external storage device in which the contents of the virtual library space are stored in correspondence with the numbers assigned to each control interval;
At least a control interval load processing unit that allocates a real page to a control interval corresponding to a specified control interval, loads a page from an external storage device, and transfers a real page allocated to a specified control interval to a page. - A virtual library management processing method characterized by comprising a control interval acquisition processing unit that allocates to a specified logical space by updating a table.
JP57113323A 1982-06-30 1982-06-30 Virtual library control processing system Pending JPS593659A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP57113323A JPS593659A (en) 1982-06-30 1982-06-30 Virtual library control processing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP57113323A JPS593659A (en) 1982-06-30 1982-06-30 Virtual library control processing system

Publications (1)

Publication Number Publication Date
JPS593659A true JPS593659A (en) 1984-01-10

Family

ID=14609317

Family Applications (1)

Application Number Title Priority Date Filing Date
JP57113323A Pending JPS593659A (en) 1982-06-30 1982-06-30 Virtual library control processing system

Country Status (1)

Country Link
JP (1) JPS593659A (en)

Similar Documents

Publication Publication Date Title
US5640554A (en) Parallel merge and sort process method and system thereof
JPS61112255A (en) Computer system
US5392415A (en) System for grouping non-contiguous pages belonging to a storage object for page out
CA2436517A1 (en) Method and apparatus for data processing
US10649967B2 (en) Memory object pool use in a distributed index and query system
CN106557427B (en) Memory management method and device for shared memory database
EP0403124A2 (en) Overlay swapping
US5678024A (en) Method and system for dynamic performance resource management within a computer based system
US6134640A (en) Method for transforming flash memory storage format based on average data length
JPS593659A (en) Virtual library control processing system
CN1010715B (en) In virtual storage system, carry out the apparatus and method of page frame replacement
KR960002297A (en) Disk control method and device
US7130857B2 (en) Method for accessing a memory unit in which sequences of notes are stored, corresponding memory unit and corresponding program
JPH04155546A (en) Multivolume file processing method
JPS63239540A (en) Data management system in memory medium
JPS62282341A (en) Data managing system
JP3468531B2 (en) Database management device and record storage method thereof
JPH026094B2 (en)
JP2605476B2 (en) Dump collection processing method
JP2969776B2 (en) Data identification method
CN118012631A (en) Operator execution method, processing device, storage medium and program product
JPS58224491A (en) Method for processing control of correlation of data
JPS58155466A (en) Virtual input and output system with high efficiency
JPH02115958A (en) Data transfer control system
JPH02304615A (en) Allocating system for parallel disk control buffer