JP7197131B2 - Information processing device, information processing method, program - Google Patents
Information processing device, information processing method, program Download PDFInfo
- Publication number
- JP7197131B2 JP7197131B2 JP2019016119A JP2019016119A JP7197131B2 JP 7197131 B2 JP7197131 B2 JP 7197131B2 JP 2019016119 A JP2019016119 A JP 2019016119A JP 2019016119 A JP2019016119 A JP 2019016119A JP 7197131 B2 JP7197131 B2 JP 7197131B2
- Authority
- JP
- Japan
- Prior art keywords
- space
- program
- deleted
- information processing
- unit
- 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.)
- Active
Links
Images
Landscapes
- Memory System (AREA)
- Stored Programmes (AREA)
Description
本発明は、情報処理装置、情報処理方法、プログラムに関する。 The present invention relates to an information processing device, an information processing method, and a program.
主記憶装置を効率的に使用するための技術の一つとして、オペレーティングシステムが仮想記憶管理を行うことが知られている。 As one technique for efficiently using the main memory, it is known that the operating system performs virtual memory management.
このような仮想記憶管理を行う技術の一例として、例えば、特許文献1がある。特許文献1には、仮想アドレス空間に含まれる複数の仮想アドレスと、複数のセグメントのそれぞれに含まれる複数の物理アドレスとを対応づけるテーブルであるページテーブルを参照して仮想記憶管理を行うメモリ管理ユニットを有するメモリ管理システムが記載されている。
As an example of technology for performing such virtual memory management, there is, for example,
ある実行中のジョブが複数のプログラムをロードしている状態で新たなプログラムをロードする際、仮想記憶空間の空きが十分にない場合がある。このような場合、既にロードされているプログラムを一旦削除することで、空間の空きを形成していた。 When a new program is loaded while a job in execution is loading multiple programs, there may not be enough free space in the virtual storage space. In such a case, the free space is formed by deleting the already loaded program once.
ここで、アーキテクチャの拡張により、OS(Operating System)が管理する仮想記憶空間が拡張される場合がある。しかしながら、既存のプログラムが拡張された空間を使用するためには、拡張されたアーキテクチャに対応するための改修が必要になる。そのため、プログラムの改修が容易でない場合などにおいて、OSが管理する仮想記憶空間が拡張されたにもかかわらず、拡張された空間を有効に使うことが出来なかった。つまり、OSが管理している仮想記憶空間に空きがあるにもかかわらず、既にロードされているプログラムを一旦削除する事態が生じていた。 Here, the extension of the architecture may extend the virtual storage space managed by the OS (Operating System). However, in order for existing programs to use the expanded space, modifications are required to accommodate the expanded architecture. Therefore, even if the virtual storage space managed by the OS has been expanded, the expanded space cannot be used effectively when it is not easy to modify the program. In other words, even though the virtual storage space managed by the OS has a free space, the already loaded program is once deleted.
そこで、本発明の目的は、拡張された仮想記憶空間を有効に使うことが難しい場合がある、という課題を解決する情報処理装置、情報処理方法、プログラムを提供することにある。 SUMMARY OF THE INVENTION Accordingly, an object of the present invention is to provide an information processing apparatus, an information processing method, and a program that solve the problem that it is sometimes difficult to effectively use an expanded virtual storage space.
かかる目的を達成するため本発明の一形態である情報処理装置は、
オペレーションシステムが管理する仮想記憶空間が拡張された情報処理装置であって、
拡張前の仮想記憶空間である従来空間からプログラムを削除する際、前記従来空間から拡張された仮想記憶空間である拡張空間に削除対象のプログラムを退避させる退避部と、
前記退避部による退避の後、前記従来空間から削除対象のプログラムを解放する解放部と、
を有する
という構成をとる。
In order to achieve such an object, an information processing apparatus, which is one embodiment of the present invention,
An information processing device in which a virtual storage space managed by an operating system is expanded,
a saving unit that, when deleting a program from a conventional space that is a virtual storage space before expansion, saves the program to be deleted to an expansion space that is a virtual storage space expanded from the conventional space;
a releasing unit that releases the program to be deleted from the conventional space after being saved by the saving unit;
It has a configuration of
また、本発明の他の形態である情報処理方法は、
オペレーションシステムが管理する仮想記憶空間が拡張された情報処理装置により行われる情報処理方法であって、
拡張前の仮想記憶空間である従来空間からプログラムを削除する際、前記従来空間から拡張された仮想記憶空間である拡張空間に削除対象のプログラムを退避させ、
退避の後、前記従来空間から削除対象のプログラムを解放する
という構成をとる。
Further, an information processing method according to another aspect of the present invention includes:
An information processing method performed by an information processing device in which a virtual storage space managed by an operating system is expanded,
When deleting a program from a conventional space, which is a virtual storage space before expansion, the program to be deleted is saved in an extended space, which is a virtual storage space expanded from the conventional space,
After saving, the program to be deleted is released from the conventional space.
また、本発明の他の形態であるプログラムは、
オペレーションシステムが管理する仮想記憶空間が拡張された情報処理装置に、
拡張前の仮想記憶空間である従来空間からプログラムを削除する際、前記従来空間から拡張された仮想記憶空間である拡張空間に削除対象のプログラムを退避させる退避部と、
前記退避部による退避の後、前記従来空間から削除対象のプログラムを解放する解放部と、
を実現するためのプログラムである。
In addition, a program that is another aspect of the present invention is
In an information processing device with an expanded virtual storage space managed by an operating system,
a saving unit that, when deleting a program from a conventional space that is a virtual storage space before expansion, saves the program to be deleted to an expansion space that is a virtual storage space expanded from the conventional space;
a releasing unit that releases the program to be deleted from the conventional space after being saved by the saving unit;
It is a program to realize
本発明は、以上のように構成されることにより、拡張された仮想記憶空間を有効に使うことが難しい場合がある、という課題を解決する情報処理装置、情報処理方法、プログラムを提供することが可能となる。 The present invention can provide an information processing apparatus, an information processing method, and a program that solve the problem that it is sometimes difficult to effectively use an expanded virtual storage space by being configured as described above. It becomes possible.
[第1の実施形態]
本発明の第1の実施形態を図1から図12までを参照して説明する。図1は、情報処理装置100の構成の一例を示すブロック図である。図2は、OSが管理する仮想記憶空間の一例を示す図である。図3は、退避状況管理テーブル116の一例を示す図である。図4から図10は、情報処理装置100により行われる処理の一例を示す図である。図11は、情報処理装置100がアンロード処理を実行する際の流れの一例を示すフローチャートである。図12は、情報処理装置100がロード処理する際の流れの一例を示すフローチャートである。
[First embodiment]
A first embodiment of the present invention will be described with reference to FIGS. 1 to 12. FIG. FIG. 1 is a block diagram showing an example of the configuration of an
本発明の第1の実施形態では、アーキテクチャの拡大などによりOS110(Operating System:オペレーティングシステム)が管理する仮想記憶空間が拡大されている情報処理装置100について説明する。後述するように、本実施形態の場合、OS110は、削除対象のプログラムを仮想記憶空間中の従来空間から拡張空間に退避させる。また、OS110は、退避状況管理テーブル116を更新することで、プログラムの退避状況を管理する。このような構成により、OS110は、拡張された空間に対応していないプログラムなどにおいても、拡張空間を有効的に活用することを可能とする。
In the first embodiment of the present invention, an
なお、本実施形態においては、情報処理装置100は以下の前提を有する。まず、仮想記憶空間は論理的なコード・データの集合であるセグメントによって仮想記憶空間が構成されているとする。また、主記憶装置120の割り当てが固定長のページ単位で行われ、ページによってセグメントが構成されているものとする。なお、本発明は、本実施形態で例示する構成以外に適用しても構わない。
In addition, in this embodiment, the
情報処理装置100は、1つまたは複数のプログラムを含むジョブを実行することが出来る。情報処理装置100で実行するプログラムは、拡張空間に対応していても構わないし、拡張空間に対応していなくても構わない。
The
図1は、本実施形態に特徴的な情報処理装置100の構成の一例を示している。図1を参照すると、情報処理装置100では、OS110が機能している。また、情報処理装置100は、主記憶装置120と、ディスク装置130と、を有している。
FIG. 1 shows an example of the configuration of an
なお、情報処理装置100は、CPUなどの演算装置と記憶装置とを有している。例えば、情報処理装置100は、記憶装置が記憶するプログラムを演算装置が実行することで、上記OS110やOS110が有する各種機能を実現する。
The
OS110は、アーキテクチャの拡張により、管理する仮想記憶空間が拡張されている。図2は、拡張された仮想記憶空間の一例を示している。図2で示すように、OS110は、拡張前の空間である従来空間に加えて、拡張された空間である拡張空間も管理している。このように、本実施形態の場合、OS110は、拡張された仮想記憶空間を管理する。
The
ここで、情報処理装置100で実行可能なプログラムのうち拡張空間に対応していないプログラムは、拡張空間に対応するための改修前の状態において、拡張空間を使うことが出来ない。そのため、改修前の状態の場合、従来空間に空きがなくなった状態で新しいプログラムをロードするためには、従来空間からプログラムを削除して従来空間に空きを確保することが必要になる。拡張空間を使えるようにするためには、プログラムが拡張空間に対応するよう、プログラムを改修することが必要である。しかしながら、プログラムの改修は、必ずしも容易ではない。
Here, among the programs that can be executed by the
そこで、本実施形態において説明するOS110は、プログラムが未改修の場合でも拡張空間を有効的に活用するための構成を有する。例えば、OS110は、拡張空間を有効的に活用するための構成として、判別部111と、退避部112と、解放部113と、ロード部114と、を有する。また、OS110は、ページテーブル115と、退避状況管理テーブル116と、を管理する。
Therefore, the
判別部111は、従来空間からプログラムを削除する際、削除対象のプログラムを拡張空間に退避するか否か判別する。例えば、判別部111は、退避状況管理テーブル116を確認する。そして、判別部111は、退避状況管理テーブル116に登録されている情報(プログラム情報)に基づいて、削除対象のプログラムを拡張空間に退避するか否か判別する。
When deleting a program from the conventional space, the determining
例えば、退避状況管理テーブル116にプログラム名など削除対象のプログラムを示すプログラム情報が登録されている場合、判別部111は、削除対象のプログラムが既に拡張空間に退避されていると判断する。この場合、判別部111は、削除対象のプログラムを新たに拡張空間に退避しないと決定する。そして、判別部111は、削除対象のプログラムを拡張空間に退避しない旨を解放部113に通知する。一方、退避状況管理テーブル116に削除対象のプログラムを示す情報が登録されていない場合、判別部111は、削除対象のプログラムが拡張空間に退避されていないと判断する。この場合、判別部111は、削除対象のプログラムを拡張空間に退避すると決定する。そして、判別部111は、削除対象のプログラムを拡張空間に退避する旨を退避部112に通知する。
For example, when program information indicating a program to be deleted, such as a program name, is registered in the save status management table 116, the determining
なお、本実施形態においては、削除対象のプログラムの選択方法については特に限定しない。情報処理装置100(例えば、判別部111)は、任意の方法を用いて、従来空間にロードされているプログラムの中から削除対象のプログラムを選択することが出来る。例えば、判別部111は、プログラムをロードした時間、プログラムの使用の有無、プログラムを最後に使用してからの経過時間、などに基づいて、削除対象のプログラムを選択することが出来る。
Note that, in the present embodiment, the method of selecting a program to be deleted is not particularly limited. The information processing apparatus 100 (for example, the determination unit 111) can select a program to be deleted from programs loaded in the conventional space using an arbitrary method. For example, the
また、判別部111は、退避状況管理テーブル116に基づいて削除対象のプログラムを選択するよう構成しても構わない。例えば、判別部111は、退避状況管理テーブル116にプログラムが登録されている場合、当該登録されているプログラムを優先的に削除対象とするよう構成することが出来る。また、例えば、判別部111は、拡張空間の空きが予め定められた閾値以下となるまで、退避状況管理テーブル116に登録されていないプログラムを削除対象とするよう構成しても構わない。
Further, the
判別部111は、上述した複数の方法の組み合わせ、または、上述した方法と既知の方法との組み合わせにより、削除対象のプログラムを選択するよう構成しても構わない。
The
退避部112は、判別部111が削除対象のプログラムを拡張空間に退避すると決定した場合、削除対象のプログラムの退避処理を行う。例えば、退避部112は、削除対象のプログラムが従来空間で使用していたセグメント(旧セグメント)と同数のセグメント(新セグメント)を拡張空間に確保する。そして、退避部112は旧セグメントを構成していたページを、新セグメントを構成するページとして紐づける。これは、例えば、セグメント記述子内に格納されるページテーブルアドレスを、旧セグメントから新セグメントにコピーするだけでよい。このように、退避部112は、ページテーブル115のうち物理アドレスを変えることなく論理アドレスのみを変更することで、削除対象のプログラムを拡張空間内に退避する。削除対象のプログラムを拡張空間内に退避した後、退避部112は、退避が完了した旨を解放部113に通知する。
When the determining
また、退避部112は、削除対象のプログラムを退避する際、退避状況管理テーブル116の更新を行う。例えば、退避部112は、削除対象のプログラムを拡張空間に退避すると、退避したプログラムを示すプログラム情報(例えば、プログラム名、ライブラリ名など)を退避状況管理テーブル116に登録する。このような処理により、退避状況管理テーブル116には、拡張空間に退避されたプログラムを示すプログラム情報が登録される。
In addition, the saving
なお、退避部112が登録するプログラム情報は、プログラム名やライブラリ名などを含むことが出来る。退避部112は、上記例示した以外の情報を含むプログラム情報を登録するよう構成しても構わない。
Note that the program information registered by the saving
解放部113は、削除対象のプログラムを解放する。例えば、解放部113は、判別部111から削除対象のプログラムを拡張空間に退避しない旨の通知を受信する。または、解放部113は、退避部112から退避が完了した旨の通知を受信する。すると、解放部113は、例えば、従来空間で使用していたセグメントである旧セグメントのセグメント記述子を初期化して、旧セグメントを解放する。
The
なお、退避部112の処理により、削除対象のプログラムは事前に拡張空間に退避している。解放部113が旧セグメントを解放しても、新セグメントの方は解放されず残り続けることになる。
Note that the program to be deleted is previously saved in the expansion space by the processing of the saving
ロード部114は、プログラムのロードを行う。例えば、ロード部114は、従来空間に空きがあるか否か確認する。そして、従来空間中に空きがない場合、ロード部114は、従来空間に空きを確保する。空きの確保は、例えば、ロード部114が削除対象のプログラムを選択するよう判別部111に指示することで、上述した一連の処理により行うことが出来る。
The
ロード部114による判別部111に対する指示の結果、解放部113により従来空間に空きが確保された後、または、従来空間に空きがある場合、ロード部114は、退避状況管理テーブル116を参照する。そして、ロード部114は、退避状況管理テーブル116に基づいて、従来空間にロードする対象となるプログラムが拡張空間に退避されているか否か確認する。
After the
退避状況管理テーブル116にロード対象のプログラムを示すプログラム情報が登録されている場合、ロード部114は、ロード対象のプログラムが拡張空間に退避されていると判断する。そして、ロード部114は、拡張空間からロード対象のプログラムをロードすると決定して、ロード対象のプログラムを拡張空間からロードする。拡張空間からのロードは、セグメント記述子内のページテーブルアドレスを拡張空間のセグメントから従来空間のセグメントにコピーするだけで行うことが出来る。つまり、ロード部114は、ページテーブル115のうち物理アドレスを変えることなく論理アドレスのみを変更することで、ロード対象のプログラムを従来空間内にロードする。このように、ロード部114は、ロード対象のプログラムが拡張空間に退避されている場合、ディスク装置130からではなく拡張空間からプログラムをロードする。そのため、高速にロードすることが出来る。
When program information indicating a program to be loaded is registered in the save status management table 116, the
一方、退避状況管理テーブル116にロード対象のプログラムを示すプログラム情報が登録されていない場合、ロード部114は、ロード対象のプログラムが拡張空間に退避されていないと判断する。そして、ロード部114は、ディスク装置130上のライブラリファイルからロード対象のプログラムをロードすることを決定して、ロード対象のプログラムをディスク装置130からロードする。ディスク装置130上のライブラリファイルからロードする処理は、従来通りの処理と同様で構わない。
On the other hand, if program information indicating the program to be loaded is not registered in the save status management table 116, the
以上のように、ロード部114は、ロード対象のプログラムが拡張空間に退避している場合と退避していない場合とで、異なる場所からロード対象のプログラムをロードする。
As described above, the
ページテーブル115は、仮想アドレスと、物理アドレスとを対応づけている。ページテーブル115の構成は、既知のもので構わない。 The page table 115 associates virtual addresses with physical addresses. The configuration of the page table 115 may be a known one.
退避状況管理テーブル116には、拡張空間に退避されているプログラムを示すプログラム情報を登録することが出来る。図3は、退避状況管理テーブル116の構成の一例を示している。図3を参照すると、退避状況管理テーブル116には、退避空間に退避されているプログラムを示すプログラム情報が含まれている。プログラム情報には、例えば、プログラム名やライブラリ名などを含めることが出来る。プログラム情報は、上記例示した以外の情報を含んでいても構わない。 Program information indicating programs saved in the expansion space can be registered in the save status management table 116 . FIG. 3 shows an example of the configuration of the evacuation status management table 116. As shown in FIG. Referring to FIG. 3, the save status management table 116 contains program information indicating programs saved in the save space. The program information can include, for example, the program name and library name. The program information may contain information other than those exemplified above.
上述したように、退避状況管理テーブル116は、退避部112がプログラムを拡張空間に退避する際に更新される。このため、退避状況管理テーブル116には、拡張空間に退避されているプログラム情報が登録される。
As described above, the saving status management table 116 is updated when the saving
なお、退避状況管理テーブル116は、例えば、ジョブごとに定義される。つまり、情報処理装置100は、ジョブごとに異なる退避状況管理テーブルを有することが出来る。退避状況管理テーブルは、複数のジョブで共通なものとなるよう構成しても構わない。
Note that the evacuation status management table 116 is defined for each job, for example. In other words, the
主記憶装置120は、情報処理装置100が有するCPUなどの演算装置により直接読み書き可能なメモリである。本実施形態においては、主記憶装置120の構成は特に限定しない。
The
ディスク装置130は、ハードディスクドライブなどの記憶装置である。ディスク装置130は、SSD(Solid State Drive)などの記憶装置であっても構わない。
The
以上が、情報処理装置100の構成の一例である。
The above is an example of the configuration of the
なお、仮想記憶空間のうち従来空間は、拡張空間に対応していないプログラムも利用可能な空間である。そのため、従来空間は、拡張に対応していないプログラムが利用可能な空間である、ということも出来る。また、仮想記憶空間のうち拡張空間は、拡張空間に対応していないプログラムが利用できない空間である。そのため、拡張空間は、拡張に対応していないプログラムが利用できない空間である、ということも出来る。 Of the virtual storage spaces, the conventional space is a space that can also be used by programs that are not compatible with the extended space. Therefore, it can be said that the conventional space is a space that can be used by programs that do not support expansion. The extended space in the virtual storage space is a space that cannot be used by programs that do not support extended space. Therefore, it can be said that the expansion space is a space that cannot be used by programs that do not support expansion.
続いて、図4から図12までを参照して、プログラムを退避する際とロードする際の処理の一例について説明する。 Next, an example of processing when saving and loading a program will be described with reference to FIGS. 4 to 12. FIG.
まず、図4から図8、図11を参照して、プログラムをアンロードする際の処理の一例について説明する。プログラムのアンロードは、例えば、情報処理装置100で実行するジョブが新しいプログラムをロードしようとする際に従来空間に空きがなかった場合などに行われる。プログラムのアンロードは、任意のタイミングで行われても構わない。
First, an example of processing when a program is unloaded will be described with reference to FIGS. 4 to 8 and 11. FIG. A program is unloaded, for example, when a job to be executed by the
情報処理装置100、または、判別部111は、任意の方法で削除対象のプログラムを選別する。そして、図11で示すように、判別部111は、退避状況管理テーブル116を確認することで、削除対象のプログラムを拡張空間に退避するか否か判別する(ステップS101)。
The
退避状況管理テーブル116にプログラム名など削除対象のプログラムを示す情報が登録されていない場合(ステップS101 No、図4の1-1)、判別部111は、削除対象のプログラムを拡張空間に退避すると決定する。そして、判別部111は、削除対象のプログラムを拡張空間に退避する旨を退避部112に通知する。
When information indicating a program to be deleted, such as a program name, is not registered in the save status management table 116 (step S101 No, 1-1 in FIG. 4), the determining
退避部112は、削除対象のプログラムの退避処理を行う(ステップS102、図5の1-2)。拡張空間内の退避場所は任意の方法で決定して構わない。また、退避部112は、退避状況管理テーブル116の更新を行う(ステップS103、図5の1-3)。つまり、退避部112は、退避したプログラムを示すプログラム情報を退避状況管理テーブル116に登録する。
The saving
解放部113は、従来空間から削除対象のプログラムを解放することで、プログラムを削除する(ステップS104、図6の1-4)。
The
また、退避状況管理テーブル116にプログラム名など削除対象のプログラムを示す情報が記載されている場合(ステップS101 Yes、図7の1-1b)、判別部111は、削除対象のプログラムが拡張空間に退避されていると判断する。この場合、ステップS102、ステップS103の処理は行われず、解放部113は、従来空間から削除対象のプログラムを解放することで、プログラムを削除する(ステップS104、図8の1-2b)。
If information indicating a program to be deleted, such as a program name, is described in the evacuation status management table 116 (step S101 Yes, 1-1b in FIG. 7), the
以上が、プログラムをアンロードする際の処理の一例である。続いて、図9、図10、図12を参照して、プログラムをロードする際の処理の一例について説明する。 The above is an example of processing when a program is unloaded. Next, an example of processing when loading a program will be described with reference to FIGS. 9, 10, and 12. FIG.
図12を参照すると、ロード部114は、従来空間に空きがあるか否か確認する(ステップS201)。
Referring to FIG. 12, the
従来空間中に空きがない場合(ステップS201 No)、ロード部114は、従来空間に空きを確保する。空きの確保は、例えば、ロード部114が削除対象のプログラムを選択するよう判別部111に指示することで、図11を参照して説明した一連の処理により行うことが出来る(ステップS202)。従来空間に空きを確保する処理の詳細な説明は、図11を参照して既に行ったため省略する。
If there is no space in the conventional space (step S201 No), the
従来空間に空きを確保した後(ステップS202の後)、又は、従来空間に空きがある場合(ステップS201 Yes)、ロード部114は、退避状況管理テーブル116を参照して、従来空間にロードする対象となるプログラムが拡張空間に退避されているか否か確認する(ステップS203)。
After securing space in the conventional space (after step S202), or when there is space in the conventional space (Yes in step S201), the
退避状況管理テーブル116にロード対象のプログラムを示す情報が登録されている場合(ステップS203 Yes、図9の2-1)、ロード部114は、ロード対象のプログラムが拡張空間に退避されていると判断する。そして、ロード部114は、拡張空間からロード対象のプログラムをロードする(ステップS205、図9の2-2)。
When information indicating the program to be loaded is registered in the evacuation status management table 116 (Yes in step S203, 2-1 in FIG. 9), the
一方、退避状況管理テーブル116にロード対象のプログラムを示す情報が登録されていない場合(ステップS203 No、図10の2-1b)、ロード部114は、ロード対象のプログラムが拡張空間に退避されていないと判断する。この場合、ロード部114は、ディスク装置130上のライブラリファイルからロード対象のプログラムをロードする(ステップS204、図10の2-2b)。
On the other hand, if the information indicating the program to be loaded is not registered in the save status management table 116 (No in step S203, 2-1b in FIG. 10), the
以上が、プログラムをロードする際の処理の一例である。 The above is an example of processing when loading a program.
このように、情報処理装置100は、退避部112と解放部113とを有している。このような構成により、解放部113は、退避部112により従来空間から拡張空間に削除対象のプログラムを退避させた後に、削除対象のプログラムを従来空間から解放することが出来る。これにより、拡張空間に対応していないプログラムであっても拡張空間を活用することが可能となる。また、その結果として、拡張空間に退避させたプログラムをロードする際に、高速にロードすることが可能となる。また、ディスクへのI/Oを抑制することが可能となり、ジョブの実行性能低下を抑制することが可能となる。
As described above, the
また、本実施形態における情報処理装置100は、判別部111を有している。このような構成により、上述した退避部112は、判別部111による判別の結果に応じて、プログラムを拡張空間に退避させることが可能となる。これにより、退避が必要なプログラムのみを効率的に退避させることが可能となる。
Further, the
また、本実施形態における情報処理装置100は、ロード部114を有している。このような構成により、ロード部114は、拡張空間からロードが可能なプログラムを拡張空間からロードすることが出来る。これにより、高速なロードを実現することが出来る。
Further, the
なお、本実施形態において説明した情報処理装置100は、あくまで一例である。情報処理装置100の構成は、本実施形態で説明した場合に限定されない。
Note that the
例えば、本実施形態においては、情報処理装置100がディスク装置130を有するとした。しかしながら、ディスク装置130は、情報処理装置100の外部に有していても構わない。また、本実施形態においてはOS110が各機能を有するとしたが、OS110とは別の機能として、判別部111、退避部112、解放部113、ロード部114のうちの少なくとも一部を実現しても構わない。また、情報処理装置100が有する各構成は、メモリ管理を行うメモリ管理装置として実現されても構わない。
For example, in this embodiment, the
[第2の実施形態]
次に、図13を参照して、本発明の第2の実施形態について説明する。第2の実施形態では、情報処理装置200の構成の概要について説明する。
[Second embodiment]
A second embodiment of the present invention will now be described with reference to FIG. In the second embodiment, an overview of the configuration of the
情報処理装置200は、オペレーションシステムが管理する仮想記憶空間が拡張されている。つまり、拡張前の仮想記憶空間である従来空間に拡張された仮想記憶空間である拡張空間が追加されている。
The
図13は、情報処理装置200の構成の一例を示している。図13を参照すると、情報処理装置200は、退避部210と、解放部220と、を有している。
FIG. 13 shows an example of the configuration of the
例えば、情報処理装置200は、CPUなどの演算装置と記憶装置とを有している。情報処理装置200は、記憶装置が記憶するプログラムを演算装置が実行することで、上記各処理部を実現する。
For example, the
退避部210は、拡張前の仮想記憶空間である従来空間からプログラムを削除する際、従来空間から拡張された仮想記憶空間である拡張空間に削除対象のプログラムを退避させる。
When deleting a program from the conventional space, which is the virtual storage space before expansion, the saving
解放部220は、退避部210による退避の後、従来空間から削除対象のプログラムを解放する。
The releasing
このように、情報処理装置200は、退避部210と解放部220とを有している。このような構成により、解放部220は、退避部210により従来空間から拡張空間に削除対象のプログラムを退避させた後に、削除対象のプログラムを従来空間から解放することが出来る。これにより、拡張空間に対応していないプログラムであっても拡張空間を活用することが可能となる。
As described above, the
また、上述した情報処理装置200は、当該情報処理装置200に所定のプログラムが組み込まれることで実現できる。具体的に、本発明の他の形態であるプログラムは、オペレーションシステムが管理する仮想記憶空間が拡張された情報処理装置に、拡張前の仮想記憶空間である従来空間からプログラムを削除する際、従来空間から拡張された仮想記憶空間である拡張空間に削除対象のプログラムを退避させる退避部と、退避部による退避の後、従来空間から削除対象のプログラムを解放する解放部と、を実現するためのプログラムである。
Further, the
また、上述した情報処理装置200により実行される情報処理方法は、オペレーションシステムが管理する仮想記憶空間が拡張された情報処理装置により行われる情報処理方法であって、拡張前の仮想記憶空間である従来空間からプログラムを削除する際、従来空間から拡張された仮想記憶空間である拡張空間に削除対象のプログラムを退避させ、退避の後、従来空間から削除対象のプログラムを解放する、という方法である。
Further, the information processing method executed by the
上述した構成を有する、プログラム、又は、情報処理方法、の発明であっても、上記情報処理装置200と同様の作用・効果を有するために、上述した本発明の目的を達成することが出来る。
Even the invention of the program or the information processing method having the configuration described above can achieve the above-described object of the present invention because it has the same actions and effects as the
<付記>
上記実施形態の一部又は全部は、以下の付記のようにも記載されうる。以下、本発明における情報処理装置などの概略を説明する。但し、本発明は、以下の構成に限定されない。
<Appendix>
Some or all of the above embodiments may also be described as the following appendices. An outline of an information processing apparatus and the like according to the present invention will be described below. However, the present invention is not limited to the following configurations.
(付記1)
オペレーションシステムが管理する仮想記憶空間が拡張された情報処理装置であって、
拡張前の仮想記憶空間である従来空間からプログラムを削除する際、前記従来空間から拡張された仮想記憶空間である拡張空間に削除対象のプログラムを退避させる退避部と、
前記退避部による退避の後、前記従来空間から削除対象のプログラムを解放する解放部と、
を有する
情報処理装置。
(付記2)
付記1に記載の情報処理装置であって、
削除対象のプログラムが前記拡張空間に退避されているか否か確認して、確認した結果に基づいて削除対象のプログラムを前記拡張空間に退避するか否か決定する判別部を有し、
前記退避部は、前記判別部による決定の結果に基づいて、前記拡張空間に削除対象のプログラムを退避させる
情報処理装置。
(付記3)
付記2に記載の情報処理装置であって、
前記判別部は、削除対象のプログラムが前記拡張空間に退避されていない場合、削除対象のプログラムを前記拡張空間に退避すると決定する
情報処理装置。
(付記4)
付記2または付記3に記載の情報処理装置であって、
前記判別部は、削除対象のプログラムが前記拡張空間に退避されている場合、削除対象のプログラムを前記拡張空間に退避しないと決定し、
前記解放部は、前記判別部が前記拡張空間に退避しないと判断したプログラムを前記従来空間から解放する
情報処理装置。
(付記5)
付記2から付記4までのいずれか1項に記載の情報処理装置であって、
前記判別部は、前記拡張空間に退避されているプログラムを示す情報に基づいて、削除対象のプログラムを選択する
情報処理装置。
(付記6)
付記1から付記5までのいずれか1項に記載の情報処理装置であって、
ロード対象のプログラムが前記拡張空間に退避しているか否かに基づいて、ロード対象のプログラムをロードするロード部を有する
情報処理装置。
(付記7)
付記6に記載の情報処理装置であって、
前記ロード部は、ロード対象のプログラムが前記拡張空間に退避している場合、ロード対象のプログラムを前記拡張空間から前記従来空間にロードする
情報処理装置。
(付記8)
オペレーションシステムが管理する仮想記憶空間が拡張された情報処理装置により行われる情報処理方法であって、
拡張前の仮想記憶空間である従来空間からプログラムを削除する際、前記従来空間から拡張された仮想記憶空間である拡張空間に削除対象のプログラムを退避させ、
退避の後、前記従来空間から削除対象のプログラムを解放する
情報処理方法。
(付記9)
付記8に記載の情報処理方法であって、
削除対象のプログラムが前記拡張空間に退避されているか否か確認して、確認した結果に基づいて削除対象のプログラムを前記拡張空間に退避するか否か決定し、
決定の結果に基づいて、前記拡張空間に削除対象のプログラムを退避させる
情報処理方法。
(付記10)
オペレーションシステムが管理する仮想記憶空間が拡張された情報処理装置に、
拡張前の仮想記憶空間である従来空間からプログラムを削除する際、前記従来空間から拡張された仮想記憶空間である拡張空間に削除対象のプログラムを退避させる退避部と、
前記退避部による退避の後、前記従来空間から削除対象のプログラムを解放する解放部と、
を実現するためのプログラム。
(Appendix 1)
An information processing device in which a virtual storage space managed by an operating system is expanded,
a saving unit that, when deleting a program from a conventional space that is a virtual storage space before expansion, saves the program to be deleted to an expansion space that is a virtual storage space expanded from the conventional space;
a releasing unit that releases the program to be deleted from the conventional space after being saved by the saving unit;
An information processing device.
(Appendix 2)
The information processing device according to
a determination unit that checks whether or not a program to be deleted has been saved in the extension space, and determines whether or not to save the program to be deleted in the extension space based on the result of confirmation;
The information processing apparatus, wherein the saving unit saves the program to be deleted in the expansion space based on the determination result of the determining unit.
(Appendix 3)
The information processing device according to appendix 2,
The determination unit determines to save the program to be deleted in the extended space when the program to be deleted is not saved in the extended space.
(Appendix 4)
The information processing device according to Supplementary Note 2 or Supplementary Note 3,
the determining unit determines not to save the program to be deleted in the extended space when the program to be deleted is saved in the extended space;
The information processing apparatus, wherein the release unit releases the program, which the determination unit has determined not to save to the expansion space, from the conventional space.
(Appendix 5)
The information processing device according to any one of Supplements 2 to 4,
The information processing device, wherein the determination unit selects a program to be deleted based on information indicating the programs saved in the extension space.
(Appendix 6)
The information processing device according to any one of
An information processing apparatus comprising a loading unit that loads a program to be loaded based on whether the program to be loaded has been saved in the extension space.
(Appendix 7)
The information processing device according to appendix 6,
The information processing apparatus, wherein the loading unit loads the program to be loaded from the extension space to the conventional space when the program to be loaded has been saved in the extension space.
(Appendix 8)
An information processing method performed by an information processing device in which a virtual storage space managed by an operating system is expanded,
When deleting a program from a conventional space, which is a virtual storage space before expansion, the program to be deleted is saved in an extended space, which is a virtual storage space expanded from the conventional space,
An information processing method for releasing a program to be deleted from the conventional space after saving.
(Appendix 9)
The information processing method according to appendix 8,
confirming whether or not the program to be deleted has been saved in the extension space, and based on the result of confirmation, deciding whether to save the program to be deleted in the extension space;
An information processing method for saving a program to be deleted in the extension space based on a determination result.
(Appendix 10)
In an information processing device with an expanded virtual storage space managed by an operating system,
a saving unit that, when deleting a program from a conventional space that is a virtual storage space before expansion, saves the program to be deleted to an expansion space that is a virtual storage space expanded from the conventional space;
a releasing unit that releases the program to be deleted from the conventional space after being saved by the saving unit;
A program to realize
なお、上記各実施形態及び付記において記載したプログラムは、記憶装置に記憶されていたり、コンピュータが読み取り可能な記録媒体に記録されていたりする。例えば、記録媒体は、フレキシブルディスク、光ディスク、光磁気ディスク、及び、半導体メモリ等の可搬性を有する媒体である。 It should be noted that the programs described in each of the above embodiments and supplementary notes are stored in a storage device or recorded in a computer-readable recording medium. For example, the recording medium is a portable medium such as a flexible disk, an optical disk, a magneto-optical disk, and a semiconductor memory.
以上、上記各実施形態を参照して本願発明を説明したが、本願発明は、上述した実施形態に限定されるものではない。本願発明の構成や詳細には、本願発明の範囲内で当業者が理解しうる様々な変更をすることが出来る。 Although the present invention has been described with reference to the above-described embodiments, the present invention is not limited to the above-described embodiments. Various changes that can be understood by those skilled in the art can be made to the configuration and details of the present invention within the scope of the present invention.
100 情報処理装置
110 OS
111 判別部
112 退避部
113 解放部
114 ロード部
115 ページテーブル
116 退避状況管理テーブル
120 主記憶装置
130 ディスク装置
200 情報処理装置
210 退避部
220 解放部
100
111
Claims (8)
拡張前の仮想記憶空間である従来空間からプログラムを削除する際、前記従来空間から拡張された仮想記憶空間である拡張空間に削除対象のプログラムを退避させる退避部と、
前記退避部による退避の後、前記従来空間から削除対象のプログラムを解放する解放部と、
を有し、
削除対象のプログラムが前記拡張空間に退避されているか否か確認して、確認した結果に基づいて削除対象のプログラムを前記拡張空間に退避するか否か決定する判別部を有し、
前記退避部は、前記判別部による決定の結果に基づいて、前記拡張空間に削除対象のプログラムを退避させ、
前記判別部は、削除対象のプログラムが前記拡張空間に退避されていない場合、削除対象のプログラムを前記拡張空間に退避すると決定する
情報処理装置。 An information processing device in which a virtual storage space managed by an operating system is expanded,
a saving unit that, when deleting a program from a conventional space that is a virtual storage space before expansion, saves the program to be deleted to an expansion space that is a virtual storage space expanded from the conventional space;
a releasing unit that releases the program to be deleted from the conventional space after being saved by the saving unit;
has
a determination unit that checks whether or not a program to be deleted has been saved in the extension space, and determines whether or not to save the program to be deleted in the extension space based on the result of confirmation;
The saving unit saves the program to be deleted in the expansion space based on the determination result of the determining unit,
The determining unit determines to save the program to be deleted in the extended space when the program to be deleted is not saved in the extended space.
Information processing equipment.
前記判別部は、削除対象のプログラムが前記拡張空間に退避されている場合、削除対象のプログラムを前記拡張空間に退避しないと決定し、
前記解放部は、前記判別部が前記拡張空間に退避しないと判断したプログラムを前記従来空間から解放する
情報処理装置。 The information processing device according to claim 1 ,
the determining unit determines not to save the program to be deleted in the extended space when the program to be deleted is saved in the extended space;
The information processing apparatus, wherein the release unit releases the program, which the determination unit has determined not to save to the expansion space, from the conventional space.
前記判別部は、前記拡張空間に退避されているプログラムを示す情報に基づいて、削除対象のプログラムを選択する
情報処理装置。 The information processing device according to claim 1 or claim 2 ,
The information processing device, wherein the determination unit selects a program to be deleted based on information indicating the programs saved in the extension space.
ロード対象のプログラムが前記拡張空間に退避しているか否かに基づいて、ロード対象のプログラムをロードするロード部を有する
情報処理装置。 The information processing device according to any one of claims 1 to 3 ,
An information processing apparatus comprising a loading unit that loads a program to be loaded based on whether the program to be loaded has been saved in the extension space.
前記ロード部は、ロード対象のプログラムが前記拡張空間に退避している場合、ロード対象のプログラムを前記拡張空間から前記従来空間にロードする
情報処理装置。 The information processing device according to claim 4 ,
The information processing apparatus, wherein the loading unit loads the program to be loaded from the extension space to the conventional space when the program to be loaded has been saved in the extension space.
拡張前の仮想記憶空間である従来空間からプログラムを削除する際、前記従来空間から拡張された仮想記憶空間である拡張空間に削除対象のプログラムを退避させ、
退避の後、前記従来空間から削除対象のプログラムを解放し、
削除対象のプログラムを退避させる際は、削除対象のプログラムが前記拡張空間に退避されているか否か確認して、確認した結果に基づいて削除対象のプログラムを前記拡張空間に退避するか否か決定し、決定の結果に基づいて、前記拡張空間に削除対象のプログラムを退避させ、
前記決定の際において、削除対象のプログラムが前記拡張空間に退避されていない場合、削除対象のプログラムを前記拡張空間に退避すると決定する
情報処理方法。 An information processing method performed by an information processing device in which a virtual storage space managed by an operating system is expanded,
When deleting a program from a conventional space, which is a virtual storage space before expansion, the program to be deleted is saved in an extended space, which is a virtual storage space expanded from the conventional space,
After saving, releasing the program to be deleted from the conventional space,
When saving the program to be deleted, it is confirmed whether the program to be deleted is saved in the extension space, and based on the confirmation result, it is decided whether to save the program to be deleted in the extension space. and, based on the determination result, save the program to be deleted in the extension space;
When the program to be deleted is not saved in the extended space at the time of the determination, it is determined to save the program to be deleted in the extended space.
Information processing methods.
拡張前の仮想記憶空間である従来空間からプログラムを削除する際、前記従来空間から拡張された仮想記憶空間である拡張空間に削除対象のプログラムを退避させる退避部と、
前記退避部による退避の後、前記従来空間から削除対象のプログラムを解放する解放部と、
を実現させ、
削除対象のプログラムが前記拡張空間に退避されているか否か確認して、確認した結果に基づいて削除対象のプログラムを前記拡張空間に退避するか否か決定する判別部を実現させ、
前記退避部は、前記判別部による決定の結果に基づいて、前記拡張空間に削除対象のプログラムを退避させ、
前記判別部は、削除対象のプログラムが前記拡張空間に退避されていない場合、削除対象のプログラムを前記拡張空間に退避すると決定する
プログラム。 In an information processing device with an expanded virtual storage space managed by an operating system,
a saving unit that, when deleting a program from a conventional space that is a virtual storage space before expansion, saves the program to be deleted to an expansion space that is a virtual storage space expanded from the conventional space;
a releasing unit that releases the program to be deleted from the conventional space after being saved by the saving unit;
to realize
realizing a determination unit for confirming whether or not a program to be deleted has been saved in the extension space, and determining whether or not to save the program to be deleted in the extension space based on the confirmation result;
The saving unit saves the program to be deleted in the expansion space based on the determination result of the determining unit,
The determining unit determines to save the program to be deleted in the extended space when the program to be deleted is not saved in the extended space.
program.
拡張前の仮想記憶空間である従来空間からプログラムを削除する際、前記従来空間から拡張された仮想記憶空間である拡張空間に削除対象のプログラムを退避させる退避部と、a saving unit that, when deleting a program from a conventional space that is a virtual storage space before expansion, saves the program to be deleted to an expansion space that is a virtual storage space expanded from the conventional space;
前記退避部による退避の後、前記従来空間から削除対象のプログラムを解放する解放部と、 a releasing unit that releases the program to be deleted from the conventional space after being saved by the saving unit;
を有し、has
削除対象のプログラムが前記拡張空間に退避されているか否か確認して、確認した結果に基づいて削除対象のプログラムを前記拡張空間に退避するか否か決定する判別部を有し、a determination unit that checks whether or not a program to be deleted has been saved in the extension space, and determines whether or not to save the program to be deleted in the extension space based on the result of confirmation;
前記退避部は、前記判別部による決定の結果に基づいて、前記拡張空間に削除対象のプログラムを退避させ、The saving unit saves the program to be deleted in the expansion space based on the determination result of the determining unit,
前記判別部は、削除対象のプログラムが前記拡張空間に退避されている場合、削除対象のプログラムを前記拡張空間に退避しないと決定し、the determining unit determines not to save the program to be deleted in the extended space when the program to be deleted is saved in the extended space;
前記解放部は、前記判別部が前記拡張空間に退避しないと判断したプログラムを前記従来空間から解放するThe release unit releases from the conventional space the program determined by the determination unit not to be saved in the expansion space.
情報処理装置。Information processing equipment.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2019016119A JP7197131B2 (en) | 2019-01-31 | 2019-01-31 | Information processing device, information processing method, program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2019016119A JP7197131B2 (en) | 2019-01-31 | 2019-01-31 | Information processing device, information processing method, program |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2020123263A JP2020123263A (en) | 2020-08-13 |
JP7197131B2 true JP7197131B2 (en) | 2022-12-27 |
Family
ID=71992804
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2019016119A Active JP7197131B2 (en) | 2019-01-31 | 2019-01-31 | Information processing device, information processing method, program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP7197131B2 (en) |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2003263366A (en) | 2002-03-12 | 2003-09-19 | Hitachi Ltd | Swapping control method, its execution device and its processing program |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP3226525B2 (en) * | 1988-10-07 | 2001-11-05 | 株式会社日立製作所 | Main memory management method |
-
2019
- 2019-01-31 JP JP2019016119A patent/JP7197131B2/en active Active
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2003263366A (en) | 2002-03-12 | 2003-09-19 | Hitachi Ltd | Swapping control method, its execution device and its processing program |
Also Published As
Publication number | Publication date |
---|---|
JP2020123263A (en) | 2020-08-13 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP6198226B2 (en) | Working set swap using sequential swap file | |
JP4856646B2 (en) | Continuous flow processor pipeline | |
TWI476676B (en) | File system for storage device which uses different cluster sizes | |
JP4902501B2 (en) | Power control method, computer system, and program | |
US6848021B2 (en) | Efficient data backup using a single side file | |
US20120101996A1 (en) | Apparatus and method for snapshot image segmentation | |
JP2013520744A (en) | Method and apparatus for generating minimum boot image | |
JP5422652B2 (en) | Avoiding self-eviction due to dynamic memory allocation in flash memory storage | |
WO2010109568A1 (en) | Storage device | |
JP4983474B2 (en) | Virtual library apparatus, virtual library system, and logical volume copying method for virtual library apparatus. | |
AU2009202442A1 (en) | Skip list generation | |
JP2010170295A (en) | Storage device and data transfer method for storage device | |
CN112925606B (en) | Memory management method, device and equipment | |
EP2669806B1 (en) | Storage system | |
US20160011792A1 (en) | Media control device and control method | |
US9395930B2 (en) | Information processing system, control method of information processing system, and recording medium | |
JP7197131B2 (en) | Information processing device, information processing method, program | |
KR101590764B1 (en) | Computing system and method for controling memory of computing system | |
JPWO2013046342A1 (en) | Virtual tape device and control method of virtual tape device | |
JP2005258789A (en) | Storage device, storage controller, and write back cache control method | |
CN116502225A (en) | Virus scanning method and device for self-adaptive packet redundancy arrangement and electronic equipment | |
JP6689471B2 (en) | Information processing apparatus, information processing method, and information processing program | |
KR102076248B1 (en) | Selective Delay Garbage Collection Method And Memory System Using The Same | |
JP2006039942A (en) | File management device in hierarchical storage system, and its file management method | |
JP2016042294A (en) | Storage apparatus, storage apparatus control program, and storage apparatus control method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20211206 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20220914 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20220920 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20221109 |
|
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: 20221115 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20221208 |
|
R151 | Written notification of patent or utility model registration |
Ref document number: 7197131 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R151 |