JPH03129436A - Virtual storage control system corresponding to job priority - Google Patents

Virtual storage control system corresponding to job priority

Info

Publication number
JPH03129436A
JPH03129436A JP1266221A JP26622189A JPH03129436A JP H03129436 A JPH03129436 A JP H03129436A JP 1266221 A JP1266221 A JP 1266221A JP 26622189 A JP26622189 A JP 26622189A JP H03129436 A JPH03129436 A JP H03129436A
Authority
JP
Japan
Prior art keywords
job
priority
memory
secondary medium
saved
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
JP1266221A
Other languages
Japanese (ja)
Inventor
Haruo Maeda
前田 晴男
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 JP1266221A priority Critical patent/JPH03129436A/en
Publication of JPH03129436A publication Critical patent/JPH03129436A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To suppress the delay of response time of a job as far as possible by securing secondary medium areas with different input/output performance corresponding to the priority of the job. CONSTITUTION:When the job 63 chained to a schedule awaiting queue 40 is executed, a secondary area securing processing part 13 allocates disk devices 70-90 for memory information saving with different input/output performance corresponding to the priority of the job after loading a program executed at the job 63 with a job execution control processing part 50 on a memory. When no null memory required for execution is secured, a job selection processing part 14 searches the job chained to a ready queue 30, and selects the job that can be saved and with low priority, and memory information is saved to the disk devices 70-90 allocated corresponding to the priority with a secondary medium recovery processing part 15. Thereby, control can be performed without generating the delay of the response time of the job due to saving to a secondary medium.

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明はジョブのメモリ資源を二次媒体に退避する際の
制御方式に関し、特にジョブ優先度に応じた入出力性能
の入る二次媒体領域を確保し、ジョブの応答時間遅延を
出来るだけおさえる仮想記憶制御方式に関する。
[Detailed Description of the Invention] [Industrial Application Field] The present invention relates to a control method when saving memory resources of a job to a secondary medium, and in particular to a secondary medium area where input/output performance according to job priority is stored. This invention relates to a virtual memory control method that secures job response time and suppresses job response time delays as much as possible.

[従来の技術] 従来のオペレーティングシステムでは、空メモリ確保の
ための仮想記憶制御方式として、ジョブ優先度の低い退
避可能なジョブを選択する手段がある。しかし、この制
御方式では入出力性能に応じた二次媒体領域のレベル管
理をしていないためジョブの優先度に関係なく、同一性
能を持った二次媒体を確保し、仮想記憶制御を実行する
[Prior Art] In a conventional operating system, as a virtual memory control method for securing free memory, there is a means for selecting a job with a low job priority that can be saved. However, this control method does not manage the level of secondary media areas according to input/output performance, so regardless of the priority of the job, secondary media with the same performance is secured and virtual memory control is executed. .

[発明が解決しようとする課題] 上述した従来の制御方式では、ジョブ優先度に見合った
入出力性能別の二次媒体を確保管理することなく、あら
かじめシステム生成時に定めた退避用の二次媒体を平等
に確保しているため、ジョブの優先度を無視−した仮想
記憶制御となり、ジョブの応答時間を大きく遅延させる
という欠点がある。
[Problems to be Solved by the Invention] In the conventional control method described above, secondary media for evacuation determined in advance at the time of system generation are not managed to secure secondary media for each input/output performance commensurate with job priority. Since the virtual memory is secured equally, the virtual memory control ignores the priority of the job, which has the drawback of significantly delaying the response time of the job.

[課題を解決するための手段] 本発明による仮想記憶制御方式は、仮想記憶制御機能を
有するホストコンピュータを利用し、汎用オペレーティ
ングシステム下で動作する一般ジョブにおいてその電子
計算機の所有する実装メモリと動作中のジョブよりも優
先度の高い別ジョブが申込まれて動作しようとする時、
そのジョブが動作するために必要なメモリ空間が不足し
ていた場合の手段として、あらかじめ、ジョブのメモリ
資源をページ単位に退避可能な二次媒体(例えばディス
ク装置)として、入出力性能に応じであるレベルを与え
、ジョブの優先度を考慮した応答時間に見合う領域管理
のための手段と、現在、動作中のジョブのうち、実行待
ちのジョブより低い優先度をもち、メモリ資源を保有し
かつそのメモリ資源が前記二次媒体に退避可能なジョブ
を選択する手段と、前記二次媒体に退避する際にジョブ
のメモリ資源確保時にそのジョブの優先度に見合ったレ
ベルの入出力性能をもつ退避領域を確保しておく手段と
を含み、二次媒体に退避されることによるジョブの応答
遅延時間を出来るだけそこなうことなく制御することを
特徴としている。
[Means for Solving the Problems] A virtual memory control method according to the present invention utilizes a host computer having a virtual memory control function, and controls the installed memory and operations owned by the computer in a general job running under a general-purpose operating system. When another job with higher priority than the current job is applied and tries to operate,
If the memory space necessary for the job to run is insufficient, the memory resources for the job can be stored in advance on a secondary medium (for example, a disk device) that can be saved in page units, depending on the input/output performance. A means for area management that gives a certain level and is commensurate with the response time considering the priority of the job, and a method that has a lower priority than the jobs currently waiting for execution among the currently running jobs, has memory resources, and A means for selecting a job whose memory resources can be saved to the secondary medium, and a job that has input/output performance at a level commensurate with the priority of the job when securing memory resources for the job when saving to the secondary medium. The method is characterized in that it includes a means for securing an area, and controls response delay time of a job due to being saved to a secondary medium without impairing it as much as possible.

[実施例] 次に1本発明の実施例について図面を参照して説明する
[Example] Next, an example of the present invention will be described with reference to the drawings.

第1図は本発明の一実施例を示す全体の構成図。FIG. 1 is an overall configuration diagram showing an embodiment of the present invention.

第2図は第1図に示された領域管理処理部12にて作成
する二次媒体性能情報11の詳細である。
FIG. 2 shows details of the secondary medium performance information 11 created by the area management processing section 12 shown in FIG.

第1図において、ホストコンピュータ1は仮想記憶制御
処理部101人出力制御処理部20を含む。仮想記憶制
御処理部10は、メモリ情報退避用の二次媒体に対する
性能情報11.メモリ情報退避用二次媒体の領域初期化
、確保5解放時の領域管理処理部12.ジョブ実行、終
了時のメモリ情報退避用二次媒体領域確保、解放のため
の二次領域確保処理部13.ジョブ優先度に応じた二次
媒体退避可能ジョブのジョブ選択処理部14.実際の二
次媒体への退避回復制御を行う処理部15を含む。入出
力制御処理部20はディスク装置等への入出力制御処理
を行う、30はジョブのレディキュー 40はジョブの
スケジュール待ちキュー 50はジ3ブの実行1卸処理
261〜63はホストコンピュータ1で実行されるジョ
ブ、70〜90はメモリ情報退避用のディスク装置で各
々入出力性能の異る装置であることを示している。
In FIG. 1, a host computer 1 includes a virtual storage control processing section 101 and a human output control processing section 20. The virtual memory control processing unit 10 stores performance information 11. Area management processing unit 12 when initializing and securing 5 area of secondary medium for saving memory information and releasing 5. Secondary area securing processing unit for securing and releasing a secondary medium area for saving memory information at the time of job execution and termination 13. Job selection processing unit 14 for jobs that can be saved to secondary media according to job priority. It includes a processing unit 15 that performs control of evacuation and recovery to an actual secondary medium. The input/output control processing unit 20 performs input/output control processing for disk devices, etc., 30 is a job ready queue, 40 is a job schedule waiting queue, and 50 is a job execution 1 wholesale process 261 to 63 in the host computer 1. Jobs 70 to 90 to be executed are disk devices for saving memory information, and each device has a different input/output performance.

以下、各図に従って実施例を示す。Examples will be shown below according to each figure.

(1)性能情報、領域の初期化処理 オペレーティングシステムの立上げ時、領域管理処理部
12の初期設定が実行される。初期設定ではシステム生
成時に定義されたディスク装置の物理情報に従ってマツ
プ情報領域を確保し、ブロック情報として物理装置アド
レス、空き情報を初期化し、未使用状態とする。
(1) Performance information and area initialization processing When the operating system is started up, initial settings of the area management processing unit 12 are executed. In the initial settings, a map information area is secured according to the physical information of the disk device defined at the time of system generation, and the physical device address and free space information are initialized as block information, leaving it in an unused state.

(2)ジョブ実行時の端域確保処理 スケジュール待ちキュー40にチエインされたジョブ6
3を実行する場合、ジョブ実行制御処理部50にてジョ
ブ63で実行されるプログラムをメモリ上にロードした
後、確保メモリに対応する二次領域を確保するため、二
次領域確保処理部13を呼出す。二次領域確保処理部1
3では、要求サイズに見合う二次媒体領域を処理(1)
で作成した二次媒体性能情報11がら切出す。この時ジ
ョブの優先度に応じたランクの二次媒体が割当てられ、
メモリ情報と対応づけられる。
(2) Job 6 chained in end area reservation processing schedule waiting queue 40 during job execution
3, after the job execution control processing unit 50 loads the program to be executed in the job 63 onto the memory, the secondary area reservation processing unit 13 is executed to secure the secondary area corresponding to the secured memory. call Secondary area securing processing unit 1
In step 3, process the secondary media area that matches the requested size (1)
Extract the secondary medium performance information 11 created in . At this time, a secondary medium with a rank according to the priority of the job is assigned,
It is associated with memory information.

(3)二次媒体退避処理 今、スケジュール待ちキュー40にあるジョブ63を実
行する際に実行に必要な空きメモリが確保不可であった
場合、ジョブ実行制御処理部50では二次媒体に退避可
能なジョブを選択するためジョブ選択処理部14を呼出
す。ジョブ選択処理部14ではレディキュー30(また
はそれ以外のキュー)にチエインされたジョブをサーチ
し、退避可能で優先度の低いジョブ(ここでは62とす
る)を選択する。
(3) Secondary medium saving process If the free memory necessary for executing the job 63 currently in the schedule waiting queue 40 cannot be secured, the job execution control processing unit 50 can save the job to a secondary medium. The job selection processing unit 14 is called in order to select a suitable job. The job selection processing unit 14 searches for jobs chained in the ready queue 30 (or other queues) and selects a job that can be saved and has a low priority (here, 62).

ジョブ62はすでにメモリ情報と二次媒体ブロック情報
とが処理(2)によって対応づけられており 仮想記憶
制御処理部10としである一定時間以上アクセスのない
メモリ情報を二次媒体退避回復処理部15を呼出すこと
により、それぞれ優先度に応じて割当てられたディスク
装置70〜90にメモリ情報が退避され、空きメモリを
増加させることによってジョブ63の実行に必要な空き
メモリを制御する。
In the job 62, memory information and secondary medium block information have already been associated in process (2), and the virtual memory control processing unit 10 sends memory information that has not been accessed for a certain period of time to the secondary medium evacuation and recovery processing unit 15. By calling , the memory information is saved in the disk devices 70 to 90 allocated according to the priority, and the free memory necessary for executing the job 63 is controlled by increasing the free memory.

(4)二次媒体回復処理 二次媒体にメモリ情報を退避されたジョブ62が動作を
始め、退避されたメモリ情報に接近するとアクセス例外
が発生し、二次媒体退避回復処理部15に通知され、い
わゆる仮想記憶制御機構としてメモリが再確保され退避
情報が復元される。
(4) Secondary medium recovery processing When the job 62 whose memory information has been saved to the secondary medium starts operating and approaches the saved memory information, an access exception occurs and the secondary medium saving and recovery processing unit 15 is notified. As a so-called virtual memory control mechanism, memory is re-allocated and the saved information is restored.

この時の退避回復処理に要する入出力時間がジョブの優
先度によって性能差を与えられており、応答時間を出来
るだけ遅延させない制御処理となっている。
The input/output time required for the evacuation and recovery processing at this time is given a performance difference depending on the priority of the job, and the control processing is such that the response time is not delayed as much as possible.

[発明の効果] 以上説明したように本発明は、ジョブ実行時にメモリ情
報と退避用二次媒体領域割付けに対し。
[Effects of the Invention] As described above, the present invention has advantages for allocating memory information and a secondary medium area for saving during job execution.

ジョブの優先度に応じて入出力性能の異る装置を割り当
てることにより、メモリ過負荷時に、システムの都合に
よりメモリ情報退避/回復に要する入出力時間でジョブ
の応答時間を遅延させる要因を小さくできるという効果
がある。
By allocating devices with different input/output performance depending on the priority of the job, it is possible to reduce the factor that delays job response time due to the input/output time required to save/recover memory information due to system circumstances when memory is overloaded. There is an effect.

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

第1図は本発明の全体構成図、第2図は二次媒体性能情
報の詳細図である。 1・・・ホストコンピュータ、10・・・仮想記憶制御
処理部、11・・・二次媒体性能情報、12・・・領域
管理処理部、13・・・二次領域確保処理部、14・・
・ジョブ選択処理部、15・・・二次媒体退避回復処理
部。 20・・・入出力制御処理部、30・・・レディキュー
40・・・スケジュール待ちキュー、50・・・ジョブ
実行制御部。 第2図
FIG. 1 is an overall configuration diagram of the present invention, and FIG. 2 is a detailed diagram of secondary medium performance information. DESCRIPTION OF SYMBOLS 1... Host computer, 10... Virtual memory control processing unit, 11... Secondary medium performance information, 12... Area management processing unit, 13... Secondary area reservation processing unit, 14...
- Job selection processing unit, 15...Secondary medium evacuation and recovery processing unit. 20... Input/output control processing unit, 30... Ready queue 40... Schedule waiting queue, 50... Job execution control unit. Figure 2

Claims (1)

【特許請求の範囲】 1)仮想記憶制御機能を有するホストコンピュータを利
用し、汎用オペレーティングシステム下で動作する一般
ジョブにおいて、その電子計算機の所有する実装メモリ
と動作中のジョブが使用する仮想メモリ空間とのメモリ
閾値制御において、現在動作中のジョブよりも優先度の
高い別ジョブが申込まれて動作しようとする時、そのジ
ョブが動作するために必要なメモリ空間が不足していた
場合の制御手段として、 あらかじめ、ジョブのメモリ資源をページ単位に退避可
能な二次媒体として、入出力性能に応じてあるレベルを
与えジョブの優先度を考慮した応答時間に見合う領域管
理のための手段と、 現在、動作中のジョブのうち、実行待ちのジョブより低
い優先度をもち、メモリ資源を保有しかつそのメモリ資
源が前記二次媒体に退避可能なジョブを選択する手段と
、 前記二次媒体に退避する際にジョブのメモリ資源確保時
にそのジョブの優先度に見合ったレベルの入出力性能を
もつ退避領域を確保しておく手段とを含み、前記二次媒
体に退避されることによるジョブの応答遅延時間を出来
るだけそこなうことなく制御することを特徴としたジョ
ブ優先度に応じた仮想記憶制御方式。
[Claims] 1) In a general job that uses a host computer with a virtual memory control function and operates under a general-purpose operating system, the installed memory owned by the computer and the virtual memory space used by the running job In memory threshold control, when another job with a higher priority than the currently running job is applied for and tries to run, the memory space required for that job to run is insufficient. As a secondary medium that can save job memory resources in units of pages in advance, a certain level is given according to input/output performance, and a means for area management commensurate with response time considering job priority. , means for selecting, from among running jobs, a job that has a lower priority than jobs waiting for execution, has memory resources, and whose memory resources can be saved to the secondary medium; and means for securing a backup area with input/output performance at a level commensurate with the priority of the job when securing memory resources for the job, and the response delay of the job due to being saved to the secondary medium. A virtual memory control method according to job priority that is characterized by controlling time with as little loss as possible.
JP1266221A 1989-10-16 1989-10-16 Virtual storage control system corresponding to job priority Pending JPH03129436A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1266221A JPH03129436A (en) 1989-10-16 1989-10-16 Virtual storage control system corresponding to job priority

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1266221A JPH03129436A (en) 1989-10-16 1989-10-16 Virtual storage control system corresponding to job priority

Publications (1)

Publication Number Publication Date
JPH03129436A true JPH03129436A (en) 1991-06-03

Family

ID=17427945

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1266221A Pending JPH03129436A (en) 1989-10-16 1989-10-16 Virtual storage control system corresponding to job priority

Country Status (1)

Country Link
JP (1) JPH03129436A (en)

Similar Documents

Publication Publication Date Title
US6698017B1 (en) Software migration on an active processing element
JP4902501B2 (en) Power control method, computer system, and program
JP5027610B2 (en) Apparatus and method for controlling arithmetic processing with nonvolatile memory
US6088779A (en) System and method for execution management of computer programs
JP2003167737A (en) Stack use method
KR20070090649A (en) Apparatus and method for providing cooperative scheduling on multi-core system
JPH03129436A (en) Virtual storage control system corresponding to job priority
JPH07129518A (en) Computer system
JP2001282560A (en) Virtual computer control method, its performing device and recording medium recording its processing program
JP2003263366A (en) Swapping control method, its execution device and its processing program
JPH10312297A (en) Resource managing method, resource managing device and recording medium for information processing system having multi-task function
JP2003186686A (en) Resource control apparatus, method and recording medium
JPH04346136A (en) Virtual instruction processor structure control method
JP4207775B2 (en) Computer system freeze / thaw program, recording medium thereof, and computer system freeze / thaw method
JPH02270032A (en) Loading system
JP2002328841A (en) System and method for demand paging swap out of kernel space
JP2001331331A (en) Unique process multithread operating system
JPH076045A (en) Memory managing method of multi-processing system
JP2644857B2 (en) Data transfer method
JPH06295265A (en) Instruction suspending information store control method in virtual storage control
JPH05224941A (en) Application program control system
JPH02129724A (en) Program executing system
JPH07319833A (en) Remote command system
JPS63172346A (en) Stack allocating method
JP2002132508A (en) Setting system and method of operating environment of applications