[go: up one dir, main page]

JP2008158773A - Information processing apparatus and memory management method - Google Patents

Information processing apparatus and memory management method Download PDF

Info

Publication number
JP2008158773A
JP2008158773A JP2006346254A JP2006346254A JP2008158773A JP 2008158773 A JP2008158773 A JP 2008158773A JP 2006346254 A JP2006346254 A JP 2006346254A JP 2006346254 A JP2006346254 A JP 2006346254A JP 2008158773 A JP2008158773 A JP 2008158773A
Authority
JP
Japan
Prior art keywords
volatile memory
data
memory
storage area
saved
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.)
Pending
Application number
JP2006346254A
Other languages
Japanese (ja)
Inventor
Katsuki Uetoko
克樹 上床
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.)
Toshiba Corp
Original Assignee
Toshiba 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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP2006346254A priority Critical patent/JP2008158773A/en
Publication of JP2008158773A publication Critical patent/JP2008158773A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Power Sources (AREA)
  • Techniques For Improving Reliability Of Storages (AREA)

Abstract

【課題】サスペンド/レジューム機能を有する情報処理装置において、レジューム時の所要時間をより短縮させることを実現する。
【解決手段】メモリ管理ユーティリティ101は、サスペンド時、揮発性メモリ13内に存在する使用中のデータを不揮発性メモリ12内に退避させたとき、その揮発性メモリ13の領域が仮想アドレス空間の一部であるかどうかを調べ、仮想アドレス空間の一部であったならば、レジューム時の不揮発性メモリ12から揮発性メモリ13への復元を省略させるために、そのページテーブルエントリを退避先の不揮発性メモリ12の領域を示すように更新するとともに、この揮発性メモリ13へのデータの復元に用いられるコピー管理表150への当該コピー(揮発性メモリ13から不揮発性メモリ12へのコピー)の履歴の記録を省略する。
【選択図】図1
In an information processing apparatus having a suspend / resume function, it is possible to further reduce the time required for resuming.
When suspending, memory management utility 101 saves in-use data existing in volatile memory 13 in nonvolatile memory 12 so that the area of volatile memory 13 becomes one of the virtual address space. If it is a part of the virtual address space, the page table entry is stored in the save destination non-volatile memory so that the restoration from the non-volatile memory 12 to the volatile memory 13 at the time of resume is omitted. The history of the copy (copy from the volatile memory 13 to the non-volatile memory 12) to the copy management table 150 used for restoring the data to the volatile memory 13 is updated while indicating the area of the volatile memory 12 The recording of is omitted.
[Selection] Figure 1

Description

この発明は、いわゆるサスペンド/レジューム機能を有するパーソナルコンピュータ等に適用して好適なメモリ管理技術に関する。   The present invention relates to a memory management technique suitable for being applied to a personal computer having a so-called suspend / resume function.

近年、ノートブックタイプやデスクトップタイプ等、様々なタイプのパーソナルコンピュータが広く普及している。この種のパーソナルコンピュータでは、例えば前日の退勤時に中断した状態から作業を再開すること等を可能とするいわゆるサスペンド/レジューム機能を有することが一般的である。   In recent years, various types of personal computers such as a notebook type and a desktop type are widely used. This type of personal computer generally has a so-called suspend / resume function that makes it possible to resume work from a state where it was interrupted at the time of leaving the day before, for example.

このサスペンド/レジューム機能は、例えば電源ボタンの押下等によるサスペンド指示を受けた際、その時の動作状態を退避させておき、レジューム指示を受けた際には、その退避させておいた動作状態を復元することで実現する。その処理の大部分は、揮発性メモリ上に存在する使用中のデータを不揮発性メモリ上にコピーし、また、不揮発性メモリ上にコピーしたデータを揮発性メモリに再コピーすることに費やされている。そのため、サスペンド時やレジューム時の所要時間を短縮すべく、速やかに使用中データのコピーを完了させるための工夫がこれまでも種々提案されている(例えば特許文献1等参照)。
国際公開第01/037066号パンフレット
This suspend / resume function saves the operating state at the time when a suspend instruction is received, for example, by pressing the power button, and restores the saved operating state when a resume instruction is received. To achieve. Most of the processing is spent on copying in-use data on volatile memory onto non-volatile memory and re-copying the copied data onto non-volatile memory into volatile memory. ing. For this reason, various ideas have been proposed so far in order to shorten the time required for suspending and resuming to quickly complete the copying of data in use (see, for example, Patent Document 1).
International Publication No. 01/037066 Pamphlet

上記特許文献1の情報処理装置では、DRAM等に存在する使用中データの退避先をHDD等よりも動作速度の速いフラッシュメモリ等とすることによって、サスペンド時やレジューム時の所要時間を短縮するというものである。   The information processing apparatus disclosed in Patent Document 1 shortens the time required for suspending and resuming by using a flash memory or the like that has a higher operating speed than the HDD or the like as a save destination of in-use data existing in a DRAM or the like. Is.

ところで、この手法では、レジューム時において、フラッシュメモリ等に退避したデータすべてを一律にDRAM等に書き戻す。しかしながら、最近では、搭載されるメモリが大容量化の傾向にあるので、サスペンド時やレジューム時の所要時間を短縮するためのさらなる工夫が要求され始めている。   By the way, in this method, all data saved in the flash memory or the like is uniformly written back to the DRAM or the like at the time of resume. However, recently, since the installed memory has a tendency to increase in capacity, further contrivances for reducing the time required for suspending and resuming have begun to be required.

この発明は、このような事情を考慮してなされたものであり、レジューム時の所要時間をより短縮させることを実現する情報処理装置およびメモリ管理方法を提供することを目的とする。   The present invention has been made in view of such circumstances, and an object of the present invention is to provide an information processing apparatus and a memory management method that can further reduce the time required for resuming.

前述した目的を達成するために、この発明の情報処理装置は、データ記憶領域上の物理的な位置を指定してアクセス可能な揮発性メモリと、データ記憶領域上の物理的な位置を指定してアクセス可能な不揮発性メモリと、その時の動作状態を保持しながら電源オフするサスペンド時に、前記揮発性メモリに格納された使用中のデータを前記不揮発性メモリに退避させる退避手段と、前記退避手段がデータを退避した前記揮発性メモリ内のデータ記憶領域がマッピングされたメインメモリ空間上の領域に、退避先である不揮発性メモリ内のデータ記憶領域をマッピングし直す更新手段と、を具備することを特徴とする。   In order to achieve the above-described object, the information processing apparatus of the present invention designates a volatile memory that can be accessed by designating a physical location on the data storage area, and designates a physical location on the data storage area. Accessible nonvolatile memory, and a evacuation means for evacuating data in use stored in the volatile memory to the nonvolatile memory when the power is turned off while maintaining the operation state at that time, and the evacuation means Updating means for re-mapping the data storage area in the non-volatile memory as the save destination to the area in the main memory space to which the data storage area in the volatile memory in which the data is saved is mapped It is characterized by.

この発明によれば、レジューム時の所要時間をより短縮させることを実現する情報処理装置およびメモリ管理方法を提供できる。   According to the present invention, it is possible to provide an information processing apparatus and a memory management method that can further reduce the time required for resuming.

以下、図面を参照して本発明の一実施形態を説明する。   Hereinafter, an embodiment of the present invention will be described with reference to the drawings.

図1には、本発明の実施形態に係る情報処理装置の概略構成が示されている。この情報処理装置10は、例えばノートブックタイプやデスクトップタイプのパーソナルコンピュータ等として実現されている。   FIG. 1 shows a schematic configuration of an information processing apparatus according to an embodiment of the present invention. The information processing apparatus 10 is realized as, for example, a notebook type or desktop type personal computer.

図1に示すように、この情報処理装置10は、CPU11、不揮発性メモリ12、揮発性メモリ13およびHDD/フラッシュROM14を有している。   As shown in FIG. 1, the information processing apparatus 10 includes a CPU 11, a nonvolatile memory 12, a volatile memory 13, and an HDD / flash ROM 14.

CPU11は、この情報処理装置内の各部の動作を制御するプロセッサである。CPU11は、HDD14/フラッシュROM14から不揮発性メモリ12または揮発性メモリ13にロードされるオペレーティングシステム(OS)100や当該OS100の配下で動作する各種プログラムを実行する。この各種プログラムの中に、後述するメモリ管理ユーティリティ101が存在する。   The CPU 11 is a processor that controls the operation of each unit in the information processing apparatus. The CPU 11 executes an operating system (OS) 100 loaded from the HDD 14 / flash ROM 14 to the nonvolatile memory 12 or the volatile memory 13 and various programs operating under the OS 100. Among these various programs, there is a memory management utility 101 described later.

不揮発性メモリ12は、例えばMRAM、FeRAM、セルフリフレッシュでバックアップされたDRAM等で構成される、データを恒久的に保持することのできるメモリデバイスであり、一方、揮発性メモリ13は、DRAM等で構成される、データを一時的(電力が供給されている期間中)に保持することのできるメモリデバイスである。この不揮発性メモリ12および揮発性メモリ13の双方とも、リニアにアクセス可能、即ち、データ記憶領域上の物理的な位置を指定してアクセス可能なメモリデバイスである。   The non-volatile memory 12 is a memory device that is configured by, for example, MRAM, FeRAM, DRAM backed up by self-refresh, etc., and can retain data permanently, while the volatile memory 13 is DRAM or the like. A memory device configured to hold data temporarily (while power is supplied). Both the nonvolatile memory 12 and the volatile memory 13 are memory devices that can be accessed linearly, that is, can be accessed by designating a physical position on the data storage area.

HDD/フラッシュROM14は、ハードディスクとフラッシュROMを併せ持つハイブリッド型のストレージデバイスであり、不揮発性メモリ12および揮発性メモリ13の補助装置として大量の各種プログラムおよび各種データを格納する。   The HDD / flash ROM 14 is a hybrid storage device having both a hard disk and a flash ROM, and stores a large amount of various programs and various data as auxiliary devices for the nonvolatile memory 12 and the volatile memory 13.

このような構成を持つ本情報処理装置10は、中断した時点の状態から作業を再開することを可能とするいわゆるサスペンド/レジューム機能を有している。前述のメモリ管理ユーティリティ101は、このサスペンド/レジューム機能に関し、揮発性メモリ13に格納された使用中データの退避/復元を実行制御する。より具体的には、メモリ管理ユーティリティ101は、サスペンド時に揮発性メモリ13に格納された使用中データを不揮発性メモリ12に退避させることを基本とし、不揮発性メモリ12の空き容量を越える量の使用中データが揮発性メモリ13に存在する場合には、その超過分をHDD/フラッシュROM14に退避する。そして、メモリ管理ユーティリティ101は、レジューム時に不揮発性メモリ12およびHDD/フラッシュROM14に退避させた使用中データを揮発性メモリ13に復元する。この復元のために、メモリ管理ユーティリティ101は、退避元のデータ記憶領域と退避先のデータ記憶領域との対応を記録するコピー管理表150を不揮発性メモリ12上で管理する。   The information processing apparatus 10 having such a configuration has a so-called suspend / resume function that makes it possible to resume work from the state at the time of interruption. The above-described memory management utility 101 executes and controls saving / restoring of in-use data stored in the volatile memory 13 with respect to the suspend / resume function. More specifically, the memory management utility 101 basically saves in-use data stored in the volatile memory 13 to the nonvolatile memory 12 during suspension, and uses the amount exceeding the free capacity of the nonvolatile memory 12. If medium data exists in the volatile memory 13, the excess is saved in the HDD / flash ROM 14. Then, the memory management utility 101 restores the in-use data saved in the nonvolatile memory 12 and the HDD / flash ROM 14 to the volatile memory 13 at the time of resume. For this restoration, the memory management utility 101 manages on the nonvolatile memory 12 a copy management table 150 that records the correspondence between the save source data storage area and the save destination data storage area.

ところで、前述したように、不揮発性メモリ12および揮発性メモリ13の双方とも、リニアにアクセス可能なメモリデバイスである。従って、これらのデータ記憶領域はCPU11がアクセスできるメインメモリ空間(仮想アドレス空間)に割り当てることが可能である。この点に着目して、この情報処理装置10は、レジューム時におけるデータ復帰の所要時間を短縮させるための仕組みを備えたものである。以下、この点について詳述する。   Incidentally, as described above, both the nonvolatile memory 12 and the volatile memory 13 are linearly accessible memory devices. Therefore, these data storage areas can be allocated to a main memory space (virtual address space) accessible by the CPU 11. Focusing on this point, the information processing apparatus 10 is provided with a mechanism for reducing the time required for data restoration at the time of resume. Hereinafter, this point will be described in detail.

図2には、サスペンド時における本情報処理装置10の仮想アドレス空間の割り当て状況が示されている。CPU11によるアクセスは、すべて仮想アドレス空間21に対して行われ、この仮想アドレス空間21と物理的なメモリである不揮発性メモリ12および揮発性メモリ13とは、ページテーブルエントリ22で対応づけられている。   FIG. 2 shows the allocation status of the virtual address space of the information processing apparatus 10 at the time of suspension. All accesses by the CPU 11 are performed with respect to the virtual address space 21, and the virtual address space 21 and the non-volatile memory 12 and the volatile memory 13 that are physical memories are associated with each other by a page table entry 22. .

メモリ管理ユーティリティ101は、サスペンド時においては、この揮発性メモリ13に格納された使用中データを不揮発性メモリ12またはHDD/フラッシュROM14に退避させ、その履歴をコピー管理表150に記録する。一方、レジューム時においては、メモリ管理ユーティリティ101は、このコピー管理表150に基づき、不揮発性メモリ12またはHDD/フラッシュROM14に退避させた使用中データを揮発性メモリ13に復元する。最近では、搭載されるメモリが大容量化の傾向にあるので、この使用中データ復元に時間を要するようになってきている。そこで、メモリ管理ユーティリティ101は、この復元のための処理量を軽減するために、ページテーブルエントリ22によって仮想アドレス空間21に割り当てられた揮発性メモリ13のデータ記憶領域上の使用中データを不揮発性メモリ12のデータ記憶領域上に退避した場合、このページテーブルエントリ22の内容を更新する。図3は、揮発性メモリ13に格納された使用中データの退避およびページテーブルエントリ22の更新が行われた後の本情報処理装置10の仮想アドレス空間の割り当て状況を示す図である。   When suspended, the memory management utility 101 saves the data in use stored in the volatile memory 13 to the nonvolatile memory 12 or the HDD / flash ROM 14 and records the history in the copy management table 150. On the other hand, at the time of resume, the memory management utility 101 restores the in-use data saved in the nonvolatile memory 12 or the HDD / flash ROM 14 to the volatile memory 13 based on the copy management table 150. Recently, since the installed memory tends to increase in capacity, it takes time to restore data during use. Therefore, in order to reduce the amount of processing for the restoration, the memory management utility 101 stores in-use data on the data storage area of the volatile memory 13 allocated to the virtual address space 21 by the page table entry 22 in a nonvolatile manner. When saved in the data storage area of the memory 12, the contents of the page table entry 22 are updated. FIG. 3 is a diagram showing the allocation status of the virtual address space of the information processing apparatus 10 after the data in use stored in the volatile memory 13 is saved and the page table entry 22 is updated.

図3に示すように、かつて使用中データが格納されていた揮発性メモリ13上のデータ記憶領域のアドレスが保持されていたページテーブルエントリ22には、退避先の不揮発性メモリ12上のデータ記憶領域のアドレスが保持されている。そのため、CPU11による当該使用中データへのアクセスは何ら問題なく行うことができる。不揮発性メモリ12から揮発性メモリ13へ使用中データをコピーする所要時間と比較して、ページテーブルエントリ22を更新する所要時間は十分小さいので、レジューム時におけるデータ復帰の所要時間を大幅に短縮することを実現する。なお、ページテーブルエントリ22は、OS100によって管理されるので、メモリ管理ユーティリティ101は、その更新をOS100に依頼する。   As shown in FIG. 3, the page table entry 22 in which the address of the data storage area on the volatile memory 13 where the data in use was once stored is stored in the data storage on the non-volatile memory 12 at the save destination. The address of the area is held. For this reason, the CPU 11 can access the data in use without any problem. Compared with the time required to copy the data in use from the nonvolatile memory 12 to the volatile memory 13, the time required to update the page table entry 22 is sufficiently small, so the time required for data restoration at the time of resume is greatly reduced. Realize that. Since the page table entry 22 is managed by the OS 100, the memory management utility 101 requests the OS 100 to update it.

図4は、本情報処理装置10がサスペンド時に実行するメモリ管理の手順を示すフローチャートである。   FIG. 4 is a flowchart illustrating a memory management procedure executed by the information processing apparatus 10 during suspension.

メモリ管理ユーティリティ101は、サスペンド時、揮発性メモリ13内に使用中のデータ(領域)があるかどうかを順次調べていき(ステップA1)、使用中の領域があったならば(ステップA1のYES)、続いて、その領域上のデータを退避させるための未使用領域が不揮発性メモリ12内に残存するかどうかを調べる(ステップA2)。   When suspending, the memory management utility 101 sequentially checks whether there is data (area) in use in the volatile memory 13 (step A1), and if there is an area in use (YES in step A1). Subsequently, it is checked whether an unused area for saving data in the area remains in the nonvolatile memory 12 (step A2).

もし、未使用領域が不揮発性メモリ12内にあったら(ステップA2のYES)、メモリ管理ユーティリティ101は、その揮発性メモリ13の内容を不揮発性メモリ12にコピーする(ステップA3)。そして、この時、メモリ管理ユーティリティ101は、その揮発性メモリ13の領域が仮想アドレス空間21の一部であるかどうかを調べ(ステップA4)、仮想アドレス空間21の一部であったならば(ステップA4のYES)、ページテーブルエントリ22の更新を実行する(ステップA5)。また、その揮発性メモリ13の領域が仮想アドレス空間21の一部でなければ(ステップA4のNO)、メモリ管理ユーティリティ101は、この揮発性メモリ13から不揮発性メモリ12へのコピーの履歴をコピー管理表150に記録する(ステップA7)。   If there is an unused area in the nonvolatile memory 12 (YES in step A2), the memory management utility 101 copies the contents of the volatile memory 13 to the nonvolatile memory 12 (step A3). At this time, the memory management utility 101 checks whether the area of the volatile memory 13 is a part of the virtual address space 21 (step A4). In step A4, the page table entry 22 is updated (step A5). If the area of the volatile memory 13 is not a part of the virtual address space 21 (NO in step A4), the memory management utility 101 copies the history of copying from the volatile memory 13 to the nonvolatile memory 12. Record in the management table 150 (step A7).

一方、未使用領域が不揮発性メモリ12内になければ(ステップA2のNO)、メモリ管理ユーティリティ101は、その揮発性メモリ13の内容をHDD/フラッシュROM14にコピーして(ステップA6)、このHDD/フラッシュROM14から不揮発性メモリ12へのコピーの履歴をコピー管理表150に記録する(ステップA7)。   On the other hand, if there is no unused area in the non-volatile memory 12 (NO in step A2), the memory management utility 101 copies the contents of the volatile memory 13 to the HDD / flash ROM 14 (step A6). / The history of copying from the flash ROM 14 to the nonvolatile memory 12 is recorded in the copy management table 150 (step A7).

そして、不揮発性メモリ12またはHDD/フラッシュROM14へのコピーを完了すると、メモリ管理ユーティリティ101は、その揮発性メモリ13の領域を未使用領域に変更し(ステップA8)、ステップA1から処理を繰り返す。即ち、揮発性メモリ13内に使用中の領域がない状態(ステップA1のNO)となるまで、メモリ管理ユーティリティ101は、上記の処理を繰り返す。   When the copying to the nonvolatile memory 12 or the HDD / flash ROM 14 is completed, the memory management utility 101 changes the area of the volatile memory 13 to an unused area (step A8) and repeats the processing from step A1. In other words, the memory management utility 101 repeats the above processing until there is no area in use in the volatile memory 13 (NO in step A1).

その後のレジューム時には、逆に、コピー管理表150に基づき、メモリ管理ユーティリティ101は、不揮発性メモリ12またはHDD/フラッシュROM14から揮発性メモリ13へのコピーを行うことになるが、仮想アドレス空間21の一部である領域について行った揮発性メモリ13から不揮発性メモリ12へのコピーの履歴はコピー管理表150に記録されていないので、その分のコピーが省略されることになる。   In the subsequent resume, conversely, based on the copy management table 150, the memory management utility 101 performs copying from the nonvolatile memory 12 or HDD / flash ROM 14 to the volatile memory 13. Since the copy history from the volatile memory 13 to the non-volatile memory 12 performed for a part of the area is not recorded in the copy management table 150, the corresponding copy is omitted.

このように、本実施形態の情報処理装置10によれば、レジューム時の所要時間をより短縮させることが実現される。   Thus, according to the information processing apparatus 10 of the present embodiment, it is possible to further reduce the time required for the resume.

なお、以上では、ページテーブルエントリ22の更新を、サスペンド時に実施する例を説明したが、その実施タイミングをレジューム時に移動させることも可能である。この場合、コピー管理表150に基づいて揮発性メモリ13へのコピーを行っていく際に、仮想アドレス空間21の一部である領域について揮発性メモリ13から不揮発性メモリ12へコピーしたものかどうかを調べて、そうであれば、実データのコピーに代えて、ページテーブルエントリ22の更新を行うようにすればよい。あるいは、揮発性メモリ13へのコピーを行っていく前に、仮想アドレス空間21の一部である領域について行った揮発性メモリ13から不揮発性メモリ12へのコピーをコピー管理表150から検出し、ページテーブルエントリ22の更新を実行すると共に、この履歴をコピー管理表150から削除する作業を前処理としてうことによっても可能である。   In the above, the example in which the update of the page table entry 22 is performed at the time of suspension has been described, but the execution timing can be moved at the time of resume. In this case, when copying to the volatile memory 13 based on the copy management table 150, whether or not an area that is a part of the virtual address space 21 has been copied from the volatile memory 13 to the nonvolatile memory 12 If so, the page table entry 22 may be updated instead of copying the actual data. Alternatively, before copying to the volatile memory 13, the copy management table 150 detects a copy from the volatile memory 13 to the non-volatile memory 12 performed for an area that is a part of the virtual address space 21. It is also possible to update the page table entry 22 and delete the history from the copy management table 150 as a preprocess.

このように、本発明は、上記実施形態そのままに限定されるものではなく、実施段階ではその要旨を逸脱しない範囲で構成要素を変形して具体化できる。また、上記実施形態に開示されている複数の構成要素の適宜な組み合わせにより種々の発明を形成できる。例えば、実施形態に示される全構成要素から幾つかの構成要素を削除してもよい。更に、異なる実施形態に構成要素を適宜組み合わせてもよい。   As described above, the present invention is not limited to the above-described embodiment as it is, and can be embodied by modifying the constituent elements without departing from the scope of the invention in the implementation stage. In addition, various inventions can be formed by appropriately combining a plurality of components disclosed in the embodiment. For example, some components may be deleted from all the components shown in the embodiment. Furthermore, you may combine a component suitably in different embodiment.

この発明の実施形態に係る情報処理装置の概略構成を示す図The figure which shows schematic structure of the information processing apparatus which concerns on embodiment of this invention 同実施形態の情報処理装置のサスペンド時におけるメモリ管理ユーティリティ動作前の仮想アドレス空間の割り当て状況を示す図The figure which shows the allocation status of the virtual address space before memory management utility operation | movement at the time of suspension of the information processing apparatus of the embodiment 同実施形態の情報処理装置のサスペンド時におけるメモリ管理ユーティリティ動作後の仮想アドレス空間の割り当て状況を示す図The figure which shows the allocation state of the virtual address space after memory management utility operation | movement at the time of suspension of the information processing apparatus of the embodiment 同実施形態の情報処理装置がサスペンド時に実行するメモリ管理の手順を示すフローチャート8 is a flowchart showing a memory management procedure executed by the information processing apparatus according to the embodiment during suspension.

符号の説明Explanation of symbols

10…情報処理装置、11…CPU、12…不揮発性メモリ、13…揮発性メモリ、14…HDD/フラッシュROM、21…仮想アドレス空間、22…ページテーブルエントリ、100…オペレーティングシステム(OS)、101…メモリ管理ユーティリティ、150…コピー管理表。   DESCRIPTION OF SYMBOLS 10 ... Information processing apparatus, 11 ... CPU, 12 ... Non-volatile memory, 13 ... Volatile memory, 14 ... HDD / flash ROM, 21 ... Virtual address space, 22 ... Page table entry, 100 ... Operating system (OS), 101 ... Memory management utility, 150 ... Copy management table.

Claims (8)

データ記憶領域上の物理的な位置を指定してアクセス可能な揮発性メモリと、
データ記憶領域上の物理的な位置を指定してアクセス可能な不揮発性メモリと、
その時の動作状態を保持しながら電源オフするサスペンド時に、前記揮発性メモリに格納された使用中のデータを前記不揮発性メモリに退避させる退避手段と、
前記退避手段がデータを退避した前記揮発性メモリ内のデータ記憶領域がマッピングされたメインメモリ空間上の領域に、退避先である不揮発性メモリ内のデータ記憶領域をマッピングし直す更新手段と、
を具備することを特徴とする情報処理装置。
Volatile memory accessible by specifying a physical location on the data storage area;
Non-volatile memory that can be accessed by specifying a physical location on the data storage area;
A evacuation means for evacuating data in use stored in the volatile memory to the nonvolatile memory at the time of suspending the power off while maintaining the operation state at that time;
Updating means for re-mapping the data storage area in the non-volatile memory as the save destination to the area on the main memory space to which the data storage area in the volatile memory to which the save means has saved the data is mapped;
An information processing apparatus comprising:
前記退避手段によるデータ退避が行われた際、前記更新手段による再マッピングに係わるデータ以外のデータについて、退避元の揮発性メモリ内のデータ記憶領域と退避先の不揮発性メモリ内のデータ記憶領域との対応を記録する記録手段と、
サスペンド時に保持された動作状態を復元させながら電源オンするレジューム時に、前記記録手段に記録された対応に基づき、前記不揮発性メモリに退避されたデータを前記揮発性メモリに書き戻す復元手段と、
をさらに具備することを特徴とする請求項1記載の情報処理装置。
When data is saved by the saving unit, for data other than data related to remapping by the updating unit, a data storage area in the save source volatile memory and a data storage area in the save destination nonvolatile memory Recording means for recording the correspondence of
A restoring means for writing back the data saved in the nonvolatile memory to the volatile memory based on the correspondence recorded in the recording means at the time of resuming the power supply while restoring the operation state held at the time of suspension;
The information processing apparatus according to claim 1, further comprising:
前記更新手段は、前記サスペンド時、前記退避手段によるデータ退避後に、前記再マッピングを行うことを特徴とする請求項1記載の情報処理装置。   The information processing apparatus according to claim 1, wherein the updating unit performs the remapping after the data is saved by the saving unit during the suspend. 前記更新手段は、前記レジューム時、前記復元手段によるデータ復元前に、前記再マッピングを行うことを特徴とする請求項1記載の情報処理装置。   The information processing apparatus according to claim 1, wherein the updating unit performs the remapping at the time of the resume and before data restoration by the restoration unit. 前記不揮発性メモリよりも記憶容量の大きい不揮発性の記憶装置をさらに具備し、
前記退避手段は、退避すべき前記揮発性メモリ上のデータ量が前記不揮発性メモリ上の空き容量を超えている場合、その超過分を前記不揮発性の記憶装置に退避し、
前記記録手段は、前記退避元の揮発性メモリ内のデータ記憶領域と退避先の不揮発性の記憶装置内のデータ記憶領域との対応をさらに記録し、
前記復元手段は、前記記録手段に記録された対応に基づき、さらに前記不揮発性の記憶装置に退避されたデータを前記揮発性メモリに書き戻す、
ことを特徴とする請求項2記載の情報処理装置。
A non-volatile storage device having a larger storage capacity than the non-volatile memory;
If the amount of data on the volatile memory to be saved exceeds the free capacity on the nonvolatile memory, the saving means saves the excess to the nonvolatile storage device,
The recording means further records the correspondence between the data storage area in the save-source volatile memory and the data storage area in the save-destination nonvolatile storage device;
The restoration means writes the data saved in the nonvolatile storage device back to the volatile memory based on the correspondence recorded in the recording means.
The information processing apparatus according to claim 2.
データ記憶領域上の物理的な位置を指定してアクセス可能な揮発性メモリおよび不揮発性メモリを具備する情報処理装置のメモリ管理方法であって、
その時の動作状態を保持しながら電源オフするサスペンド時に、前記揮発性メモリに格納された使用中のデータを前記不揮発性メモリに退避させ、
前記データを退避した前記揮発性メモリ内のデータ記憶領域がマッピングされたメインメモリ空間上の領域に、退避先である不揮発性メモリ内のデータ記憶領域をマッピングし直す、
ことを特徴とするメモリ管理方法。
A memory management method for an information processing apparatus comprising a volatile memory and a nonvolatile memory accessible by designating a physical location on a data storage area,
At the time of suspend to turn off the power while maintaining the operating state at that time, the data in use stored in the volatile memory is saved in the nonvolatile memory,
Remap the data storage area in the non-volatile memory that is the save destination to the area on the main memory space to which the data storage area in the volatile memory that has saved the data is mapped.
And a memory management method.
前記データ退避を行った際、前記再マッピングに係わるデータ以外のデータについて、退避元の揮発性メモリ内のデータ記憶領域と退避先の不揮発性メモリ内のデータ記憶領域との対応を記録する記録し、
サスペンド時に保持された動作状態を復元させながら電源オンするレジューム時に、前記記録した対応に基づき、前記不揮発性メモリに退避されたデータを前記揮発性メモリに書き戻す、
ことを特徴とする請求項6記載のメモリ管理方法。
When the data is saved, a record that records the correspondence between the data storage area in the save source volatile memory and the data storage area in the save destination nonvolatile memory for data other than the data related to the remapping. ,
Based on the recorded correspondence, the data saved in the non-volatile memory is written back to the volatile memory at the time of resuming the power while restoring the operation state held at the time of suspend.
The memory management method according to claim 6.
前記情報処理装置は、前記不揮発性メモリよりも記憶容量の大きい不揮発性の記憶装置をさらに具備し、
退避すべき前記揮発性メモリ上のデータ量が前記不揮発性メモリ上の空き容量を超えている場合、その超過分を前記不揮発性の記憶装置に退避し、
前記退避元の揮発性メモリ内のデータ記憶領域と退避先の不揮発性の記憶装置内のデータ記憶領域との対応をさらに記録し、
前記記録した対応に基づき、さらに前記不揮発性の記憶装置に退避されたデータを前記揮発性メモリに書き戻す、
ことを特徴とする請求項7記載のメモリ管理方法。
The information processing apparatus further includes a nonvolatile storage device having a larger storage capacity than the nonvolatile memory,
When the amount of data on the volatile memory to be saved exceeds the free capacity on the nonvolatile memory, the excess is saved to the nonvolatile storage device,
Further recording the correspondence between the data storage area in the save source volatile memory and the data storage area in the save destination nonvolatile storage device;
Based on the recorded correspondence, the data saved in the nonvolatile storage device is written back to the volatile memory.
8. The memory management method according to claim 7, wherein:
JP2006346254A 2006-12-22 2006-12-22 Information processing apparatus and memory management method Pending JP2008158773A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006346254A JP2008158773A (en) 2006-12-22 2006-12-22 Information processing apparatus and memory management method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006346254A JP2008158773A (en) 2006-12-22 2006-12-22 Information processing apparatus and memory management method

Publications (1)

Publication Number Publication Date
JP2008158773A true JP2008158773A (en) 2008-07-10

Family

ID=39659615

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006346254A Pending JP2008158773A (en) 2006-12-22 2006-12-22 Information processing apparatus and memory management method

Country Status (1)

Country Link
JP (1) JP2008158773A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010186477A (en) * 2009-02-10 2010-08-26 Samsung Electronics Co Ltd Memory system and wear level management method thereof
US8626987B2 (en) 2009-10-27 2014-01-07 Samsung Electronics Co., Ltd. Flash memory system and defragmentation method
JP2014041649A (en) * 2013-10-28 2014-03-06 Toshiba Corp Virtual storage management device and storage management device
JP2015018575A (en) * 2014-09-25 2015-01-29 株式会社東芝 Storage device, information processing apparatus, and program
WO2015186165A1 (en) * 2014-06-02 2015-12-10 株式会社日立製作所 Storage system and method for controlling storage system
US9256264B2 (en) 2012-06-22 2016-02-09 Semiconductor Energy Laboratory Co., Ltd. Information processing device and method for driving the same

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010186477A (en) * 2009-02-10 2010-08-26 Samsung Electronics Co Ltd Memory system and wear level management method thereof
US8626987B2 (en) 2009-10-27 2014-01-07 Samsung Electronics Co., Ltd. Flash memory system and defragmentation method
US9256264B2 (en) 2012-06-22 2016-02-09 Semiconductor Energy Laboratory Co., Ltd. Information processing device and method for driving the same
JP2014041649A (en) * 2013-10-28 2014-03-06 Toshiba Corp Virtual storage management device and storage management device
WO2015186165A1 (en) * 2014-06-02 2015-12-10 株式会社日立製作所 Storage system and method for controlling storage system
US9697097B2 (en) 2014-06-02 2017-07-04 Hitachi, Ltd. Storage system and method for controlling storage system
JP2015018575A (en) * 2014-09-25 2015-01-29 株式会社東芝 Storage device, information processing apparatus, and program

Similar Documents

Publication Publication Date Title
JP5404798B2 (en) Virtual storage management device and storage management device
CN101901189B (en) Method of updating user data and method of restoring user data
JP5808854B2 (en) Storage system and storage method
JP4248510B2 (en) Computer system, disk device, and data update control method
US20050086551A1 (en) Memory optimization for a computer system having a hibernation mode
US10430346B2 (en) DDR storage adapter
JP2004362426A (en) Information processing system, control method therefor, and computer program
JP2009187062A (en) Information processor, control part for controlling data storage performed in information processor and control method for data storage
JP2010211734A (en) Storage device using nonvolatile memory
JP2009064263A (en) Memory device
JP2008299848A (en) Nonvolatile memory data processing apparatus and processing method thereof
JP2019133703A (en) Storage system
JP2010211618A (en) Semiconductor storage device
JP2016085677A (en) Memory management method, memory management program, and information processing device
US20130332662A1 (en) Information processing apparatus and method and program
JP4988054B2 (en) Memory system
US20140218767A1 (en) Image forming apparatus, memory management method for image forming apparatus, and program
JP2008158773A (en) Information processing apparatus and memory management method
US8478956B2 (en) Computing system and method controlling memory of computing system
JP2002099390A (en) Disk controller
US20090157951A1 (en) Information recording device and information recording method
US20140289486A1 (en) Information processing apparatus, information processing method, and recording medium
JP2009258925A (en) Computer system and memory management method of computer system
US20160259697A1 (en) Storage system and method for controlling storage system
CN101789004B (en) Rapid-start method and device of Flash file system