JP5769224B2 - Data processing system and data processing method - Google Patents
Data processing system and data processing method Download PDFInfo
- Publication number
- JP5769224B2 JP5769224B2 JP2010040135A JP2010040135A JP5769224B2 JP 5769224 B2 JP5769224 B2 JP 5769224B2 JP 2010040135 A JP2010040135 A JP 2010040135A JP 2010040135 A JP2010040135 A JP 2010040135A JP 5769224 B2 JP5769224 B2 JP 5769224B2
- Authority
- JP
- Japan
- Prior art keywords
- job
- freeze
- class
- execution
- information
- 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.)
- Expired - Fee Related
Links
Images
Landscapes
- Memory System Of A Hierarchy Structure (AREA)
Description
本発明は、仮想記憶管理にて主記憶を管理するデータ処理システム及びデータ処理方法に関する。 The present invention relates to a data processing system and a data processing method for managing main memory by virtual memory management.
仮想記憶管理にて主記憶を管理するデータ処理システムでは、主記憶容量が不足しているために、主記憶と仮想記憶装置とのページの入れ替えが頻繁に発生する状態になる場合がある。このような状態は、スラッシングと呼ばれている。このようなスラッシングが発生すると、同時に実行しているジョブだけでなく、オペレーティングシステム自体の処理能力が低下する。このようなスラッシング状態となった場合には、最悪システム停止に至る可能性があり、実行しているジョブを停止/終了させるか、主記憶容量を増やす必要がある。 In a data processing system that manages main memory by virtual memory management, because the main memory capacity is insufficient, there may be a state in which page replacement between the main memory and the virtual memory device frequently occurs. Such a state is called thrashing. When such thrashing occurs, not only the job being executed simultaneously but also the processing capability of the operating system itself is reduced. In such a thrashing state, there is a possibility that the worst system will be stopped, and it is necessary to stop / end the job being executed or increase the main storage capacity.
このようなスラッシング状態を防止するシステムとしては、特許文献1に、ジョブのジョブ実行経過時間の累積に対するページフォルト処理経過時間の累積の比率が予め設定した閾値より大きいかどうかにより、スラッシングが発生しているかどうかを検出し、スラッシングが発生していたら、そのジョブをスラッシングモード状態としてスラッシングモード記録手段に記録するようにしたものが提案されている。 As a system for preventing such a thrashing state, in Patent Document 1, thrashing occurs depending on whether the ratio of the accumulated page fault processing elapsed time to the accumulated job execution elapsed time of a job is larger than a preset threshold value. It has been proposed that if thrashing occurs, the job is recorded in the thrashing mode recording means as a thrashing mode state.
上述のように、このようなスラッシングが発生すると、同時に実行しているジョブだけでなく、オペレーティングシステム自体の処理能力が低下する。スラッシングが発生し、実行しているジョブを停止/終了させる場合に、停止/終了対象として選択されるジョブは、主記憶と仮想記憶装置とのページの入れ替え処理が頻繁に行われているジョブではなく、使用している主記憶容量の大きいジョブや最後に投入したジョブなど、その他のジョブとなる可能性がある。 As described above, when such thrashing occurs, not only the job being executed simultaneously but also the processing capability of the operating system itself is reduced. When thrashing occurs and the job being executed is stopped / terminated, the job selected as the target to be stopped / terminated is a job in which page replacement processing between the main memory and the virtual storage device is frequently performed. There may be other jobs such as a job with a large main storage capacity used or a job submitted last.
特許文献1では、スラッシング状態と判断したプログラム間で、予め確保しておいたメモリ(スラッシングメモリプール)を分け合い、割り当てられたメモリを使用して実行するか、割り当てるメモリが不足していた場合にはメモリ待ちとさせて、ページフォルト処理を発生させないようにしている。しかしながら、特許文献1に示されているものの場合には、スラッシング状態と判断され、予め確保しておいたメモリを使用しているプログラムが終了しない間は、スラッシング状態のジョブに割り当てるメモリ量が増加しないため、メモリ待ちとなっているジョブのメモリ待ち状態が解除されない。また、特許文献1では、スラッシングの発生しやすいジョブだけを集めて、実行多重度を制限することが行われていない。 In Patent Document 1, when a memory (thrashing memory pool) reserved in advance is shared among programs determined to be in a thrashing state, the allocated memory is used for execution, or the allocated memory is insufficient. Does not cause page fault processing by waiting for memory. However, in the case of the one shown in Patent Document 1, the amount of memory allocated to the thrashing job increases while the program using the memory reserved in advance is not terminated because the thrashing state is determined. Therefore, the memory waiting state of the job waiting for the memory is not released. Further, in Patent Document 1, it is not performed to limit the multiplicity of execution by collecting only jobs that are prone to thrashing.
上述の課題を鑑み、本発明は、仮想記憶管理にて主記憶を管理する場合に、スラッシングの発生を防止することができるデータ処理システム及びデータ処理方法を提供することを目的とすることを目的とする。 In view of the above-described problems, an object of the present invention is to provide a data processing system and a data processing method capable of preventing thrashing when the main memory is managed by virtual memory management. And
上述の課題を解決するために、本発明は、仮想記憶管理により主記憶を管理するようにしたデータ処理装置において、ミッシングが頻発するジョブを検出する手段と、前記ミッシングが頻発するジョブをフリーズジョブクラスとして登録する手段と、前記フリーズジョブクラスに属するジョブを、フリーズクラス定義の情報内にフリーズジョブクラスの識別情報に対応して記述されている実行多重度に従って、当該実行多重度を制限して実行させる手段と、空きメモリ容量がフリーズジョブクラスに属しているジョブで実行待ちとなっているジョブのメモリ要求量より大きいかどうかを判定する手段と、前記空きメモリ容量がフリーズジョブクラスに属しているジョブで実行待ちとなっているジョブのメモリ要求量より大きいと判定された場合に、フリーズジョブクラスとして管理して前記実行多重度に基づいて実行していた当該ジョブについて、前記フリーズジョブクラスとしての登録を削除して元のジョブクラスとして実行させる手段とを備えることを特徴とする。 In order to solve the above-described problem, the present invention provides a data processing apparatus that manages main memory by virtual memory management, a means for detecting a job that frequently occurs, and a job that frequently causes missing. The means for registering as a class and jobs belonging to the freeze job class are limited in accordance with the execution multiplicity described in the freeze class definition information corresponding to the identification information of the freeze job class. Means for executing, means for determining whether or not the free memory capacity is larger than a memory request amount of a job waiting for execution in a job belonging to the freeze job class, and the free memory capacity belongs to the freeze job class. If it is determined that the amount of memory required for a job that is waiting to be executed is greater than the required amount of memory To, for the job that has been executed on the basis of the execution multiplicity managed as freeze job classes, and characterized in that it comprises a means for executing a original job class to delete the registration as the freeze job class To do.
本発明は、仮想記憶管理により主記憶を管理するようにしたデータ処理方法において、ミッシングが頻発するジョブを検出する工程と、前記ミッシングが頻発するジョブをフリーズジョブクラスとして登録する工程と、前記フリーズジョブクラスに属するジョブを、フリーズクラス定義の情報内にフリーズジョブクラスの識別情報に対応して記述されている実行多重度に従って、当該実行多重度を制限して実行させる工程と、空きメモリ容量がフリーズジョブクラスに属しているジョブで実行待ちとなっているジョブのメモリ要求量より大きいかどうかを判定する工程と、前記空きメモリ容量がフリーズジョブクラスに属しているジョブで実行待ちとなっているジョブのメモリ要求量より大きいと判定された場合に、フリーズジョブクラスとして管理して前記実行多重度に基づいて実行していた当該ジョブについて、前記フリーズジョブクラスとしての登録を削除して元のジョブクラスとして実行させる工程とを備えることを特徴とする。
The present invention provides a data processing method in which main memory is managed by virtual memory management, a step of detecting a job that frequently occurs, a step of registering the job that frequently occurs as a freeze job class, and the freeze A step of executing a job belonging to a job class by limiting the execution multiplicity according to the execution multiplicity described in the freeze class definition information corresponding to the identification information of the freeze job class, and a free memory capacity A step of determining whether or not the memory request amount of a job waiting for execution in a job belonging to the freeze job class is larger than the memory request amount, and a job belonging to the freeze job class is waiting for execution If it is determined to be greater than the memory requirements of the job, and freeze job classes For the job which has been performed based on the execution multiplicity and supervises as, characterized in that to remove the registration as the freeze job classes and a step to be executed as the original job class.
本発明によれば、主記憶容量が不足しているために仮想記憶装置とのページの入れ替えが頻繁に発生しているジョブを、当該ジョブが本来属しているジョブクラスに加え、主記憶容量が不足しているために仮想記憶装置とのページの入れ替えが頻繁に発生しているジョブの多重度を管理するためのジョブクラスでも管理することにより、主記憶容量が不足していているために仮想記憶装置とのページ入れ替えが頻繁に発生しているジョブの実行多重度を抑えることによりスラッシングを防止することができる。 According to the present invention, a job in which page replacement with the virtual storage device frequently occurs because the main storage capacity is insufficient is added to the job class to which the job originally belongs, and the main storage capacity is increased. Due to the lack of main storage capacity by managing even the job class for managing the multiplicity of jobs that frequently cause page replacement with the virtual storage device due to lack of virtual Thrashing can be prevented by suppressing the execution multiplicity of jobs that frequently cause page replacement with the storage device.
以下、本発明の実施の形態について図面を参照しながら説明する。図1は、本発明の第1の実施形態のコンピュータシステムを示すブロック図である。図1に示すように、本発明の第1の実施形態のコンピュータシステム1は、システム情報提供部10と、ポリシー情報提供部11と、ジョブ情報提供部12と、ジョブクラス情報提供部13と、空きメモリ検出部20と、ミッシング数超過検出部21と、ジョブ管理部22と、フリーズジョブクラス管理部23と、フリーズジョブクラス登録/削除部24と、フリーズジョブクラスジョブ実行部25を含む。
Hereinafter, embodiments of the present invention will be described with reference to the drawings. FIG. 1 is a block diagram showing a computer system according to the first embodiment of this invention. As shown in FIG. 1, a computer system 1 according to the first embodiment of the present invention includes a system
図2はシステム情報提供部の一例の情報の説明図であり、図3はポリシー情報提供部の一例の情報の説明図であり、図4はジョブ情報提供部の情報の一例の説明図であり、図5はジョブクラス情報提供部の情報の一例の説明図である。 2 is an explanatory diagram of an example of information of the system information providing unit, FIG. 3 is an explanatory diagram of an example of information of the policy information providing unit, and FIG. 4 is an explanatory diagram of an example of information of the job information providing unit. FIG. 5 is an explanatory diagram of an example of information of the job class information providing unit.
図2に示されるように、システム情報提供部10は、空きメモリ量情報INF101を提供する。空きメモリ量情報INF101は、ジョブに割り当て可能な主記憶容量である。
As shown in FIG. 2, the system
図3に示されるように、ポリシー情報提供部11は、ミッシング回数閾値情報INF111を提供する。ミッシング回数閾値情報INF111は、システム管理者が決定した、ジョブのミッシングが頻繁に発生していると判断すべきジョブの単位時間あたりのミッシング回数閾値である。
As shown in FIG. 3, the policy
図4に示されるとおり、ジョブ情報提供部12は、ジョブ毎に、メモリ要求量情報INF121、単位時間あたりのミッシング回数情報INF122、フリーズクラス属性情報INF123を提供する。メモリ要求量情報INF121は、そのジョブが要求するメモリ量である。単位時間あたりのミッシング回数情報INF122は、そのジョブの単位時間あたりのミッシング回数である。フリーズクラス属性情報INF123は、そのジョブがフリーズクラスに属するか否かを示す情報である。
As shown in FIG. 4, the job
図5に示されるように、ジョブクラス情報提供部13は、フリーズクラス定義情報INF131を提供している。フリーズクラス定義情報INF131は、システム管理者が決定した、主記憶と仮想記憶装置とのページの入れ替え処理が頻繁に行われているジョブの同時実行数を管理するための多重度情報INF1311を持つ。
As shown in FIG. 5, the job class
図1において、空きメモリ検出部20は、空きメモリ量と、フリーズクラス属性がフリーズジョブクラスに属しているジョブで実行待ちとなっているジョブのメモリ要求量とを監視し、空きメモリが要求メモリ量を超えているか否かを判定する。
In FIG. 1, the free
ミッシング数超過検出部21は、ジョブ毎の単位時間あたりのミッシング回数を監視し、ジョブの単位時間あたりのミッシング回数閾値を超えているか否かを判定することで、当該ジョブでミッシングが頻繁に発生しているかどうかを検出する。
The missing number
ジョブ管理部22は、ジョブ管理を行っている。より具体的には、ジョブ管理部22は、ミッシング数超過検出部21で、ジョブの単位時間あたりのミッシング回数が閾値を超えていると判定されると、当該ジョブでミッシングが頻繁に発生しているとして、当該ジョブをフリーズジョブクラスに変更する処理を行う。また、ジョブ管理部22は、空きメモリ検出部20で、空きメモリ容量がフリーズジョブクラスに属しているジョブで実行待ちとなっているジョブのメモリ要求量より大きいと判定された場合には、当該ジョブをフリーズジョブクラスから削除し、元のジョブクラスに戻して実行させる処理を行う。
The
フリーズジョブクラス管理部23は、フリーズジョブクラスの管理を行っている。より具体的には、フリーズジョブクラス管理部23は、ミッシングが頻繁に発生しているとしてフリーズジョブクラスに変更するジョブがあると、本来属しているジョブクラスに属したまま、当該ジョブがフリーズジョブクラスに属するように変更させる。また、フリーズジョブクラス管理部23は、ミッシングが頻繁に発生しているとしてフリーズジョブクラスに変更するジョブがあると、当該ジョブをフリーズジョブクラスのジョブとして実行させる。
The freeze job
フリーズジョブクラス登録/削除部24は、ジョブをフリーズジョブクラスに変更したり、ジョブをフリーズジョブクラスから削除したりする処理を行う。
The freeze job class registration /
フリーズジョブクラスジョブ実行部25は、フリーズジョブクラスのジョブの実行を行う。フリーズジョブクラスのジョブを実行させるときには、当該ジョブは、ジョブクラス情報提供部13のフリーズクラス定義情報INF131の多重度情報INF1311に従って、実行多重度が抑えられて実行される。
The freeze job class
本発明の第1の実施形態では、ミッシング数超過検出部21で、ジョブの単位時間あたりのミッシング回数がジョブの単位時間あたりのミッシング回数閾値より大きいかどうかが判定され、ジョブの単位時間あたりのミッシング回数がジョブの単位時間あたりのミッシング回数閾値より大きいと判定されると、当該ジョブは、フリーズジョブクラスに変更されて実行される。フリーズジョブクラスに属するジョブは、フリーズジョブクラスの定義に従った多重度で実行される。
In the first embodiment of the present invention, the missing number
次に、本発明の第1の実施形態の動作について、フローチャートを参照しながら説明する。上述のように、本発明の第1の実施形態では、ミッシングが頻発しているジョブは本来属しているジョブクラスに属したまま、フリーズジョブクラスにも属するように変更され、フリーズジョブクラスの定義に従って実行多重度が制限される。図6は、本発明の第1の実施形態におけるフリーズジョブクラスへの登録と実行の処理の流れを示すフローチャートである。 Next, the operation of the first exemplary embodiment of the present invention will be described with reference to a flowchart. As described above, in the first embodiment of the present invention, a job that frequently occurs is changed to belong to the freeze job class while belonging to the job class to which the missing job originally belongs, and the definition of the freeze job class is defined. The execution multiplicity is limited according to FIG. 6 is a flowchart showing the flow of registration and execution processing for a freeze job class according to the first embodiment of the present invention.
図6において、ミッシング数超過検出部21は、常にジョブ毎にあるジョブ情報提供部12の単位時間あたりのミッシング回数情報INF122を監視しており、システム管理者が決定したポリシー情報提供部11のジョブの単位時間あたりのミッシング回数閾値情報INF111を超えているか否かを判断する(ステップS101)。ミッシング数超過検出部21は、ジョブの単位時間あたりのミッシング回数情報INF122がミッシング回数閾値情報INF111より小さいと判定した場合には、ミッシングが頻繁に発生していないとして、当該ジョブについてはそのままとする。
In FIG. 6, the missing number
ステップS101で、ミッシング数超過検出部21は、ジョブの単位時間あたりのミッシング回数情報INF122がジョブの単位時間あたりのミッシング回数閾値情報INF111より大きいと判定した場合には、当該ジョブでミッシングが頻繁に発生しているとして、当該ジョブをフリーズジョブクラスに変更して実行させるために、ジョブ管理部22を起動する(ステップS102)。
In step S101, when the missing number
次に、ジョブ管理部22は、当該ジョブをフリーズジョブクラスに変更するために、フリーズジョブクラス管理部23を起動する(ステップS103)。
Next, the
次に、フリーズジョブクラス管理部23は、フリーズジョブクラス登録/削除部24を起動して、ジョブ情報提供部12のフリーズクラス属性情報INF123にフリーズジョブクラスに属している情報を記録し、当該ジョブがフリーズジョブクラスにも属するように変更する(ステップS104)。
Next, the freeze job
最後に、フリーズジョブクラス管理部23は、フリーズジョブクラスジョブ実行部25を起動して、当該ジョブをフリーズジョブクラスのジョブとして実行させる(ステップS105)。この際、当該ジョブは、フリーズジョブクラスの定義に従って実行されるため、ジョブクラス情報提供部13のフリーズクラス定義情報INF131の多重度情報INF1311に従って、実行多重度が抑えられて実行される。
Finally, the freeze job
また、本発明の第1の実施形態では、前述したように、主記憶にフリーズジョブクラスで実行多重度の制限のために実行待ち状態となっているジョブが要求している以上の空きメモリ量が発生すると、フリーズジョブクラスに登録されていて実行待ち状態のジョブはフリーズジョブクラスから削除され、元のジョブクラスで実行される。図7は、本発明の第1の実施形態におけるフリーズジョブクラスからの登録の削除の処理の流れを示すフローチャートである。 Further, in the first embodiment of the present invention, as described above, the amount of free memory more than that requested by a job waiting for execution due to the restriction of the execution multiplicity in the freeze job class in the main memory. Occurs, the job registered in the freeze job class and waiting to be executed is deleted from the freeze job class and executed in the original job class. FIG. 7 is a flowchart showing the flow of processing for deleting registration from the freeze job class in the first embodiment of the present invention.
図7において、空きメモリ検出部20は、システム情報提供部10の空きメモリ量情報INF101とジョブ情報提供部12でフリーズクラス属性情報INF123がフリーズジョブクラスに属しているジョブで実行待ちとなっているジョブのメモリ要求量情報INF121とを監視しており、空きメモリ量情報INF101がメモリ要求量情報INF121を超えているか否かを判断する(ステップS201)。空きメモリ検出部20は、空きメモリ量情報INF101がフリーズジョブクラスに属しているジョブで実行待ちとなっているジョブのメモリ要求量情報INF121より小さいと判定された場合には、当該ジョブについてはそのままとする。
In FIG. 7, the free
次に、空きメモリ検出部20は、空きメモリ量情報INF101がフリーズジョブクラスに属しているジョブで実行待ちとなっているジョブのメモリ要求量情報INF121より大きいと判定された場合には、当該ジョブをフリーズジョブクラスから削除し、元のジョブクラスに戻して実行させるために、ジョブ管理部22を起動する(ステップS202)。
Next, when it is determined that the free memory amount information INF101 is larger than the memory request amount information INF121 of the job waiting for execution in the job belonging to the freeze job class, the free
次に、ジョブ管理部22は、当該ジョブをフリーズジョブクラスから削除するために フリーズジョブクラス管理部23を起動する(ステップS203)。
Next, the
最後に、フリーズジョブクラス管理部23は、フリーズジョブクラス登録/削除部24を起動して、ジョブクラス情報提供部13のフリーズクラス属性情報INF123にフリーズジョブクラスに属していないという情報を記録し、当該ジョブの属するクラスを元のジョブクラスのみに変更する(ステップS204)。この際、当該ジョブは元のジョブクラスの定義に従って実行される。
Finally, the freeze job
以上説明したように、本発明の第1の実施形態では、ミッシングが頻発しているジョブ群だけでフリーズジョブクラスを構成し、ミッシングが頻発しているジョブに対して多重度を抑えることにより、スラッシングを防止している。このため、ミッシングが頻発しているジョブ以外のジョブに影響を与えないでスラッシングを防止できる。 As described above, in the first embodiment of the present invention, a freeze job class is configured only by a job group in which missing frequently occurs, and multiplicity is suppressed for a job in which missing frequently occurs. Thrashing is prevented. For this reason, thrashing can be prevented without affecting jobs other than jobs that frequently occur.
次に、本発明の第2の実施形態について説明する。図8は、本発明の第2の実施形態のコンピュータシステムを示すブロック図である。図8に示すように、本発明の第2の実施形態のコンピュータシステム201は、システム情報提供部210と、ポリシー情報提供部211と、ジョブ情報提供部212と、ジョブクラス情報提供部213と、空きメモリ検出部220と、ミッシング数超過検出部221と、ジョブ管理部222と、フリーズジョブクラス管理部223と、フリーズジョブクラス登録/削除部224と、フリーズジョブクラスジョブ実行部225と、ページアウト情報記録/読込部226と、ページイン制御部227を含んでいる。
Next, a second embodiment of the present invention will be described. FIG. 8 is a block diagram showing a computer system according to the second embodiment of this invention. As shown in FIG. 8, a
システム情報提供部210、ポリシー情報提供部211、ジョブ情報提供部212、ジョブクラス情報提供部213、空きメモリ検出部220、ミッシング数超過検出部221、ジョブ管理部222、フリーズジョブクラス管理部223、フリーズジョブクラス登録/削除部224、フリーズジョブクラスジョブ実行部225は、本発明の第1の実施形態のシステム情報提供部10、ポリシー情報提供部11、ジョブ情報提供部12、ジョブクラス情報提供部13、空きメモリ検出部20、ミッシング数超過検出部21、ジョブ管理部22、フリーズジョブクラス管理部23、フリーズジョブクラス登録/削除部24、フリーズジョブクラスジョブ実行部25と同様に構成されている。
System
但し、ジョブ情報提供部212は、図9に示されるように、第1の実施形態のジョブ情報提供部12(図4参照)の情報に加えて、さらに、ページアウト情報INF124を持つ。また、本発明の第2の実施形態は、第1の実施形態に加えて、さらに、ページアウト情報記録/読込部226と、ページイン制御部227とを含んでいる。
However, as shown in FIG. 9, the job
本発明の第2の実施形態では、ミッシングが頻発しているジョブは、本来属しているジョブクラスに属したまま、フリーズジョブクラスにも属するように変更され、フリーズジョブクラスの定義に従って実行多重度が制限される。図10は、本発明の第2の実施形態におけるフリーズジョブクラスからの登録の削除の処理の流れを示すフローチャートである。 In the second embodiment of the present invention, a job in which missing frequently occurs is changed to belong to the freeze job class while belonging to the job class to which it originally belongs, and the execution multiplicity is defined according to the definition of the freeze job class. Is limited. FIG. 10 is a flowchart showing the flow of processing for deleting registration from the freeze job class in the second embodiment of the present invention.
図10において、ミッシング数超過検出部221は常にジョブ毎にあるジョブ情報提供部212の単位時間あたりのミッシング回数情報INF122を監視しており、システム管理者が決定したポリシー情報提供部211のジョブの単位時間あたりのミッシング回数閾値情報INF111を超えているか否かを判断する(ステップS301)。ミッシング数超過検出部221は、ジョブの単位時間あたりのミッシング回数情報INF122がミッシング回数閾値情報INF111より小さいと判定された場合には、ミッシングが頻繁に発生していないとして、当該ジョブについてはそのままとする。
In FIG. 10, the missing number
次に、ミッシング数超過検出部221は、ジョブの単位時間あたりのミッシング回数情報INF122がジョブの単位時間あたりのミッシング回数閾値情報INF111より大きいと判定された場合には、当該ジョブでミッシングが頻繁に発生しているとして、当該ジョブをフリーズジョブクラスに変更して実行させるために、ジョブ管理部222を起動する(ステップS302)。
Next, when it is determined that the missing count information INF122 per unit time of the job is larger than the missing count threshold information INF111 per unit time of the job, the missing number
次に、ジョブ管理部222は、当該ジョブをフリーズジョブクラスに変更するために、フリーズジョブクラス管理部223を起動する(ステップS303)。
Next, the
次に、フリーズジョブクラス管理部223は、フリーズジョブクラス登録/削除部224を起動して、ジョブ情報提供部212のフリーズクラス属性情報INF123にフリーズジョブクラスに属している情報を記録し、当該ジョブがフリーズジョブクラスにも属するように変更する(ステップS304)。
Next, the freeze job
次に、フリーズジョブクラス管理部223は、フリーズジョブクラスジョブ実行部225を起動して当該ジョブをフリーズジョブクラスのジョブとして実行させる(ステップS305)。この際、当該ジョブはフリーズジョブクラスの定義に従って実行されるため、フリーズクラス定義情報INF131の多重度情報INF1311に従って実行される。
Next, the freeze job
最後に、ページアウト情報記録/読込部226は、フリーズジョブクラスとした際に実行多重度待ちとなったジョブに対して、ページアウトのされた情報をジョブ情報提供部212のページアウト情報INF124に記録する(ステップS306)。
Finally, the page-out information recording / reading unit 226 outputs the paged-out information to the page-out
また、本発明の第2の実施形態では、主記憶にフリーズジョブクラスで実行多重度の制限のために実行待ち状態となっているジョブが要求している以上の空きメモリ量が発生すると、フリーズジョブクラスに登録されていて実行待ち状態のジョブはフリーズジョブクラスから削除され、元のジョブクラスで実行される。図11は、本発明の第2の実施形態におけるフリーズジョブクラスからの登録の削除の処理の流れを示すフローチャートである。。 Further, in the second embodiment of the present invention, when a free memory amount larger than that requested by a job waiting for execution in the freeze job class due to the restriction of the execution multiplicity is generated in the main memory, the freeze is generated. Jobs registered in the job class and waiting to be executed are deleted from the frozen job class and executed in the original job class. FIG. 11 is a flowchart showing the flow of processing for deleting registration from the freeze job class in the second embodiment of the present invention. .
図11において、空きメモリ検出部220はシステム情報提供部210の空きメモリ量情報INF101とジョブ情報提供部12でフリーズクラス属性情報INF123がフリーズジョブクラスに属しているジョブで実行待ちとなっているジョブのメモリ要求量情報INF121を監視しており、空きメモリ量情報INF101がメモリ要求量情報INF121を超えているか否かを判断する(ステップS401)。空きメモリ検出部220は、空きメモリ量情報INF101がフリーズジョブクラスに属しているジョブで実行待ちとなっているジョブのメモリ要求量情報INF121より小さいと判定された場合には、当該ジョブについてはそのままとする。
In FIG. 11, the free
次に、空きメモリ検出部220は、空きメモリ量情報INF101がフリーズジョブクラスに属しているジョブで実行待ちとなっているジョブのメモリ要求量情報INF121より大きいと判定された場合には、当該ジョブをフリーズジョブクラスから削除し、元のジョブクラスに戻して実行させるために、ジョブ管理部222を起動する(ステップS402)。
Next, when it is determined that the free memory amount information INF101 is larger than the memory request amount information INF121 of the job waiting for execution in the job belonging to the freeze job class, the free
次に、ジョブ管理部222は、実行前にページイン制御部227の起動を行い、当該ジョブをフリーズジョブクラスから削除するために、フリーズクラス登録/削除部224を起動する(ステップS403)。
Next, the
次に、フリーズジョブクラス管理部223は、フリーズジョブクラスで多重度待ちとなっていたジョブのページアウト情報INF124をジョブ情報提供部212から取得するためにページアウト情報記録/読込部226を起動し、ページアウト情報を読み込む(ステップS404)。
Next, the freeze job
次に、ページイン制御部227は、ページアウト情報記録/読込部226で取得したページアウト情報INF124を使用して当該ジョブに必要なページのページインを非同期に行う(ステップS405)。
Next, the page-in
最後に、フリーズジョブクラス登録/削除部224は、ジョブ情報提供部212のフリーズクラス属性情報INF123にフリーズジョブクラスに属していない情報を記録し、当該ジョブの属するクラスを元のジョブクラスのみに変更する(ステップS406)。この際、当該ジョブは元のジョブクラスの定義に従って実行される。
Finally, the freeze job class registration /
以上説明したように、本発明の第2の実施形態では、実行前に非同期ページイン処理を行うようにしているため、フリーズジョブクラスで実行待ち状態となっていたジョブを実行状態にする際に、使用していた主記憶がページアウトされていたことにより発生する実行直後のミッシングの発生を抑制することができる。 As described above, in the second embodiment of the present invention, asynchronous page-in processing is performed before execution. Therefore, when a job that is in the execution waiting state in the freeze job class is set to the execution state, It is possible to suppress the occurrence of missing immediately after execution, which occurs due to the main memory being used being paged out.
1,201:コンピュータシステム
10,210:システム情報提供部
11,211:ポリシー情報提供部
12,212:ジョブ情報提供部
13,213:ジョブクラス情報提供部
20,220:メモリ検出部
21,221:ミッシング数超過検出部
22,222:ジョブ管理部
23,223:フリーズジョブクラス管理部
24,224:フリーズジョブクラス登録/削除部
25.225:フリーズジョブクラスジョブ実行部
226:ページアウト情報記録/読込部
227:ページイン制御部
1, 201:
Claims (4)
ミッシングが頻発するジョブを検出する手段と、
前記ミッシングが頻発するジョブをフリーズジョブクラスとして登録する手段と、
前記フリーズジョブクラスに属するジョブを、フリーズクラス定義の情報内にフリーズジョブクラスの識別情報に対応して記述されている実行多重度に従って、当該実行多重度を制限して実行させる手段と、
空きメモリ容量がフリーズジョブクラスに属しているジョブで実行待ちとなっているジョブのメモリ要求量より大きいかどうかを判定する手段と、
前記空きメモリ容量がフリーズジョブクラスに属しているジョブで実行待ちとなっているジョブのメモリ要求量より大きいと判定された場合に、フリーズジョブクラスとして管理して前記実行多重度に基づいて実行していた当該ジョブについて、前記フリーズジョブクラスとしての登録を削除して元のジョブクラスとして実行させる手段と
を備えることを特徴とするデータ処理システム。 In a data processing apparatus that manages main memory by virtual memory management,
Means for detecting jobs that frequently occur,
Means for registering a job that frequently occurs as a freeze job class;
Means for executing a job belonging to the freeze job class with the execution multiplicity being limited according to the execution multiplicity described in the freeze class definition information corresponding to the identification information of the freeze job class;
Means for determining whether or not the free memory capacity is larger than the memory request amount of the job waiting for execution in the job belonging to the freeze job class;
When it is determined that the free memory capacity is larger than the memory request amount of a job waiting for execution in a job belonging to the freeze job class, it is managed as a freeze job class and executed based on the execution multiplicity. A data processing system comprising: means for deleting the registration as the freeze job class and executing the job as the original job class.
前記ジョブをフリーズジョブクラスから元のジョブクラスに戻して実行させる際に、前記記録されたページアウトの情報に基づいて、当該ジョブをページインさせる
ことを特徴とする請求項1に記載のデータ処理システム。 In addition, it has means for recording paged-out information for jobs that are waiting for multiplicity of execution when it is set as a freeze job class,
The data processing according to claim 1, wherein when the job is returned from the freeze job class to the original job class and executed, the job is paged in based on the recorded page-out information. system.
ミッシングが頻発するジョブを検出する工程と、
前記ミッシングが頻発するジョブをフリーズジョブクラスとして登録する工程と、
前記フリーズジョブクラスに属するジョブを、フリーズクラス定義の情報内にフリーズジョブクラスの識別情報に対応して記述されている実行多重度に従って、当該実行多重度を制限して実行させる工程と、
空きメモリ容量がフリーズジョブクラスに属しているジョブで実行待ちとなっているジョブのメモリ要求量より大きいかどうかを判定する工程と、
前記空きメモリ容量がフリーズジョブクラスに属しているジョブで実行待ちとなっているジョブのメモリ要求量より大きいと判定された場合に、フリーズジョブクラスとして管理して前記実行多重度に基づいて実行していた当該ジョブについて、前記フリーズジョブクラスとしての登録を削除して元のジョブクラスとして実行させる工程と
を備えることを特徴とするデータ処理方法。 In a data processing method for managing main memory by virtual memory management,
Detecting a job that frequently occurs,
Registering the job that frequently occurs as a freeze job class;
The job belonging to the freeze job class is executed with the execution multiplicity limited according to the execution multiplicity described in the freeze class definition information corresponding to the identification information of the freeze job class;
Determining whether the free memory capacity is larger than the memory requirement of a job waiting to be executed in a job belonging to the freeze job class;
When it is determined that the free memory capacity is larger than the memory request amount of a job waiting for execution in a job belonging to the freeze job class, it is managed as a freeze job class and executed based on the execution multiplicity. And a step of deleting the registration as the freeze job class and executing the job as the original job class.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2010040135A JP5769224B2 (en) | 2010-02-25 | 2010-02-25 | Data processing system and data processing method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2010040135A JP5769224B2 (en) | 2010-02-25 | 2010-02-25 | Data processing system and data processing method |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2011175533A JP2011175533A (en) | 2011-09-08 |
JP5769224B2 true JP5769224B2 (en) | 2015-08-26 |
Family
ID=44688323
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2010040135A Expired - Fee Related JP5769224B2 (en) | 2010-02-25 | 2010-02-25 | Data processing system and data processing method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP5769224B2 (en) |
-
2010
- 2010-02-25 JP JP2010040135A patent/JP5769224B2/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
JP2011175533A (en) | 2011-09-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP6437656B2 (en) | Storage device, storage system, and storage system control method | |
US9015203B2 (en) | Balloon object feedback for Java Virtual Machines | |
EP2733617A1 (en) | Data buffer device, data storage system and method | |
WO2013105217A1 (en) | Virtual machine management program, method and device | |
US10402114B2 (en) | Information processing system, storage control apparatus, storage control method, and storage control program | |
JP6459644B2 (en) | Storage control device, control system, and control program | |
US9471495B2 (en) | Method and apparatus for constructing memory access model | |
US8583859B2 (en) | Storage controller for wear-leveling and compaction and method of controlling thereof | |
US10592148B2 (en) | Information processing system, storage control apparatus, storage control method, and storage control program for evaluating access performance to a storage medium | |
CN115576505B (en) | Data storage method, device and equipment and readable storage medium | |
JP2017010396A (en) | Storage device, cache write control method, and cache write control program | |
CN109656895A (en) | Distributed memory system, method for writing data, device and storage medium | |
US9459973B2 (en) | Storage subsystem, and method for verifying storage area | |
CN113835624A (en) | Data migration method and device based on heterogeneous memory | |
US20130246710A1 (en) | Storage system and data management method | |
JP7063445B2 (en) | Fault information processing program, computer, fault notification method, computer system | |
JP5769224B2 (en) | Data processing system and data processing method | |
CN110837428B (en) | Storage device management method and device | |
JP2021135538A (en) | Storage control apparatus and storage control program | |
CN113806087B (en) | Method and device for adjusting service speed based on brushing speed | |
CN113485872A (en) | Fault processing method and device and distributed storage system | |
JP6107341B2 (en) | Data management program, data management device, and data management method | |
CN106959888B (en) | Task processing method and device in cloud storage system | |
EP4033346B1 (en) | Affinity-based cache operation for a persistent storage device | |
JPH04119441A (en) | Disk cache control system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20130110 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20131127 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20131210 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20140210 |
|
A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20140318 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20140618 |
|
A911 | Transfer to examiner for re-examination before appeal (zenchi) |
Free format text: JAPANESE INTERMEDIATE CODE: A911 Effective date: 20140626 |
|
A912 | Re-examination (zenchi) completed and case transferred to appeal board |
Free format text: JAPANESE INTERMEDIATE CODE: A912 Effective date: 20141003 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20150618 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 5769224 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
LAPS | Cancellation because of no payment of annual fees |