JPH05257802A - Assignment system for secondary storage record for paging - Google Patents

Assignment system for secondary storage record for paging

Info

Publication number
JPH05257802A
JPH05257802A JP4086516A JP8651692A JPH05257802A JP H05257802 A JPH05257802 A JP H05257802A JP 4086516 A JP4086516 A JP 4086516A JP 8651692 A JP8651692 A JP 8651692A JP H05257802 A JPH05257802 A JP H05257802A
Authority
JP
Japan
Prior art keywords
secondary storage
storage file
file group
page
paging
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
JP4086516A
Other languages
Japanese (ja)
Inventor
Koichi Yanagihara
幸一 柳原
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 JP4086516A priority Critical patent/JPH05257802A/en
Publication of JPH05257802A publication Critical patent/JPH05257802A/en
Pending legal-status Critical Current

Links

Landscapes

  • Memory System Of A Hierarchy Structure (AREA)

Abstract

PURPOSE:To increase the total number of records of the secondary storage files for paging which can be assigned over the entire system. CONSTITUTION:This system is equipped with a secondary storage file group control tables 9 which controls the number of empty records by secondary storage file groups that a job 1 uses for paging, a secondary storage file control table 10 which controls the empty records of the secondary storage files, and a secondary storage file group assigning means 7 which assigns secondary file group identifiers 2 having the identification numbers of the secondary storage file groups to the job at the start of the job; and the secondary storage files for paging are assigned by the secondary storage file group identifiers 2, page descriptors 4, the secondary file group control table 9, and secondary storage file control table 10 to increase the total number of the records of the secondary storage files which can be assigned over the whole system.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、ぺージングによる仮想
記憶管理を実装するシステムにおけるぺージング用二次
記憶レコードの割り当てシステムに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a paging secondary storage record allocation system in a system for implementing paging virtual storage management.

【0002】[0002]

【従来の技術】従来、ぺージングによる仮想記憶管理を
実装するシステムにおいては、ぺージング用二次記憶レ
コードの割り当てをページ記述子と二次記憶ファイル管
理テーブルとのみで行なっており、システム全体で割り
当て可能な二次記憶ファイルの総レコード数は、ページ
記述子のデータ長に基づいて定められていた。
2. Description of the Related Art Conventionally, in a system that implements virtual memory management by paging, secondary storage records for paging are allocated only by a page descriptor and a secondary storage file management table, and The total number of records that can be allocated in the secondary storage file has been determined based on the data length of the page descriptor.

【0003】[0003]

【発明が解決しようとする課題】上述した従来のぺージ
ング用二次記憶レコードの割り当てシステムにおいて
は、ぺージング用二次記憶レコードの割り当てをページ
記述子と二次記憶ファイル管理テーブルとのみで行なっ
ていたため、システム全体で割り当て可能な二次記憶フ
ァイルの総レコード数は、ページ記述子のビット数で制
限されているという問題があった。
In the conventional paging secondary storage record allocation system described above, the paging secondary storage record is allocated only by the page descriptor and the secondary storage file management table. Therefore, there is a problem that the total number of records in the secondary storage file that can be allocated in the entire system is limited by the number of bits of the page descriptor.

【0004】本発明は、上記の問題点にかんがみてなさ
れたもので、システム全体で割り当て可能な二次記憶フ
ァイルの総レコード数を拡大するぺージング用二次記憶
レコードの割り当てシステムの提供を目的とする。
The present invention has been made in view of the above problems, and an object of the present invention is to provide a secondary storage record allocation system for paging that expands the total number of secondary storage file records that can be allocated in the entire system. And

【0005】[0005]

【課題を解決するための手段】上記目的を達成するため
本発明のぺージング用二次記憶レコードの割り当てシス
テムは、ぺージングによる仮想記憶管理を実装するシス
テムにおいて、ジョブごとにジョブがぺージング用に使
用する二次記憶ファイル群ごとに空きレコード数を管理
する二次記憶ファイル群管理テーブルと、二次記憶ファ
イルの空きレコードを管理する二次記憶ファイル管理テ
ーブルと、ジョブ開始時に、二次記憶ファイル群管理テ
ーブルにより、ジョブに上記二次記憶ファイル群の識別
番号を持つ二次記憶ファイル群識別子を割り当てる二次
記憶ファイル群割り当て手段と、ページアウト時に、二
次記憶ファイル群識別子と二次記憶ファイル群管理テー
ブルと二次記憶ファイル管理テーブルとにより、ページ
に空きレコードを割り当てる二次記憶割り当て手段と、
ページイン時に、二次記憶ファイル群識別子とページ記
述子とにより、ページに割り当てられているレコードを
求める二次記憶アドレス取得手段とを含む構成としてあ
る。
In order to achieve the above object, the paging secondary storage record allocation system of the present invention is a system for implementing virtual storage management by paging. The secondary storage file group management table that manages the number of empty records for each secondary storage file group that is used for backup, the secondary storage file management table that manages the empty records in the secondary storage file, and the secondary storage when the job starts A secondary storage file group assigning unit that assigns a secondary storage file group identifier having the identification number of the secondary storage file group to the job using the file group management table, and a secondary storage file group identifier and a secondary storage at the time of page-out. The file group management table and the secondary storage file management table are used to fill the page with empty records. A secondary storage allocation means shed Ri,
At the time of page-in, the secondary storage file group identifier and the page descriptor are used to include a secondary storage address acquisition unit that obtains a record assigned to a page.

【0006】[0006]

【作用】上記構成からなるぺージング用二次記憶レコー
ドの割り当てシステムによれば、ジョブ開始時に、二次
記憶ファイル群管理テーブルにより、ジョブに二次記憶
ファイル群識別子を割り当て、ページアウト時に、二次
記憶ファイル群識別子と二次記憶ファイル群管理テーブ
ルと二次記憶ファイル管理テーブルとにより、ページに
空きレコードを割り当てる。また、ページイン時に、二
次記憶ファイル群識別子とページ記述子とにより、ペー
ジに割り当てられているレコードを求める。
According to the paging secondary storage record allocating system configured as described above, the secondary storage file group identifier is allocated to the job by the secondary storage file group management table at the start of the job, and the secondary storage file group identifier is allocated at the time of page-out. An empty record is assigned to a page by the secondary storage file group identifier, the secondary storage file group management table, and the secondary storage file management table. Further, at the time of page-in, the record assigned to the page is obtained from the secondary storage file group identifier and the page descriptor.

【0007】[0007]

【実施例】以下、本発明の実施例について図面を参照し
て説明する。図1は本発明の一実施例を示すブロック構
成図である。本実施例は、ぺージングによる仮想記憶管
理を実装するシステムにおけるぺージング用二次記憶レ
コードの割り当てシステムである。
Embodiments of the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram showing an embodiment of the present invention. The present embodiment is a paging secondary storage record allocation system in a system that implements virtual storage management by paging.

【0008】図において、1はジョブ、2はジョブ1が
ぺージング用に使用する二次記憶ファイル群の識別番号
を持つ二次記憶ファイル群識別子、5はページに割り当
てられている二次記憶ファイルを示すファイル識別子、
6はページに割り当てられているレコードのファイル内
レコード番号、4はファイル識別子5とファイル内レコ
ード番号6とを含むページ記述子である。
In the figure, 1 is a job, 2 is a secondary storage file group identifier having an identification number of a secondary storage file group used by job 1 for paging, and 5 is a secondary storage file assigned to a page. File identifier,
Reference numeral 6 is a record number in a file of a record assigned to a page, and 4 is a page descriptor including a file identifier 5 and a record number 6 in a file.

【0009】9は二次記憶ファイル群ごとに空きレコー
ド数を管理する二次記憶ファイル群管理テーブル、10
は二次記憶ファイルの空きレコードを管理する二次記憶
ファイル管理テーブル、11は二次記憶ファイル、12
は二次記憶ファイル11内のレコードである。
Reference numeral 9 denotes a secondary storage file group management table for managing the number of empty records for each secondary storage file group, 10
Is a secondary storage file management table for managing empty records in the secondary storage file, 11 is a secondary storage file, 12
Is a record in the secondary storage file 11.

【0010】3はジョブ1開始時に、二次記憶ファイル
群管理テーブル9により、ジョブ1に二次記憶ファイル
群識別子2を割り当てる二次記憶ファイル群割り当て手
段、7はページアウト時に、二次記憶ファイル群識別子
2と二次記憶ファイル群管理テーブル9と二次記憶ファ
イル管理テーブル10とにより、ページ記述子4に空き
レコード12を割り当てる二次記憶割り当て手段、8は
ページイン時に、二次記憶ファイル群識別子2とページ
記述子4とにより、ページに割り当てられているレコー
ド12を求める二次記憶アドレス取得手段である。
Reference numeral 3 denotes a secondary storage file group allocating means for allocating the secondary storage file group identifier 2 to the job 1 according to the secondary storage file group management table 9 at the start of the job 1, and 7 denotes the secondary storage file at the time of page-out. Secondary storage allocation means for allocating an empty record 12 to the page descriptor 4 by the group identifier 2, the secondary storage file group management table 9 and the secondary storage file management table 10, and 8 a secondary storage file group at the time of page-in It is a secondary storage address acquisition means for obtaining the record 12 assigned to a page by the identifier 2 and the page descriptor 4.

【0011】本発明の実施例の特徴は、図1において、
ぺージング用二次記憶レコードの割り当てを、二次記憶
ファイル群識別子2とページ記述子4と二次記憶ファイ
ル群管理テーブル9と二次記憶ファイル管理テーブル1
0とで行なうことにより、システム全体で割り当て可能
な二次記憶ファイルの総レコード数を拡大することにあ
る。
The feature of the embodiment of the present invention is that in FIG.
Secondary storage file group identifier 2, page descriptor 4, secondary storage file group management table 9 and secondary storage file management table 1 are assigned to the secondary storage record for paging.
This is to increase the total number of records in the secondary storage file that can be allocated in the entire system.

【0012】次に、本発明の実施例の動作について、図
面を参照して説明する。図2は、ジョブ1の開始時にジ
ョブ1に二次記憶ファイル群識別子2を割り当てるため
の流れ図である。
Next, the operation of the embodiment of the present invention will be described with reference to the drawings. FIG. 2 is a flow chart for assigning the secondary storage file group identifier 2 to the job 1 at the start of the job 1.

【0013】まず、システムに存在するすべての二次記
憶ファイル群管理テーブル9を参照し、ジョブ1の実行
に必要な空きレコード数を持つファイル群をさがす(ス
テップ21)。ステップ21の結果、条件を満たすファ
イル群があれば、ジョブ1のファイル群識別子2を設定
する(ステップ23)。ステップ21の結果、条件を満
たすファイル群がなければ、二次記憶ファイル群の割り
当て失敗とする(ステップ25)。
First, all the secondary storage file group management tables 9 existing in the system are referred to, and the file group having the number of empty records required for executing the job 1 is searched (step 21). If there is a file group that satisfies the condition as a result of step 21, the file group identifier 2 of job 1 is set (step 23). As a result of step 21, if there is no file group satisfying the condition, it is determined that the secondary storage file group has not been allocated (step 25).

【0014】図3は、ページアウト時にページに空きレ
コード12を割り当てるための流れ図である。まず、ジ
ョブ1の二次記憶ファイル群識別子2を取得する(ステ
ップ31)。次に、ステップ31で取得した二次記憶フ
ァイル群識別子2に対応する二次記憶ファイル群管理テ
ーブルを参照し、未使用のレコードが存在する二次記憶
ファイル管理テーブル10をさがす(ステップ32)。
FIG. 3 is a flow chart for allocating an empty record 12 to a page at page-out. First, the secondary storage file group identifier 2 of job 1 is acquired (step 31). Next, the secondary storage file group management table corresponding to the secondary storage file group identifier 2 acquired in step 31 is referred to, and the secondary storage file management table 10 in which an unused record exists is searched (step 32).

【0015】次に、ステップ32でさがした二次記憶フ
ァイル管理テーブル10に対応するファイル識別子5を
ページ記述子4に設定する(ステップ33)。次に、ス
テップ32でさがした二次記憶ファイル管理テーブル1
0を参照し、未使用のレコード12をさがす(ステップ
34)。最後に、ステップ34でさがした未使用のレコ
ード12に対応するファイル内レコード番号6をページ
記述子4に設定する(ステップ35)。
Next, the file identifier 5 corresponding to the secondary storage file management table 10 found in step 32 is set in the page descriptor 4 (step 33). Next, the secondary storage file management table 1 found in step 32
The unused record 12 is searched for by referring to 0 (step 34). Finally, the in-file record number 6 corresponding to the unused record 12 found in step 34 is set in the page descriptor 4 (step 35).

【0016】図4は、ページイン時にページに割り当て
られているレコード12を求めるための流れ図である。
まず、ジョブ1の二次記憶ファイル群識別子2を取得す
る(ステップ41)。次に、ページ記述子4内のファイ
ル識別子5を取得する(ステップ42)。次に、ステッ
プ41で取得した二次記憶ファイル群識別子2に対応す
る二次記憶ファイル群管理テーブル9を参照し、ステッ
プ42で取得したファイル識別子5に対応する二次記憶
ファイル管理テーブル10をさがす(ステップ43)。
FIG. 4 is a flow chart for obtaining the record 12 assigned to a page at the time of page-in.
First, the secondary storage file group identifier 2 of job 1 is acquired (step 41). Next, the file identifier 5 in the page descriptor 4 is acquired (step 42). Next, referring to the secondary storage file group management table 9 corresponding to the secondary storage file group identifier 2 acquired in step 41, the secondary storage file management table 10 corresponding to the file identifier 5 acquired in step 42 is searched. (Step 43).

【0017】次に、ステップ43でさがした二次記憶フ
ァイル管理テーブル10を参照し、二次記憶ファイル1
1を決定する(ステップ44)。次に、ページ記述子4
内のファイル内レコード番号6を取得する(ステップ4
5)。最後に、ステップ45で取得したファイル内レコ
ード番号6に対応するレコード12をさがす(ステップ
46)。
Next, referring to the secondary storage file management table 10 found in step 43, the secondary storage file 1
1 is determined (step 44). Next, page descriptor 4
Acquire the record number 6 in the file in the file (step 4
5). Finally, the record 12 corresponding to the in-file record number 6 acquired in step 45 is searched (step 46).

【0018】[0018]

【発明の効果】以上説明したように、本発明のぺージン
グ用二次記憶レコードの割り当てシステムによれば、ぺ
ージング用二次記憶レコードの割り当てを、二次記憶フ
ァイル群識別子とページ記述子と二次記憶ファイル群管
理テーブルと二次記憶ファイル管理テーブルとで行なう
ことにより、システム全体で割り当て可能な二次記憶フ
ァイルの総レコード数を拡大することができるという効
果がある。
As described above, according to the paging secondary storage record allocation system of the present invention, the paging secondary storage record is allocated by using the secondary storage file group identifier and the page descriptor. By using the secondary storage file group management table and the secondary storage file management table, it is possible to increase the total number of records of secondary storage files that can be allocated in the entire system.

【図面の簡単な説明】[Brief description of drawings]

【図1】本発明の一実施例に係るぺージング用二次記憶
レコードの割り当てシステムを示すブロック構成図であ
る。
FIG. 1 is a block diagram showing a system for allocating a secondary storage record for paging according to an embodiment of the present invention.

【図2】ジョブ開始時にジョブに二次記憶ファイル群識
別子を割り当てるための流れ図である。
FIG. 2 is a flowchart for assigning a secondary storage file group identifier to a job at the start of the job.

【図3】ページアウト時にページに空きレコードを割り
当てるための流れ図である。
FIG. 3 is a flowchart for allocating an empty record to a page at the time of page-out.

【図4】ページイン時にページに割り当てられているレ
コードを求めるための流れ図である。
FIG. 4 is a flowchart for obtaining a record assigned to a page at page-in.

【符号の説明】[Explanation of symbols]

1 ジョブ 2 二次記憶ファイル群識別子 3 二次記憶ファイル群割り当て手段 4 ページ記述子 5 ファイル識別子 6 ファイル内レコード番号 7 二次記憶割り当て手段 8 二次記憶アドレス取得手段 9 二次記憶ファイル群管理テーブル 10 二次記憶ファイル管理テーブル 11 二次記憶ファイル 12 レコード 1 Job 2 Secondary Storage File Group Identifier 3 Secondary Storage File Group Allocation Means 4 Page Descriptor 5 File Identifier 6 File Record Number 7 Secondary Storage Allocation Means 8 Secondary Storage Address Acquisition Means 9 Secondary Storage File Group Management Table 10 secondary storage file management table 11 secondary storage file 12 record

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 ぺージングによる仮想記憶管理を実装す
るシステムにおいて、ジョブごとにジョブがぺージング
用に使用する二次記憶ファイル群ごとに空きレコード数
を管理する二次記憶ファイル群管理テーブルと、二次記
憶ファイルの空きレコードを管理する二次記憶ファイル
管理テーブルと、ジョブ開始時に、二次記憶ファイル群
管理テーブルにより、ジョブに上記二次記憶ファイル群
の識別番号を持つ二次記憶ファイル群識別子を割り当て
る二次記憶ファイル群割り当て手段と、ページアウト時
に、二次記憶ファイル群識別子と二次記憶ファイル群管
理テーブルと二次記憶ファイル管理テーブルとにより、
ページに空きレコードを割り当てる二次記憶割り当て手
段と、ページイン時に、二次記憶ファイル群識別子とペ
ージ記述子とにより、ページに割り当てられているレコ
ードを求める二次記憶アドレス取得手段とを含むことを
特徴とするぺージング用二次記憶レコードの割り当てシ
ステム。
1. A system for implementing virtual storage management by paging, a secondary storage file group management table for managing the number of free records for each secondary storage file group used by jobs for paging, A secondary storage file management table that manages empty records in the secondary storage file and a secondary storage file group identifier that has the above-mentioned secondary storage file group identification number for the job by the secondary storage file group management table at the start of the job. By means of the secondary storage file group assigning means for allocating, and the secondary storage file group identifier, the secondary storage file group management table, and the secondary storage file management table at page-out
A secondary storage allocating unit that allocates an empty record to a page, and a secondary storage address acquisition unit that obtains a record allocated to a page by a secondary storage file group identifier and a page descriptor at the time of page-in. A characteristic secondary storage record allocation system for paging.
JP4086516A 1992-03-10 1992-03-10 Assignment system for secondary storage record for paging Pending JPH05257802A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4086516A JPH05257802A (en) 1992-03-10 1992-03-10 Assignment system for secondary storage record for paging

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4086516A JPH05257802A (en) 1992-03-10 1992-03-10 Assignment system for secondary storage record for paging

Publications (1)

Publication Number Publication Date
JPH05257802A true JPH05257802A (en) 1993-10-08

Family

ID=13889156

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4086516A Pending JPH05257802A (en) 1992-03-10 1992-03-10 Assignment system for secondary storage record for paging

Country Status (1)

Country Link
JP (1) JPH05257802A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8045266B2 (en) 2005-11-16 2011-10-25 Shoichi Nakamura Binocular loupe

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8045266B2 (en) 2005-11-16 2011-10-25 Shoichi Nakamura Binocular loupe

Similar Documents

Publication Publication Date Title
EP0757816B1 (en) Method and system for allocation of address space in a virtual memory system
US5454103A (en) Method and apparatus for file storage allocation for secondary storage using large and small file blocks
US4991082A (en) Virtual storage system and method permitting setting of the boundary between a common area and a private area at a page boundary
GB2265734A (en) Free memory cell management system
EP0892351A1 (en) Large memory allocation method and apparatus
US10649967B2 (en) Memory object pool use in a distributed index and query system
JPH05257802A (en) Assignment system for secondary storage record for paging
JPH01191221A (en) Dynamic assignment managing system for magnetic disk area
JPH05216758A (en) System for allocating second-order storage record for paging
JPS62163154A (en) Virtual logic volume system
JPH05189282A (en) Secondary storage file assigning system classified by job class
JPH026094B2 (en)
JP2833813B2 (en) Assignment method of different magnetic disk files
JP2969776B2 (en) Data identification method
JPH03127137A (en) File area allocating system
JPS6364146A (en) Logical space control system
JP2743857B2 (en) Data area management system for area shared files
JPH0644140A (en) Allocation system for memory
JPH02193231A (en) File space free area management system
JPS62154149A (en) Control system for data area allocation of area shared file
JPH01175040A (en) Area allocation system
JPH02306331A (en) Dynamic block acquisition method with physical continuity
JPH03245234A (en) Memory area allocating method
JP2000347939A (en) System and method for managing memory
JPH0244438A (en) File area allocation system