JPH01162920A - Segment input/output system - Google Patents

Segment input/output system

Info

Publication number
JPH01162920A
JPH01162920A JP62320904A JP32090487A JPH01162920A JP H01162920 A JPH01162920 A JP H01162920A JP 62320904 A JP62320904 A JP 62320904A JP 32090487 A JP32090487 A JP 32090487A JP H01162920 A JPH01162920 A JP H01162920A
Authority
JP
Japan
Prior art keywords
segment
fixed head
magnetic disk
disk device
area
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.)
Granted
Application number
JP62320904A
Other languages
Japanese (ja)
Other versions
JPH0795257B2 (en
Inventor
Atsuko Shirahama
白濱 敦子
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 JP62320904A priority Critical patent/JPH0795257B2/en
Publication of JPH01162920A publication Critical patent/JPH01162920A/en
Publication of JPH0795257B2 publication Critical patent/JPH0795257B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Abstract

PURPOSE:To apply a virtual memory system without deteriorating an overall system performance by eliminating the seeking time out of the input/output I/O queuing time to a designated segment and reducing the I/O queuing time. CONSTITUTION:A primary part of a segment input/output system is constituted of a magnetic disk device 1 containing a fixed head, a program file 2, a segment name storing file 3, an input/output means 4, a loading means 5, a segment name input means 6, a segment name input means 6, a segment name register means 7, a main memory unit 8, and a segment information storing area 9. The I/O operations of segments are carried out by means of the fixed head area of the device 1. Thus the seaking time of the I/O queuing time of the device 1 is eliminated to a designated segment. As a result, the application of a virtual memory system is attained without deteriorating the overall system performance.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明はセグメント入出力方式に関し、特に仮想記憶方
式を採用しているオペレーティングシステムがメインメ
モリユニットからセグメントを退避させる補助記憶装置
として固定ヘッド付き磁気ディスク装置を割り当てて運
用を行っている計算機システム(以下、単にシステムと
称する)におけるセグメント入出力方式に関する。
[Detailed Description of the Invention] [Field of Industrial Application] The present invention relates to a segment input/output method, and in particular, the present invention relates to a segment input/output method. The present invention relates to a segment input/output method in a computer system (hereinafter simply referred to as a system) that is operated by allocating a magnetic disk device.

〔従来の技術〕[Conventional technology]

従来、この種のセグメント入出力方式では、セグメント
を退避させる補助記憶装置として固定ヘッド付き磁気デ
ィスク装置を使用している場合でも、固定ヘッド付き磁
気ディスク装置であることを意識したセグメントの入出
力は行ってぃながった。
Conventionally, in this type of segment input/output method, even when a fixed head magnetic disk device is used as an auxiliary storage device for saving segments, segment input/output is performed while being aware that it is a fixed head magnetic disk device. I went there.

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

上述した従来のセグメント入出力方式では、セグメント
の退避領域として固定ヘッド付き磁気ディスク装置の任
意の空き領域をランダムに割り当てていたので、セグメ
ントの退避および復元時にヘッドのシーク時間と回転待
ち時間とが物理的な入出力(Ilo)待ち時間として増
加するという欠点がある。
In the conventional segment input/output method described above, an arbitrary free area of a magnetic disk device with a fixed head is randomly allocated as a segment save area, so the head seek time and rotational wait time are reduced when saving and restoring segments. It has the disadvantage of increased physical input/output (Ilo) latency.

特に、メインメモリユニットに空きがなくなり混雑して
くるとともに110回数が増加してくるので、全体のI
10待ち時間が増加してシステム全体の性能を悪化させ
るという欠点がある。
In particular, as the main memory unit becomes full and congested, the number of 110 times increases, so the overall I
This method has the drawback of increasing the waiting time and deteriorating the overall system performance.

本発明の目的は、上述の点に鑑み、あらかじめ指定した
セグメントを固定ヘッド付き磁気ディスク装置の固定ヘ
ッドに対応する領域(以下、固定ヘッド領域と称する)
に退避させることにより、あらかじめ指定したセグメン
トに対する110待ち時間のうちのシーク時間を消失さ
せて、I10待ち時間を減少させるようにしたセグメン
ト入出力方式を提供することにある。
In view of the above-mentioned points, an object of the present invention is to convert a pre-specified segment into an area corresponding to a fixed head of a magnetic disk device with a fixed head (hereinafter referred to as a fixed head area).
An object of the present invention is to provide a segment input/output method that reduces the I10 waiting time by eliminating the seek time of the 110 waiting time for a prespecified segment by saving the I10 waiting time.

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

本発明のセグメント入出力方式は、仮想記憶方式を採用
しているオペレーティングシステムがメインメモリユニ
ットからセグメントを退避させる補助記憶装置として固
定ヘッド付き磁気ディスク装置を割り当てて運用を行っ
ている計算機システムにおいて、プログラムが格納され
ているプログラムファイルと、プログラムを構成するセ
グメントのうちの前記固定ヘッド付き磁気ディスク装置
の固定ヘッド領域に格納すべきセグメントのセグメント
名を登録するセグメント名登録手段と、このセグメント
名登録手段により登録されたセグメント名を格納してお
くセグメント名格納ファイルと、このセグメント名格納
ファイルから前記固定ヘッド領域に格納すべきセグメン
トのセグメント名を入力するセグメント名入力手段と、
前記固定ヘッド付き磁気ディスク装置のどこにセグメン
トを退避したかを記憶するセグメント情報格納領域と、
前記メインメモリユニットへのプログラムのロード時に
前記プログラムファイルから読み込んだプログラム中の
セグメントが前記セグメント名入力手段により得られた
セグメント名と一致するセグメント名のセグメントであ
れば前記固定ヘッド領域に格納すると同時にセグメント
名、磁気ディスク装置アドレスおよびセグメントが前記
固定ヘッド領域に格納されたことを示す固定ヘッド領域
格納フラグを前記セグメント情報格納領域に書き込むロ
ード手段と、前記メインメモリユニットから前記固定ヘ
ッド付き磁気ディスク装置にセグメントを退避させる場
合に前記セグメント情報格納領域を参照して前記固定ヘ
ッド領域格納フラグに基づいて前記固定ヘッド領域に格
納すべきセグメントであれば前記磁気ディスク装置アド
レスをそのまま使用して前記固定ヘッド付き磁気ディス
ク装置の前記固定ヘッド領域に退避させ前記固定ヘッド
領域に格納すべきセグメント以外のセグメントであれば
前記固定ヘッド付き磁気ディスク装置の空き領域に退避
させて前記磁気ディスク装置アドレスを更新し前記固定
ヘッド付き磁気ディスク装置から前記メインメモリユニ
ットにセグメントを復元する場合に前記セグメント情報
格納領域を参照して前記固定ヘッド付き磁気ディスク装
置の前記磁気ディスク装置アドレスからセグメントを前
記メインメモリユニットに復元する入出力手段とを有す
る。
The segment input/output method of the present invention is applicable to a computer system in which an operating system that employs a virtual memory method allocates a magnetic disk device with a fixed head as an auxiliary storage device to save segments from a main memory unit. A segment name registration means for registering a program file in which a program is stored, a segment name of a segment that is to be stored in the fixed head area of the fixed head magnetic disk device among the segments constituting the program, and this segment name registration. a segment name storage file for storing the segment name registered by the means; a segment name input means for inputting the segment name of the segment to be stored in the fixed head area from the segment name storage file;
a segment information storage area for storing where in the fixed head magnetic disk device the segment has been saved;
If a segment in the program read from the program file when loading the program into the main memory unit has a segment name that matches the segment name obtained by the segment name input means, it is stored in the fixed head area at the same time. loading means for writing into the segment information storage area a segment name, a magnetic disk device address, and a fixed head area storage flag indicating that the segment has been stored in the fixed head area; When saving a segment, the segment information storage area is referred to, and if the segment should be stored in the fixed head area based on the fixed head area storage flag, the magnetic disk device address is used as is and the fixed head is saved. If the segment is other than the segment to be stored in the fixed head area, the segment is evacuated to the free area of the magnetic disk drive with a fixed head and the magnetic disk drive address is updated. When restoring a segment from the fixed head magnetic disk device to the main memory unit, the segment information storage area is referred to and the segment is restored from the magnetic disk device address of the fixed head magnetic disk device to the main memory unit. and input/output means for restoring.

〔作用〕[Effect]

本発明のセグメント入出力方式では、プログラムファイ
ルにプログラムが格納されており、セグメント名登録手
段がプログラムを構成するセグメントのうちの固定ヘッ
ド付き磁気ディスク装置の固定ヘッド領域に格納すべき
セグメントのセグメント名を登録し、セグメント名格納
ファイルがセグメント名登録手段により登録されたセグ
メント名を格納しておき、セグメント名入力手段がセグ
メント名格納ファイルから固定ヘッド領域に格納すべき
セグメントのセグメント名を入力し、セグメント情報格
納領域が固定ヘッド付き磁気ディスク装置のどこにセグ
メントを退避したかを記憶し、ロード手段がメインメモ
リユニットへのプログラムのロード時にプログラムファ
イルから読み込んだプログラム中のセグメントがセグメ
ント名入力手段により得られたセグメント名と一致する
セグメント名のセグメントであれば固定ヘッド領域に格
納すると同時にセグメント名、磁気ディスク装置アドレ
スおよびセグメントが固定ヘッド領域に格納されたこと
を示す固定ヘッド領域格納フラグをセグメント情報格納
領域に書き込み、入出力手段がメインメモリユニットか
ら固定ヘッド付き磁気ディスク装置にセグメントを退避
させる場合にセグメント情報格納領域を参照して固定ヘ
ッド領域格納フラグに基づいて固定ヘッド領域に格納す
べきセグメントであれば磁気ディスク装置アドレスをそ
のまま使用して固定ヘッド付き磁気ディスク装置の固定
ヘッド領域に退避させ固定ヘッド領域に格納すべきセグ
メント以外のセグメントであれば固定ヘッド付き磁気デ
ィスク装置の空き領域に退避させて磁気ディスク装置ア
ドレスを更新し固定ヘッド付き磁気ディスク装置からメ
インメモリユニットにセグメントを復元する場合にセグ
メント情報格納領域を参照して固定ヘッド付き磁気ディ
スク装置の磁気ディスク装■アドレスからセグメントを
メインメモリユニットに復元する。
In the segment input/output method of the present invention, a program is stored in a program file, and the segment name registration means specifies the segment name of the segment that is to be stored in the fixed head area of a magnetic disk device with a fixed head, among the segments constituting the program. the segment name storage file stores the segment name registered by the segment name registration means, the segment name input means inputs the segment name of the segment to be stored in the fixed head area from the segment name storage file, The segment information storage area memorizes where in the fixed head magnetic disk device the segment has been saved, and when the loading means loads the program into the main memory unit, the segment name input means obtains the segment in the program read from the program file. If the segment has a segment name that matches the specified segment name, it will be stored in the fixed head area, and at the same time the segment name, magnetic disk device address, and fixed head area storage flag indicating that the segment has been stored in the fixed head area will be stored as segment information. When the input/output means saves a segment from the main memory unit to a magnetic disk device with a fixed head, it refers to the segment information storage area and selects the segment that should be stored in the fixed head area based on the fixed head area storage flag. If there is, it is evacuated to the fixed head area of the magnetic disk device with a fixed head using the magnetic disk device address as is.If the segment is not a segment that should be stored in the fixed head area, it is evacuated to the free area of the magnetic disk device with a fixed head. When restoring a segment from a magnetic disk device with a fixed head to the main memory unit by updating the magnetic disk device address, refer to the segment information storage area and restore the segment from the address of the magnetic disk device of the magnetic disk device with a fixed head to the main memory unit. Restore to unit.

〔実施例〕〔Example〕

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

第1図は、本発明のセグメント入出力方式の一実施例の
構成を示すブロック図である0本実施例のセグメント入
出力方式は、固定ヘッド付き磁気ディスク装置lと、プ
ログラムファイル2と、セグメント名格納ファイル3と
、入出力手段4と、ロード手段5と、セグメント名入力
手段6と、セグメント名登録手段7と、メインメモリユ
ニット8と、セグメント情報格納領域9とから、その主
要部が構成されている。
FIG. 1 is a block diagram showing the configuration of an embodiment of the segment input/output method of the present invention. Its main parts are composed of a name storage file 3, an input/output means 4, a loading means 5, a segment name input means 6, a segment name registration means 7, a main memory unit 8, and a segment information storage area 9. has been done.

固定ヘッド付き磁気ディスク装置lには、固定ヘッド領
域に対応する固定ヘッド1.1と、固定ヘッド領域以外
の領域に対応する可動ヘッド12とが設けられている。
A magnetic disk device l with a fixed head is provided with a fixed head 1.1 corresponding to a fixed head area and a movable head 12 corresponding to an area other than the fixed head area.

セグメント情報格納領域9には、セグメント名91と、
固定ヘッド領域格納フラグ92と、磁気ディスク装置ア
ドレス93とが複数組登録されるようになっている。固
定ヘッド領域格納フラグ92は、セグメントが固定ヘッ
ド領域に格納されるべきセグメントのときにオン(“1
”)、それ以外のセグメントのときにオフ(“0′)に
設定されるフラグである。
The segment information storage area 9 contains segment names 91 and
A plurality of sets of fixed head area storage flags 92 and magnetic disk device addresses 93 are registered. The fixed head area storage flag 92 is turned on (“1”) when the segment is a segment that should be stored in the fixed head area.
”), this flag is set to off (“0′) for other segments.

第2図を参照すると、セグメント名登録手段7の処理は
、セグメント名取得ステップ21と、セグメント名登録
ステップ22とからなる。
Referring to FIG. 2, the processing of the segment name registration means 7 consists of a segment name acquisition step 21 and a segment name registration step 22.

第3図を参照すると、セグメント名入力手段6の処理は
、セグメント名取出しステップ31と、セグメント名引
渡しステップ32とからなる。
Referring to FIG. 3, the processing of the segment name input means 6 consists of a segment name extraction step 31 and a segment name delivery step 32.

第4図を参照すると、ロード手段5の処理は、セグメン
ト名入力手段起動ステップ41と、セグメント入力ステ
ップ42と、固定ヘッド領域格納判定ステップ43と、
固定ヘッド領域格納ステップ44と、固定ヘッド領域格
納可否判定ステップ45と、セグメント名、固定ヘッド
領域格納フラグおよび磁気ディスク装置アドレス登録ス
テップ46と、セグメント名登録ステップ47と、セグ
メントメインメモリユニットロードステップ48と、セ
グメント終了判定ステップ49とからなる。
Referring to FIG. 4, the processing of the loading means 5 includes a segment name input means activation step 41, a segment input step 42, a fixed head area storage determination step 43,
Fixed head area storage step 44, Fixed head area storage availability determining step 45, Segment name, fixed head area storage flag and magnetic disk device address registration step 46, Segment name registration step 47, Segment main memory unit loading step 48 and a segment end determination step 49.

第5図を参照すると、入出力手段4のセグメント復元時
の処理は、磁気ディスク装置アドレス取得ステップ51
と、セグメントメインメモリユニットロード(復元)ス
テップ52とからなる。
Referring to FIG. 5, the processing at the time of segment restoration by the input/output means 4 includes the magnetic disk device address acquisition step 51.
and a segment main memory unit load (restore) step 52.

第6図を参照すると、入出力手段4のセグメント退避時
の処理は、固定ヘッド領域格納フラグ判定ステップ61
と、セグメント空き領域格納ステップ62と、磁気ディ
スク装置アドレス登録ステップ63と、セグメント固定
ヘッド領域格納ステップ64とからなる。
Referring to FIG. 6, the process performed by the input/output means 4 when retracting a segment includes a fixed head area storage flag determination step 61.
, a segment free area storage step 62 , a magnetic disk device address registration step 63 , and a segment fixed head area storage step 64 .

次に、このように構成された本実施例のセグメント人出
力方式の動作について説明する。
Next, the operation of the segment person output method of this embodiment configured as described above will be explained.

プログラムファイル2からメインメモリユニット8への
プログラムのロード開始以前に、セグメント名登録手段
7は、プログラムファイル2中のプログラムを構成する
セグメントのうちの固定ヘッド付き磁気ディスク装置l
の固定ヘッド領域に格納すべきセグメント塩を入力しく
ステップ21)、セグメント名格納ファイル3に登録す
る(ステップ22)。
Before starting loading of the program from the program file 2 to the main memory unit 8, the segment name registration means 7 registers the fixed head magnetic disk device l of the segments constituting the program in the program file 2.
The segment salt to be stored in the fixed head area is input (step 21) and registered in the segment name storage file 3 (step 22).

プログラムファイル2からメインメモリユニット8への
プログラムのロードためにロード手段5が起動されると
、ロード手段5は、まずセグメント名入力手段6を起動
する(ステップ41)。
When the loading means 5 is activated to load the program from the program file 2 to the main memory unit 8, the loading means 5 first activates the segment name input means 6 (step 41).

起動されたセグメント名入力手段6は、セグメント名格
納ファイル3から固定ヘッド付き磁気ディスク装置1の
固定ヘッド領域に格納すべきセグメントのセグメント塩
を取り出しくステップ31)、取り出したセグメント塩
をロード手段5に引き渡す(ステップ32)。
The activated segment name input means 6 extracts the segment salt of the segment to be stored in the fixed head area of the fixed head magnetic disk device 1 from the segment name storage file 3 (step 31), and loads the extracted segment salt into the load means 5. (step 32).

次に、ロード手段5は、プログラムファイル2に格納さ
れたプログラム中のセグメントを1つ読み込み(ステッ
プ42)、読み込んだセグメントのセグメント塩と固定
ヘッド領域に格納すべきセグメントのセグメント塩とを
比較し、固定ヘッド領域に格納すべきセグメントである
かどうかを判定する(ステップ43)。固定ヘッド領域
に格納すべきセグメントであれば、ロード手段5は、セ
グメントが実際に固定ヘッド付き磁気ディスク装置lの
固定ヘッド領域に書き込めるかどうかを確認するために
、セグメントを固定ヘッド付き磁気ディスク装置lの固
定ヘッド領域に書き込む(ステップ44)、続いて、セ
グメントが固定ヘッド領域に格納できたかどうかを判定
しくステップ45)、セグメントが固定ヘッド領域に格
納できた場合には、ロード手段5は、セグメント情報格
納領域9に、格納したセグメントのセグメント塩91と
、セグメントを固定ヘッド領域に格納したことを示す(
オンの)固定ヘッド格納フラグ92と、セグメントを書
き込んだ固定ヘッド領域の磁気ディスク装置アドレス9
3とを登録する(ステップ46)。
Next, the loading means 5 reads one segment in the program stored in the program file 2 (step 42), and compares the segment salt of the read segment with the segment salt of the segment to be stored in the fixed head area. , it is determined whether the segment should be stored in the fixed head area (step 43). If the segment is to be stored in the fixed head area, the loading means 5 stores the segment in the fixed head magnetic disk apparatus l in order to check whether the segment can actually be written in the fixed head area of the fixed head magnetic disk apparatus l. (step 44), and then it is determined whether the segment can be stored in the fixed head area (step 45). If the segment can be stored in the fixed head area, the loading means 5: In the segment information storage area 9, the segment salt 91 of the stored segment and the segment salt 91 indicating that the segment has been stored in the fixed head area (
(on) fixed head storage flag 92 and the magnetic disk device address 9 of the fixed head area where the segment was written.
3 (step 46).

ステップ43で固定ヘッド領域に格納すべきセグメント
でない場合およびステップ45でセグメントを固定ヘッ
ド領域に格納できなかった場合には、ロード手段5はセ
グメント情報格納領域9にセグメント塩91だけを登録
する(ステップ47)。
If the segment is not to be stored in the fixed head area in step 43 and if the segment cannot be stored in the fixed head area in step 45, the loading means 5 registers only the segment salt 91 in the segment information storage area 9 (step 47).

続いて、ロード手段5は、セグメントをメインメモリユ
ニット8にロードしくステップ48)、プログラム中の
セグメントが終了したかどうかを判定する(ステップ4
9)、セグメントが終了していない場合には、ステップ
42に戻ってセグメントが終了するまで処理を繰り返し
、セグメントが終了するとロード手段5は処理を終了す
る。
Subsequently, the loading means 5 loads the segment into the main memory unit 8 (step 48), and determines whether the segment in the program is finished (step 4).
9) If the segment has not ended, the process returns to step 42 and the process is repeated until the segment ends, and when the segment ends, the loading means 5 ends the process.

次に、メインメモリユニット8上のプログラムが実行さ
れ、メインメモリユニット8が混雑してきてメインメモ
リユニット8中のあるセグメントを固定ヘッド付き磁気
ディスク装置lに退避する必要が生じた場合には、入出
力手段4は、セグメント情報格納領域9を参照して退避
するセグメントのセグメント名91に対応する固定ヘッ
ド領域格納フラグ92がオンであるか否かに応じてセグ
メントが固定ヘッド領域に格納すべきセグメントである
か否かを判定する(ステップ61)、固定ヘッド領域に
格納すべきセグメントならば、セグメント情報格納領域
9中の磁気ディスク装置アドレス93が示す固定ヘッド
付き磁気ディスク装置lの固定ヘッド領域にセグメント
を書き出す(ステップ64)、この場合には、固定ヘッ
ド11によって固定ヘッド領域にセグメントが書き出さ
れるので、ヘッドのシーク時間がかからず少ない[10
待ち時間で迅速にセグメントの退避が行われる。一方、
固定ヘッド領域に格納すべきセグメント以外のセグメン
トならば、入出力手段4は、固定ヘッド付き磁気ディス
ク装置lの任意の空き領域に可動ヘッド12によってセ
グメントを書き出しくステップ62)、セグメント情報
格納領域9にセグメントを格納した領域の磁気ディスク
装置アドレス93を登録する (ステップ63)。
Next, when the program on the main memory unit 8 is executed and the main memory unit 8 becomes congested and it becomes necessary to save a certain segment in the main memory unit 8 to the magnetic disk device l with a fixed head, The output means 4 refers to the segment information storage area 9 and selects a segment to be stored in the fixed head area depending on whether a fixed head area storage flag 92 corresponding to the segment name 91 of the segment to be saved is on or not. If the segment is to be stored in the fixed head area (step 61), the segment is stored in the fixed head area of the magnetic disk device l with a fixed head indicated by the magnetic disk device address 93 in the segment information storage area 9. Write out the segment (step 64). In this case, the fixed head 11 writes out the segment in the fixed head area, so the head seek time is reduced [10
Segments are quickly saved during the waiting time. on the other hand,
If the segment is a segment other than the segment to be stored in the fixed head area, the input/output means 4 writes the segment to an arbitrary free area of the fixed head magnetic disk device l using the movable head 12 (Step 62), the segment information storage area 9 The magnetic disk device address 93 of the area where the segment is stored is registered in (step 63).

逆に、固定ヘッド付き磁気ディスク装置1からメインメ
モリユニット8にあるセグメントを復元する必要が生じ
た場合には、入出力手段4は、セグメント情報格納領域
9中の復元するセグメントのセグメント名9Iに対応す
る磁気ディスク装置アドレス93を取得して(ステップ
51) 、[気ディスク装置アドレス93が示す固定ヘ
ッド付き磁気ディスク装置1上の領域からセグメントを
読み込み、メインメモリユニット8にロード(復元)す
る(ステップ52)、この際、復元されるセグメントが
固定ヘッド領域に格納されていたセグメントの場合には
、固定ヘッドIIによって固定ヘッド領域からセグメン
トが読み出されるので、ヘッドのシーク時間がかからず
少ないI10待ち時間で迅速にセグメントの復元が行わ
れる。
Conversely, when it becomes necessary to restore a segment in the main memory unit 8 from the fixed head magnetic disk device 1, the input/output means 4 inputs the segment name 9I of the segment to be restored in the segment information storage area 9. The corresponding magnetic disk device address 93 is obtained (step 51), and the segment is read from the area on the fixed head magnetic disk device 1 indicated by the disk device address 93 and loaded (restored) into the main memory unit 8 ( At this time, if the segment to be restored is a segment stored in the fixed head area, the segment is read from the fixed head area by the fixed head II, so the head seek time is reduced and the I10 Segment restoration is performed quickly with no waiting time.

以降、この入出力手段4による処理が繰り返されながら
プログラムが実行される。
Thereafter, the program is executed while the processing by the input/output means 4 is repeated.

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

以上説明したように本発明は、固定ヘッド付き磁気ディ
スク装置の固定ヘッド領域を利用してセグメントの入出
力を行うことにより、あらかじめ指定したセグメントに
対して固定ヘッド付き磁気ディスク装置のI10待ち時
間のうちのシーク時間が消失するので、システム全体の
処理効率を減少させることなしに仮想記憶方式の導入が
可能になるという効果がある。
As explained above, the present invention reduces the I10 waiting time of a magnetic disk device with a fixed head for a pre-designated segment by performing segment input/output using the fixed head area of the magnetic disk device with a fixed head. Since the seek time is eliminated, a virtual memory method can be introduced without reducing the processing efficiency of the entire system.

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

第1図は本発明の一実施例のセグメント入出力方式の構
成を示すブロック図、 第2図は第1図中のセグメント名登録手段の処理を示す
流れ図、 第3図は第1図中のセグメント名入力手段の処理を示す
流れ図、 第4図は第1図中のロード手段の処理を示す流れ図、 第5図は第1図中の入出力手段のセグメント復元時の処
理を示す流れ図である。 第6図は第1図中の入出力手段のセグメント退避時の処
理を示す流れ図である。 図において、 l・・・固定ヘッド付き磁気ディスク装置、2・・・プ
ログラムファイル、 3・・・セグメント名格納ファイル、 4・・・入出力手段、 5・・・ロード手段、 6・・・セグメント名入力手段、 7・・・セグメント名登録手段、 8・・・メインメモリユニット、 9・・・セグメント情報格納領域、 11・・・固定ヘッド、 12・・・可動ヘッド、 91・・・セグメント名、 92・・・固定ヘッド領域格納フラグ、93・・・磁気
ディスク装置アドレスである。
FIG. 1 is a block diagram showing the configuration of a segment input/output method according to an embodiment of the present invention, FIG. 2 is a flowchart showing the processing of the segment name registration means in FIG. 1, and FIG. FIG. 4 is a flowchart showing the processing of the segment name input means; FIG. 4 is a flowchart showing the processing of the loading means in FIG. 1; FIG. 5 is a flowchart showing the processing of the input/output means in FIG. 1 during segment restoration. . FIG. 6 is a flowchart showing the processing of the input/output means in FIG. 1 when saving a segment. In the figure, l...Fixed head magnetic disk drive, 2...Program file, 3...Segment name storage file, 4...I/O means, 5...Loading means, 6...Segment name input means, 7... segment name registration means, 8... main memory unit, 9... segment information storage area, 11... fixed head, 12... movable head, 91... segment name , 92...Fixed head area storage flag, 93...Magnetic disk device address.

Claims (1)

【特許請求の範囲】 仮想記憶方式を採用しているオペレーティングシステム
がメインメモリユニットからセグメントを退避させる補
助記憶装置として固定ヘッド付き磁気ディスク装置を割
り当てて運用を行っている計算機システムにおいて、 プログラムが格納されているプログラムファイルと、 プログラムを構成するセグメントのうちの前記固定ヘッ
ド付き磁気ディスク装置の固定ヘッド領域に格納すべき
セグメントのセグメント名を登録するセグメント名登録
手段と、 このセグメント名登録手段により登録されたセグメント
名を格納しておくセグメント名格納ファイルと、 このセグメント名格納ファイルから前記固定ヘッド領域
に格納すべきセグメントのセグメント名を入力するセグ
メント名入力手段と、 前記固定ヘッド付き磁気ディスク装置のどこにセグメン
トを退避したかを記憶するセグメント情報格納領域と、 前記メインメモリユニットへのプログラムのロード時に
前記プログラムファイルから読み込んだプログラム中の
セグメントが前記セグメント名入力手段により得られた
セグメント名と一致するセグメント名のセグメントであ
れば前記固定ヘッド領域に格納すると同時にセグメント
名、磁気ディスク装置アドレスおよびセグメントが前記
固定ヘッド領域に格納されたことを示す固定ヘッド領域
格納フラグを前記セグメント情報格納領域に書き込むロ
ード手段と、 前記メインメモリユニットから前記固定ヘッド付き磁気
ディスク装置にセグメントを退避させる場合に前記セグ
メント情報格納領域を参照して前記固定ヘッド領域格納
フラグに基づいて前記固定ヘッド領域に格納すべきセグ
メントであれば前記磁気ディスク装置アドレスをそのま
ま使用して前記固定ヘッド付き磁気ディスク装置の前記
固定ヘッド領域に退避させ前記固定ヘッド領域に格納す
べきセグメント以外のセグメントであれば前記固定ヘッ
ド付き磁気ディスク装置の空き領域に退避させて前記磁
気ディスク装置アドレスを更新し前記固定ヘッド付き磁
気ディスク装置から前記メインメモリユニットにセグメ
ントを復元する場合に前記セグメント情報格納領域を参
照して前記固定ヘッド付き磁気ディスク装置の前記磁気
ディスク装置アドレスからセグメントを前記メインメモ
リユニットに復元する入出力手段と、 を有することを特徴とするセグメント入出力方式。
[Claims] In a computer system in which an operating system employing a virtual memory method allocates and operates a magnetic disk device with a fixed head as an auxiliary storage device for saving segments from a main memory unit, a program is stored. a segment name registration means for registering a segment name of a segment that is to be stored in the fixed head area of the fixed head magnetic disk device among the segments constituting the program; a segment name storage file for storing segment names that have been stored in the fixed head area; a segment name input means for inputting segment names of segments to be stored in the fixed head area from the segment name storage file; a segment information storage area for storing where segments have been saved; and a segment in the program read from the program file when loading the program into the main memory unit matches the segment name obtained by the segment name input means. If it is a segment with a segment name, it is stored in the fixed head area, and at the same time a segment name, a magnetic disk device address, and a fixed head area storage flag indicating that the segment is stored in the fixed head area are written in the segment information storage area. means, when evacuating a segment from the main memory unit to the magnetic disk device with a fixed head, refer to the segment information storage area and select a segment to be stored in the fixed head area based on the fixed head area storage flag. If so, the magnetic disk device uses the magnetic disk device address as it is and saves it to the fixed head area of the magnetic disk device with a fixed head, and if the segment is a segment other than the segment that should be stored in the fixed head area, the magnetic disk device with a fixed head uses the address as is. When restoring a segment from the fixed head magnetic disk device to the main memory unit by updating the magnetic disk device address by evacuating the segment to a free area of the fixed head magnetic disk device, the fixed head magnetic disk device refers to the segment information storage area. an input/output means for restoring a segment to the main memory unit from the magnetic disk device address of the segment input/output method.
JP62320904A 1987-12-18 1987-12-18 Segment I / O method Expired - Lifetime JPH0795257B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62320904A JPH0795257B2 (en) 1987-12-18 1987-12-18 Segment I / O method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62320904A JPH0795257B2 (en) 1987-12-18 1987-12-18 Segment I / O method

Publications (2)

Publication Number Publication Date
JPH01162920A true JPH01162920A (en) 1989-06-27
JPH0795257B2 JPH0795257B2 (en) 1995-10-11

Family

ID=18126566

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62320904A Expired - Lifetime JPH0795257B2 (en) 1987-12-18 1987-12-18 Segment I / O method

Country Status (1)

Country Link
JP (1) JPH0795257B2 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5179314A (en) * 1974-12-30 1976-07-10 Fujitsu Ltd JIKIKIROKU SAISEISOCHI
JPS606094A (en) * 1983-06-24 1985-01-12 Matsushita Refrig Co Rotary compressor
JPS6079448A (en) * 1983-10-07 1985-05-07 Fujitsu Ltd Control system for external page allocation

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5179314A (en) * 1974-12-30 1976-07-10 Fujitsu Ltd JIKIKIROKU SAISEISOCHI
JPS606094A (en) * 1983-06-24 1985-01-12 Matsushita Refrig Co Rotary compressor
JPS6079448A (en) * 1983-10-07 1985-05-07 Fujitsu Ltd Control system for external page allocation

Also Published As

Publication number Publication date
JPH0795257B2 (en) 1995-10-11

Similar Documents

Publication Publication Date Title
JPH0340868B2 (en)
JPH0798663A (en) Asynchronous i/o control system
JPH01162920A (en) Segment input/output system
JPH07152574A (en) Program loading system
JPH0756633B2 (en) Task switching method
JPH0667898A (en) Task control system
JPH05151037A (en) Reorganization processing system for database in business processing
JPS63276629A (en) Sorting system for record in file
JPH04107634A (en) Memory data bypass control system
JPH02257349A (en) Network address setting system
JP2002544619A (en) Object-oriented processing using dedicated pointer memory
JPH0844570A (en) System and method for program execution
JPS593560A (en) Program storing system
JPH0876940A (en) Method for controlling disk array
JPH02308329A (en) Program correcting system
JPH02146631A (en) Register saving/restoring system
JPH02247758A (en) Control system for terminal information
JPH0447340A (en) Reading method for master file
JPS58203562A (en) Method for controlling memory
JPH01163848A (en) Double updating preventing system for disk file
JPS59189452A (en) Queue structure for data processor
JPS63140350A (en) System for reducing output quantity of recovery point log
JPH02224156A (en) File saving system
JPS62288974A (en) Vector processor
JPS6294893A (en) Graphic display unit