Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP6707951B2 - Information processing apparatus, information processing method, and program - Google Patents
[go: Go Back, main page]

JP6707951B2 - Information processing apparatus, information processing method, and program - Google Patents

Information processing apparatus, information processing method, and program Download PDF

Info

Publication number
JP6707951B2
JP6707951B2 JP2016068538A JP2016068538A JP6707951B2 JP 6707951 B2 JP6707951 B2 JP 6707951B2 JP 2016068538 A JP2016068538 A JP 2016068538A JP 2016068538 A JP2016068538 A JP 2016068538A JP 6707951 B2 JP6707951 B2 JP 6707951B2
Authority
JP
Japan
Prior art keywords
page
memory
unit
data
memory 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
Application number
JP2016068538A
Other languages
Japanese (ja)
Other versions
JP2017182446A (en
Inventor
裕介 岡田
裕介 岡田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Corp
Original Assignee
NEC Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Corp filed Critical NEC Corp
Priority to JP2016068538A priority Critical patent/JP6707951B2/en
Publication of JP2017182446A publication Critical patent/JP2017182446A/en
Application granted granted Critical
Publication of JP6707951B2 publication Critical patent/JP6707951B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Hardware Redundancy (AREA)

Description

本開示は、データの冗長化を管理する技術に関する。 The present disclosure relates to a technique for managing data redundancy.

サーバ等の情報処理装置の可用性を維持するために、同一のデータを別のメモリユニットに複製(ミラーリング)する、冗長化(二重化)と呼ばれる技術が知られている。メモリユニットが冗長化されていれば、そのメモリユニットに障害があった場合であっても、他のメモリユニットにミラーリングされている、障害があったメモリユニットに格納されていたデータと同一のデータを用いることで、情報処理装置は処理を継続することができる。 A technique called redundancy (duplication) is known in which the same data is duplicated (mirrored) in another memory unit in order to maintain the availability of an information processing device such as a server. If a memory unit is made redundant, the same data that is stored in the failed memory unit that is mirrored to another memory unit even if that memory unit fails By using, the information processing apparatus can continue processing.

特許文献1には、ディスク装置などにおいて、メモリの使用率が所定の閾値を超えた場合に、メモリ内の冗長記憶領域を未使用領域とすることで、メモリの使用率を所定の閾値以下にする技術が開示されている。 In Patent Document 1, in a disk device or the like, when a memory usage rate exceeds a predetermined threshold value, a redundant storage area in the memory is set as an unused area, so that the memory usage rate becomes equal to or lower than a predetermined threshold value. Techniques for doing so are disclosed.

特開2012−190064号公報JP 2012-190064 A

特許文献1に開示されるように冗長記憶領域を未使用領域とすると、冗長記憶領域に格納されていたデータの冗長性が失われる。このとき、冗長化が解除されたデータを保持しているメモリユニットでメモリ障害が発生すると、そのメモリユニットに格納されていたデータは失われるという問題がある。 If the redundant storage area is set to an unused area as disclosed in Patent Document 1, the redundancy of the data stored in the redundant storage area is lost. At this time, if a memory failure occurs in the memory unit holding the data for which redundancy has been released, there is a problem that the data stored in that memory unit will be lost.

本発明は、メモリユニットの冗長性を維持しつつ使用可能なメモリ容量を増加させることを可能にすることを、目的の一つとする。 An object of the present invention is to make it possible to increase the usable memory capacity while maintaining the redundancy of the memory unit.

本発明の一態様に係る情報処理装置は、メモリユニットのうち、ミラーリングされている前記メモリユニットのいずれか少なくとも1組のミラーリングを解除することを決定する冗長制御手段と、ミラーリングが解除されることが決定された前記メモリユニットに含まれるデータの複製を、当該メモリユニットと異なる記憶領域に書き込むページファイル制御手段と、ミラーリングが解除されることが決定された前記メモリユニットの一方のページに含まれるデータを消去するページ割当手段と、を備える。 An information processing apparatus according to an aspect of the present invention includes a redundancy control unit that determines to cancel mirroring of at least one set of the mirrored memory units among the memory units, and the mirroring cancellation. Included in the page file control unit that writes a copy of the data included in the memory unit determined to be in a storage area different from that of the memory unit, and one page of the memory unit determined to be unmirrored. A page allocation unit that erases data.

本発明の一態様に係る情報処理装置は、メモリユニットのうち、ミラーリングされている前記メモリユニットに含まれるデータを、ミラーリングされていない前記メモリユニットに移動させるページ割当手段と、移動させたデータの複製を、前記メモリユニットと異なる記憶領域に書き込むページファイル制御手段と、を備える。 An information processing apparatus according to an aspect of the present invention is a page allocation unit that moves data included in a memory unit that is mirrored among memory units to a memory unit that is not mirrored, and a page allocation unit that moves the data. Page file control means for writing a copy to a storage area different from the memory unit.

本発明の一態様に係る情報処理方法は、メモリユニットのうち、ミラーリングされている前記メモリユニットのいずれか少なくとも1組のミラーリングを解除することを決定し、ミラーリングを解除することが決定されたメモリユニットに含まれるデータの複製を、当該メモリユニットと異なる記憶領域に書き込み、ミラーリングが解除されることが決定された前記メモリユニットの一方のページに含まれるデータを消去する。 An information processing method according to an aspect of the present invention is a memory unit that determines to cancel mirroring of at least one set of the memory units that are mirrored among the memory units, and determines to cancel mirroring. A copy of the data contained in the unit is written to a storage area different from that of the memory unit, and the data contained in one page of the memory unit for which the mirroring is decided to be canceled is erased.

本発明の一態様に係るプログラムは、コンピュータに、メモリユニットのうち、ミラーリングされている前記メモリユニットのいずれか少なくとも1組のミラーリングを解除することを決定する冗長制御処理と、ミラーリングが解除されることが決定された前記メモリユニットに含まれるデータの複製を、当該メモリユニットと異なる記憶領域に書き込むページファイル制御処理と、ミラーリングが解除されることが決定された前記メモリユニットの一方のページに含まれるデータを消去するページ割当処理と、を実行させる。 A program according to one aspect of the present invention causes a computer to perform a redundancy control process for determining to cancel mirroring of at least one set of the mirrored memory units among the memory units, and the mirroring cancellation. A page file control process of writing a copy of the data included in the memory unit determined to be in a storage area different from that of the memory unit, and one page of the memory unit determined to be unmirrored. And a page allocation process for erasing the stored data.

本発明によれば、メモリユニットの冗長性を維持しつつ使用可能なメモリ容量を増加させることができる。 According to the present invention, it is possible to increase the usable memory capacity while maintaining the redundancy of the memory unit.

本発明の第1の実施形態に係る情報処理装置の構成を示すブロック図である。It is a block diagram which shows the structure of the information processing apparatus which concerns on the 1st Embodiment of this invention. 第1の実施形態に係る情報処理装置の動作の流れを示すフローチャートである。3 is a flowchart showing a flow of operations of the information processing apparatus according to the first embodiment. 本発明の第2の実施形態に係る情報処理装置の構成を示すブロック図である。It is a block diagram which shows the structure of the information processing apparatus which concerns on the 2nd Embodiment of this invention. 第2の実施形態に係るメモリ割当制御部の、ミラーリングの解除に係る動作の流れを示すフローチャートである。11 is a flowchart showing a flow of operations related to cancellation of mirroring, of the memory allocation control unit according to the second embodiment. 第2の実施形態における、ミラーリングの解除に係る動作の後の各ページの状態を例示するブロック図である。FIG. 11 is a block diagram illustrating a state of each page after an operation related to cancellation of mirroring in the second embodiment. 第2の実施形態に係るメモリ割当制御部の、ミラーリングが解除されたメモリユニットへのページの作成に係る動作の流れを示すフローチャートである。9 is a flowchart showing a flow of operations related to creation of a page in a memory unit in which mirroring has been canceled, by the memory allocation control unit according to the second embodiment. 第2の実施形態における、ミラーリングが解除されたメモリユニットへのページの作成に係る動作の後の各ページの状態を例示するブロック図である。FIG. 11 is a block diagram illustrating a state of each page after an operation related to creation of a page in a memory unit in which mirroring has been released in the second embodiment. 第2の実施形態に係るメモリ割当制御部の、障害に対する処理に係る動作の流れを示すフローチャートである。9 is a flowchart showing a flow of operations related to processing for a failure of the memory allocation control unit according to the second embodiment. 第2の実施形態における、障害に対する処理に係る動作の後の各ページの状態を例示するブロック図である。FIG. 11 is a block diagram illustrating the state of each page after an operation related to processing for a failure in the second embodiment. 第2の実施形態に係るメモリ割当制御部の、ミラーリングが解除されたメモリユニットのページの更新に係る動作の流れを示すフローチャートである。9 is a flowchart showing a flow of an operation of updating a page of a memory unit in which mirroring has been canceled by the memory allocation control unit according to the second embodiment. 第2の実施形態における、ミラーリングが解除されたメモリユニットのページの更新に係る動作の後の各ページの状態を例示するブロック図である。FIG. 9 is a block diagram illustrating a state of each page after an operation related to updating a page of a memory unit in which mirroring has been released in the second embodiment. 本発明の第3の実施形態に係る情報処理装置の構成を示すブロック図である。It is a block diagram which shows the structure of the information processing apparatus which concerns on the 3rd Embodiment of this invention. 本発明の第4の実施形態に係る情報処理装置の構成を示すブロック図である。It is a block diagram which shows the structure of the information processing apparatus which concerns on the 4th Embodiment of this invention. 第4の実施形態に係る情報処理装置の各部の処理の流れを示すシーケンス図である。It is a sequence diagram which shows the flow of a process of each part of the information processing apparatus which concerns on 4th Embodiment. 第4の実施形態における、メモリユニットの移動後のメモリユニットおよびデータの状態を例示するブロック図である。It is a block diagram which illustrates the state of the memory unit and the data after the movement of the memory unit in a 4th embodiment. 本発明の各実施形態を実現可能なコンピュータのハードウェア構成を例示的に説明する図である。It is a figure which illustrates the hardware constitutions of the computer which can implement each embodiment of the present invention as an example. 本発明の一実施形態の主要構成を示すブロック図である。It is a block diagram which shows the main structures of one Embodiment of this invention. 本発明の一実施形態の主要構成を示すブロック図である。It is a block diagram which shows the main structures of one Embodiment of this invention.

以下、図面を参照しながら、本発明の実施形態を詳細に説明する。 Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.

<<第1の実施形態>>
本発明の第1の実施形態について説明する。
<<First Embodiment>>
A first embodiment of the present invention will be described.

<構成>
図1は、第1の実施形態に係る情報処理装置11の構成を示すブロック図である。
<Structure>
FIG. 1 is a block diagram showing the configuration of the information processing device 11 according to the first embodiment.

本実施形態に係る情報処理装置11は、記憶装置30と通信可能に接続される。 The information processing device 11 according to the present embodiment is communicatively connected to the storage device 30.

記憶装置30は、データを記憶する記憶領域300を有する。記憶装置30は、ハードディスク装置であってもよい。記憶装置30は、フラッシュメモリ等の不揮発性SSD(Solid State Drive)等の記憶装置であってもよい。 The storage device 30 has a storage area 300 for storing data. The storage device 30 may be a hard disk device. The storage device 30 may be a storage device such as a nonvolatile SSD (Solid State Drive) such as a flash memory.

情報処理装置11は、複数のメモリユニット(図1に示す例では、メモリユニット141,142)を備える。メモリユニットは、たとえば、DRAM(Dynamic Random Access Memory)などの、揮発性の記憶装置である。メモリユニットの記憶領域は、複数の所定のサイズの記憶領域に区切られている。この所定のサイズの記憶領域の1つ1つを「ページ」と呼ぶ。ページには、情報処理装置11が実行するアプリケーション等で使用されるデータが、格納される。 The information processing device 11 includes a plurality of memory units (memory units 141 and 142 in the example shown in FIG. 1). The memory unit is, for example, a volatile storage device such as a DRAM (Dynamic Random Access Memory). The storage area of the memory unit is divided into a plurality of storage areas of a predetermined size. Each of the storage areas of this predetermined size is called a "page". The page stores data used by an application or the like executed by the information processing apparatus 11.

以下、メモリユニット141のページのそれぞれを、ページ171と表す。メモリユニット142のページのそれぞれを、ページ172と表す。 Hereinafter, each of the pages of the memory unit 141 is referred to as a page 171. Each of the pages of memory unit 142 is referred to as a page 172.

情報処理装置11において、メモリユニット141とメモリユニット142とはミラーリングされている。ミラーリングとは、双方のメモリユニットが同一のデータを有するように制御されていることである。すなわち、ミラーリングにより、ページ171が含むデータと、ページ172が含むデータとは、実質的に同一である。 In the information processing device 11, the memory unit 141 and the memory unit 142 are mirrored. Mirroring means that both memory units are controlled to have the same data. That is, due to the mirroring, the data included in the page 171 and the data included in the page 172 are substantially the same.

情報処理装置11は、冗長制御部101、ページファイル制御部102、および、ページ割当部103を備える。 The information processing device 11 includes a redundancy control unit 101, a page file control unit 102, and a page allocation unit 103.

冗長制御部101は、ミラーリングされたメモリユニット141,142のミラーリングを解除することを決定する。以下、「ミラーリングを解除する」とは、メモリユニット間のミラーリングを解除することである。冗長制御部101は、ミラーリングの解除を決定した場合、ページファイル制御部102およびページ割当部103を呼び出す。 The redundancy control unit 101 determines to cancel the mirroring of the mirrored memory units 141 and 142. Hereinafter, “releasing the mirroring” means releasing the mirroring between the memory units. When the redundancy control unit 101 determines to cancel the mirroring, it calls the page file control unit 102 and the page allocation unit 103.

ページファイル制御部102は、ミラーリングが解除されることが決定されたメモリユニット(メモリユニット141,142)のページ(ページ171,ページ172)が含むデータの複製を、記憶装置30の記憶領域300に作成する。たとえば、ページファイル制御部102は、ページ171が含むデータと同じデータを、記憶装置30の記憶領域300に格納する。 The page file control unit 102 copies the data included in the pages (page 171 and page 172) of the memory unit (memory units 141 and 142) determined to be released from the mirroring to the storage area 300 of the storage device 30. create. For example, the page file control unit 102 stores the same data as the data included in the page 171 in the storage area 300 of the storage device 30.

ページ割当部103は、ミラーリングが解除されることが決定されたメモリユニット141,142のページが含むデータを消去する。たとえば、ページ割当部103は、ページ172が含むデータを消去する。 The page allocation unit 103 erases the data included in the pages of the memory units 141 and 142 for which the mirroring is determined to be cancelled. For example, the page allocation unit 103 erases the data included in the page 172.

図2に本実施形態の情報処理装置11の動作の流れを示す。まず、冗長制御部101は、ミラーリングされたメモリユニット141,142のミラーリングを解除することを決定する(ステップS21)。冗長制御部101は、ミラーリングの解除を決定した場合、ページファイル制御部102およびページ割当部103を呼び出す。ページファイル制御部102は、ミラーリングが解除されることが決定されたメモリユニット141,142のページ(ページ171またはページ172)が含むデータを、記憶装置30の記憶領域300に複製する(ステップS22)。ページ割当部103は、ミラーリングが解除されることが決定されたメモリユニット141,142のうち一方が含むデータを消去する(ステップS23)。 FIG. 2 shows a flow of operations of the information processing apparatus 11 of this embodiment. First, the redundancy controller 101 determines to cancel the mirroring of the mirrored memory units 141 and 142 (step S21). When the redundancy control unit 101 determines to cancel the mirroring, it calls the page file control unit 102 and the page allocation unit 103. The page file control unit 102 copies the data included in the page (page 171 or page 172) of the memory units 141 and 142 for which the mirroring is decided to be canceled to the storage area 300 of the storage device 30 (step S22). .. The page allocation unit 103 erases the data included in one of the memory units 141 and 142 for which the mirroring is determined to be canceled (step S23).

本実施形態によれば、メモリユニットの冗長性を維持しつつ使用可能なメモリ容量を増加させることができる。使用可能なメモリ容量を増加する理由は、メモリユニットのミラーリングを解除し、ミラーリングが解除されたメモリユニットの片方のページが含むデータを消去することにより、データが消去されたメモリユニットに新たに使用可能な領域が生成するからである。冗長性が維持される理由は、ミラーリングが解除されたメモリユニットのデータが、メモリユニットとは異なる記憶領域に複製されるからである。 According to this embodiment, it is possible to increase the usable memory capacity while maintaining the redundancy of the memory unit. The reason for increasing the usable memory capacity is that by unmirroring the memory unit and erasing the data contained in one page of the unmirrored memory unit, it is newly used for the memory unit where the data is erased. This is because a possible area is created. The reason why redundancy is maintained is that the data of the memory unit whose mirroring has been canceled is copied to a storage area different from that of the memory unit.

<<主要構成>>
図17に、第1の実施形態の情報処理装置11の主要構成を備える情報処理装置10のブロック図を示す。情報処理装置10は、冗長制御部101と、ページファイル制御部102と、ページ割当部103と、を備える。
<<Main composition>>
FIG. 17 is a block diagram of the information processing device 10 including the main configuration of the information processing device 11 according to the first embodiment. The information processing device 10 includes a redundancy control unit 101, a page file control unit 102, and a page allocation unit 103.

冗長制御部101は、メモリユニットのうち、ミラーリングされているメモリユニットのいずれか少なくとも1組のミラーリングを解除することを決定する。 The redundancy control unit 101 determines to cancel the mirroring of at least one set of the mirrored memory units among the memory units.

ページファイル制御部102は、ミラーリングが解除されることが決定されたメモリユニットに含まれるデータの複製を、当該メモリユニットと異なる記憶領域に書き込む。 The page file control unit 102 writes a copy of the data included in the memory unit determined to be released from the mirroring to a storage area different from the memory unit.

ページ割当部103は、ミラーリングが解除されることが決定されたメモリユニットの一方に含まれるデータを消去する。 The page allocation unit 103 erases the data included in one of the memory units whose mirroring is decided to be cancelled.

本構成によれば、メモリユニットの冗長性を維持しつつ使用可能なメモリ容量を増加させることができる。 According to this configuration, it is possible to increase the usable memory capacity while maintaining the redundancy of the memory unit.

<<第2の実施形態>>
本発明の第2の実施形態について説明する。
<<Second Embodiment>>
A second embodiment of the present invention will be described.

<構成>
図3は、第2の実施形態に係る情報処理装置12の構成を示すブロック図である。
<Structure>
FIG. 3 is a block diagram showing the configuration of the information processing device 12 according to the second embodiment.

本実施形態に係る情報処理装置12は、ハードディスク31と通信可能に接続される。 The information processing device 12 according to the present embodiment is communicatively connected to the hard disk 31.

ハードディスク31は、第1の実施形態における記憶装置30の具体例である。ハードディスク31は、ページファイル310を有する。ページファイル310は、ページに格納されるデータと同様のデータを記憶することができるファイルである。 The hard disk 31 is a specific example of the storage device 30 according to the first embodiment. The hard disk 31 has a page file 310. The page file 310 is a file that can store the same data as the data stored in the page.

情報処理装置12は、複数のメモリユニット15Nと、メモリ割当制御部20と、メモリ使用量監視部121と、例外ハンドル部111とを有する。 The information processing device 12 includes a plurality of memory units 15N, a memory allocation control unit 20, a memory usage amount monitoring unit 121, and an exception handle unit 111.

図3には、複数のメモリユニット15Nとして、メモリユニット151〜154が記載される。メモリユニット15Nは、それぞれページを含む。メモリユニット15Nは、データを、内部のページに格納する。図3で示す例では、メモリユニット151のページにはデータ181が格納されている。メモリユニット152にはデータ181’が格納されている。メモリユニット153およびメモリユニット154には、データが格納されていない。すなわち、メモリユニット153,154は、フリーな(どのページにもデータが格納されていない状態の)メモリユニットである。 In FIG. 3, memory units 151 to 154 are described as the plurality of memory units 15N. Each memory unit 15N includes a page. The memory unit 15N stores data in an internal page. In the example shown in FIG. 3, data 181 is stored in the page of the memory unit 151. Data 181' is stored in the memory unit 152. No data is stored in the memory unit 153 and the memory unit 154. That is, the memory units 153 and 154 are free memory units (in which no data is stored in any page).

本実施形態の説明において、メモリユニット151と152とは、ミラーリングされている。すなわち、データ181とデータ181’とは、実質的に同一である。 In the description of this embodiment, the memory units 151 and 152 are mirrored. That is, the data 181 and the data 181' are substantially the same.

なお、ページへのデータの書き込みや、ページが含むデータの更新は、情報処理装置12内の図示しない機能構成が行えばよい。 The writing of data to a page and the updating of data contained in a page may be performed by a functional configuration (not shown) in the information processing device 12.

メモリユニット15Nの機能は、たとえば、コンピュータのメインメモリにより提供される。この場合、一般的に、メモリユニットに格納されるページに対する処理の速度は、ハードディスク31のページファイル310に格納されるページに対する処理の速度よりも速い。したがって、情報処理装置12がページを更新する場合には、更新の対象のデータおよび冗長化されたデータがメモリユニット上に存在する方が、情報処理装置12の処理は速く、効率的である。 The function of the memory unit 15N is provided by, for example, the main memory of the computer. In this case, generally, the processing speed for the page stored in the memory unit is faster than the processing speed for the page stored in the page file 310 of the hard disk 31. Therefore, when the information processing apparatus 12 updates a page, the processing of the information processing apparatus 12 is faster and more efficient when the update target data and the redundant data are present in the memory unit.

メモリ使用量監視部121は、メモリの使用状況を監視する。監視により、メモリ使用量監視部121は、メモリ不足を検知する。メモリ不足の定義は、設計により変化しうる。メモリ不足とは、たとえば、メモリの空き容量が所定値を下回る場合である。空き容量とは、たとえば、データが格納されていない、使用可能な記憶領域の容量の総量である。メモリ不足とは、たとえば、メモリの空き容量が、新たに扱うデータのデータ量よりも少ないことである。メモリ不足とは、たとえば、使用されているメモリ容量の増加量を所定時間で割った値が、空き容量の定数倍を上回る場合である。なお、メモリ容量は、データが格納されていない、すなわち、未使用の、ページの数で表されてもよい。メモリ不足とは、たとえば、メモリの使用率が所定の閾値を超えることである。メモリの使用率は、たとえば、OSが認識しているメモリ容量に対する、そのメモリ容量からOSやアプリケーションが新たに使用可能なメモリ容量を差し引いた値の割合である。メモリの使用率は、メモリにおける使用可能なすべてのページの数からミラーリングされているメモリユニットが含むページの総数の半分を差し引いた数に対する、使用されているページの数の割合、で算出されてもよい。 The memory usage monitoring unit 121 monitors the usage status of the memory. By monitoring, the memory usage monitoring unit 121 detects a memory shortage. The definition of lack of memory can vary by design. The memory shortage is, for example, a case where the free memory capacity falls below a predetermined value. The free capacity is, for example, the total capacity of the usable storage areas in which no data is stored. The memory shortage means, for example, that the free space of the memory is smaller than the data amount of newly handled data. The memory shortage is, for example, a case where a value obtained by dividing an increase amount of the used memory capacity by a predetermined time exceeds a constant multiple of the free capacity. Note that the memory capacity may be represented by the number of pages in which no data is stored, that is, unused. The memory shortage is, for example, that the memory usage rate exceeds a predetermined threshold value. The memory usage rate is, for example, a ratio of a value obtained by subtracting a memory capacity newly usable by the OS or application from the memory capacity recognized by the OS. Memory utilization is calculated as the ratio of the number of used pages to the number of all available pages in memory minus half of the total number of pages contained in a mirrored memory unit. Good.

メモリ使用量監視部121は、メモリ不足を検知した場合は、メモリ割当制御部20の冗長監視部200に、メモリ不足を検知したことを示す通知を送信する。 When the memory usage monitoring unit 121 detects a memory shortage, the memory usage monitoring unit 121 transmits a notification indicating that the memory shortage is detected to the redundancy monitoring unit 200 of the memory allocation control unit 20.

例外ハンドル部111は、書き込み侵害の例外およびメモリ障害を検知する。 The exception handle unit 111 detects a write violation exception and a memory failure.

書き込み侵害の例外とは、「ページ保護」が設定されているページに対して、書き込みや更新の指示が発生することによる例外である。例外ハンドル部111は、たとえば、情報処理装置12の各メモリユニットのページに対する書き込み指示を監視する。例外ハンドル部111は、監視において、「ページ保護」が設定されているページに対する書き込みの指示を検知する。検知した場合、例外ハンドル部111は、書き込み侵害の例外が発生したことを示す通知と、その書き込み指示の対象であるページを示す情報(たとえば、アドレス)を、例外監視部205に送信する。なお、「ページ保護」の設定は、後述するページ属性制御部204によって行われる。 The write infringement exception is an exception caused by a write or update instruction for a page for which "page protection" is set. The exception handle unit 111 monitors, for example, a write instruction to a page of each memory unit of the information processing device 12. The exception handle unit 111 detects a write instruction for a page for which “page protection” is set during monitoring. When the exception is detected, the exception handle unit 111 transmits, to the exception monitoring unit 205, a notification indicating that a write violation exception has occurred and information (for example, an address) indicating the page that is the target of the write instruction. The "page protection" is set by the page attribute control unit 204 described later.

メモリ障害とは、メモリユニット15Nに発生する障害である。例外ハンドル部111は、メモリの障害を検知する他の機能構成と通信可能に接続されていてもよい。例外ハンドル部111は、メモリ障害を検知すると、メモリの障害が発生したことを示す通知と、その障害が発生したメモリユニットを示す情報(たとえば、識別子)とを、例外監視部205に送信する。 The memory failure is a failure that occurs in the memory unit 15N. The exception handle unit 111 may be communicatively connected to another functional configuration that detects a memory failure. When the exception handle unit 111 detects a memory failure, the exception handle section 111 transmits a notification indicating that a memory failure has occurred and information (for example, an identifier) indicating the memory unit where the failure has occurred to the exception monitoring unit 205.

メモリ割当制御部20は、冗長監視部200、冗長制御部201、ページファイル制御部202、ページ割当部203、ページ属性制御部204、例外監視部205、および、メモリ管理テーブル210を含む。 The memory allocation control unit 20 includes a redundancy monitoring unit 200, a redundancy control unit 201, a page file control unit 202, a page allocation unit 203, a page attribute control unit 204, an exception monitoring unit 205, and a memory management table 210.

冗長監視部200は、メモリ使用量監視部121からメモリ不足を検知したことを示す通知を受け取ると、冗長制御部201に、ミラーリング解除指示を送信する。ミラーリング解除指示は、ミラーリングを解除する指示である。 Upon receiving the notification indicating that the memory shortage is detected from the memory usage monitoring unit 121, the redundancy monitoring unit 200 transmits a mirroring cancellation instruction to the redundancy control unit 201. The mirroring cancellation instruction is an instruction to cancel mirroring.

冗長制御部201は、それぞれのメモリユニット15Nの状態を管理する。冗長制御部201は、メモリユニット15Nの状態の管理を、メモリ管理テーブル210によって行えばよい。 The redundancy control unit 201 manages the state of each memory unit 15N. The redundancy control unit 201 may manage the state of the memory unit 15N by using the memory management table 210.

例えばメモリ管理テーブル210は、情報処理装置12の各メモリユニットに関する次の情報を含んでよい。
・他のメモリユニットとミラーリングされているか否か(以下、「ミラーリング情報」と呼ぶ。「是」/「否」の2値。)
・ミラーリングされている場合、どのメモリユニットとミラーリングされているか
・データを格納しているページが有るか(以下、「ページ情報」と呼ぶ。「有」/「無」の2値。)
・格納されているデータの情報(更新日時、論理アドレス、および、その論理アドレスに割り当てられている物理アドレスもしくはページファイル310におけるアドレス、など。)
For example, the memory management table 210 may include the following information regarding each memory unit of the information processing device 12.
-Whether it is mirrored with another memory unit (hereinafter referred to as "mirroring information". Binary value of "Yes"/"No")
-Which memory unit is mirrored when it is mirrored?-Whether there is a page that stores data (hereinafter referred to as "page information". Binary value of "Yes"/"No").
Information on stored data (update date and time, logical address, and physical address assigned to the logical address or address in page file 310).

冗長制御部201は、メモリユニット15Nに関する情報が変更される場合に、メモリ管理テーブル210の情報を更新する。冗長制御部201は、必要に応じて、メモリ管理テーブル210の情報を参照する。 The redundancy control unit 201 updates the information in the memory management table 210 when the information regarding the memory unit 15N is changed. The redundancy control unit 201 refers to the information in the memory management table 210 as needed.

また、冗長制御部201は、ページファイル制御部202、ページ割当部203、および、ページ属性制御部204に対し、行うべき処理の内容を指示する。 Further, the redundancy control unit 201 instructs the page file control unit 202, the page allocation unit 203, and the page attribute control unit 204 about the content of processing to be performed.

ページファイル制御部202は、冗長制御部201の指示に従って、ページファイル310にデータを記録する。 The page file control unit 202 records data in the page file 310 according to the instruction of the redundancy control unit 201.

ページ割当部203は、メモリユニット141,142の各ページに対するデータの割当を制御する。「データの割当を制御する」とは、データと、そのデータへのアクセスにおいて使用されるページとの対応付けを、制御することである。たとえば、ページ割当手段は、そのデータに割り当てられた論理アドレスと、ページの物理アドレスとの関連づけを制御する。また、データが、そのデータに関連づけられた物理アドレスのページに存在するよう、ページにデータを書き込む。 The page allocation unit 203 controls allocation of data to each page of the memory units 141 and 142. “Controlling the allocation of data” means controlling the association between data and the page used in accessing the data. For example, the page allocating unit controls the association between the logical address allocated to the data and the physical address of the page. It also writes the data to the page so that the data resides on the page at the physical address associated with the data.

ページ割当部203は、ページに含まれるデータを「移動させる」。「移動させる」とは、そのデータを格納するページを変更することである。具体的には、ページ割当部203は、そのデータに対応付けられた、ページの物理アドレスを変更する。そして、ページ割当部203は、データを、変更後の物理アドレスのページに書き込む。また、ページ割当部203は、変更前の物理アドレスページに含まれるデータを消去する。 The page allocation unit 203 “moves” the data included in the page. "Move" means to change the page that stores the data. Specifically, the page allocation unit 203 changes the physical address of the page associated with the data. Then, the page allocation unit 203 writes the data in the page of the changed physical address. Further, the page allocation unit 203 erases the data included in the physical address page before the change.

ページ割当部203は、ミラーリングが解除されたメモリユニットの一方のデータを消去する。ページ割当部203は、データを消去することによってフリーになったメモリユニットの各ページを解放する。「ページを解放する」とは、ページを使用可能な状態にすることである。たとえば、ページ割当部203は、ページに、使用可能な論理アドレスを割り当てればよい。 The page allocation unit 203 erases one data of the memory unit whose mirroring has been canceled. The page allocation unit 203 releases each page of the memory unit which becomes free by erasing the data. "Freeing a page" means putting the page in a usable state. For example, the page allocation unit 203 may allocate usable logical addresses to pages.

ページ属性制御部204は、それぞれのページの属性の情報を制御する。ページの属性は、たとえば、そのページが「ページ保護」に設定されているか否かを示す情報を含んでもよい。たとえば、ページ属性制御部204は、ミラーリングされていないページに対して、「ページ保護」を設定してもよい。「ページ保護」に設定されたページは、上述の書き込み侵害の例外の検知に用いられうる。 The page attribute control unit 204 controls attribute information of each page. The page attribute may include, for example, information indicating whether the page is set to “page protection”. For example, the page attribute control unit 204 may set “page protection” for a page that is not mirrored. A page set to “page protection” can be used for detecting the above-mentioned write violation exception.

例外監視部205は、例外ハンドル部111から書き込み侵害の例外の通知またはメモリ障害が発生したことを示す通知を受け取ると、冗長制御部201を呼び出す。なお、このとき、例外監視部205は、例外ハンドル部111から受け取った情報(たとえば、例外の種類、および、例外に係るメモリユニットを示す情報)も、冗長制御部201に送信する。 The exception monitoring unit 205 calls the redundancy control unit 201 when receiving a notification of a write violation exception or a notification indicating that a memory failure has occurred from the exception handle unit 111. At this time, the exception monitoring unit 205 also transmits information received from the exception handle unit 111 (for example, information indicating the type of exception and the memory unit related to the exception) to the redundancy control unit 201.

<動作>
第2の実施形態に係る情報処理装置12の動作について図4、図6、図8、図10のフローチャートを参照して詳細に説明する。
<Operation>
The operation of the information processing device 12 according to the second embodiment will be described in detail with reference to the flowcharts of FIGS. 4, 6, 8 and 10.

(ミラーリングの解除時)
ミラーリングの解除に係る情報処理装置12の流れを、図4のフローチャートを参照しながら説明する。
(When releasing mirroring)
The flow of the information processing device 12 related to the cancellation of the mirroring will be described with reference to the flowchart of FIG.

ミラーリングの解除を行う契機は、たとえば、メモリ不足を検知したメモリ使用量監視部121が、冗長監視部200にメモリ不足を検知した旨を通知したときである。 The trigger for canceling the mirroring is, for example, when the memory usage monitoring unit 121 that has detected the memory shortage notifies the redundancy monitoring unit 200 that the memory shortage has been detected.

ステップS41において、冗長監視部200は、メモリ使用量監視部121からメモリ不足を検知したことを示す通知を受け取る。すると、冗長監視部200は、冗長制御部201にミラーリング解除指示を送信する(ステップS41)。 In step S41, the redundancy monitoring unit 200 receives from the memory usage monitoring unit 121 a notification indicating that the memory shortage is detected. Then, the redundancy monitoring unit 200 transmits a mirroring cancellation instruction to the redundancy control unit 201 (step S41).

冗長制御部201は、冗長監視部200からミラーリング解除指示を受信すると、メモリユニット15Nのうち、ミラーリングされているメモリユニットの組を少なくとも1つ選択し、そのメモリユニットのミラーリングを解除することを決定する(ステップS42)。例として、冗長制御部201は、メモリユニット151およびメモリユニット152の間のミラーリングを解除することを決定したとする。 Upon receiving the mirroring cancellation instruction from the redundancy monitoring unit 200, the redundancy control unit 201 selects at least one set of mirrored memory units among the memory units 15N and determines to cancel the mirroring of the memory unit. Yes (step S42). As an example, it is assumed that the redundancy control unit 201 determines to cancel the mirroring between the memory unit 151 and the memory unit 152.

決定されたメモリユニットのミラーリングを解除する手順は、次のステップS43〜S45の手順を含む。 The procedure for canceling the determined mirroring of the memory unit includes the following steps S43 to S45.

ステップS43において、メモリユニット151および152にページが記録されていた場合、ページファイル制御部202は、ミラーリングされていたメモリユニットに含まれるデータの複製をページファイルに作成する。具体的には、ページファイル制御部202は、メモリユニット151(または152)が含むすべてのページの内容の複製を、ハードディスク31のページファイル310に作成する。これによりページファイル310に生成したデータをデータ191とする。なお、メモリユニット151および152がフリーのページであった場合は、ステップS43の処理は省略されてよい。 In step S43, if the page is recorded in the memory units 151 and 152, the page file control unit 202 creates a copy of the data included in the mirrored memory unit in the page file. Specifically, the page file control unit 202 creates a copy of the contents of all pages included in the memory unit 151 (or 152) in the page file 310 of the hard disk 31. The data thus generated in the page file 310 is set as data 191. If the memory units 151 and 152 are free pages, the process of step S43 may be omitted.

ステップS44において、ページ割当部203は、ミラーリングを解除したメモリユニットの片方(たとえばメモリユニット152)のすべてのページの内容を消去する。そして、ページ割当部203は、メモリユニット152を解放する。 In step S44, the page allocation unit 203 erases the contents of all pages of one of the memory units (for example, the memory unit 152) of which the mirroring has been canceled. Then, the page allocation unit 203 releases the memory unit 152.

ステップS45において、冗長制御部201は、メモリ管理テーブル210における、メモリユニット151、152に関する情報を更新する。具体的には、冗長制御部201は、メモリユニット151、152のミラーリング情報を「否」にする。また、冗長制御部201は、メモリユニット152のページ情報を「無」にする。 In step S45, the redundancy control unit 201 updates the information regarding the memory units 151 and 152 in the memory management table 210. Specifically, the redundancy control unit 201 sets the mirroring information of the memory units 151 and 152 to “no”. The redundancy control unit 201 also sets the page information of the memory unit 152 to "absent".

なお、上記のステップS43〜S45の手順の順序は限定されない。ただし、ステップS45(ページの内容の消去)が、ステップS44(ページの複製)の後に行われれば、ページの冗長性が常に保たれるため、情報処理装置はより障害に対して強くなる。 The order of the steps S43 to S45 is not limited. However, if step S45 (erasing the contents of the page) is performed after step S44 (copying the page), the page redundancy is always maintained, and the information processing apparatus becomes more resistant to failures.

なお、ページ属性制御部204は、メモリユニット151が含むページに「ページ保護」を設定してもよい。 The page attribute control unit 204 may set “page protection” on the page included in the memory unit 151.

以上により、メモリユニットのミラーリングの解除が完了する。 As described above, the cancellation of the mirroring of the memory unit is completed.

図5は、本実施形態においてミラーリングが解除された後の構成を例示する図である。メモリユニット151とメモリユニット152のミラーリングは解除され、ページファイル310にて、データ181と実質的に同一の新たなデータ191が生成している。 FIG. 5 is a diagram illustrating a configuration after the mirroring is released in the present embodiment. The mirroring of the memory unit 151 and the memory unit 152 is released, and new data 191 that is substantially the same as the data 181 is generated in the page file 310.

なお、ミラーリングを解除するメモリユニット15Nの数は、限定されない。また、ミラーリングを解除するメモリユニット15Nは、予め定められていてもよい。冗長制御部201は、最後に更新されてから経過した時間が最も長いメモリユニット15Nを選択するように設計されてもよい。最後に更新されてから経過した時間が最も長いメモリユニット15Nは、そのメモリへのアクセスの頻度が少ない可能性が高い。あるいは、冗長制御部201は、次に使用されるまでの時間が最も長いと見込まれるメモリユニット15Nを選択するアルゴリズムを用いて、ミラーリングを解除するメモリユニット15Nを選択してもよい。 The number of memory units 15N for which the mirroring is released is not limited. Further, the memory unit 15N that cancels the mirroring may be predetermined. The redundancy control unit 201 may be designed to select the memory unit 15N that has the longest elapsed time since it was last updated. The memory unit 15N having the longest elapsed time since the last update is likely to have low access frequency to the memory. Alternatively, the redundancy control unit 201 may select the memory unit 15N to be released from the mirroring by using an algorithm that selects the memory unit 15N that is expected to have the longest time until the next use.

また、ページ割当部203は、ミラーリングが解除されたメモリユニットのページに対するデータの割当を、データの更新日時に基づいて制御してもよい。たとえば、ページ割当部203は、ミラーリングされていないメモリユニット151が含むページに含まれるデータが最後に更新されてから経過している時間が、ミラーリングされているメモリユニット15Nが含むページに含まれるデータが最後に更新されてから経過している時間よりも長いように、ページに対するデータの割当を制御してもよい。 Further, the page allocation unit 203 may control the allocation of data to the page of the memory unit whose mirroring has been canceled based on the date and time of data update. For example, the page allocation unit 203 determines that the time elapsed since the data included in the page included in the non-mirrored memory unit 151 was last updated is the data included in the page included in the mirrored memory unit 15N. The allocation of data to pages may be controlled so that it is longer than the time since the last update.

(ミラーリングが解除されたメモリユニットへのページの作成時)
ミラーリングが解除され解放されたメモリユニットのページに新たにデータが作成される場合の動作について、図6のフローチャートを参照して詳細に説明する。ただし、ステップの順序は一例であり、適宜変更されてよい。
(When creating a page in a memory unit whose mirroring has been canceled)
The operation when data is newly created in the page of the memory unit released from the mirroring will be described in detail with reference to the flowchart of FIG. However, the order of the steps is an example, and may be changed as appropriate.

例として、ページ割当部203が新たなデータをメモリユニット152のページに割り当てるとする。 As an example, it is assumed that the page allocation unit 203 allocates new data to a page of the memory unit 152.

まず、ページ割当部203が、新たなデータをメモリユニット152のページに割り当てる(ステップS61)。このとき、冗長制御部201が、たとえばメモリ管理テーブル210を参照することによって、新たなデータが割り当てられたページを含むメモリユニット(例においては、メモリユニット152)がミラーリングされていないことを、検知すればよい。 First, the page allocation unit 203 allocates new data to a page of the memory unit 152 (step S61). At this time, the redundancy control unit 201 detects that the memory unit (memory unit 152 in the example) including the page to which new data is allocated is not mirrored by referring to the memory management table 210, for example. do it.

新たなデータが割り当てられたページを含むメモリユニット15N(この説明の例では、メモリユニット152)がミラーリングされていない場合、メモリ割当制御部20の構成要素は、それぞれ次の処理を行う。 When the memory unit 15N including the page to which new data is allocated (the memory unit 152 in the example of this description) is not mirrored, the constituent elements of the memory allocation control unit 20 respectively perform the following processing.

ステップS62において、ページファイル制御部202は、メモリユニット152に作成されたデータ182の複製を、ハードディスク31のページファイル310に作成する。複製により生成したデータを、データ192とする。 In step S62, the page file control unit 202 creates a copy of the data 182 created in the memory unit 152 in the page file 310 of the hard disk 31. The data generated by copying is referred to as data 192.

ステップS63において、冗長制御部201は、メモリ管理テーブル210を更新する。具体的には、冗長制御部201は、メモリ管理テーブル210において、メモリユニット152に関する「ページ情報」を「有」に変更し、データ182に関する情報を書き込む。 In step S63, the redundancy control unit 201 updates the memory management table 210. Specifically, the redundancy control unit 201 changes “page information” regarding the memory unit 152 to “present” in the memory management table 210, and writes information regarding the data 182.

図7は、本実施形態においてミラーリングが解除されたメモリユニット152にデータ182が作成された後の構成を例示する図である。メモリユニット152に新たにデータ182が生成し、ページファイル310にて、データ182と実質的に同一の新たなデータ192が生成している。 FIG. 7 is a diagram exemplifying a configuration after the data 182 is created in the memory unit 152 in which the mirroring is canceled in the present embodiment. Data 182 is newly generated in the memory unit 152, and new data 192 that is substantially the same as the data 182 is generated in the page file 310.

(ミラーリングが解除されたメモリユニットにおける障害の発生時)
メモリ障害が発生した場合の動作について図8のフローチャートを参照して詳細に説明する。ただし、ステップの順序は一例であり、適宜変更されてよい。
(When a failure occurs in the memory unit whose mirroring has been canceled)
The operation when a memory failure occurs will be described in detail with reference to the flowchart of FIG. However, the order of the steps is an example, and may be changed as appropriate.

例として、ミラーリングが解除されたメモリユニット152において障害が発生したとする。 As an example, assume that a failure occurs in the memory unit 152 whose mirroring has been canceled.

メモリ障害が発生すると、例外ハンドル部111が、メモリ障害が発生したことを示す通知を例外監視部205に送信する。例外監視部205は、この通知を受け取る(ステップS81)。すると、例外監視部205は、冗長制御部201を呼び出す。 When a memory failure occurs, the exception handle unit 111 sends a notification indicating that a memory failure has occurred to the exception monitoring unit 205. The exception monitoring unit 205 receives this notification (step S81). Then, the exception monitoring unit 205 calls the redundancy control unit 201.

冗長制御部201は、障害が発生したメモリユニット(メモリユニット152)と異なるメモリユニット15Nの、フリーのページを選択する(ステップS82)。例として、冗長制御部201は、メモリユニット153を選択する。そして、ページファイル制御部202は、ページファイル内の、障害が発生したメモリユニット152が含むデータ182と実質的に同一のデータであるデータ192を読み出す。そして、ページ割当部203が、冗長制御部201によって選択されたメモリユニット153に、ページファイル制御部202が読み出したデータ192を、格納する(ステップS83)。メモリユニット153に作成されたデータをデータ183とする。 The redundancy control unit 201 selects a free page in the memory unit 15N different from the memory unit (memory unit 152) in which the failure has occurred (step S82). As an example, the redundancy control unit 201 selects the memory unit 153. Then, the page file control unit 202 reads the data 192 that is substantially the same data as the data 182 included in the failed memory unit 152 in the page file. Then, the page allocation unit 203 stores the data 192 read by the page file control unit 202 in the memory unit 153 selected by the redundancy control unit 201 (step S83). The data created in the memory unit 153 is referred to as data 183.

なお、この例の場合、メモリユニット153はミラーリングされているため、メモリユニット154にも、データ183と同じデータが生成する。メモリユニット154上に生成したデータをデータ183’とする。ページファイル制御部202が、データ183’をメモリユニット154に格納してもよい。 In this example, since the memory unit 153 is mirrored, the same data as the data 183 is also generated in the memory unit 154. The data generated on the memory unit 154 is data 183'. The page file controller 202 may store the data 183' in the memory unit 154.

そして、ページ割当部203は、障害が発生したメモリユニット152に含まれるデータ182を消去する(ステップS84)。 Then, the page allocation unit 203 erases the data 182 included in the failed memory unit 152 (step S84).

冗長制御部201は、メモリ管理テーブル210を更新する(ステップS85)。 The redundancy control unit 201 updates the memory management table 210 (step S85).

なお、ステップS83の後、ページファイル制御部202は、ページファイル310に含まれるデータ192を、消去してもよい。 Note that after step S83, the page file control unit 202 may delete the data 192 included in the page file 310.

図9は、本実施形態においてミラーリングが解除されたメモリユニットに発生した障害に対する処理の後の構成を例示する図である。メモリユニット152におけるデータ182およびページファイル310におけるデータ192は消去され、データ192と同等のデータ183、183’が、メモリユニット153、154上に生成している。 FIG. 9 is a diagram exemplifying a configuration after processing for a failure that has occurred in a memory unit whose mirroring has been canceled in the present embodiment. The data 182 in the memory unit 152 and the data 192 in the page file 310 are erased, and data 183, 183' equivalent to the data 192 is generated on the memory units 153, 154.

なお、冗長制御部201は、ステップS82において、ミラーリングされていないメモリユニット15Nのページを選んでもよい。この場合、ページファイル制御部202は、ステップS83の後に、ページファイル310におけるデータ192を、削除しなくてよい。 The redundancy control unit 201 may select a page of the memory unit 15N that is not mirrored in step S82. In this case, the page file control unit 202 does not have to delete the data 192 in the page file 310 after step S83.

(ミラーリングが解除されたメモリユニットのページの更新時)
ミラーリングが解除されたメモリユニットのページが更新される場合の動作について、図10のフローチャートを参照して詳細に説明する。
(When updating the page of the memory unit whose mirroring has been canceled)
The operation when the page of the memory unit whose mirroring has been canceled is updated will be described in detail with reference to the flowchart of FIG.

例として、図7で示される状態において、メモリユニット152のページへの書き込み侵害の例外が発生したとする。以下、書き込み侵害の例外が発生したページを、侵害を受けたページと呼ぶ。 As an example, in the state shown in FIG. 7, it is assumed that a write violation exception to a page of the memory unit 152 has occurred. Hereinafter, a page in which a write infringement exception has occurred is referred to as a compromised page.

まず、例外ハンドル部111が、書き込み侵害の例外を検知すると、例外監視部205に書き込み侵害の例外の通知を送信する。例外監視部205は、例外ハンドル部111からの通知を受ける(ステップS101)と、冗長制御部201を呼び出す。 First, when the exception handle unit 111 detects a write violation exception, it sends a notification of a write violation exception to the exception monitoring unit 205. When the exception monitoring unit 205 receives the notification from the exception handle unit 111 (step S101), it calls the redundancy control unit 201.

冗長制御部201は、ミラーリングされているメモリユニット15Nの、フリーのページを選択する(ステップS102)。たとえば、冗長制御部201は、メモリユニット153,154の中のフリーのページを選択する。 The redundancy control unit 201 selects a free page of the mirrored memory unit 15N (step S102). For example, the redundancy control unit 201 selects a free page in the memory units 153 and 154.

そして、ページ割当部203は、選択されたページのそれぞれに、侵害を受けたページに含まれるデータ182を移動させる(ステップS103)。具体的には、ページ割当部203は、侵害を受けたページに含まれるデータ182の複製を、選択されたページのそれぞれに格納する。そして、ページ割当部203は、侵害を受けたページ182に含まれるデータを消去する。また、ページ割当部203は、侵害を受けたページおよび選択されたページのそれぞれに関連づけられた論理アドレスを変更する。 Then, the page allocation unit 203 moves the data 182 included in the infringed page to each of the selected pages (step S103). Specifically, the page allocation unit 203 stores a copy of the data 182 included in the infringed page in each of the selected pages. Then, the page allocation unit 203 erases the data included in the infringed page 182. In addition, the page allocation unit 203 changes the logical address associated with each of the infringed page and the selected page.

メモリユニット153,154に複製されたデータを、それぞれデータ184,184’とする。 The data duplicated in the memory units 153 and 154 are referred to as data 184 and 184', respectively.

ページファイル制御部202は、ハードディスク31のページファイル310内の、侵害を受けたページに含まれるデータの複製を消去する(ステップS104)。 The page file control unit 202 erases the copy of the data included in the infringed page in the page file 310 of the hard disk 31 (step S104).

冗長制御部201は、メモリユニット152,153,154に関する情報について、メモリ管理テーブル210を更新する(ステップS105)。具体的には、冗長制御部201は、メモリ管理テーブル210において、データ182,184,184’に関する情報を書き込む。 The redundancy control unit 201 updates the memory management table 210 for information regarding the memory units 152, 153, 154 (step S105). Specifically, the redundancy control unit 201 writes information regarding the data 182, 184, 184' in the memory management table 210.

図11は、本実施形態においてミラーリングが解除されたメモリユニットのページを更新する時の構成を例示する図である。メモリユニット152に含まれていたデータ182およびページファイル310に含まれていたデータ192が、データ184、184’として、メモリユニット153、154に移動している。 FIG. 11 is a diagram exemplifying a configuration at the time of updating a page of the memory unit in which the mirroring is released in the present embodiment. The data 182 included in the memory unit 152 and the data 192 included in the page file 310 have been moved to the memory units 153 and 154 as data 184 and 184'.

<効果>
本実施形態の情報処理装置によれば、第1の実施形態と同様、メモリユニットの冗長性を維持しつつ使用可能なメモリ容量を増加させることができる。第2の実施形態の構成により、該メモリユニットに障害が生じた場合でも、ページファイルに複製されていたデータを、他のメモリユニットに読み出す(ページインする)ため、ページの内容が失われない。
<Effect>
According to the information processing apparatus of the present embodiment, as in the first embodiment, it is possible to increase the usable memory capacity while maintaining the redundancy of the memory unit. According to the configuration of the second embodiment, even if a failure occurs in the memory unit, the data duplicated in the page file is read (page-in) to another memory unit, so that the contents of the page are not lost. ..

また、ミラーリングが解除されたメモリユニット上のページに書き込み指示が発生した場合、メモリ割当制御部20は、そのページのデータを、ミラーリングされているメモリユニットのページに移動するので、情報処理装置12はページファイル内のデータを更新しなくてよい。そのため、情報処理装置12は、メモリユニット15Nに含まれるデータに対する処理を伴う情報処理において、処理速度を保ってページに対する処理をすることができる。 Further, when a write instruction is issued to a page on a memory unit whose mirroring has been canceled, the memory allocation control unit 20 moves the data of the page to the page of the mirrored memory unit. Does not have to update the data in the page file. Therefore, the information processing device 12 can process the page at a high processing speed in the information processing including the process on the data included in the memory unit 15N.

また、ミラーリングを解除するメモリユニットとして、最後に更新されてから経過した時間が最も長いメモリユニット15Nを冗長制御部201が選択した場合、そのメモリユニット15Nへのアクセスの頻度は少ない可能性が高い。すなわち、そのメモリユニット15Nにページインされるまでの時間が長いと期待される。したがって、この場合、ページインに係る処理が少なくなるため、処理の性能の低下を抑制するという効果を奏する。 Further, when the redundancy control unit 201 selects the memory unit 15N that has the longest elapsed time since the last update as the memory unit for canceling the mirroring, the frequency of access to the memory unit 15N is likely to be low. .. That is, it is expected that it takes a long time to page in the memory unit 15N. Therefore, in this case, the amount of processing relating to page-in is reduced, and the effect of suppressing the deterioration in processing performance is achieved.

ページ割当部203が、最後に更新されてから経過している時間が、ミラーリングされているメモリユニット15Nが含むページに含まれるデータが最後に更新されてから経過している時間よりも長いデータを、ミラーリングが解除されたメモリユニットのページに割り当てる構成によっても、当該ページへのアクセスの頻度は少ない可能性が高い。この構成も、処理の性能の低下を抑制するという効果を奏する。 The page allocation unit 203 determines that the time elapsed since the last update is longer than the time elapsed since the last update of the data included in the page included in the mirrored memory unit 15N. Also, depending on the configuration in which the page is allocated to the memory unit whose mirroring has been canceled, the frequency of accessing the page is likely to be low. This configuration also has an effect of suppressing a decrease in processing performance.

<<第3の実施形態>>
第2の実施形態において、メモリユニットのミラーリングを解除する契機は、メモリ不足が検知された時に限らなくてもよい。本発明の第3の実施形態として、ミラーリングの解除の決定に関わる更新管理部206を備える情報処理装置13を説明する。
<<Third Embodiment>>
In the second embodiment, the trigger for canceling the mirroring of the memory unit is not limited to when the memory shortage is detected. As a third embodiment of the present invention, an information processing apparatus 13 including an update management unit 206 related to a decision to cancel mirroring will be described.

図12は、第3の実施形態に係る情報処理装置13の構成を示すブロック図である。情報処理装置13のメモリ割当制御部21は、第2の実施形態のメモリ割当制御部20と同様の構成に加え、更新管理部206を備える。 FIG. 12 is a block diagram showing the configuration of the information processing device 13 according to the third embodiment. The memory allocation control unit 21 of the information processing device 13 includes an update management unit 206 in addition to the same configuration as the memory allocation control unit 20 of the second embodiment.

更新管理部206は、ミラーリングされたメモリユニットのページのうち、更新頻度が低いページを検出する。更新頻度が低いページとは、更新されていない状態が継続するページである。更新頻度が低いページとは、たとえば、最後に更新されてから経過した期間が所定の期間よりも長いページである。以下、「更新頻度が低いページ」は、「ミラーリングされたメモリユニットのページのうち、更新頻度が低いページ」を指す。 The update management unit 206 detects a page with a low update frequency among the pages of the mirrored memory unit. A page with a low update frequency is a page that remains in the non-updated state. A page with a low update frequency is, for example, a page whose period elapsed since the last update was longer than a predetermined period. Hereinafter, the “page with a low update frequency” refers to “a page with a low update frequency among the pages of the mirrored memory unit”.

更新管理部206は、更新頻度が低いページのみを含むメモリユニットを検出すると、そのメモリユニットを示す情報を、冗長制御部201に送信する。 When the update management unit 206 detects a memory unit including only pages with a low update frequency, the update management unit 206 sends information indicating the memory unit to the redundancy control unit 201.

冗長制御部201は、更新頻度が低いページのみを含むメモリユニットのミラーリングを解除する決定を行う。この場合、メモリ割当制御部21は、更新頻度が低いページのみを含むメモリユニットのミラーリングを解除する。ミラーリングを解除する処理は、第2の実施形態同様、図4のフローチャートに示されるステップS43からステップS45の処理である。 The redundancy control unit 201 makes a decision to cancel the mirroring of the memory unit including only the page whose update frequency is low. In this case, the memory allocation control unit 21 cancels the mirroring of the memory unit including only the page with a low update frequency. Similar to the second embodiment, the processing for canceling the mirroring is the processing from step S43 to step S45 shown in the flowchart of FIG.

本実施形態によれば、更新頻度が低いページのみを含むメモリユニットが検出されるたびに、ミラーリングが解除されたメモリユニットが(可用性を保ったまま)増える。これにより、メモリの使用率を安全に下げることができる。また、ミラーリングが解除されるメモリユニットは、ページの更新頻度が低いメモリユニットであるため、当該メモリユニットのページが次にページインされるまでの時間が長いと期待される。そのため、本実施形態によれば、ページファイルに記録されたページの更新に伴うページインによる、情報処理装置13の処理の性能の低下を、抑えることができる。 According to this embodiment, each time a memory unit including only pages with a low update frequency is detected, the number of memory units in which mirroring is canceled (while maintaining availability) increases. As a result, the memory usage rate can be safely reduced. In addition, since the memory unit whose mirroring is canceled is a memory unit whose page update frequency is low, it is expected that the time until the page of the relevant memory unit is paged in next is long. Therefore, according to the present embodiment, it is possible to suppress the deterioration of the processing performance of the information processing device 13 due to the page-in accompanying the update of the page recorded in the page file.

<<変形例>>
第3の実施形態の変形例として、メモリ割当制御部21は次のように構成されてもよい。すなわち、更新管理部206は、更新されていない状態が継続するページの数と、予め設定された値とを、随時比較する。更新されていない状態が継続するページの数が設定された値を上回った場合に、冗長制御部201は、ミラーリングされているメモリユニットのいずれか少なくとも1組のミラーリングを解除することを決定する。ページ割当部203は、ミラーリングが解除されたメモリユニットの一方を解放する。ページ割当部203は、ミラーリングが解除されたメモリユニットの他方のページに、更新されていない状態が継続するデータを移動させる。ページ割当部203は、このとき、ミラーリングが解除されたメモリユニットの他方に元々含まれているデータを移動させてもよい。
<<Variations>>
As a modified example of the third embodiment, the memory allocation control unit 21 may be configured as follows. That is, the update management unit 206 compares the number of pages in which the non-updated state continues with a preset value at any time. When the number of pages for which the non-updated state continues exceeds the set value, the redundancy control unit 201 determines to cancel the mirroring of at least one set of the mirrored memory units. The page allocation unit 203 releases one of the memory units whose mirroring has been canceled. The page allocation unit 203 moves the data, which is maintained in the unupdated state, to the other page of the memory unit whose mirroring has been canceled. At this time, the page allocation unit 203 may move the data originally included in the other of the memory units whose mirroring has been canceled.

また別の変形例として、更新頻度が低いページが検出された場合に、ミラーリングされていないメモリユニット内のページでフリーのページが存在する場合、ページ割当部203が、更新頻度が低いページを、そのフリーのページに移動させてもよい。この場合、冗長制御部201がメモリユニットのミラーリングを解除させなくとも、使用可能な冗長化されたメモリユニットのページが増加する。 As another modified example, when a page with a low update frequency is detected, and a free page exists in the pages in the memory units that are not mirrored, the page allocation unit 203 selects a page with a low update frequency, You may move to that free page. In this case, even if the redundancy control unit 201 does not cancel the mirroring of the memory unit, the usable pages of the redundant memory unit increase.

<<主要構成>>
図18に、本発明の一実施形態に係る情報処理装置9の主要構成のブロック図を示す。情報処理装置9は、ページファイル制御部202と、ページ割当部203とを備える。
<<Main composition>>
FIG. 18 shows a block diagram of the main configuration of the information processing apparatus 9 according to the embodiment of the present invention. The information processing device 9 includes a page file control unit 202 and a page allocation unit 203.

ページ割当部203は、メモリユニットのうち、ミラーリングされているメモリユニットに含まれるデータを、ミラーリングされていないメモリユニットに移動させる。 The page allocation unit 203 moves the data included in the mirrored memory unit among the memory units to the non-mirrored memory unit.

ページファイル制御部202は、移動させたデータの複製を、メモリユニットと異なる記憶領域に書き込む。 The page file control unit 202 writes a copy of the moved data in a storage area different from the memory unit.

本構成によれば、メモリユニットの冗長性を維持しつつ使用可能なメモリ容量を増加させることができる。 According to this configuration, it is possible to increase the usable memory capacity while maintaining the redundancy of the memory unit.

<<第4の実施形態>>
本発明の第4の実施形態について説明する。
<<Fourth Embodiment>>
A fourth embodiment of the present invention will be described.

<構成>
図13は、第4の実施形態に係る情報処理装置14の構成を示すブロック図である。
<Structure>
FIG. 13 is a block diagram showing the configuration of the information processing device 14 according to the fourth embodiment.

情報処理装置14は、少なくとも2つの「区画100」を含む。区画とは、情報処理のまとまりを概念的に区別したものである。たとえば、それぞれの区画100では、異なるプロセッサ(不図示)が、そのプロセッサの制御下のメモリユニットを使用して情報処理を行う。図13において表される区画100は、同じ区画内にあるメモリユニットの群が、同じプロセッサによって使用される群であることを表す。 The information processing device 14 includes at least two “sections 100”. Partitions are conceptually distinct groups of information processing. For example, in each partition 100, different processors (not shown) process information using memory units under the control of that processor. The partition 100 shown in FIG. 13 represents that groups of memory units in the same partition are groups used by the same processor.

図13では、区画100として、区画100Aと区画100Bが示されている。各区画100は、上述のように、メモリユニットを含む。区画100Aは、メモリユニット15N(151,152を含む)を含む。メモリユニット151とメモリユニット152とは、ミラーリングされている。区画100Bは、メモリユニット16N(161,162を含む)を含む。メモリユニット161とメモリユニット162とは、ミラーリングされている。メモリユニット151,152,161,162は、それぞれ、データ181,181’,183,または183’を含む。データ181とデータ181’とは同一のデータである。データ183とデータ183’とは同一のデータである。 In FIG. 13, a section 100A and a section 100B are shown as the section 100. Each partition 100 includes a memory unit, as described above. The partition 100A includes a memory unit 15N (including 151 and 152). The memory unit 151 and the memory unit 152 are mirrored. The partition 100B includes a memory unit 16N (including 161 and 162). The memory unit 161 and the memory unit 162 are mirrored. The memory units 151, 152, 161, 162 each contain data 181, 181', 183, or 183'. The data 181 and the data 181' are the same data. The data 183 and the data 183' are the same data.

また、情報処理装置14は、メモリ使用量監視部121と、構成制御部122とを含む。 The information processing device 14 also includes a memory usage monitoring unit 121 and a configuration control unit 122.

メモリ使用量監視部121は、各区画100のメモリの使用量を監視する。メモリ使用量監視部121は、監視により、メモリ不足が発生している区画を検知する。メモリ不足の定義は、第2の実施形態における説明と同様、様々に設定されてよい。メモリ使用量監視部121は、メモリ不足が発生している区画を検知した場合は、そのメモリ不足を検知したことを示す通知およびメモリ不足が発生している区画を示す情報を、構成制御部122に、送信する。 The memory usage monitoring unit 121 monitors the memory usage of each partition 100. The memory usage monitoring unit 121 detects the partition in which the memory shortage occurs by monitoring. The definition of the memory shortage may be set variously as in the description of the second embodiment. If the memory usage monitoring unit 121 detects a section in which a memory shortage has occurred, the configuration control unit 122 sends a notification indicating that the memory shortage has been detected and information indicating the section in which the memory shortage has occurred. To send.

構成制御部122は、各区画100におけるメモリユニットの構成を制御する。すなわち、構成制御部122は、それぞれのメモリユニット15N,16Nをいずれの区画100のプロセッサに使用させるかを決定する。 The configuration control unit 122 controls the configuration of the memory unit in each section 100. That is, the configuration control unit 122 determines which partition 100 of the memory units 15N and 16N is to be used by the processor.

構成制御部122は、メモリ使用量監視部121からメモリ不足を検知したことを示す通知を受信すると、メモリ不足が発生している区画とは異なる区画の、メモリユニットの少なくとも1つを、メモリ不足が発生している区画に移動させる。「メモリ不足が発生している区画に移動させる」とは、そのメモリユニットをメモリ不足が発生している区画のプロセッサの制御下に変更することを意味する。 When the configuration control unit 122 receives the notification indicating that the memory shortage is detected from the memory usage monitoring unit 121, at least one of the memory units in a partition different from the partition in which the memory shortage occurs causes the memory shortage. Move to the section where is occurring. "Move to a partition in which memory shortage has occurred" means to change the memory unit under the control of the processor of the partition in which memory shortage has occurred.

具体的には、構成制御部122は、次のようにして、メモリユニットをメモリ不足が発生している区画に移動させる。 Specifically, the configuration control unit 122 moves the memory unit to the section where the memory shortage occurs in the following manner.

まず、構成制御部122は、メモリ不足が発生している区画とは異なる区画を少なくとも1つ選択する。メモリ不足が発生している区画とは異なる区画が複数ある場合、どの区画を選択するかは、所定のアルゴリズムによって決められていればよい。たとえば構成制御部122は、メモリユニットへのアクセスの頻度が最も少ない区画を選択してもよい。構成制御部122は、メモリの空き容量が最も多い区画を選択してもよい。 First, the configuration control unit 122 selects at least one partition different from the partition in which the memory shortage occurs. When there are a plurality of partitions different from the partition in which the memory shortage occurs, which partition may be selected may be determined by a predetermined algorithm. For example, the configuration control unit 122 may select the partition with the least frequency of access to the memory unit. The configuration control unit 122 may select the partition having the largest free memory capacity.

区画を決定したら、構成制御部122は、メモリユニットを移動させる指示である移動指示を、選択した区画のメモリ割当制御部21に送信する。 When the partition is determined, the configuration control unit 122 transmits a move instruction, which is an instruction to move the memory unit, to the memory allocation control unit 21 of the selected partition.

そして、構成制御部122は、移動指示を送信した先のメモリ割当制御部21から、メモリユニットの少なくとも1つを示す情報を受信する。移動指示を送信した先のメモリ割当制御部21の動作については、後述する。 Then, the configuration control unit 122 receives information indicating at least one of the memory units from the memory allocation control unit 21 to which the movement instruction has been transmitted. The operation of the memory allocation control unit 21 that has transmitted the move instruction will be described later.

そして、構成制御部122は、冗長制御部201から受け取った情報が示すメモリユニットの制御を、メモリ不足が発生している区画のプロセッサが行うよう、情報処理装置14の設定を変更する。また、構成制御部122は、メモリユニットが組み込まれたことを示す通知である組み込み通知を、移動先の区画のメモリ割当制御部21に送信する。構成制御部122は、組み込み通知に、その区画に組み込まれるメモリユニットの情報(たとえば、アドレス等)を含めてもよい。 Then, the configuration control unit 122 changes the setting of the information processing device 14 so that the processor of the partition in which the memory shortage occurs controls the memory unit indicated by the information received from the redundancy control unit 201. Further, the configuration control unit 122 transmits an incorporation notification, which is a notification indicating that the memory unit has been incorporated, to the memory allocation control unit 21 in the destination partition. The configuration control unit 122 may include the information (for example, the address) of the memory unit incorporated in the partition in the incorporation notification.

以上の処理によって、構成制御部122は、メモリ不足が発生している区画とは異なる区画のメモリユニットの少なくとも1つをメモリ不足が発生している区画に移動させる。 Through the above processing, the configuration control unit 122 moves at least one of the memory units in a partition different from the partition in which the memory shortage occurs to the partition in which the memory shortage occurs.

区画100はそれぞれ、例外ハンドル部111と、メモリ割当制御部21とを含む。 Each partition 100 includes an exception handle unit 111 and a memory allocation control unit 21.

本実施形態の例外ハンドル部111は、第2の実施形態の例外ハンドル部111の機能と同等の機能を有する。 The exception handle section 111 of this embodiment has the same function as that of the exception handle section 111 of the second embodiment.

本実施形態のメモリ割当制御部21は、第3の実施形態のメモリ割当制御部21と同等の機能を有する。また、メモリ割当制御部21の制御構造は、第3の実施形態のメモリ割当制御部21の制御構造と同様でよい。 The memory allocation control unit 21 of this embodiment has the same function as the memory allocation control unit 21 of the third embodiment. The control structure of the memory allocation control unit 21 may be the same as the control structure of the memory allocation control unit 21 of the third embodiment.

すなわち、各区画100のメモリ割当制御部21は、たとえば、冗長監視部200と、冗長制御部201と、ページ割当部203と、ページファイル制御部202と、ページ属性制御部204と、例外監視部205と、更新管理部206と、メモリ管理テーブル210とを含む。メモリ割当制御部21の構成要素のそれぞれは、第2の実施形態における同じ符号の構成要素と同等の機能を有する。 That is, the memory allocation control unit 21 of each partition 100, for example, the redundancy monitoring unit 200, the redundancy control unit 201, the page allocation unit 203, the page file control unit 202, the page attribute control unit 204, and the exception monitoring unit. 205, an update management unit 206, and a memory management table 210. Each of the constituent elements of the memory allocation control unit 21 has the same function as the constituent element of the same reference numeral in the second embodiment.

メモリ割当制御部21は、それぞれ、ハードディスク31と通信可能に接続される。ハードディスク31は、ページファイル310を備える。区画100Aが含むメモリ割当制御部21に接続されるハードディスク31をハードディスク31A、区画100Bが含むメモリ割当制御部21に接続されるハードディスク31をハードディスク31Bとする。ハードディスク31Aが含むページファイルはページファイル310A、ハードディスク31Bが含むページファイルはページファイル310Bである。 Each of the memory allocation control units 21 is communicably connected to the hard disk 31. The hard disk 31 includes a page file 310. The hard disk 31 connected to the memory allocation control unit 21 included in the partition 100A is a hard disk 31A, and the hard disk 31 connected to the memory allocation control unit 21 included in the partition 100B is a hard disk 31B. The page file included in the hard disk 31A is a page file 310A, and the page file included in the hard disk 31B is a page file 310B.

冗長監視部200は、構成制御部122から、移動指示または組み込み通知を受け取ると、冗長制御部201を呼び出す。冗長監視部200は、構成制御部122から受け取った移動指示または組み込み通知を、そのまま冗長制御部201に送信してもよい。 The redundancy monitoring unit 200 calls the redundancy control unit 201 when receiving the movement instruction or the incorporation notification from the configuration control unit 122. The redundancy monitoring unit 200 may directly transmit the movement instruction or the incorporation notification received from the configuration control unit 122 to the redundancy control unit 201.

冗長制御部201は、構成制御部122から移動指示を受けると、ミラーリングされているメモリユニットの1つ以上のミラーリングを解除する。そして、冗長制御部201は、ミラーリングが解除されたメモリユニットの一方を示す情報(たとえば、アドレス)を、構成制御部122に送信する。 Upon receiving the movement instruction from the configuration control unit 122, the redundancy control unit 201 cancels the mirroring of one or more of the mirrored memory units. Then, the redundancy control unit 201 transmits, to the configuration control unit 122, information (for example, an address) indicating one of the memory units whose mirroring has been canceled.

冗長制御部201は、構成制御部122から組み込み通知を受けると、この組み込み通知が示すメモリユニットの情報を更新する。 Upon receiving the incorporation notification from the configuration control unit 122, the redundancy control unit 201 updates the information of the memory unit indicated by the incorporation notification.

<動作>
第4の実施形態に係る情報処理装置14の動作について説明する。
<Operation>
The operation of the information processing device 14 according to the fourth embodiment will be described.

以下、区画100Aに含まれる構成要素の符号にはAを付し、区画100Bに含まれる構成要素の符号にはBを付して区別する。 Hereinafter, the reference numerals of the constituent elements included in the section 100A will be denoted by A, and the reference numerals of the constituent elements included in the section 100B will be denoted by B.

メモリ使用量監視部121が区画100Aのメモリ不足を検知したとする。その場合の、情報処理装置14の各部の動作の流れを、図14のシーケンス図を参照しながら説明する。 It is assumed that the memory usage monitoring unit 121 detects a memory shortage in the partition 100A. The flow of the operation of each unit of the information processing device 14 in that case will be described with reference to the sequence diagram of FIG.

まず、メモリ使用量監視部121は、メモリ不足を検知したことを示す通知およびメモリ不足が発生している区画を示す情報を構成制御部122に送信する(ステップS131)。 First, the memory usage monitoring unit 121 transmits to the configuration control unit 122 a notification indicating that a memory shortage has been detected and information indicating the partition in which the memory shortage has occurred (step S131).

構成制御部122は、メモリ使用量監視部121からの通知および情報を受け取ると、受け取った情報が示す区画とは異なる区画を少なくとも1つ選択する(ステップS132)。例として、構成制御部122は、区画100Bを選択したとする。 Upon receiving the notification and the information from the memory usage monitoring unit 121, the configuration control unit 122 selects at least one partition different from the partition indicated by the received information (step S132). As an example, it is assumed that the configuration control unit 122 selects the partition 100B.

構成制御部122は、選択した区画100Bに対し、移動指示を送信する(ステップS133)。 The configuration control unit 122 transmits a movement instruction to the selected section 100B (step S133).

移動指示は、区画100Bにて、冗長監視部200Bによって受信される。すると、冗長監視部200Bは、冗長制御部201Bを呼び出す。 The movement instruction is received by the redundancy monitoring unit 200B in the section 100B. Then, the redundancy monitoring unit 200B calls the redundancy control unit 201B.

冗長制御部201Bは、メモリユニットを解除する処理を行う(ステップS134)。この処理は、第2の実施形態で説明されたステップS43〜S45と同様である。本説明の例では、メモリユニット161,162のミラーリングが解除されたとする。これによって、メモリユニット162に含まれるデータは消去される。また、ページファイル制御部202Bによって、ページファイル310に、データ183の複製であるデータ193が作成される。 The redundancy control unit 201B performs a process of releasing the memory unit (step S134). This process is similar to steps S43 to S45 described in the second embodiment. In the example of this description, it is assumed that the mirroring of the memory units 161 and 162 is released. As a result, the data contained in the memory unit 162 is erased. Further, the page file control unit 202B creates data 193, which is a copy of the data 183, in the page file 310.

次に、冗長制御部201Bは、ミラーリングが解除されたメモリユニットの片方を選択する。この時、冗長制御部201Bは、ページの内容が消去された(またはフリーの)メモリユニット(この例ではメモリユニット162)を選択する。冗長制御部201は、構成制御部122に対して、選択したメモリユニット162を示す情報を送信する(ステップS135)。 Next, the redundancy control unit 201B selects one of the memory units whose mirroring has been canceled. At this time, the redundancy control unit 201B selects the memory unit in which the contents of the page are erased (or free) (the memory unit 162 in this example). The redundancy control unit 201 transmits information indicating the selected memory unit 162 to the configuration control unit 122 (step S135).

冗長制御部201Bはこのとき、メモリ管理テーブル210Bの情報を更新してもよい。たとえば、冗長制御部201Bは、メモリユニット162が区画100Bのものではないことを示す情報をメモリ管理テーブル210Bに書き込んでもよい。または、冗長制御部201Bは、メモリユニット162に関する情報を削除してもよい。 At this time, the redundancy control unit 201B may update the information in the memory management table 210B. For example, the redundancy control unit 201B may write information indicating that the memory unit 162 does not belong to the partition 100B into the memory management table 210B. Alternatively, the redundancy control unit 201B may delete the information regarding the memory unit 162.

構成制御部122は、受け取った情報に基づき、メモリユニット162を区画100Aに移動させる(ステップS136)。 The configuration control unit 122 moves the memory unit 162 to the partition 100A based on the received information (step S136).

続いて、構成制御部122は、区画100Aに対し、組み込み通知を送信する(ステップS137)。 Subsequently, the configuration control unit 122 transmits an incorporation notification to the partition 100A (step S137).

区画100Aにおいて、冗長監視部200Aが、構成制御部122から組み込み通知を受け取る。すると、冗長監視部200Aは、冗長制御部201Aを呼び出す。 In the partition 100A, the redundancy monitoring unit 200A receives the incorporation notification from the configuration control unit 122. Then, the redundancy monitoring unit 200A calls the redundancy control unit 201A.

冗長制御部201Aは、組み込み通知に従って、メモリ管理テーブル210Aの情報を更新する(ステップS138)。たとえば、冗長制御部201は、メモリユニット162が区画100Aのものであることを示す情報をメモリ管理テーブル210Aに書き込んでもよい。または、冗長制御部201は、メモリユニット162に関する情報を生成してもよい。 The redundancy control unit 201A updates the information of the memory management table 210A according to the incorporation notification (step S138). For example, the redundancy control unit 201 may write information indicating that the memory unit 162 belongs to the partition 100A into the memory management table 210A. Alternatively, the redundancy control unit 201 may generate information regarding the memory unit 162.

以上により、メモリユニットの移動が完了する。図15は、本実施形態におけるメモリユニットの移動後のメモリユニットおよびデータの状態を例示するブロック図である。メモリユニット161とミラーリングされていたメモリユニット162は区画100Aに移動し、ページファイル310にて、ページ183と実質的に同一の新たなページ193が生成している。 With the above, the movement of the memory unit is completed. FIG. 15 is a block diagram illustrating the state of the memory unit and the data after the memory unit is moved in this embodiment. The memory unit 162 and the mirrored memory unit 162 are moved to the partition 100A, and a new page 193 that is substantially the same as the page 183 is generated in the page file 310.

区画100Bにおいては、ミラーリングされていたメモリユニットの片方が移動するため、格納できるデータの量は減少しない。一方、区画100Aにおいては、新たなメモリユニットが追加されるため、格納できるデータの量は増える。 In the partition 100B, since one of the mirrored memory units moves, the amount of data that can be stored does not decrease. On the other hand, since a new memory unit is added to the partition 100A, the amount of data that can be stored increases.

各区画100における、ミラーリングが解除されたメモリユニットの障害の発生時、ページの作成時および更新時の動作は、第2の実施形態で説明された動作と同様でよい。 The operation at the time of occurrence of a failure of the memory unit whose mirroring has been canceled, the time of creating a page, and the time of updating in each partition 100 may be the same as the operation described in the second embodiment.

また、更新部206Aは、組み込まれたメモリユニット162のページに、更新頻度の低いデータを移動させてもよい。 Further, the update unit 206A may move data having a low update frequency to the page of the incorporated memory unit 162.

<効果>
本実施形態によれば、メモリユニットの冗長性を維持しつつ使用可能なメモリ容量を増加させることができる。その理由は、メモリが不足した区画とは異なる区画からフリーのメモリユニットを組み込むからである。また、本実施形態によれば、メモリが不足した区画は必ずしも該区画内のメモリユニットのミラーリングを解除しなくとも、メモリの使用率を低減することができる。
<Effect>
According to this embodiment, it is possible to increase the usable memory capacity while maintaining the redundancy of the memory unit. The reason for this is that free memory units are installed from a partition different from the memory-deficient partition. Further, according to the present embodiment, it is possible to reduce the memory usage rate without necessarily canceling the mirroring of the memory unit in the partition where the memory is insufficient.

以上、各実施形態で説明した事項は、本発明の趣旨を逸脱しない限り、実現可能な範囲で組み合わされてよい。 The matters described in the above embodiments may be combined within a feasible range without departing from the spirit of the present invention.

以上で説明した本発明の各実施形態において、各装置の各構成要素は、機能単位のブロックを示している。各装置の各構成要素の一部または全部は、例えば図16に示すようなコンピュータ1600とプログラムとの可能な組み合わせにより実現される。コンピュータ1600は、一例として、以下のような構成を含む。
・CPU(Central Processing Unit)1601
・ROM(Read Only Memory)1602
・RAM(Random Access Memory)1603
・RAM1603にロードされるプログラム1604Aおよび記憶情報1604B
・プログラム1604Aおよび記憶情報1604Bを格納する記憶装置1605
・記録媒体1606の読み書きを行うドライブ装置1607
・通信ネットワーク1609と接続する通信インタフェース1608
・データの入出力を行う入出力インタフェース1610
・各構成要素を接続するバス1611
In each embodiment of the present invention described above, each component of each device represents a block of a functional unit. Some or all of the components of each device are realized by a possible combination of a computer 1600 and a program as shown in FIG. 16, for example. The computer 1600 includes, for example, the following configuration.
-CPU (Central Processing Unit) 1601
-ROM (Read Only Memory) 1602
RAM (Random Access Memory) 1603
-Program 1604A and stored information 1604B loaded in RAM 1603
A storage device 1605 that stores the program 1604A and the storage information 1604B
-Drive device 1607 for reading and writing the recording medium 1606
-Communication interface 1608 connected to the communication network 1609
.Input/output interface 1610 for inputting/outputting data
.Bus 1611 for connecting each component

各実施形態における各装置の各構成要素は、これらの機能を実現するプログラム1604AをCPU1601がRAM1603にロードして実行することで実現される。各装置の各構成要素の機能を実現するプログラム1604Aは、例えば、予め記憶装置1605やROM1602に格納されており、必要に応じてCPU1601が読み出す。なお、プログラム1604Aは、通信ネットワーク1609を介してCPU1601に供給されてもよいし、予め記録媒体1606に格納されており、ドライブ装置1607が当該プログラムを読み出してCPU1601に供給してもよい。 Each constituent element of each device in each embodiment is realized by the CPU 1601 loading the program 1604A that realizes these functions into the RAM 1603 and executing the program 1604A. The program 1604A that realizes the function of each component of each device is stored in the storage device 1605 or the ROM 1602 in advance, for example, and is read by the CPU 1601 as necessary. The program 1604A may be supplied to the CPU 1601 via the communication network 1609, or may be stored in the recording medium 1606 in advance and the drive device 1607 may read the program and supply it to the CPU 1601.

各装置の実現方法には、様々な変形例がある。例えば、各装置は、構成要素毎にそれぞれ別個のコンピュータ1600とプログラムとの可能な組み合わせにより実現されてもよい。また、各装置が備える複数の構成要素が、一つのコンピュータ1600とプログラムとの可能な組み合わせにより実現されてもよい。 There are various modifications to the method of realizing each device. For example, each device may be realized by a possible combination of a computer 1600 and a program that are separate for each component. Further, a plurality of constituent elements included in each device may be realized by a possible combination of one computer 1600 and a program.

また、各装置の各構成要素の一部または全部は、その他の汎用または専用の回路、コンピュータ等やこれらの組み合わせによって実現される。これらは、単一のチップによって構成されてもよいし、バスを介して接続される複数のチップによって構成されてもよい。 Further, some or all of the constituent elements of each device are realized by other general-purpose or dedicated circuits, computers, etc., or a combination thereof. These may be configured by a single chip, or may be configured by a plurality of chips connected via a bus.

各装置の各構成要素の一部または全部が複数のコンピュータや回路等により実現される場合には、複数のコンピュータや回路等は、集中配置されてもよいし、分散配置されてもよい。例えば、コンピュータや回路等は、クライアントアンドサーバシステム、クラウドコンピューティングシステム等、各々が通信ネットワークを介して接続される形態として実現されてもよい。 When some or all of the constituent elements of each device are realized by a plurality of computers, circuits, etc., the plurality of computers, circuits, etc. may be arranged centrally or may be distributed. For example, the computer, the circuit, and the like may be realized as a form in which a client and server system, a cloud computing system, and the like are connected to each other via a communication network.

本願発明は以上に説明した実施形態に限定されるものではない。本願発明の構成や詳細には、本願発明のスコープ内で当業者が理解し得る様々な変更をすることができる。 The present invention is not limited to the embodiments described above. Various modifications 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.

上記実施形態の一部または全部は以下の付記のようにも記載され得るが、以下には限られない。 The whole or part of the exemplary embodiments disclosed above can be described as, but not limited to, the following supplementary notes.

<<付記>>
[付記1]
メモリユニットのうち、ミラーリングされている前記メモリユニットのいずれか少なくとも1組のミラーリングを解除することを決定する冗長制御手段と、
ミラーリングが解除されることが決定された前記メモリユニットに含まれるデータの複製を、当該メモリユニットと異なる記憶領域に書き込むページファイル制御手段と、
ミラーリングが解除されることが決定された前記メモリユニットの一方に含まれるデータを消去するページ割当手段と、
を備える情報処理装置。
[付記2]
前記ページ割当手段は、ミラーリングが解除された前記メモリユニットのページが更新される場合に、当該ページに含まれるデータを、ミラーリングされている前記メモリユニットのページに割り当てる、
付記1に記載の情報処理装置。
[付記3]
前記冗長制御手段は、最後に更新されてから経過した時間が最も長い前記メモリユニットのミラーリングを解除することを決定する、
付記1または2に記載の情報処理装置。
[付記4]
前記ページ割当手段は、ミラーリングされていない前記メモリユニットが含むページに含まれるデータが最後に更新されてから経過している時間が、ミラーリングされている前記メモリユニットが含むページに含まれるデータが最後に更新されてから経過している時間よりも長いように、ページに対するデータの割当を制御する、
付記1から3のいずれか一項に記載の情報処理装置。
[付記5]
前記冗長制御手段に、第1のプロセッサの制御下である前記メモリユニットのうちミラーリングされている前記メモリユニットのいずれか少なくとも1組のミラーリングを解除させ、ミラーリングが解除された前記メモリユニットの片方を、第2のプロセッサの制御下にさせる、構成制御手段を、をさらに備える、
付記1から4のいずれか一項に記載の情報処理装置。
[付記6]
前記冗長制御手段は、
最後に更新されてから経過している時間が所定の期間を超えるデータを含むページの数が所定の値を超えた場合に、ミラーリングされている前記メモリユニットのいずれか少なくとも1組のミラーリングを解除することを決定する、
付記1から5のいずれか一項に記載の情報処理装置。
[付記7]
メモリユニットのうち、ミラーリングされている前記メモリユニットに含まれるデータを、ミラーリングされていない前記メモリユニットに移動させるページ割当手段と、
移動させたデータの複製を、前記メモリユニットと異なる記憶領域に書き込むページファイル制御手段と、
を備える情報処理装置。
[付記8]
メモリユニットのうち、ミラーリングされている前記メモリユニットのいずれか少なくとも1組のミラーリングを解除することを決定し、
ミラーリングが解除されることが決定された前記メモリユニットに含まれるデータの複製を、当該メモリユニットと異なる記憶領域に書き込み、
ミラーリングが解除されることが決定された前記メモリユニットの一方に含まれるデータを消去する、
情報処理方法。
[付記9]
ミラーリングが解除された前記メモリユニットのページが更新される場合に、当該ページに含まれるデータを、ミラーリングされている前記メモリユニットのページに割り当てる、
付記8に記載の情報処理方法。
[付記10]
最後に更新されてから経過した時間が最も長い前記メモリユニットのミラーリングを解除することを決定する、
付記8または9に記載の情報処理方法。
[付記11]
ミラーリングされていない前記メモリユニットが含むページに含まれるデータが最後に更新されてから経過している時間が、ミラーリングされている前記メモリユニットが含むページに含まれるデータが最後に更新されてから経過している時間よりも長いように、ページに対するデータの割当を制御する、
付記8から10のいずれか一項に記載の情報処理方法。
[付記12]
第1のプロセッサの制御下である前記メモリユニットのうちミラーリングされている前記メモリユニットのいずれか少なくとも1組のミラーリングを解除し、ミラーリングが解除された前記メモリユニットの片方を、第2のプロセッサの制御下にさせる、
付記8から11のいずれか一項に記載の情報処理方法。
[付記13]
最後に更新されてから経過している時間が所定の期間を超えるデータを含むページの数が所定の値を超えた場合に、ミラーリングされている前記メモリユニットのいずれか少なくとも1組のミラーリングを解除することを決定する、
付記8から12のいずれか一項に記載の情報処理方法。
[付記14]
メモリユニットのうち、ミラーリングされている前記メモリユニットに含まれるデータを、ミラーリングされていない前記メモリユニットに移動させるページ割当手段と、
移動させたデータの複製を、前記メモリユニットと異なる記憶領域に書き込むページファイル制御手段と、
を備える情報処理方法。
[付記15]
コンピュータに、
メモリユニットのうち、ミラーリングされている前記メモリユニットのいずれか少なくとも1組のミラーリングを解除することを決定する冗長制御処理と、
ミラーリングが解除されることが決定された前記メモリユニットに含まれるデータの複製を、当該メモリユニットと異なる記憶領域に書き込むページファイル制御処理と、
ミラーリングが解除されることが決定された前記メモリユニットの一方に含まれるデータを消去するページ割当処理と、
を実行させるプログラム。
[付記16]
前記ページ割当処理は、ミラーリングが解除された前記メモリユニットのページが更新される場合に、当該ページに含まれるデータを、ミラーリングされている前記メモリユニットのページに割り当てる、
付記15に記載のプログラム。
[付記17]
前記冗長制御処理は、最後に更新されてから経過した時間が最も長い前記メモリユニットのミラーリングを解除することを決定する、
付記15または16に記載のプログラム。
[付記18]
前記ページ割当処理は、ミラーリングされていない前記メモリユニットが含むページに含まれるデータが最後に更新されてから経過している時間が、ミラーリングされている前記メモリユニットが含むページに含まれるデータが最後に更新されてから経過している時間よりも長いように、ページに対するデータの割当を制御する、
付記15から17のいずれか一項に記載のプログラム。
[付記19]
前記冗長制御処理に、第1のプロセッサの制御下である前記メモリユニットのうちミラーリングされている前記メモリユニットのいずれか少なくとも1組のミラーリングを解除させ、ミラーリングが解除された前記メモリユニットの片方を、第2のプロセッサの制御下にさせる、構成制御処理を、コンピュータにさらに実行させる、
付記15から18のいずれか一項に記載のプログラム。
[付記20]
前記冗長制御処理は、
最後に更新されてから経過している時間が所定の期間を超えるデータを含むページの数が所定の値を超えた場合に、ミラーリングされている前記メモリユニットのいずれか少なくとも1組のミラーリングを解除することを決定する、
付記15から19のいずれか一項に記載のプログラム。
[付記21]
コンピュータに、
メモリユニットのうち、ミラーリングされている前記メモリユニットに含まれるデータを、ミラーリングされていない前記メモリユニットに移動させるページ割当処理と、
移動させたデータの複製を、前記メモリユニットと異なる記憶領域に書き込むページファイル制御処理と、
を実行させるプログラム。
<<Additional notes>>
[Appendix 1]
Redundancy control means for deciding to unmirror at least one set of any of the memory units that are mirrored among the memory units,
Page file control means for writing a copy of data included in the memory unit determined to be unmirrored to a storage area different from the memory unit;
Page allocation means for erasing data contained in one of the memory units determined to be unmirrored;
An information processing apparatus including.
[Appendix 2]
When the page of the memory unit whose mirroring has been canceled is updated, the page allocating unit allocates the data included in the page to the page of the mirrored memory unit,
The information processing device according to attachment 1.
[Appendix 3]
The redundancy control means determines to cancel the mirroring of the memory unit having the longest time elapsed since the last update,
The information processing apparatus according to appendix 1 or 2.
[Appendix 4]
The page allocating unit determines that the data included in the page included in the mirrored memory unit is the last time when the time elapsed since the data included in the page included in the non-mirrored memory unit is last updated. Control the allocation of data to the page so that it is longer than the time elapsed since it was updated to
4. The information processing device according to any one of appendices 1 to 3.
[Appendix 5]
The redundancy control unit causes at least one set of the mirrored memory units of the memory units under the control of the first processor to be unmirrored, and one of the unmirrored memory units is released. Further comprising a configuration control means that is under the control of the second processor,
The information processing apparatus according to any one of appendices 1 to 4.
[Appendix 6]
The redundancy control means is
Unmirroring at least one set of any of the memory units being mirrored when the number of pages containing data that has exceeded a predetermined period of time since the last update exceeded a predetermined value Decide to do,
6. The information processing device according to any one of appendices 1 to 5.
[Appendix 7]
Of the memory units, page allocation means for moving data included in the mirrored memory units to the non-mirrored memory units,
Page file control means for writing a copy of the moved data to a storage area different from the memory unit;
An information processing apparatus including.
[Appendix 8]
Determining to unmirror at least one set of any of the memory units that is mirrored,
Writing a copy of data contained in the memory unit determined to be unmirrored to a storage area different from the memory unit,
Erasing data contained in one of the memory units determined to be unmirrored,
Information processing method.
[Appendix 9]
When a page of the memory unit that has been unmirrored is updated, the data contained in the page is assigned to the page of the memory unit that is mirrored,
The information processing method according to attachment 8.
[Appendix 10]
Decides to unmirror the memory unit with the longest time since it was last updated,
The information processing method according to attachment 8 or 9.
[Appendix 11]
The time that has elapsed since the data included in the page included in the non-mirrored memory unit was last updated has elapsed since the data included in the page included in the memory unit that is mirrored has been last updated. Control the allocation of data to pages so that it is longer than
11. The information processing method according to any one of appendices 8 to 10.
[Appendix 12]
Among the memory units under the control of the first processor, at least one set of any of the mirrored memory units is unmirrored, and one of the unmirrored memory units is connected to the second processor. Let it be under control,
12. The information processing method according to any one of appendices 8 to 11.
[Appendix 13]
Unmirroring at least one set of any of the memory units being mirrored when the number of pages containing data that has exceeded a predetermined period of time since the last update exceeded a predetermined value Decide to do,
13. The information processing method according to any one of appendices 8 to 12.
[Appendix 14]
Of the memory units, page allocation means for moving data included in the mirrored memory units to the non-mirrored memory units,
Page file control means for writing a copy of the moved data to a storage area different from the memory unit;
An information processing method comprising:
[Appendix 15]
On the computer,
Of the memory units, a redundancy control process that decides to unmirror at least one set of any of the mirrored memory units;
A page file control process for writing a copy of data included in the memory unit determined to be released from mirroring to a storage area different from the memory unit,
A page allocation process for erasing data contained in one of the memory units determined to be unmirrored,
A program to execute.
[Appendix 16]
In the page allocation processing, when a page of the memory unit whose mirroring has been canceled is updated, data included in the page is allocated to the page of the mirrored memory unit.
The program according to attachment 15.
[Appendix 17]
The redundancy control process determines to cancel mirroring of the memory unit having the longest elapsed time since the last update,
The program according to appendix 15 or 16.
[Appendix 18]
In the page allocation process, when the time elapsed since the data included in the page included in the memory unit that is not mirrored was last updated is the last data included in the page included in the mirrored memory unit, Control the allocation of data to the page so that it is longer than the time elapsed since it was updated to
The program according to any one of appendices 15 to 17.
[Appendix 19]
The redundancy control process causes at least one set of mirrored memory units among the memory units under the control of the first processor to be unmirrored, and one of the unmirrored memory units is released. , Under the control of the second processor, causing the computer to further execute a configuration control process,
19. The program according to any one of appendices 15 to 18.
[Appendix 20]
The redundancy control process is
Unmirroring at least one set of any of the memory units being mirrored when the number of pages containing data that has exceeded a predetermined period of time since the last update exceeded a predetermined value Decide to do,
20. The program according to any one of appendices 15 to 19.
[Appendix 21]
On the computer,
Of the memory units, a page allocation process for moving data included in the mirrored memory units to the non-mirrored memory units,
A page file control process for writing a copy of the moved data to a storage area different from the memory unit,
A program to execute.

9〜14 情報処理装置
20、21 メモリ割当制御部
30 記憶領域
31 ハードディスク
100、100A、100B 区画
101 冗長制御部
102 ページファイル制御部
103 ページ割当部
111 例外ハンドル部
121 メモリ使用量監視部
141〜142、151〜154、15N、161〜162、16N メモリユニット
171、172 ページ
181〜184、191〜193 データ
200 冗長監視部
201 冗長制御部
202 ページファイル制御部
203 ページ割当部
204 ページ属性制御部
205 例外監視部
206 更新管理部
210 メモリ管理テーブル
300、310 ページファイル
9-14 Information processing device 20, 21 Memory allocation control unit 30 Storage area 31 Hard disk 100, 100A, 100B partition 101 Redundancy control unit 102 Page file control unit 103 Page allocation unit 111 Exception handle unit 121 Memory usage monitoring unit 141-142 , 151-154, 15N, 161-162, 16N Memory units 171, 172 Pages 181-184, 191-193 Data 200 Redundancy monitoring section 201 Redundancy control section 202 Page file control section 203 Page allocation section 204 Page attribute control section 205 Exception Monitoring unit 206 Update management unit 210 Memory management table 300, 310 Page file

Claims (10)

複数のメモリユニットのうち、ミラーリングされている前記メモリユニットの複数の組のいずれか少なくとも1組のミラーリングを解除することを決定する冗長制御手段と、
ミラーリングが解除されることが決定された前記1組のメモリユニットに含まれるデータの複製を、当該メモリユニットと異なる記憶手段に書き込むページファイル制御手段と、
ミラーリングが解除されることが決定された前記1組のメモリユニットの一方に含まれるデータを消去して、前記データが記憶されていたメモリユニットのページを解放するページ割当手段と、
を備える情報処理装置。
Redundancy control means for deciding to cancel mirroring of at least one set of the plurality of sets of the mirrored memory units among the plurality of memory units,
A copy of the data contained in the set of memory units it is determined that mirroring is released, a page file control means for writing the different memorize means and said memory unit,
Page allocation means for erasing data contained in one of the one set of memory units determined to be unmirrored and releasing a page of the memory unit in which the data was stored ;
An information processing apparatus including.
前記ページ割当手段は、ミラーリングが解除された前記メモリユニットのページが更新される場合に、当該ページに含まれるデータを、ミラーリングされている前記メモリユニットのページに割り当てる、
請求項1に記載の情報処理装置。
When the page of the memory unit whose mirroring has been canceled is updated, the page allocating unit allocates the data included in the page to the page of the mirrored memory unit,
The information processing apparatus according to claim 1.
前記冗長制御手段は、最後に更新されてから経過した時間が最も長い前記1組のメモリユニットのミラーリングを解除することを決定する、
請求項1または2に記載の情報処理装置。
The redundancy control means determines to cancel the mirroring of the one set of memory units having the longest elapsed time since the last update.
The information processing device according to claim 1.
前記ページ割当手段は、ミラーリングされていない前記メモリユニットが含むページに含まれるデータが最後に更新されてから経過している時間が、ミラーリングされている前記メモリユニットが含むページに含まれるデータが最後に更新されてから経過している時間よりも長いように、ページに対するデータの割当を制御する、
請求項1から3のいずれか一項に記載の情報処理装置。
The page allocating unit determines that the data included in the page included in the mirrored memory unit is the last data after the time elapsed since the data included in the page included in the non-mirrored memory unit is last updated. Control the allocation of data to the page so that it is longer than the time elapsed since it was updated to
The information processing apparatus according to any one of claims 1 to 3.
前記冗長制御手段に、第1のプロセッサの制御下である前記メモリユニットのうちミラーリングされている前記メモリユニットの複数の組のいずれか少なくとも1組のミラーリングを解除させ、ミラーリングが解除された前記1組のメモリユニットの片方を、第2のプロセッサの制御下にさせる、構成制御手段を、さらに備える、
請求項1から4のいずれか一項に記載の情報処理装置。
Said redundancy control means, to release the plurality of sets of at least any one pair of mirroring said memory units being mirrored among the memory unit is under the control of the first processor, mirroring is released the 1 Further comprising configuration control means for causing one of the sets of memory units to be under the control of the second processor,
The information processing device according to any one of claims 1 to 4.
前記冗長制御手段は、
最後に更新されてから経過している時間が所定の期間を超えるデータを含むページの数が所定の値を超えた場合に、ミラーリングされている前記メモリユニットの複数の組のいずれか少なくとも1組のミラーリングを解除することを決定する、
請求項1から5のいずれか一項に記載の情報処理装置。
The redundancy control means is
At least one of a plurality of sets of the memory units being mirrored when the number of pages including data having a time elapsed since the last update exceeds a predetermined period exceeds a predetermined value. Decide to unmirror the
The information processing apparatus according to claim 1.
複数のメモリユニットのうち、ミラーリングされている前記メモリユニットの組における両方の前記メモリユニットの少なくとも一部のページに含まれるデータを、ミラーリングされていない前記メモリユニットのページに移動させるページ割当手段と、
ミラーリングされていない前記メモリユニットのページに移動させたデータの複製を、前記メモリユニットと異なる記憶手段に書き込むページファイル制御手段と、
を備える情報処理装置。
Among the plurality of memory units, the data is included in at least some of the pages of both the memory unit in the set of memory units are mirrored, and page allocation means for moving the pages of said memory units that are not mirrored ,
A page file control means for a copy of the data is moved to the page of the memory units that are not mirrored, written in different memorize means and said memory unit,
An information processing apparatus including.
複数のメモリユニットのうち、ミラーリングされている前記メモリユニットの複数の組のいずれか少なくとも1組のミラーリングを解除することを決定し、
ミラーリングが解除されることが決定された前記1組のメモリユニットに含まれるデータの複製を、当該メモリユニットと異なる記憶手段に書き込み、
ミラーリングが解除されることが決定された前記1組のメモリユニットの一方に含まれるデータを消去して、前記データが記憶されていたメモリユニットのページを解放する、
情報処理方法。
Among the plurality of memory units, and decides to release the at least any one set of mirroring plurality of sets of the memory units are mirrored,
A copy of the data contained in the set of memory units it is determined that mirroring is released, write to different memorize means and said memory unit,
Erasing data contained in one of the set of memory units determined to be unmirrored to release a page of the memory unit in which the data was stored ,
Information processing method.
コンピュータに、
複数のメモリユニットのうち、ミラーリングされている前記メモリユニットの複数の組のいずれか少なくとも1組のミラーリングを解除することを決定する冗長制御処理と、
ミラーリングが解除されることが決定された前記1組のメモリユニットに含まれるデータの複製を、当該メモリユニットと異なる記憶手段に書き込むページファイル制御処理と、
ミラーリングが解除されることが決定された前記1組のメモリユニットの一方に含まれるデータを消去して、前記データが記憶されていたメモリユニットのページを解放するページ割当処理と、
を実行させるプログラム。
On the computer,
A redundancy control process for deciding to cancel the mirroring of at least one of the plurality of sets of the mirrored memory units among the plurality of memory units;
A copy of the data contained in the set of memory units that mirroring is released is determined, and a page file control process of writing different memorize means and said memory unit,
A page allocation process for erasing data contained in one of the one set of memory units determined to be unmirrored and releasing a page of the memory unit in which the data was stored ;
A program to execute.
前記ページ割当処理は、ミラーリングが解除された前記メモリユニットのページが更新される場合に、当該ページに含まれるデータを、ミラーリングされている前記メモリユニットのページに割り当てる、
請求項9に記載のプログラム。
In the page allocation process, when a page of the memory unit whose mirroring has been canceled is updated, data included in the page is allocated to a page of the mirrored memory unit,
The program according to claim 9.
JP2016068538A 2016-03-30 2016-03-30 Information processing apparatus, information processing method, and program Active JP6707951B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2016068538A JP6707951B2 (en) 2016-03-30 2016-03-30 Information processing apparatus, information processing method, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2016068538A JP6707951B2 (en) 2016-03-30 2016-03-30 Information processing apparatus, information processing method, and program

Publications (2)

Publication Number Publication Date
JP2017182446A JP2017182446A (en) 2017-10-05
JP6707951B2 true JP6707951B2 (en) 2020-06-10

Family

ID=60008541

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2016068538A Active JP6707951B2 (en) 2016-03-30 2016-03-30 Information processing apparatus, information processing method, and program

Country Status (1)

Country Link
JP (1) JP6707951B2 (en)

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05298192A (en) * 1992-04-23 1993-11-12 Mitsubishi Electric Corp Information processing equipment
US6820182B1 (en) * 2000-10-18 2004-11-16 International Business Machines Corporation Support for exhaustion recovery in a data processing system with memory mirroring
JP2008293350A (en) * 2007-05-25 2008-12-04 Storage Vision Co Ltd Storage device, control method for storage device and control program
JP2012190064A (en) * 2011-03-08 2012-10-04 Nec Corp Information processing apparatus, memory management method, and memory management program
WO2015025343A1 (en) * 2013-08-22 2015-02-26 富士通株式会社 Electronic circuit, information processing device, and memory control method

Also Published As

Publication number Publication date
JP2017182446A (en) 2017-10-05

Similar Documents

Publication Publication Date Title
US10977124B2 (en) Distributed storage system, data storage method, and software program
JP6279620B2 (en) Storage device
US8301670B2 (en) Managing snapshot storage pools
JP6437656B2 (en) Storage device, storage system, and storage system control method
US8489806B2 (en) Storage apparatus and method of managing data storage area
US9619181B2 (en) Information processing device and method for controlling replacement of semiconductor storage device
EP1193600A2 (en) Memory control apparatus and its control method
JP4902501B2 (en) Power control method, computer system, and program
US11194481B2 (en) Information processing apparatus and method for controlling information processing apparatus
JPWO2011010344A1 (en) Storage system having multiple flash packages
WO2016181528A1 (en) Storage device
US20130238867A1 (en) Method and apparatus to deploy and backup volumes
JP6094677B2 (en) Information processing apparatus, memory dump method, and memory dump program
JP2017107318A (en) Memory system, information processing apparatus, and processing method
US20160259571A1 (en) Storage subsystem
CN118466862B (en) Data storage method, product, device and medium
JP6476959B2 (en) Storage control device, storage system, and control program
JP7491545B2 (en) Information Processing Method
JP6707939B2 (en) Control device, storage device, control method, and program
JP6707951B2 (en) Information processing apparatus, information processing method, and program
JP5768118B2 (en) Storage system having multiple flash packages
JP6237202B2 (en) Semiconductor memory device and control method thereof
CN118819857A (en) Memory allocation method, device, electronic device and storage medium
JP6175566B2 (en) Storage system and storage control method
JP6138318B2 (en) Storage system having multiple flash packages

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20190215

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20200120

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20200204

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20200403

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: 20200421

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20200504

R150 Certificate of patent or registration of utility model

Ref document number: 6707951

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150