JP2014182740A - Swap file transfer device, swap file transfer method, swap file transfer program, virtual storage device, and operating system - Google Patents
Swap file transfer device, swap file transfer method, swap file transfer program, virtual storage device, and operating system Download PDFInfo
- Publication number
- JP2014182740A JP2014182740A JP2013058478A JP2013058478A JP2014182740A JP 2014182740 A JP2014182740 A JP 2014182740A JP 2013058478 A JP2013058478 A JP 2013058478A JP 2013058478 A JP2013058478 A JP 2013058478A JP 2014182740 A JP2014182740 A JP 2014182740A
- Authority
- JP
- Japan
- Prior art keywords
- swap file
- file transfer
- storage device
- performance value
- page
- 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
Links
Images
Landscapes
- Memory System Of A Hierarchy Structure (AREA)
Abstract
Description
本発明は、仮想記憶方式を制御する装置等に関する。 The present invention relates to an apparatus for controlling a virtual storage system.
仮想記憶方式を採用するコンピュータシステムは、主記憶装置(以下、単に、「メモリ」と言う。)に加えて二次記憶装置を有することにより、メモリ単独で提供されるメモリ空間よりも大きいメモリ空間を提供する。 A computer system that employs a virtual storage system has a secondary storage device in addition to a main storage device (hereinafter simply referred to as “memory”), thereby providing a memory space larger than the memory space provided by the memory alone. I will provide a.
該コンピュータシステムは、プログラムがアクセスするページをメモリに保持するとともに、アクセスしないページを二次記憶装置に保持する。 The computer system holds pages accessed by the program in the memory and holds pages not accessed in the secondary storage device.
該コンピュータシステムは、ジョブに関するページをメモリから二次記憶装置へ書き込む処理(ページアウト)により、メモリに空き領域を作成する。逆に、該コンピュータシステムは、高い優先度を有するジョブに関するページを二次記憶装置からメモリへ読み取り(ページイン)、その後、該メモリ上で該ジョブを処理する。 The computer system creates a free area in the memory by a process (page out) of writing a page related to the job from the memory to the secondary storage device. Conversely, the computer system reads a page relating to a job having a high priority from the secondary storage device to the memory (page in), and then processes the job on the memory.
特許文献1乃至特許文献3は、仮想記憶方式を採用するコンピュータシステムを効率よく制御する方法に関する技術を開示する。
特許文献1は、優先度が相互に異なる複数のジョブを処理する場合に、高い優先度を有するジョブを処理する際の性能を確保する方法を開示する。該方法においては、相互に異なる処理性能を有する二次記憶装置(例えば、物理的なディスクなど)を用いる。
特許文献2が開示するメモリ管理装置は、高い優先度を有するジョブに関するページアウトを高速化する。 The memory management device disclosed in Patent Document 2 speeds up page-out related to a job having a high priority.
特許文献3は、仮想記憶システムにおいて、ジョブを記憶するページをページアウトする際に、二次記憶装置におけるピーク負荷を軽減するスワッピング制御方式を開示する。該スワッピング制御方式は、ページアウトするページがある場合に、一定時間、ページアウトを停止し、その後、該ページを二次記憶装置にページアウトする。 Patent Document 3 discloses a swapping control method for reducing a peak load in a secondary storage device when a page storing a job is paged out in a virtual storage system. In the swapping control method, when there is a page to be paged out, the page out is stopped for a certain time, and then the page is paged out to the secondary storage device.
しかしながら、上述したような仮想記憶方式を採用するコンピュータシステムにおいては、異なる優先度を有するジョブを一度に処理する場合、低い優先度を有するジョブに割り当てたページがページインされ、そのページインされたページがメモリのメモリ領域の大部分を占めてしまい、その結果、高い優先度を有するジョブに割り当てたページがページアウトされてしまうため、高い優先度を有するジョブを、効率よく処理することができない。 However, in a computer system that employs the virtual storage method as described above, when a job having different priorities is processed at a time, a page assigned to a job having a lower priority is paged in, and the page in is performed. Pages occupy most of the memory area of the memory, and as a result, pages assigned to jobs with high priority are paged out, so jobs with high priority cannot be processed efficiently. .
このような状況を回避する方法の一つとして、高い優先度を有するジョブに対して予め定めたメモリ領域を固定的に割り当てる方法がある。 As one method for avoiding such a situation, there is a method of fixedly allocating a predetermined memory area to a job having a high priority.
すなわち、該方法において、低い優先度を有するジョブに割り当てることが可能なメモリ領域は、メモリ領域を固定的に割り当てない場合に割り当て可能なメモリ領域に比べ減少する。その結果、該コンピュータシステムは、低い優先度を有する複数のジョブを一度に処理するため、各ジョブに対して交互にメモリ領域を割り当てる。すなわち、該コンピュータシステムにおいては、ページイン及びページアウトを繰り返すスラッシングが発生するため、ページイン及びページアウトに係る処理のオーバヘッドが増大する。 In other words, in this method, the memory area that can be allocated to a job having a low priority is reduced compared to the memory area that can be allocated when the memory area is not fixedly allocated. As a result, since the computer system processes a plurality of jobs having a low priority at a time, a memory area is alternately allocated to each job. That is, in the computer system, thrashing that repeats page-in and page-out occurs, so that the processing overhead related to page-in and page-out increases.
その結果、該コンピュータシステム全体における処理が遅延するため、高い優先度を有するジョブの処理も遅延するという問題点が上記方法にはある。 As a result, since the processing in the entire computer system is delayed, the above method has a problem that processing of a job having a high priority is also delayed.
特許文献1が開示する方法によれば、コンピュータシステムは、低い優先度を有するジョブに関して、二次記憶装置からメモリへデータを読み取る処理、及び、メモリから二次記憶装置へデータを書き込む処理をともに制限する。その結果、該システムは、低い優先度を有するジョブを、二次記憶装置へページアウトする処理も制限する。その結果、低い優先度を有するジョブが使用しているメモリを解放する処理に要する時間は長い。その間、該システムは、他のジョブに、メモリ領域を割り当てることができない。その結果、メモリ領域が不足する可能性がある。
According to the method disclosed in
特許文献2が開示するメモリ管理装置は、高い優先度を有するジョブを優先的に処理する。該メモリ管理装置は、低い優先度を有するジョブを制限しないため、低い優先度を有するジョブに起因して、高い優先度を有するジョブにおける処理性能が低下することを防ぐことはできない。 The memory management device disclosed in Patent Document 2 preferentially processes a job having a high priority. Since the memory management device does not limit jobs having a low priority, it cannot prevent the processing performance of a job having a high priority from being deteriorated due to a job having a low priority.
特許文献3が開示するスワッピング制御方式は、ページアウトする全てのページに対して、それぞれ、一定時間、ページアウトを停止する。そのため、該スワッピング制御方式は、高い優先度を有するジョブに性能低下を引き起こさない場合であっても、一定時間、ページアウトを停止する。その結果、該スワッピング制御方式は、高い優先度を有するジョブにおける処理性能を低下させる。 The swapping control method disclosed in Patent Document 3 stops page-out for a certain period of time for all pages that are paged-out. For this reason, the swapping control method stops page-out for a certain period of time even when the performance of a job having a high priority is not reduced. As a result, the swapping control method lowers the processing performance of a job having a high priority.
そこで、本発明の主たる目的は、全体として高い処理性能を達成しつつ、高い優先度を有するジョブにおける性能低下を軽減するスワップファイル転送装置等を提供することである。 Therefore, a main object of the present invention is to provide a swap file transfer apparatus and the like that can achieve high processing performance as a whole and reduce performance deterioration in jobs having high priority.
前述の目的を達成するために、本発明に係るスワップファイル転送装置は、以下の構成を備えることを特徴とする。 In order to achieve the above object, a swap file transfer apparatus according to the present invention is characterized by having the following configuration.
即ち、本発明に係るスワップファイル転送装置は、
スワップファイルを識別するスワップファイル識別子と自装置とが関連付けされている場合に、二次記憶装置へアクセスする性能値に応じて、前記スワップファイルを前記二次記憶装置から主記憶装置へ読み取るページインを調整する調整部
を備えることを特徴とする。
That is, the swap file transfer device according to the present invention is
A page-in for reading the swap file from the secondary storage device to the main storage device according to the performance value for accessing the secondary storage device when the swap file identifier for identifying the swap file is associated with the own device. It is characterized by comprising an adjusting section for adjusting the.
また、本発明の他の見地として、本発明に係るスワップファイル転送方法は、
スワップファイルを識別するスワップファイル識別子とスワップファイル転送装置とが関連付けされている場合に、二次記憶装置へアクセスする性能値に応じて、前記スワップファイルを前記二次記憶装置から主記憶装置へ読み取るページインを調整する
ことを特徴とする。
As another aspect of the present invention, a swap file transfer method according to the present invention includes:
When the swap file identifier for identifying the swap file is associated with the swap file transfer device, the swap file is read from the secondary storage device to the main storage device according to the performance value for accessing the secondary storage device. It is characterized by adjusting page-in.
さらに、同目的は、係るスワップファイル転送プログラム、および、そのプログラムを記録するコンピュータ読み取り可能な記録媒体によっても実現される。 Furthermore, this object is also realized by such a swap file transfer program and a computer-readable recording medium for recording the program.
本発明に係るスワップファイル転送装置等によれば、全体として高い処理性能を達成しつつ、高い優先度を有するジョブにおける性能低下を軽減することできる。 According to the swap file transfer apparatus and the like according to the present invention, it is possible to reduce performance degradation in a job having high priority while achieving high processing performance as a whole.
次に、発明を実施するための最良の形態について図面を参照して詳細に説明する。 Next, the best mode for carrying out the invention will be described in detail with reference to the drawings.
<第1の実施形態>
本発明の第1の実施形態に係るスワップファイル転送装置101が有する構成と、スワップファイル転送装置101が行う処理とについて、図1と図2とを参照しながら詳細に説明する。図1は、第1の実施形態に係るスワップファイル転送装置101が有する構成を示すブロック図である。図2は、第1の実施形態に係るスワップファイル転送装置101における処理の流れを示すフローチャートである。
<First Embodiment>
The configuration of the swap
スワップファイル転送装置101は、性能値106に応じて、二次記憶装置105からメモリ104へ読み取るページインを調整する調整部102を有する。仮想記憶装置103は、スワップファイル転送装置101を有する。
The swap
まず、調整部102は、スワップファイルを識別するスワップファイル識別子を受信する。調整部102は、受信したスワップファイル識別子が自装置(スワップファイル転送装置101)と関連付けされているか否かを調べる(ステップS201)。例えば、調整部102は、図3に示すようなスワップファイル情報を参照することにより、ステップS201における処理を行う。図3は、スワップファイル転送装置101に関連付けされたスワップファイル情報を概念的に表す図である。図3において、スワップファイル情報は、「SWP1」、「SWP2」、「SWP5」というスワップファイル識別子を含む。これは、スワップファイル転送装置101が、「SWP1」、「SWP2」、「SWP5」というスワップファイル識別子を有するスワップファイルに関連付けされていることを表す。
First, the
調整部102は、受信したスワップファイル識別子が該スワップファイル情報に登録されているか否かを調べる。調整部102は、該スワップファイル情報が受信したスワップファイル識別子を含むと判定する場合に、受信したスワップファイル識別子が自装置に関連付けされていると判定する。
The
例えば、調整部102は、スワップファイル識別子「SWP1」を受信する場合、該スワップファイル情報におけるスワップ識別子と、スワップファイル識別子「SWP1」とを比較する。この場合、該スワップファイル情報が「SWP1」を含むため、調整部102は、受信したスワップファイル識別子「SWP1」が自装置に関連付けされていると判定する。
For example, when receiving the swap file identifier “SWP1”, the
調整部102は、受信したスワップファイル識別子が自装置(スワップファイル転送装置101)に関連付けされていると判定する場合に(ステップS201にてYESと判定)、二次記憶装置へアクセスする性能値に応じて、該スワップファイル識別子に関連付けされたスワップファイルを二次記憶装置からメモリ104へ読み取るページインを調整する(ステップS203)。
When the
性能値106は、例えば、単位時間当たりにおいて、二次記憶装置105からメモリ104へスワップファイルを読み取る回数、すなわち、単位時間当たりにおいてページインする回数等である。
The
その場合、調整部102は、単位時間当たりにおいてページインする回数に関する情報を受け取り、例えば、受け取った情報を特定の性能値と比較する(ステップS202)。調整部102は、単位時間当たりにおいてページインする回数が特定の性能値を超える場合、一定期間、自装置に関連付けされたスワップファイル識別子に係るページインを停止する等、ページインを抑制する処理を実施する(ステップS203)。
In this case, the
また、調整部102は、性能値106が特定の性能値を超える場合に、性能値が特定の性能値を下回るまで、該ページインを抑制する処理を行っても良い。性能値106に応じてページインを調整する方法は、上述した方法には限定されない。
Further, when the
上述した例において、調整部102は、性能値106と特定の性能値とを比較するとしたが、特定の性能値はあらかじめ決められている必要はない。すなわち、外部装置(不図示)が、性能を測定し、該測定した性能等に応じて、特定の性能値を算出しても良い。その場合、調整部102は、外部装置から特定の性能値を受け取る。あるいは、外部装置が特定の性能値を記憶部(不図示)に保存し、調整部102は、該記憶部から特定の性能値を読み取っても良い。本実施形態は、上述した例に限定されない。
In the example described above, the
また、例えば、仮想記憶装置103は、低い優先度を有するジョブを記憶するスワップファイルのスワップファイル識別子を、スワップファイル情報に保存する等により、スワップファイル転送装置101に関連付けする。仮想記憶装置103が、該スワップファイルを二次記憶装置105からメモリ104にページインする場合、スワップファイル転送装置101は、スワップファイル情報と性能値106とに応じて該ページインを抑制する。
Further, for example, the
オペレーティングシステムは、上述したような仮想記憶装置103を制御することにより、高い優先度を有するジョブを効率よく処理する。
The operating system efficiently processes a job having a high priority by controlling the
スラッシングが発生している場合に、単位時間当たりにおいてページインする回数は増大する。性能値106がページインする回数である場合、特定の性能値を適切に設定することにより、ユーザあるいは外部装置は、スラッシングを検出することができる。ユーザあるいは外部装置が該特定の性能値を設定することにより、スワップファイル転送装置101は、スラッシングが発生している場合に、低い優先度を有するジョブを記憶するスワップファイルを二次記憶装置105からメモリ104に該ページインを抑制する。その結果、仮想記憶装置103において、低い優先度を有するジョブが起因するスラッシングにより、高い優先度を有するジョブにおけるスループットが低下する可能性は低下する。
When thrashing occurs, the number of page-ins per unit time increases. When the
さらに、本実施形態は、性能値106が特定の性能値以下である場合に、ページインを調整しないため、低い優先度を有するジョブであっても、メモリ104にページインする。その結果、本実施形態によれば、全体として高い処理性能を保つことができる。
Furthermore, in the present embodiment, when the
一方、特許文献1乃至特許文献3に記載のシステムは、いずれも、優先度に応じてページインを制御する機構を有さない。そのため、低い優先度を有するジョブがページインされる可能性があるため、低い優先度を有するジョブにおいてスラッシングが発生する。その結果、該スラッシングは、高い優先度を有するジョブにおける処理性能を低下させる。
On the other hand, none of the systems described in
即ち、第1の実施形態に係るスワップファイル転送装置によれば、全体として高い処理性能を達成しつつ、高い優先度を有するジョブにおける性能低下を軽減する。 In other words, according to the swap file transfer apparatus according to the first embodiment, performance deterioration in a job having a high priority is reduced while achieving high processing performance as a whole.
<第2の実施形態>
次に、上述した第1の実施形態を基本とする第2の実施形態について説明する。
<Second Embodiment>
Next, a second embodiment based on the above-described first embodiment will be described.
以下の説明においては、本実施形態に係る特徴的な部分を中心に説明すると共に、上述した第1の実施形態と同様な構成については、同一の参照番号を付すことにより、重複する説明を省略する。 In the following description, the characteristic part according to the present embodiment will be mainly described, and the same components as those in the first embodiment described above will be denoted by the same reference numerals, and redundant description will be omitted. To do.
図4を参照しながら、第2の実施形態に係るスワップファイル転送装置401が有する構成と、スワップファイル転送装置401が行う処理とについて説明する。図4は、第2の実施形態に係るスワップファイル転送装置401が有する構成を示すブロック図である。
The configuration of the swap
スワップファイル転送装置401は、調整部402と、決定部403とを有する。さらに、仮想記憶装置404は、スワップファイル転送装置401を有する。
The swap
まず、決定部403は、所定の判定方法に従い、特定の性能値を算出する。
First, the
所定の判定方法の一例を、図5と図6とに示す。図5および図6は、第2の実施形態に係るスワップファイル転送装置401における処理の流れの一例を示すフローチャートである。
An example of the predetermined determination method is shown in FIGS. FIG. 5 and FIG. 6 are flowcharts showing an example of a processing flow in the swap
まず、決定部403は、単位時間当たりにスワップファイルをページインする回数が所定の閾値以上であるか否かを判定する(ステップS501)。決定部403は、単位時間当たりにページインする回数を、外部装置(不図示)から受信してもよいし、自装置が測定しても良い。次に、決定部403は、単位時間当たりにスワップファイルをページインする回数が所定の閾値以上であると判定する場合に(ステップS501にてYESと判定)、特定の性能値として所定の第1回数を算出する(ステップS502)。決定部403は、単位時間当たりにスワップファイルをページインする回数が所定の閾値未満であると判定する場合に(ステップS501にてNOと判定)、特定の性能値として所定の第2回数を算出する(ステップS503)。
First, the
また、決定部403は、単位時間当たりにおいてスワップファイルをページインする回数が所定の閾値未満である期間が、所定の期間以上であるか否かに応じて(ステップS601)、特定の性能値を算出しても良い。
In addition, the
その場合、決定部403は、単位時間当たりにおいてスワップファイルをページインする回数が所定の閾値未満である期間が、所定の期間以上であると判定する場合に(ステップS601にてYESと判定)、特定の性能値として所定の第2回数を算出する(ステップS602)。決定部403は、単位時間当たりにおいてスワップファイルをページインする回数が所定の閾値未満である期間が、所定の期間未満であると判定する場合に(ステップS601にてNOと判定)、特定の性能値として所定の第1回数を算出する(ステップS603)。
In that case, the
次に、調整部402は、決定部403が算出した特定の性能値に応じて、上述したように、ページインを調整する。
Next, the
所定の第1回数は、例えば、ジョブにおけるスループットと、スワップファイルをページインする回数との関係を統計的に解析することにより、ジョブにおけるスループットがある性能値以下にならないように算出する値である。また、必ずしも、所定の第1回数を、あらかじめ算出しておく必要はない。例えば、ジョブにおけるスループットがある値以下になる場合に、第1回数を小さくし、逆に、ジョブにおけるスループットがある値も大きな場合に、第1回数を大きくするように調整しても良い。 The predetermined first number is, for example, a value calculated so that the throughput of the job does not fall below a certain performance value by statistically analyzing the relationship between the throughput of the job and the number of times the swap file is paged in. . In addition, it is not always necessary to calculate the predetermined first number in advance. For example, the first number of times may be decreased when the throughput of the job is less than or equal to a certain value, and conversely, the first number of times may be increased when the value of the throughput of the job is also large.
所定の第2回数は、所定の第1回数よりも大きな値である。所定の第2回数は、例えば、単位時間当たりに、ページイン可能な回数の最大値である。例えば、二次記憶装置105からメモリ104へデータを転送する速度を、スワップファイルの大きさにて割り算することにより、該最大値を算出することができる。該最大値の場合、性能値106が特定の性能値を超えることはないため、調整部402は、ページインを調整しない。
The predetermined second number is larger than the predetermined first number. The predetermined second number is, for example, the maximum value of the number of times page-in can be performed per unit time. For example, the maximum value can be calculated by dividing the speed at which data is transferred from the
所定の閾値及び所定の期間は、例えば、所定の第1回数と同様に、例えば、ジョブにおけるスループットと、ページインする回数との関係を統計的に解析することにより、処理する速度がある性能値以下にならないように算出する値である。同様に、所定の閾値及び所定の期間については、例えば、ジョブにおけるスループットに応じて値を調整しても良い。 For example, the predetermined threshold and the predetermined period are performance values having a processing speed by statistically analyzing the relationship between the throughput in the job and the number of page-ins, for example, in the same manner as the predetermined first number of times. It is a value calculated so as not to be below. Similarly, for the predetermined threshold and the predetermined period, for example, values may be adjusted according to the throughput in the job.
第2の実施形態は、第1の実施形態と同様の構成を有するため、全体として高い処理性能を達成しつつ、高い優先度を有するジョブにおける性能低下を軽減する。 Since the second embodiment has the same configuration as that of the first embodiment, performance degradation in a job having high priority is reduced while achieving high processing performance as a whole.
決定部403は、例えば、ジョブにおけるスループット等に応じて、特定の性能値を算出する。その結果、本実施形態によれば、さらに高い性能を達成することができる。
The determining
(ハードウェア構成例)
上述した本発明の各実施形態におけるスワップファイル転送装置を、1つの計算処理装置(情報処理装置、コンピュータ)を用いて実現するハードウェア資源の構成例について説明する。但し、係るスワップファイル転送装置は、物理的または機能的に少なくとも2つの計算処理装置を用いて実現してもよい。また、係るスワップファイル転送装置は、専用の装置として実現してもよい。
(Hardware configuration example)
A configuration example of hardware resources that implements the swap file transfer apparatus according to each embodiment of the present invention described above using one calculation processing apparatus (information processing apparatus, computer) will be described. However, the swap file transfer apparatus may be realized using at least two calculation processing apparatuses physically or functionally. Such a swap file transfer device may be realized as a dedicated device.
図7は、第1の実施形態または第2の実施形態に係るスワップファイル転送装置を実現可能な計算処理装置のハードウェア構成を概略的に示す図である。計算処理装置20は、中央処理演算装置(Central Processing Unit、以降「CPU」と表す)21、メモリ22、ディスク23、不揮発性記録媒体24、入力装置25、および、出力装置26を有する。
FIG. 7 is a diagram schematically illustrating a hardware configuration of a calculation processing apparatus capable of realizing the swap file transfer apparatus according to the first embodiment or the second embodiment. The
不揮発性記録媒体24は、コンピュータが読み取り可能な、例えば、コンパクトディスク(Compact Disc)、デジタルバーサタイルディスク(Digital Versatile Disc)、ブルーレイディスク(Blu−ray Disc)、ユニバーサルシリアルバスメモリ(USBメモリ)などを指しており、電源を供給しなくても係るプログラムを保持し、持ち運びを可能にする。不揮発性記録媒体24は、上述した媒体に限定されない。また、不揮発性記録媒体24の代わりに、通信ネットワークを介して係るプログラムを持ち運びしても良い。
The
即ち、CPU21は、ディスク23が記憶するソフトウェア・プログラム(コンピュータ・プログラム:以下、単に「プログラム」と称する)を、実行する際にメモリ22にコピーし、演算処理を実行する。CPU21は、プログラム実行に必要なデータをメモリ22から読み取る。表示が必要な場合には、CPU21は、出力装置26に出力結果を表示する。外部からプログラムを入力する場合、CPU21は、入力装置25からプログラムを読み取る。CPU21は、上述した図1、あるいは、図4に示した各部が表す機能(処理)に対応するところのメモリ22にあるスワップファイル転送プログラム(図2、図5、あるいは、図6)を解釈し実行する。CPU21は、上述した本発明の各実施形態において説明した処理を順次行う。
That is, the
即ち、このような場合、本発明は、係るスワップファイル転送プログラムによっても成し得ると捉えることができる。更に、係るスワップファイル転送プログラムが記録されたコンピュータ読み取り可能な記録媒体によっても、本発明は成し得ると捉えることができる。 That is, in such a case, it can be understood that the present invention can also be realized by such a swap file transfer program. Furthermore, it can be understood that the present invention can also be realized by a computer-readable recording medium on which such a swap file transfer program is recorded.
尚、上述した各実施形態の一部又は全部は、以下の付記のようにも記載されうる。しかしながら、上述した各実施形態により例示的に説明した本発明は、以下には限られない。即ち、
(付記1)
スワップファイルを識別するスワップファイル識別子と自装置とが関連付けされている場合に、二次記憶装置へアクセスする性能値に応じて、前記スワップファイルを前記二次記憶装置から主記憶装置へ読み取るページインを調整する調整部
を備えるスワップファイル転送装置。
In addition, a part or all of each embodiment mentioned above can be described also as the following additional remarks. However, the present invention described by way of example with the above-described embodiments is not limited to the following. That is,
(Appendix 1)
A page-in for reading the swap file from the secondary storage device to the main storage device according to the performance value for accessing the secondary storage device when the swap file identifier for identifying the swap file is associated with the own device. Swap file transfer device comprising an adjustment unit for adjusting
(付記2)
前記調整部は、前記性能値が特定の性能値を超える場合に、前記ページインを停止する
付記1に記載のスワップファイル転送装置。
(Appendix 2)
The swap file transfer device according to
(付記3)
所定の判定方法に従い、前記特定の性能値を算出する決定部をさらに備える
付記1または付記2に記載のスワップファイル転送装置。
(Appendix 3)
The swap file transfer device according to
(付記4)
前記性能値は、単位時間当たりにおいて前記ページインする回数であり、
前記所定の判定方法は、前記単位時間当たりにおいて前記ページインする回数が所定の閾値以上である場合に、所定の第1回数を前記特定の性能値として算出し、前記ページインする回数が、前記所定の閾値未満である場合に、所定の第2回数(ただし、前記所定の第1回数<前記所定の第2回数)を前記特定の性能値として算出する方法である
付記1乃至付記3のいずれかに記載のスワップファイル転送装置。
(Appendix 4)
The performance value is the number of page-ins per unit time,
In the predetermined determination method, when the number of page-ins per unit time is equal to or greater than a predetermined threshold, a predetermined first number is calculated as the specific performance value, and the number of page-in times is A method of calculating a predetermined second number of times (where the predetermined first number of times <the predetermined second number of times) as the specific performance value when the value is less than a predetermined threshold value. The swap file transfer device according to the above.
(付記5)
前記所定の判定方法は、前記単位時間当たりにおいて前記ページインする回数が前記所定の閾値未満である期間が、所定の期間以上である場合に、前記所定の第2回数を前記特定の性能値として算出し、前記所定の期間未満である場合に、前記所定の第1回数を前記特定の性能値として算出する方法である
付記1乃至付記3のいずれかに記載のスワップファイル転送装置。
(Appendix 5)
In the predetermined determination method, when the period in which the number of page-ins per unit time is less than the predetermined threshold is equal to or longer than a predetermined period, the predetermined second number is set as the specific performance value. The swap file transfer device according to any one of
(付記6)
付記1乃至付記5のいずれかに記載の前記スワップファイル転送装置を有する仮想記憶装置。
(Appendix 6)
A virtual storage device comprising the swap file transfer device according to any one of
(付記7)
付記6に記載の前記仮想記憶装置を制御するオペレーティングシステム。
(Appendix 7)
An operating system for controlling the virtual storage device according to appendix 6.
(付記8)
スワップファイル転送装置において、スワップファイルを識別するスワップファイル識別子と自装置とが関連付けされている場合に、二次記憶装置へアクセスする性能値に応じて、前記スワップファイルを前記二次記憶装置から主記憶装置へ読み取るページインを調整するスワップファイル転送方法。
(Appendix 8)
In the swap file transfer device, when the swap file identifier for identifying the swap file is associated with the own device, the swap file is transferred from the secondary storage device according to the performance value for accessing the secondary storage device. A swap file transfer method that adjusts page-ins to be read to a storage device.
(付記9)
スワップファイルを識別するスワップファイル識別子とスワップファイル転送装置とが関連付けされている場合に、二次記憶装置へアクセスする性能値に応じて、前記スワップファイルを前記二次記憶装置から主記憶装置へ読み取るページインを調整する調整機能を
コンピュータに実現させるスワップファイル転送プログラム。
(Appendix 9)
When the swap file identifier for identifying the swap file is associated with the swap file transfer device, the swap file is read from the secondary storage device to the main storage device according to the performance value for accessing the secondary storage device. A swap file transfer program that allows a computer to perform adjustment functions to adjust page-ins.
(付記10)
前記調整機能において、前記性能値が特定の性能値を超える場合に、前記ページインを停止する
付記9に記載のスワップファイル転送プログラム。
(Appendix 10)
The swap file transfer program according to claim 9, wherein in the adjustment function, the page-in is stopped when the performance value exceeds a specific performance value.
(付記11)
所定の判定方法に従い、前記特定の性能値を算出する決定機能をさらに有する
付記9または付記10に記載のスワップファイル転送プログラム。
(Appendix 11)
The swap file transfer program according to appendix 9 or appendix 10, further comprising a determination function for calculating the specific performance value according to a predetermined determination method.
(付記12)
前記性能値は、単位時間当たりにおいて前記ページインする回数であり、
前記所定の判定方法は、前記単位時間当たりにおいて前記ページインする回数が所定の閾値以上である場合に、所定の第1回数を前記特定の性能値として算出し、前記ページインする回数が、前記所定の閾値未満である場合に、所定の第2回数(ただし、前記所定の第1回数<前記所定の第2回数)を前記特定の性能値として算出する方法である
付記9乃至付記11のいずれかに記載のスワップファイル転送プログラム。
(Appendix 12)
The performance value is the number of page-ins per unit time,
In the predetermined determination method, when the number of page-ins per unit time is equal to or greater than a predetermined threshold, a predetermined first number is calculated as the specific performance value, and the number of page-in times is A method of calculating a predetermined second number of times (where the predetermined first number of times <the predetermined second number of times) as the specific performance value when the value is less than a predetermined threshold value. The swap file transfer program described in
(付記13)
前記所定の判定方法は、前記単位時間当たりにおいて前記ページインする回数が前記所定の閾値未満である期間が、所定の期間以上である場合に、前記所定の第2回数を前記特定の性能値として算出し、前記所定の期間未満である場合に、前記所定の第1回数を前記特定の性能値として算出する方法である
付記9乃至付記12のいずれかに記載のスワップファイル転送プログラム。
(Appendix 13)
In the predetermined determination method, when the period in which the number of page-ins per unit time is less than the predetermined threshold is equal to or longer than a predetermined period, the predetermined second number is set as the specific performance value. The swap file transfer program according to any one of appendix 9 to appendix 12, wherein the swap file transfer program is a method of calculating the predetermined first number of times as the specific performance value when the calculated period is less than the predetermined period.
101 スワップファイル転送装置
102 調整部
103 仮想記憶装置
104 メモリ
105 二次記憶装置
106 性能値
401 スワップファイル転送装置
402 調整部
403 決定部
404 仮想記憶装置
20 計算処理装置
21 CPU
22 メモリ
23 ディスク
24 不揮発性記録媒体
25 入力装置
26 出力装置
DESCRIPTION OF
22
Claims (10)
を備えるスワップファイル転送装置。 A page-in for reading the swap file from the secondary storage device to the main storage device according to the performance value for accessing the secondary storage device when the swap file identifier for identifying the swap file is associated with the own device. Swap file transfer device comprising an adjustment unit for adjusting
請求項1に記載のスワップファイル転送装置。 The swap file transfer device according to claim 1, wherein the adjustment unit stops the page-in when the performance value exceeds a specific performance value.
請求項1または請求項2に記載のスワップファイル転送装置。 The swap file transfer apparatus according to claim 1, further comprising a determination unit that calculates the specific performance value according to a predetermined determination method.
前記所定の判定方法は、前記単位時間当たりにおいて前記ページインする回数が所定の閾値以上である場合に、所定の第1回数を前記特定の性能値として算出し、前記ページインする回数が、前記所定の閾値未満である場合に、所定の第2回数(ただし、前記所定の第1回数<前記所定の第2回数)を前記特定の性能値として算出する方法である
請求項1乃至請求項3のいずれかに記載のスワップファイル転送装置。 The performance value is the number of page-ins per unit time,
In the predetermined determination method, when the number of page-ins per unit time is equal to or greater than a predetermined threshold, a predetermined first number is calculated as the specific performance value, and the number of page-in times is 4. The method of calculating a predetermined second number of times (where the predetermined first number of times <the predetermined second number of times) as the specific performance value when less than a predetermined threshold value. The swap file transfer device according to any one of the above.
請求項1乃至請求項3のいずれかに記載のスワップファイル転送装置。 In the predetermined determination method, when the period in which the number of page-ins per unit time is less than the predetermined threshold is equal to or longer than a predetermined period, the predetermined second number is set as the specific performance value. The swap file transfer device according to any one of claims 1 to 3, wherein the swap file transfer device is a method of calculating the predetermined first number of times as the specific performance value when calculated and less than the predetermined period.
コンピュータに実現させるスワップファイル転送プログラム。 When the swap file identifier for identifying the swap file is associated with the swap file transfer device, the swap file is read from the secondary storage device to the main storage device according to the performance value for accessing the secondary storage device. A swap file transfer program that allows a computer to perform adjustment functions to adjust page-ins.
請求項9に記載のスワップファイル転送プログラム。 The swap file transfer program according to claim 9, wherein, in the adjustment function, the page-in is stopped when the performance value exceeds a specific performance value.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2013058478A JP6155731B2 (en) | 2013-03-21 | 2013-03-21 | Swap file transfer device, swap file transfer method, swap file transfer program, virtual storage device, and operating system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2013058478A JP6155731B2 (en) | 2013-03-21 | 2013-03-21 | Swap file transfer device, swap file transfer method, swap file transfer program, virtual storage device, and operating system |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2014182740A true JP2014182740A (en) | 2014-09-29 |
JP6155731B2 JP6155731B2 (en) | 2017-07-05 |
Family
ID=51701355
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2013058478A Active JP6155731B2 (en) | 2013-03-21 | 2013-03-21 | Swap file transfer device, swap file transfer method, swap file transfer program, virtual storage device, and operating system |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP6155731B2 (en) |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS5458318A (en) * | 1977-10-19 | 1979-05-11 | Fujitsu Ltd | Job control system in artificial memory system |
JPH02238535A (en) * | 1989-03-13 | 1990-09-20 | Nec Corp | Page number variable on-demand paging system |
JPH064316A (en) * | 1992-06-23 | 1994-01-14 | Nec Corp | Memory control system in operating system |
-
2013
- 2013-03-21 JP JP2013058478A patent/JP6155731B2/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS5458318A (en) * | 1977-10-19 | 1979-05-11 | Fujitsu Ltd | Job control system in artificial memory system |
JPH02238535A (en) * | 1989-03-13 | 1990-09-20 | Nec Corp | Page number variable on-demand paging system |
JPH064316A (en) * | 1992-06-23 | 1994-01-14 | Nec Corp | Memory control system in operating system |
Also Published As
Publication number | Publication date |
---|---|
JP6155731B2 (en) | 2017-07-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9933951B2 (en) | Reducing read latency using a pool of processing cores | |
US20120072920A1 (en) | Information processing apparatus and information processing apparatus control method | |
US8190795B2 (en) | Memory buffer allocation device and computer readable medium having stored thereon memory buffer allocation program | |
US7590816B2 (en) | Computer system, management computer and storage system, and storage area allocation amount controlling method | |
US9092259B2 (en) | Apparatus and method for controlling a resource utilization policy in a virtual environment | |
US10210338B2 (en) | Reducing decryption latency for encryption processing | |
US10860225B2 (en) | Apparatus and method for routing access based on device load | |
US10514848B2 (en) | Data storage method for selectively storing data in a buffer preset in a memory of an electronic device or an inherent buffer in an SSD | |
JP2014032582A (en) | Image processing apparatus, control method and program of storage device of image processing apparatus | |
KR20100117295A (en) | Method for driving of data storage device and data storage device thereof | |
JP4620768B2 (en) | Control of a computer system having a processor including multiple cores | |
US20170024147A1 (en) | Storage control device and hierarchized storage control method | |
JP6155731B2 (en) | Swap file transfer device, swap file transfer method, swap file transfer program, virtual storage device, and operating system | |
KR101848418B1 (en) | A Memory Policy Aware Thread Placement policy for NUMA-based Linux Servers | |
US9218275B2 (en) | Memory management control system, memory management control method, and storage medium storing memory management control program | |
WO2022003932A1 (en) | Thermal throttling suppression device, thermal throttling suppression method, and thermal throttling suppression program | |
JP6380815B2 (en) | Storage device use management program and electronic device | |
JP2014186600A (en) | Storage device | |
JP4999932B2 (en) | Virtual computer system, virtual computer weighting setting processing method, and virtual computer weighting setting processing program | |
US11842056B2 (en) | System and method for allocating storage system resources during write throttling | |
US10152348B2 (en) | Managing use a limited-life storage device by suspending classes of task based on an amount of data to be written and an efficiency index | |
JP6698353B2 (en) | Information processing device, DMA transfer control method, and DMA transfer control program | |
JP6358330B2 (en) | Information processing apparatus, information processing system, memory management method, and memory management program | |
CN116774926A (en) | Storage space allocation method and storage device | |
WO2016166867A1 (en) | Computer system and resource control method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20160217 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20161130 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20161206 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20170120 |
|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20170509 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20170522 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 6155731 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |