JPH0619796A - Automatic changing system for swapping use external storage device in virtual storage system - Google Patents

Automatic changing system for swapping use external storage device in virtual storage system

Info

Publication number
JPH0619796A
JPH0619796A JP3011379A JP1137991A JPH0619796A JP H0619796 A JPH0619796 A JP H0619796A JP 3011379 A JP3011379 A JP 3011379A JP 1137991 A JP1137991 A JP 1137991A JP H0619796 A JPH0619796 A JP H0619796A
Authority
JP
Japan
Prior art keywords
swapping
external storage
storage device
program
schedule
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
JP3011379A
Other languages
Japanese (ja)
Other versions
JP2638314B2 (en
Inventor
Takeshi Mizobuchi
毅 溝渕
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 JP3011379A priority Critical patent/JP2638314B2/en
Publication of JPH0619796A publication Critical patent/JPH0619796A/en
Application granted granted Critical
Publication of JP2638314B2 publication Critical patent/JP2638314B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PURPOSE:To automatically change a swapping use external storage device so as to improve the efficiency of a virtual storage system. CONSTITUTION:A SMF part 3 counts swapping, a swapping frequency holding part 4 holds swapping frequency information for an external storage device 1 at every program and an evaluation part 5 decides whether the frequency of swapping are averaged or not at the plural external storage devices 1 based on swapping frequency information and prepares swapping change instruction information to average them at the time of being not averaged. A schedule change holding part 6 holds swapping change instruction information, a schedule management part 8 holds the correspondence of the program to the external storage device 1 and a schedule change part 7 reads swapping change instruction information of the schedule change holding part 6 to change the correspondence of the program to the external storage device 1 held by the schedule management part 8.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は仮想記憶システムにおけ
るスワッピング用外部記憶装置の自動変更方式に関し、
特にプログラムとスワッピング用外部記憶装置との対応
を変更できる仮想記憶システム(情報処理ハンドブッ
ク,社団法人情報処理学会編,第1版,166頁参照)
におけるスワッピング用外部記憶装置の自動変更方式に
関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a system for automatically changing an external storage device for swapping in a virtual storage system,
In particular, a virtual storage system that can change the correspondence between the program and the external storage device for swapping (see Information Processing Handbook, Information Processing Society of Japan, 1st edition, page 166)
The present invention relates to a method for automatically changing an external storage device for swapping in.

【0002】[0002]

【従来の技術】仮想記憶システムでは、主記憶装置と外
部記憶装置との間でプログラムのスワッピング(情報処
理ハンドブック,社団法人情報処理学会編,第1版,1
64頁参照)が発生するが、主記憶装置の容量が小さか
ったりすると、スワッピングに伴う外部記憶装置に対す
る入出力のオーバヘッドが過大となり、その効率改善が
大きな問題となっていた。
2. Description of the Related Art In a virtual memory system, program swapping between a main memory device and an external memory device (Information Processing Handbook, Information Processing Society of Japan, First Edition, 1)
However, if the capacity of the main memory device is small, the overhead of input / output to / from the external memory device due to the swapping becomes excessive, and the improvement of its efficiency has been a serious problem.

【0003】従来、仮想記憶システムにおけるスワッピ
ングの効率を上げるためには、プログラムの追出しアル
ゴリズムの改善やスワッピング用外部記憶装置の分散化
による方法等があった。
Conventionally, in order to improve the swapping efficiency in a virtual storage system, there have been methods such as improvement of a program eviction algorithm and decentralization of external storage devices for swapping.

【0004】ここで、スワッピング用外部記憶装置の分
散化による方法(以下、負荷分散方式という)によれ
ば、プログラムのスワッピングに伴う入出力が1つの外
部記憶装置に集中するとオーバヘッドが大きくなるが、
スワッピングに使用する外部記憶装置を複数の外部記憶
装置に分散化することによりスワッピングに伴う外部記
憶装置に対する入出力のオーバヘッドも分散化されるの
で、仮想記憶システム全体のオーバヘッドが少なくなっ
て効率が向上することが知られている。
Here, according to the method of decentralizing the external storage device for swapping (hereinafter referred to as a load balancing system), the overhead increases when the input / output due to the swapping of the program concentrates on one external storage device.
By distributing the external storage device used for swapping to multiple external storage devices, the overhead of I / O to the external storage device due to swapping is also distributed, so the overall overhead of the virtual storage system is reduced and efficiency is improved. Is known to do.

【0005】[0005]

【発明が解決しようとする課題】上述した従来の負荷分
散方式では、複数の外部記憶装置に分かれたスワッピン
グ用外部記憶装置をどのプログラムのスワッピング用に
使用するかによって仮想記憶システムの効率が影響され
るので、一度設定したスワッピング用外部記憶装置の使
用方法でも情報処理装置の運用により効率が悪くなるこ
とがあり、利用者はスワッピング用外部記憶装置の使用
方法を仮想記憶システムの効率が最適となるように常時
変更しなければならないという問題点があった。
In the conventional load balancing method described above, the efficiency of the virtual storage system is affected by which program the swapping external storage device divided into a plurality of external storage devices is used for swapping. Therefore, even if the usage method of the swapping external storage device is set once, the efficiency of the virtual storage system may be optimized by the operation of the information processing device, and the user can optimize the usage efficiency of the swapping external storage device by the virtual storage system. There was a problem that it had to be constantly changed.

【0006】本発明の目的は、上述の点に鑑み、SMF
部(本部分は、情報処理装置では通常に装備されるSy
stem Management Facilityを
指す。以下同様)(情報処理ハンドブック,社団法人情
報処理学会編,第1版,277頁参照)の情報を利用し
て、仮想記憶システムの効率が向上するようにスワッピ
ング用外部記憶装置を自動的に変更するようにした仮想
記憶システムにおけるスワッピング用外部記憶装置の自
動変更方式を提供することにある。
In view of the above points, the object of the present invention is to provide an SMF.
Part (this part is Sy that is normally equipped in an information processing device)
Refers to the Stem Management Facility. The same shall apply hereinafter) (refer to Information Processing Handbook, Information Processing Society of Japan, 1st edition, page 277), and automatically change the external storage device for swapping to improve the efficiency of the virtual storage system. Another object of the present invention is to provide an automatic changing method of an external storage device for swapping in a virtual storage system.

【0007】[0007]

【課題を解決するための手段】本発明の仮想記憶システ
ムにおけるスワッピング用外部記憶装置の自動変更方式
は、情報処理装置のプログラムとスワッピング用外部記
憶装置との対応を変更できる仮想記憶システムにおい
て、主記憶装置と外部記憶装置との間で行われるプログ
ラムのスワッピングを計測するSMF部と、このSMF
部により計測されたプログラム毎の外部記憶装置に対す
るスワッピング回数情報を保持するスワッピング回数保
持部と、このスワッピング回数保持部に保持されたスワ
ッピング回数情報に基づいてプログラム毎の外部記憶装
置に対するスワッピング回数が複数の外部記憶装置で平
均化しているかどうかを判定して平均化していない場合
にはプログラムの外部記憶装置に対するスワッピング回
数を複数の外部記憶装置で平均化するようなスワッピン
グ変更指示情報を作成する評価部と、この評価部により
作成されたスワッピング変更指示情報を保持するスケジ
ュール変更保持部と、プログラムとプログラムがスワッ
ピング用に使用する外部記憶装置との対応が保持されて
いるスケジュール管理部と、前記スケジュール変更保持
部に保持されているスワッピング変更指示情報を判読し
前記スケジュール管理部に保持されているプログラムと
外部記憶装置との対応を変更するスケジュール変更部と
を有する。
The automatic changing method of the swapping external storage device in the virtual storage system of the present invention is mainly used in a virtual storage system capable of changing the correspondence between the program of the information processing device and the swapping external storage device. An SMF unit for measuring the swapping of a program performed between a storage device and an external storage device, and this SMF unit.
The swapping number holding unit holds the swapping number information for each program for each external storage device, and the swapping number for each external program for each program is plural based on the swapping number information held in the swapping number holding unit. Of the external storage device to determine whether or not it is averaged and, if not, create a swapping change instruction information for averaging the number of times the program is swapped to the external storage device with a plurality of external storage devices. And a schedule change holding unit that holds the swapping change instruction information created by this evaluation unit, a schedule management unit that holds the correspondence between the program and an external storage device used by the program for swapping, and the schedule change. Is held in the holding unit And a schedule change section for changing the correspondence between the program and the external storage device by reading the swapping change instruction information held in the schedule management unit.

【0008】[0008]

【作用】本発明の仮想記憶システムにおけるスワッピン
グ用外部記憶装置の自動変更方式では、SMF部が主記
憶装置と外部記憶装置との間で行われるプログラムのス
ワッピングを計測し、スワッピング回数保持部がSMF
部により計測されたプログラム毎の外部記憶装置に対す
るスワッピング回数情報を保持し、評価部がスワッピン
グ回数保持部に保持されたスワッピング回数情報に基づ
いてプログラム毎の外部記憶装置に対するスワッピング
回数が複数の外部記憶装置で平均化しているかどうかを
判定して平均化していない場合にはプログラムの外部記
憶装置に対するスワッピング回数を複数の外部記憶装置
で平均化するようなスワッピング変更指示情報を作成
し、スケジュール変更保持部が評価部により作成された
スワッピング変更指示情報を保持し、スケジュール管理
部にプログラムとプログラムがスワッピング用に使用す
る外部記憶装置との対応が保持され、スケジュール変更
部がスケジュール変更保持部に保持されているスワッピ
ング変更指示情報を判読しスケジュール管理部に保持さ
れているプログラムと外部記憶装置との対応を変更す
る。
In the automatic changing system of the external storage device for swapping in the virtual storage system of the present invention, the SMF unit measures the swapping of the program performed between the main storage device and the external storage device, and the swapping number holding unit is the SMF.
The information on the number of swapping times for each program stored in the external storage device is stored by the evaluation unit, and the evaluation unit stores a plurality of swapping times for the external storage device for each program based on the swapping number information held in the storage unit. If it is not averaged by judging whether it is averaged by the device, create swapping change instruction information that averages the number of swapping programs to the external storage device in multiple external storage devices, and schedule change holding unit Holds the swapping change instruction information created by the evaluation unit, the schedule management unit holds the correspondence between the program and the external storage device used by the program for swapping, and the schedule change unit is held in the schedule change holding unit. Swapping change instruction information Read and modify the correspondence between program and external storage device held by the schedule management unit.

【0009】[0009]

【実施例】次に、本発明について図面を参照して詳細に
説明する。
The present invention will be described in detail with reference to the drawings.

【0010】図1は、本発明の一実施例に係る仮想記憶
システムにおけるスワッピング用外部記憶装置の自動変
更方式の構成を示すブロック図である。本実施例の仮想
記憶システムにおけるスワッピング用外部記憶装置の自
動変更方式は、仮想記憶システムで使用される複数の外
部記憶装置1と、内部記憶装置(一般的には、メモリと
いう)である主記憶装置2と、主記憶装置2と外部記憶
装置1との間で仮想記憶システムの運用時に発生するプ
ログラムのスワッピング回数を計測するSMF部3と、
SMF部3で計測されたプログラム毎の外部記憶装置1
に対するスワッピング回数情報を保持するスワッピング
回数保持部4と、スワッピング回数保持部4で保持され
ているスワッピング回数情報に基づいて複数の外部記憶
装置1間でスワッピング回数が平均化されているかどう
かを判定し平均化されていない場合には複数の外部記憶
装置1間でスワッピング回数が平均化されるようにあら
かじめ定められているプログラムが使用するスワッピン
グ用外部記憶装置1の指定を変更するための指示(以
下、スワッピング変更指示情報という)を作成する評価
部5と、評価部5で作成されたスワッピング変更指示情
報を保持するスケジュール変更保持部6と、スケジュー
ル変更保持部6に保持されているスワッピング変更指示
情報を判読しプログラムがスワッピングのために使用す
る外部記憶装置1の対応情報(以下、スワッピング対応
情報という)を変更するスケジュール変更部7と、仮想
記憶システムがプログラムを複数の外部記憶装置1のう
ちのどの外部記憶装置1にスワッピングするかを示すス
ワッピング対応情報をあらかじめ保持しているスケジュ
ール管理部8とから構成されている。
FIG. 1 is a block diagram showing a configuration of an automatic changing system of an external storage device for swapping in a virtual storage system according to an embodiment of the present invention. The automatic changing method of the swapping external storage device in the virtual storage system of the present embodiment is a plurality of external storage devices 1 used in the virtual storage system and a main storage that is an internal storage device (generally called a memory). A device 2; an SMF unit 3 for measuring the number of times programs are swapped between the main storage device 2 and the external storage device 1 during operation of the virtual storage system;
External storage device 1 for each program measured by the SMF unit 3
On the basis of the swapping frequency information held by the swapping frequency information holding section 4, and whether or not the swapping frequency is averaged among the plurality of external storage devices 1. An instruction for changing the designation of the swapping external storage device 1 used by a predetermined program so that the number of times of swapping is averaged among the plurality of external storage devices 1 when not averaged (hereinafter , Swapping change instruction information), a schedule change holding unit 6 that holds the swapping change instruction information created by the evaluation unit 5, and a swapping change instruction information that is held in the schedule change holding unit 6. Of the external storage device 1 that is read by the program and used by the program for swapping. Schedule changing unit 7 for changing response information (hereinafter referred to as swapping correspondence information) and swapping correspondence information indicating to which external storage device 1 of the plurality of external storage devices 1 the virtual storage system swaps programs. It is composed of the schedule management unit 8 held therein.

【0011】図2は、評価部5の詳細を示すブロック図
である。評価部5は、スワッピング回数保持部4に保持
されているスワッピング回数情報について複数ある外部
記憶装置1毎に区分けを行うスワッピング回数区分け手
段51と、複数の外部記憶装置1毎のスワッピング回数
の平均値を算出し外部記憶装置1のスワッピング回数が
その平均値より大きいものと小さいものとに区分けする
スワッピング回数平均値判定手段52と、スワッピング
回数の平均値で区分けされた外部記憶装置1のスワッピ
ング回数情報でスワッピング回数が平均値より小さいも
のが保持される小スワッピング回数保持手段53と、外
部記憶装置1のスワッピング回数情報でスワッピング回
数が平均値より大きいものが保持される大スワッピング
回数保持手段54と、大スワッピング回数保持手段54
に保持されているスワッピング回数が他のどの外部記憶
装置1よりも大きい外部記憶装置1を選択しさらにその
外部記憶装置1にスワッピングしたプログラムのうちの
スワッピング回数の大きいプログラム(以下、プログラ
ムAとする)を選択するプログラム判読手段55と、小
スワッピング回数保持手段53に区分けされている外部
記憶装置1よりスワッピング回数の小さいものから検索
してプログラムAのスワッピング回数を外部記憶装置1
のスワッピング回数に足してスワッピング回数の平均値
より小さい外部記憶装置1(以下、外部記憶装置Xとす
る)を選択しプログラム判読手段55によって選択され
たプログラムAと外部記憶装置判読手段56によって選
択された外部記憶装置Xとより外部記憶装置Xでプログ
ラムAのスワッピングが実行されるようにスケジュール
管理部8に対するスワッピング変更指示情報を作成しス
ケジュール変更保持部6に保持させる外部記憶装置判読
手段56とからなる。
FIG. 2 is a block diagram showing details of the evaluation unit 5. The evaluation unit 5 divides the swapping number information held in the swapping number holding unit 4 into a plurality of external storage devices 1 and a swapping number sorting unit 51, and an average value of the swapping numbers of the plurality of external storage devices 1. And the average number of swapping times of the external storage device 1, and the swapping number average value determining means 52 for dividing the number of swapping times of the external storage device 1 into a larger number and a smaller number. A small swapping number holding means 53 for holding the number of swapping times smaller than the average value, and a large swapping number holding means 54 for holding the number of swapping times larger than the average value in the swapping number information of the external storage device 1. Large swapping number holding means 54
A program having a larger swapping frequency (hereinafter referred to as program A) is selected from the programs stored in the external storage device 1 having a larger swapping frequency than any other external storage device 1 and swapped to the external storage device 1. ) Is selected, and the number of swapping times of the program A is retrieved from the external storage device 1 divided into the small swapping frequency holding means 53 and the external storage device 1 and the swapping frequency of the program A is determined.
The external storage device 1 (hereinafter referred to as the external storage device X) smaller than the average value of the number of swapping times is added to the number of swapping times and the program A selected by the program reading means 55 and the external storage device reading means 56 are selected. The external storage device X and the external storage device reading means 56 that creates swapping change instruction information for the schedule management unit 8 so that the swapping of the program A is executed by the external storage device X and causes the schedule change holding unit 6 to hold the swapping change instruction information. Become.

【0012】次に、このように構成された本実施例の仮
想記憶システムにおけるスワッピング用外部記憶装置の
自動変更方式の動作について、図3〜図7に示す具体的
な例に基づいて説明する。
Next, the operation of the automatic changing system of the swapping external storage device in the virtual storage system of the present embodiment thus constructed will be described based on the concrete examples shown in FIGS.

【0013】図3は、スケジュール管理部8に格納され
ているスケジュール管理表を示す図である。スケジュー
ル管理表中のプログラム名欄はプログラムの名前を格納
し、外部記憶装置名欄は外部記憶装置1の名前を格納し
ており、各プログラムとそのプログラムが仮想記憶シス
テムの運用時に使用するスワッピング用外部記憶装置1
との対応が示されている。
FIG. 3 is a diagram showing a schedule management table stored in the schedule management unit 8. The program name column in the schedule management table stores the name of the program, the external storage device name column stores the name of the external storage device 1, and each program and the swapping used by the program when operating the virtual storage system. External storage device 1
The correspondence with is shown.

【0014】図4は、SMF部3によってスワッピング
回数保持部4に格納されたスワッピング回数情報の一例
を示す図である。外部記憶装置名欄は外部記憶装置1の
名前を、プログラム名欄は外部記憶装置1毎にスワッピ
ングに使用したプログラムの名前を、プログラムスワッ
ピング回数欄は各プログラムによるスワッピング回数
を、外部記憶装置スワッピング回数欄は外部記憶装置1
を使用したプログラム毎のスワッピング回数の総和をそ
れぞれ格納する。
FIG. 4 is a diagram showing an example of the swapping number information stored in the swapping number holding unit 4 by the SMF unit 3. The external storage device name column is the name of the external storage device 1, the program name column is the name of the program used for swapping for each external storage device 1, the program swapping count column is the swapping count of each program, and the external storage device swapping count. Column is external storage device 1
Stores the total number of swapping times for each program using.

【0015】図5は、図4に示したスワッピング回数情
報が評価部5によって小スワッピング回数保持手段53
と大スワッピング回数保持手段14とに分類されて格納
されている状態を示す図である。スワッピング回数保持
部4に保持されている図4のスワッピング回数情報は、
スワッピング回数区分け手段51によって外部記憶装置
1毎に外部記憶装置スワッピング回数の昇順に並べら
れ、スワッピング回数平均値判定手段52によってすべ
ての外部記憶装置D1,D2およびD3の外部記憶装置
スワッピング回数の平均値(=(90+80+20)/
3)が算出され、その平均値63に基づいてスワッピン
グ回数情報が小スワッピング回数保持手段53と大スワ
ッピング回数保持手段54とに分類されて格納される。
つまり、図5のaで示される外部記憶装置名D1および
D3の外部記憶装置スワッピング回数90および80が
スワッピング回数の平均値63より大きいので、大スワ
ッピング回数保持手段54に保持され、図5のbで示さ
れる外部記憶装置名D2の外部記憶装置スワッピング回
数20が外部記憶装置スワッピング回数の平均値63よ
り小さいので、小スワッピング回数保持手段53に保持
される。
In FIG. 5, the evaluation unit 5 uses the swapping number information shown in FIG.
It is a figure which shows the state classified and stored in the large swapping frequency holding means 14. The swapping number information of FIG. 4 held in the swapping number holding unit 4 is
The external storage device 1 is arranged in ascending order of the external storage device swapping numbers by the swapping number sorting means 51, and the average value of the external storage device swapping numbers of all the external storage devices D1, D2, and D3 is arranged by the swapping number average value determination means 52. (= (90 + 80 + 20) /
3) is calculated, and the swapping number information is classified and stored in the small swapping number holding means 53 and the large swapping number holding means 54 based on the average value 63.
That is, since the external storage device swapping times 90 and 80 of the external storage device names D1 and D3 shown in FIG. 5A are larger than the average value 63 of the swapping times, they are held in the large swapping frequency holding means 54 and b in FIG. Since the external storage device swapping number 20 of the external storage device name D2 indicated by is smaller than the average value 63 of the external storage device swapping numbers, it is held in the small swapping number holding means 53.

【0016】次に、プログラム判読手段55によって、
大スワッピング回数保持手段54に保持されたスワッピ
ング回数情報中のプログラム名P1が最初に読み込まれ
(読み込まれる順番は、P1,P4,P3およびP5と
なる)、続いて外部記憶装置判読手段56によって、プ
ログラム名P1のスワッピング用外部記憶装置1を変更
してもその外部記憶装置1の外部記憶装置スワッピング
回数がスワッピング回数の平均値63以下になるような
外部記憶装置名が小スワッピング回数保持手段53に保
持されている外部記憶装置名から検索される。ここで
は、図5より、小スワッピング回数保持手段53に保持
されている外部記憶装置名はD2になるが、プログラム
名P1のプログラムスワッピング回数50を外部記憶装
置名D2の外部記憶装置スワッピング回数20に足すと
70(=50+20)になり、この値がスワッピング回
数の平均値63を越えていることにより、プログラム名
P1は外部記憶装置1を変更できないことがわかる。
Next, by the program reading means 55,
The program name P1 in the swapping number information held in the large swapping number holding means 54 is read first (the reading order is P1, P4, P3 and P5), and then by the external storage device reading means 56. Even if the swapping external storage device 1 of the program name P1 is changed, the external storage device name of the external storage device 1 of the external storage device 1 becomes the small swapping number holding means 53 such that the swapping number becomes equal to or smaller than the average value 63 of the swapping numbers. The stored external storage device name is searched. Here, from FIG. 5, the external storage device name held in the small swapping number holding means 53 is D2, but the program swapping number 50 of the program name P1 is changed to the external storage device swapping number 20 of the external storage device name D2. When added, it becomes 70 (= 50 + 20). Since this value exceeds the average value 63 of the number of swappings, it is understood that the program name P1 cannot change the external storage device 1.

【0017】次に、同様にして、プログラム判読手段5
5によってプログラム名P4が読み込まれるが、プログ
ラム名P4のスワッピング回数は40であり、外部記憶
装置判読手段56によって読み込まれる外部記憶装置名
D2の外部記憶装置スワッピング回数20に足しても6
0回となり、スワッピング回数の平均値63より小さい
ことにより、図6に示すようなプログラム名P4のスワ
ッピング用外部記憶装置1を外部記憶装置名D2の外部
記憶装置1に変更するスワッピング変更指示情報が作成
されてスケジュール変更保持部6に保持される。
Next, in the same manner, the program reading means 5
5, the program name P4 is read, but the number of swappings of the program name P4 is 40. Even if it is added to the external storage device swapping number of 20 of the external storage device name D2 read by the external storage device reading means 56, 6
Since it is 0 times and is smaller than the average value 63 of the number of swapping, the swapping change instruction information for changing the swapping external storage device 1 having the program name P4 to the external storage device 1 having the external storage device name D2 as shown in FIG. It is created and held in the schedule change holding unit 6.

【0018】図7は、スケジュール変更部7がスケジュ
ール変更保持部6に保持されている図6に示したスワッ
ピング変更指示情報を読み取り、図3に示したスケジュ
ール管理表のうちのプログラム名P4のスワッピング用
外部記憶装置1を外部記憶装置名D1の外部記憶装置1
から外部記憶装置名D2の外部記憶装置1に変更した状
態を示す。
In FIG. 7, the schedule changing unit 7 reads the swapping change instruction information shown in FIG. 6 held in the schedule change holding unit 6 and swaps the program name P4 in the schedule management table shown in FIG. External storage device 1 for external storage device 1 having the external storage device name D1
Shows the state in which the external storage device 1 has been changed from the external storage device name D2.

【0019】このようにスケジュール管理表の内容が変
更されることによって、外部記憶装置スワッピング回数
の最大値90回が50回(=外部記憶装置名D1の外部
記憶装置スワッピング回数−プログラム名P4のスワッ
ピング回数=90−40)になり、情報処理装置全体の
外部記憶装置スワッピング回数の最大値を外部記憶装置
名D1の90回より外部記憶装置名D3の80回以下に
減少させることができ、仮想記憶システムにおけるスワ
ッピング用外部記憶装置1の自動変更が行えたことにな
る。
By changing the contents of the schedule management table as described above, the maximum value of the external storage device swapping number of 90 times is 50 times (= the external storage device swapping number of the external storage device name D1−the swapping of the program name P4). (Number of times = 90-40), the maximum value of the number of times of swapping the external storage device of the entire information processing apparatus can be reduced from 90 times of the external storage device name D1 to 80 times or less of the external storage device name D3. This means that the swapping external storage device 1 in the system can be automatically changed.

【0020】ここで、一般的には、スケジュール管理表
は仮想記憶システムが起動されたときに主記憶装置2内
に読み込まれて運用されるので、このように変更された
スケジュール管理表は利用者の指定により次の仮想記憶
システムの起動時または明示的に利用者がスケジュール
管理表を仮想記憶システムに読み込ませる操作を行うこ
とによって運用がなされる。
Here, since the schedule management table is generally read and operated in the main storage device 2 when the virtual storage system is activated, the schedule management table thus modified is used by the user. The operation is performed at the next start-up of the virtual storage system or by the user explicitly operating the virtual storage system to read the schedule management table.

【0021】[0021]

【発明の効果】以上説明したように本発明は、プログラ
ムが使用するスワッピング用の外部記憶装置を変更でき
る仮想記憶システムにおいて、SMF部,スワッピング
回数保持部,評価部,スケジュール変更保持部,スケジ
ュール変更部およびスケジュール管理部を設け、スケジ
ュール管理表におけるプログラムと外部記憶装置との対
応をプログラム毎の外部記憶装置に対するスワッピング
回数を複数の外部記憶装置で平均化するように自動的に
変更することにより、仮想記憶システムにおいてスワッ
ピングに伴う外部記憶装置に対する入出力が分散化され
て情報処理装置を効率的に動作させることができるとい
う効果がある。
As described above, according to the present invention, in the virtual storage system capable of changing the external storage device for swapping used by the program, the SMF unit, the swapping frequency holding unit, the evaluation unit, the schedule change holding unit, the schedule change Section and schedule management section, by automatically changing the correspondence between the program and the external storage device in the schedule management table so that the number of swapping times for the external storage device for each program is averaged by a plurality of external storage devices, In the virtual storage system, there is an effect that the input / output to / from the external storage device due to swapping is distributed and the information processing device can be operated efficiently.

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

【図1】本発明の一実施例に係る仮想記憶システムにお
けるスワッピング用外部記憶装置の自動変更方式の構成
を示すブロック図である。
FIG. 1 is a block diagram showing a configuration of an automatic changing system of an external storage device for swapping in a virtual storage system according to an embodiment of the present invention.

【図2】図1中の評価部の詳細を示すブロック図であ
る。
FIG. 2 is a block diagram showing details of an evaluation unit in FIG.

【図3】図1中のスケジュール管理部に格納されている
プログラムと外部記憶装置との対応を示すスケジュール
管理表の内容例を示す図である。
FIG. 3 is a diagram showing an example of contents of a schedule management table showing correspondence between programs stored in a schedule management unit in FIG. 1 and external storage devices.

【図4】図1中のスワッピング回数保持部に格納されて
いる外部記憶装置と主記憶装置との間のスワッピング回
数情報の一例を示す図である。
FIG. 4 is a diagram showing an example of swapping count information between an external storage device and a main storage device stored in a swapping count holding unit in FIG. 1.

【図5】図4のスワッピング回数情報が小スワッピング
回数保持手段と大スワッピング回数保持手段とに分類さ
れて格納されている状態を示す図である。
FIG. 5 is a diagram showing a state in which the swapping number information of FIG. 4 is classified and stored in a small swapping number holding means and a large swapping number holding means.

【図6】図1中のスケジュール変更保持部に保持された
スワッピング変更指示情報の一例を示す図である。
FIG. 6 is a diagram showing an example of swapping change instruction information held in a schedule change holding unit in FIG. 1.

【図7】図3のスケジュール管理表が図6のスワッピン
グ変更指示情報に基づいて変更された状態を示す図であ
る。
7 is a diagram showing a state in which the schedule management table in FIG. 3 is changed based on the swapping change instruction information in FIG.

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

1 外部記憶装置 2 主記憶装置 3 SMF部 4 スワッピング回数保持部 5 評価部 6 スケジュール変更保持部 7 スケジュール変更部 8 スケジュール管理部 51 スワッピング回数区分け手段 52 スワッピング回数平均値判定手段 53 小スワッピング回数保持手段 54 大スワッピング回数保持手段 55 プログラム判読手段 56 外部記憶装置判読手段 1 External Storage Device 2 Main Storage Device 3 SMF Section 4 Swapping Count Holding Section 5 Evaluation Section 6 Schedule Change Holding Section 7 Schedule Changing Section 8 Schedule Management Section 51 Swapping Count Sorting Means 52 Swapping Count Average Determining Means 53 Small Swapping Count Holding Means 54 large swapping number holding means 55 program reading means 56 external storage device reading means

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 プログラムとスワッピング用外部記憶装
置との対応を変更できる仮想記憶システムにおいて、 主記憶装置と外部記憶装置との間で行われるプログラム
のスワッピングを計測するSMF部と、 このSMF部により計測されたプログラム毎の外部記憶
装置に対するスワッピング回数情報を保持するスワッピ
ング回数保持部と、 このスワッピング回数保持部に保持されたスワッピング
回数情報に基づいてプログラム毎の外部記憶装置に対す
るスワッピング回数が複数の外部記憶装置で平均化して
いるかどうかを判定して平均化していない場合にはプロ
グラム毎の外部記憶装置に対するスワッピング回数を複
数の外部記憶装置で平均化するようなスワッピング変更
指示情報を作成する評価部と、 この評価部により作成されたスワッピング変更指示情報
を保持するスケジュール変更保持部と、 プログラムとプログラムがスワッピング用に使用する外
部記憶装置との対応が保持されているスケジュール管理
部と、 前記スケジュール変更保持部に保持されているスワッピ
ング変更指示情報を判読し前記スケジュール管理部に保
持されているプログラムと外部記憶装置との対応を変更
するスケジュール変更部とを有することを特徴とする仮
想記憶システムにおけるスワッピング用外部記憶装置の
自動変更方式。
1. A virtual storage system capable of changing the correspondence between a program and an external storage device for swapping, and an SMF section for measuring the swapping of a program performed between a main storage apparatus and an external storage apparatus. A swapping number holding unit that holds the measured swapping number information for the external storage device for each program, and a plurality of external swapping numbers for the external storage device for each program based on the swapping number information held in the swapping number holding unit. An evaluation unit that creates swapping change instruction information that determines whether or not the storage devices are averaged and, if not averaged, the number of swappings for each program to the external storage device is averaged in a plurality of external storage devices. , Swappies created by this evaluation department A schedule change holding unit that holds the change instruction information, a schedule management unit that holds the correspondence between the program and the external storage device used for swapping, and a swapping change that is held in the schedule change holding unit. An automatic changing method for an external storage device for swapping in a virtual storage system, comprising: a schedule changing unit for reading instruction information and changing a correspondence between a program held in the schedule managing unit and the external storage device.
JP3011379A 1991-01-07 1991-01-07 Automatic Change Method of External Storage Device for Swapping in Virtual Storage System Expired - Fee Related JP2638314B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3011379A JP2638314B2 (en) 1991-01-07 1991-01-07 Automatic Change Method of External Storage Device for Swapping in Virtual Storage System

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3011379A JP2638314B2 (en) 1991-01-07 1991-01-07 Automatic Change Method of External Storage Device for Swapping in Virtual Storage System

Publications (2)

Publication Number Publication Date
JPH0619796A true JPH0619796A (en) 1994-01-28
JP2638314B2 JP2638314B2 (en) 1997-08-06

Family

ID=11776381

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3011379A Expired - Fee Related JP2638314B2 (en) 1991-01-07 1991-01-07 Automatic Change Method of External Storage Device for Swapping in Virtual Storage System

Country Status (1)

Country Link
JP (1) JP2638314B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7409521B2 (en) 2003-06-27 2008-08-05 Fujitsu Limited Method of managing storage capacity, server and recording medium therefor
US7623787B2 (en) 2005-03-23 2009-11-24 Fujitsu Limited Wavelength division multiplexing transmission apparatus using a multiple wavelength light source

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6410320A (en) * 1987-07-03 1989-01-13 Nec Corp I/o load dispersion system for secondary memory file

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6410320A (en) * 1987-07-03 1989-01-13 Nec Corp I/o load dispersion system for secondary memory file

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7409521B2 (en) 2003-06-27 2008-08-05 Fujitsu Limited Method of managing storage capacity, server and recording medium therefor
US7623787B2 (en) 2005-03-23 2009-11-24 Fujitsu Limited Wavelength division multiplexing transmission apparatus using a multiple wavelength light source

Also Published As

Publication number Publication date
JP2638314B2 (en) 1997-08-06

Similar Documents

Publication Publication Date Title
US4542458A (en) Method of and apparatus for assigning software resources to memory devices
US5918033A (en) Method and apparatus for dynamic location and control of processor resources to increase resolution of data dependency stalls
US8516163B2 (en) Hardware-based concurrent direct memory access (DMA) engines on serial rapid input/output SRIO interface
WO2000038060A2 (en) Interrupt/software-controlled thread processing
WO2003025784A2 (en) Method of scheduling in a reconfigurable hardware architecture with multiple hardware configurations
US20040162966A1 (en) Method and apparatus for determining availability of a queue which allows random insertion
KR101553650B1 (en) Apparatus and method for load balancing in multi-core system
US20070079040A1 (en) Interrupt signal processing circuit for sending interrupt requests to a computer system
US6912712B1 (en) Real time control system for multitasking digital signal processor using ready queue
EP0730237A1 (en) Multi-processor system with virtually addressable communication registers and controlling method thereof
JPH0619796A (en) Automatic changing system for swapping use external storage device in virtual storage system
JPH09101902A (en) Job scheduling system
JP2740469B2 (en) Task management method
EP0427558A2 (en) Task switching system
EP0867811A1 (en) Accounting-information outputting device
JPH08137703A (en) Task switching device
JP3084812B2 (en) Program list output efficiency method
JPH04302036A (en) Distributed loading system
JP2000132411A (en) Dispatch device, assigning method for cpu, and storage medium stored with dispatch program
JPH01211139A (en) Collective management system for plural logical files
JPH03257567A (en) Link pack area control system
JPH07334449A (en) Input/output load distributing system
JPH09185531A (en) Omissiion avoiding device for trace information
JPH05151035A (en) Database system
JPH01248257A (en) Load distribution control system for input output to auxiliary storage device

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080425

Year of fee payment: 11

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090425

Year of fee payment: 12

LAPS Cancellation because of no payment of annual fees