[go: up one dir, main page]

JP2008090554A - Information processing apparatus, control apparatus, and memory management method - Google Patents

Information processing apparatus, control apparatus, and memory management method Download PDF

Info

Publication number
JP2008090554A
JP2008090554A JP2006269856A JP2006269856A JP2008090554A JP 2008090554 A JP2008090554 A JP 2008090554A JP 2006269856 A JP2006269856 A JP 2006269856A JP 2006269856 A JP2006269856 A JP 2006269856A JP 2008090554 A JP2008090554 A JP 2008090554A
Authority
JP
Japan
Prior art keywords
memory
page
speed memory
information processing
processing apparatus
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
JP2006269856A
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 JP2006269856A priority Critical patent/JP2008090554A/en
Publication of JP2008090554A publication Critical patent/JP2008090554A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Memory System Of A Hierarchy Structure (AREA)

Abstract

【課題】アクセス頻度の高いデータのみを高速メモリにコピーして効率よくデータを参照することができる情報処理装置、制御装置およびメモリ管理方法を提供する。
【解決手段】低速メモリ17の各ページを仮想アドレスに割り当て、低速メモリ17の各ページに記憶された複数のファイルのうち、アクセス頻度が高いファイルを高速メモリ24のページにコピーし、このページを仮想アドレスに割り当てる。
【選択図】 図2
An information processing apparatus, a control apparatus, and a memory management method capable of efficiently copying only frequently accessed data to a high-speed memory and referencing the data efficiently are provided.
Each page of a low-speed memory is assigned to a virtual address, and a file having a high access frequency among a plurality of files stored in each page of the low-speed memory is copied to a page of the high-speed memory. Assign to a virtual address.
[Selection] Figure 2

Description

本発明は、仮想メモリ管理技術に係り、特に高速メモリと低速メモリの2つのメモリを備えた情報処理装置、制御装置およびメモリ管理方法に関する。   The present invention relates to a virtual memory management technique, and more particularly to an information processing apparatus, a control apparatus, and a memory management method provided with two memories, a high speed memory and a low speed memory.

一般的に、高速メモリと低速メモリの2つのメモリを備えた仮想メモリ管理技術としては、例えば特許文献1に開示されているように、データの更新をデータ処理の実行状況に応じて行い、データの有用性判定の誤りによる余分なデータ転送を防止し、各メモリに最適なデータを記憶させる制御技術がある)。
特開平5−341912号公報
In general, as a virtual memory management technology including two memories, a high-speed memory and a low-speed memory, for example, as disclosed in Patent Document 1, data is updated according to the execution status of data processing, and data There is a control technology that prevents excessive data transfer due to an error in determining the usefulness of data and stores optimum data in each memory).
JP-A-5-341912

しかし、上述した技術では、低速メモリの内容を必ず高速メモリにコピーした後に高速メモリのデータを参照するので、コピー時間のロスが発生する。   However, in the above-described technique, since the contents of the low-speed memory are always copied to the high-speed memory and the data in the high-speed memory is referred to, copy time loss occurs.

本発明の目的は、アクセス頻度の高いデータのみを高速メモリにコピーして効率よくデータを参照することができる情報処理装置、制御装置およびメモリ管理方法を提供することである。   An object of the present invention is to provide an information processing apparatus, a control apparatus, and a memory management method capable of copying only frequently accessed data to a high-speed memory and referencing the data efficiently.

上記目的を達成するために、本発明の一態様によれば、第1のメモリと、前記第1のメモリよりも読み書きの速度が遅い第2のメモリと、前記第2のメモリの各ページを仮想アドレスに割り当て、前記第2のメモリの各ページに記憶された複数のファイルのうち、アクセス頻度が高いファイルを前記第1のメモリの所定のページにコピーし、前記第1のメモリの所定のページを前記仮想アドレスに割り当てる割り当て手段と、を具備することを特徴とする情報処理装置が提供される。   In order to achieve the above object, according to one aspect of the present invention, a first memory, a second memory having a slower read / write speed than the first memory, and each page of the second memory Of the plurality of files assigned to the virtual address and stored in each page of the second memory, a file having a high access frequency is copied to a predetermined page of the first memory. There is provided an information processing apparatus comprising an assigning unit that assigns a page to the virtual address.

本発明を用いることにより、アクセス頻度の高いデータのみを高速メモリにコピーして効率よくデータを参照することができる。   By using the present invention, it is possible to copy only frequently accessed data to a high-speed memory and efficiently refer to the data.

以下図面を参照して、本発明の実施形態について説明する。   Embodiments of the present invention will be described below with reference to the drawings.

図1には、本発明の一実施形態に係る情報処理装置の斜視図が示されている。この情報処理装置は、バッテリ駆動可能なノートブック型コンピュータ10として実現されている。なお、本発明は、高速メモリと低速メモリの2つのメモリを備え、仮想メモリ管理を行う場合に、低速メモリに直接仮想アドレスを割り当て、アクセス頻度の高いファイルは、高速メモリにコピーし、高速メモリ仮想アドレスを割り当てるものである。   FIG. 1 is a perspective view of an information processing apparatus according to an embodiment of the present invention. This information processing apparatus is realized as a battery-driven notebook computer 10. The present invention comprises two memories, a high-speed memory and a low-speed memory. When virtual memory management is performed, a virtual address is directly assigned to the low-speed memory, and a file with high access frequency is copied to the high-speed memory. A virtual address is assigned.

図1に示すように、コンピュータ10は、本体16と、ディスプレイ11とから構成されている。ディスプレイ11にはLCD(Liquid Crystal Display)からなる表示装置が組み込まれており、そのLCDの表示画面12はディスプレイ11のほぼ中央に位置されている。   As shown in FIG. 1, the computer 10 includes a main body 16 and a display 11. The display 11 incorporates a display device made up of an LCD (Liquid Crystal Display), and the display screen 12 of the LCD is located almost at the center of the display 11.

ディスプレイ11は、コンピュータ10に対して解放位置と閉塞位置との間を開閉自在に取り付けられている。コンピュータ10の本体側は薄い箱形の筐体を有しており、その上面には、キーボード13、パームレスト上にはタッチパッド14、および左右2つのボタン14a、14b、メール等の各種ショートカットボタン、電源ボタン、音量制御ボタン18、スピーカ29等が配置されている。また、本体16の側面には、光学ドライブ15等が設けられている。   The display 11 is attached to the computer 10 so as to be openable and closable between a release position and a closed position. The main body side of the computer 10 has a thin box-shaped casing. On the top surface thereof, there is a keyboard 13, a touch pad 14 on the palm rest, left and right buttons 14a and 14b, various shortcut buttons such as mail, A power button, a volume control button 18, a speaker 29, and the like are arranged. Further, an optical drive 15 or the like is provided on the side surface of the main body 16.

図2は、本発明の一実施形態に係る情報処理装置の要部構成を示すブロック図である。   FIG. 2 is a block diagram showing a main configuration of the information processing apparatus according to the embodiment of the present invention.

コンピュータ10は、CPU(Central Processing Unit)20、Root Complex21、主メモリ24、グラフィックスコントローラ(End Point)23、Root Complex(チップセット)21とグラフィックスコントローラ23とを接続するPCI Express Link22、ディスプレイ(LCD)である表示装置11、主メモリ(高速メモリ:第1のメモリ)24、エンベデッドコントローラ/キーボードコントローラIC(EC/KBC)27、ハードディスクドライブ(HDD)25、BIOS−ROM26、メモリ(低速メモリ:第2のメモリ)17、キーボード13、タッチパッド14、AC電源19、スピーカ29などを備えている。なお、主メモリ24は、RAM、DDR SD−RAM等のメモリを用い、メモリ17は、バス上に接続されている主メモリ24よりも低速なSD−RAM等を用いる。   The computer 10 includes a CPU (Central Processing Unit) 20, a Root Complex 21, a main memory 24, a graphics controller (End Point) 23, a PCI Express Link 22 that connects the Root Complex (chipset) 21 and the graphics controller 23, a display ( LCD) display device 11, main memory (high-speed memory: first memory) 24, embedded controller / keyboard controller IC (EC / KBC) 27, hard disk drive (HDD) 25, BIOS-ROM 26, memory (low-speed memory: A second memory) 17, a keyboard 13, a touch pad 14, an AC power source 19, a speaker 29, and the like. The main memory 24 uses a memory such as a RAM or a DDR SD-RAM, and the memory 17 uses an SD-RAM or the like that is slower than the main memory 24 connected on the bus.

Root Complex21、グラフィックスコントローラ23等は、PCI EXPRESS規格に準拠したデバイスである。Root Complex21とグラフィックスコントローラ23との間の通信は、Root Complex21とグラフィックスコントローラ23との間に配設されたPCI Express Link22を介して実行される。   The Root Complex 21, the graphics controller 23, and the like are devices that comply with the PCI EXPRESS standard. Communication between the Root Complex 21 and the graphics controller 23 is executed via a PCI Express Link 22 disposed between the Root Complex 21 and the graphics controller 23.

CPU20は、本コンピュータ10の動作を制御するプロセッサであり、HDD25から主メモリ24にロードされる各種プログラム(オペレーティングシステム、後術するメモリ管理プログラム等のアプリケーションプログラム)を実行する。また、CPU20は、BIOS−ROM26に格納されたBIOS(Basic Input Output System)も実行する。BIOSはハードウェアを制御するためのプログラムである。   The CPU 20 is a processor that controls the operation of the computer 10, and executes various programs (an operating system, application programs such as a memory management program to be operated later) loaded from the HDD 25 to the main memory 24. The CPU 20 also executes a basic input / output system (BIOS) stored in the BIOS-ROM 26. The BIOS is a program for controlling hardware.

Root Complex21は、CPU20のローカルバスとグラフィックスコントローラ23との間を接続するブリッジデバイスである。また、Root Complex21は、PCI Express Link22を介してグラフィックスコントローラ23との通信を実行する機能も有している。   The root complex 21 is a bridge device that connects the local bus of the CPU 20 and the graphics controller 23. The Root Complex 21 also has a function of executing communication with the graphics controller 23 via the PCI Express Link 22.

グラフィックスコントローラ23は、本コンピュータのディスプレイモニタとして使用されるディスプレイである表示装置11を制御する表示コントローラである。   The graphics controller 23 is a display controller that controls the display device 11 that is a display used as a display monitor of the computer.

EC/KBC27は、電力管理のためのエンベデッドコントローラと、キーボード13、タッチパッド14、バッテリ28、AC電源19等を制御するためのキーボードコントローラとが集積された1チップマイクロコンピュータである。このEC/KBC27は、ユーザによる電源ボタンの操作に応じて、電源コントローラと共同して、本コンピュータ10をパワーオン/パワーオフする機能等を有している。   The EC / KBC 27 is a one-chip microcomputer in which an embedded controller for power management and a keyboard controller for controlling the keyboard 13, touch pad 14, battery 28, AC power source 19 and the like are integrated. The EC / KBC 27 has a function of powering on / off the computer 10 in cooperation with the power controller in accordance with the operation of the power button by the user.

次に、仮想メモリ管理を行う場合の仮想メモリ管理オペレーティングシステムの構成と動作を説明する。   Next, the configuration and operation of the virtual memory management operating system when performing virtual memory management will be described.

仮想メモリ管理オペレーティングシステムは、オペレーティングシステムの構成要素であるメモリマネージメントとファイルシステムにより、その上で動作するアプリケーションの仮想アドレス空間を提供する。例えば、低速メモリ17上にあるファイルシステムのファイルAおよび、ファイルBを、所定のアプリケーションからアクセスする場合、ファイルシステムはオペレーティングシステムが管理する仮想アドレス空間に、ファイルのマッピングを行う。   The virtual memory management operating system provides a virtual address space for applications operating on the memory management and file system, which are components of the operating system. For example, when accessing a file system file A and file B on the low-speed memory 17 from a predetermined application, the file system maps the file to a virtual address space managed by the operating system.

図3は、仮想メモリ管理オペレーティングシステム上で動作するアプリケーションの仮想アドレス空間を示した模式図である。オペレーティングシステムは、アプリケーションに対して、仮想アドレス空間を提供するが、その仮想アドレス空間は、ページと呼ばれる決められたサイズの単位の集合として管理されている。本実施形態では、アクセス頻度(参照頻度)が高いページは、高速メモリ24に記憶し、高速メモリ24を直接参照する。また、アクセス頻度が低いページは、低速メモリ17に記憶し、低速メモリ17を直接参照する。高速メモリ24に割り当てられたページが更新(書き込み)された場合は、対応する低速メモリ17への書き込みは都度行わず、高速メモリ24から低速メモリ17へ割り当を変更する際に書き込みを行う。   FIG. 3 is a schematic diagram showing a virtual address space of an application operating on the virtual memory management operating system. An operating system provides a virtual address space to an application, and the virtual address space is managed as a set of units of a predetermined size called a page. In the present embodiment, pages with a high access frequency (reference frequency) are stored in the high-speed memory 24 and the high-speed memory 24 is directly referenced. Also, pages with low access frequency are stored in the low speed memory 17 and the low speed memory 17 is directly referred to. When a page assigned to the high speed memory 24 is updated (written), writing to the corresponding low speed memory 17 is not performed each time, and writing is performed when allocation is changed from the high speed memory 24 to the low speed memory 17.

仮想メモリ管理をコンピュータ等で行う場合、上述のような仮想アドレス空間を設定し、それぞれの仮想アドレス1〜6に対応するメモリを割り当てる。割り当てるメモリは、例えば、高速メモリ(主メモリ)24と低速メモリ(メモリ)17の2つのメモリに対して行う。低速メモリ17は、所定のファイルを記憶する。この低速メモリ17に記憶されたファイルの中でアクセス頻度の高いファイルを高速メモリ24にコピーする。最初の段階では、アクセス頻度のカウントを行っていないので、例えば、高速メモリ24の記憶領域は、例えばアドレス1〜4の4つであるので、低速メモリ17のアドレス2、4、5を高速メモリ24のアドレス4、2,1にコピーする(高速メモリ24のアドレス3はこのとき未使用)。そして、仮想アドレス空間のアドレス3、1、4を高速メモリ24のアドレス1、2、4に割り当てる。   When virtual memory management is performed by a computer or the like, a virtual address space as described above is set, and memories corresponding to the respective virtual addresses 1 to 6 are allocated. As the memory to be allocated, for example, the high speed memory (main memory) 24 and the low speed memory (memory) 17 are used. The low speed memory 17 stores a predetermined file. Of the files stored in the low-speed memory 17, a frequently accessed file is copied to the high-speed memory 24. Since the access frequency is not counted at the first stage, for example, there are four storage areas of the high-speed memory 24, for example, addresses 1 to 4, so that the addresses 2, 4, and 5 of the low-speed memory 17 are assigned to the high-speed memory. 24 is copied to addresses 4, 2, and 1 (address 3 of high-speed memory 24 is not used at this time). Then, addresses 3, 1, and 4 in the virtual address space are assigned to addresses 1, 2, and 4 in the high-speed memory 24.

次に、図4は、本発明の一実施形態である情報処理装置および制御装置を適用したメモリ管理方法について説明したフローチャートである。   Next, FIG. 4 is a flowchart illustrating a memory management method to which an information processing apparatus and a control apparatus according to an embodiment of the present invention are applied.

コンピュータ10のCPU20は、HDD25からメモリ管理プログラムを読み込む(ステップS101)。読み出されたメモリ管理プログラムは、例えば高速メモリ24上で動作し、以後、CPU20によって制御される。メモリ管理プログラムは、ページテーブルを作成する。例えば、上述したように、図3に示すように、ページテーブルを作成し、仮想アドレス空間に高速メモリ24および低速メモリ17のアドレスを割り当てる。なお、ページテーブルは、例えば、図5に示すようなテーブルである。   The CPU 20 of the computer 10 reads a memory management program from the HDD 25 (step S101). The read memory management program operates on the high-speed memory 24, for example, and is thereafter controlled by the CPU 20. The memory management program creates a page table. For example, as described above, as shown in FIG. 3, a page table is created, and the addresses of the high speed memory 24 and the low speed memory 17 are assigned to the virtual address space. The page table is, for example, a table as shown in FIG.

次に、高速メモリ24および低速メモリ17に記憶されたファイルへのアクセスが開始され(ステップS103)、同時に、高速メモリ24および低速メモリ17の各アドレス毎のアクセスカウント(以後、参照カウントとも称する)を開始する(ステップS104)。このとき、高速メモリ24に割り当てられたページが更新(書き込み)された場合は、対応する低速メモリ17への書き込みは都度行わず、高速メモリ24にDirty(D)のフラグを付与し、高速メモリ24から低速メモリ17へ割り当を変更する際に書き込みを行う(書き込み後は、フラグを(C)に戻す)。なお、フラグは、Dのフラグを付与される前は、clean(C)のフラグが付与されている。このフラグによって、高速メモリ24のと対応する低速メモリ17の内容が同じ「フラグ:(C)」か、異なるか「フラグ:(D)」を判別することができる。   Next, access to the files stored in the high-speed memory 24 and the low-speed memory 17 is started (step S103), and at the same time, an access count for each address of the high-speed memory 24 and the low-speed memory 17 (hereinafter also referred to as a reference count). Is started (step S104). At this time, if a page assigned to the high-speed memory 24 is updated (written), writing to the corresponding low-speed memory 17 is not performed each time, and a Dirty (D) flag is given to the high-speed memory 24 to When the allocation is changed from 24 to the low-speed memory 17, writing is performed (after writing, the flag is returned to (C)). The flag is given the clean (C) flag before the D flag. With this flag, it is possible to determine whether the contents of the low-speed memory 17 corresponding to the high-speed memory 24 are the same “flag: (C)” or different from each other, “flag: (D)”.

上述したテーブルは、図5に示すように、仮想アドレスをインデックスとし、高速メモリ24と対応する低速メモリ17の内容が同じフラグ:(C)か、異なるフラグ(D)かを示すフラグ、実メモリアドレス、参照カウントによって構成される。実メモリアドレスは、高速メモリ24の場合は、対応する低速メモリ17のアドレスは、括弧内に記載している。   As shown in FIG. 5, the above-described table uses a virtual address as an index, a flag indicating whether the content of the low-speed memory 17 corresponding to the high-speed memory 24 is the same flag: (C) or different flag (D), real memory Consists of address and reference count. In the case of the high-speed memory 24, the actual memory address is described in parentheses for the address of the corresponding low-speed memory 17.

ステップS104での参照カウントの更新は、メモリ管理プログラムによって、所定の一定時間監視されている。例えば、数百msから数秒ぐらいの一定時間が経過すると(ステップS105)、低速メモリ17の参照カウントが高速メモリ24の参照カウントよりも大きいか否かを判別する(ステップS106)。ステップS106では、メモリ管理プログラムによって参照カウントをすべてソートし、降順に並べる。そして、メモリ管理プログラムによって、高速メモリ24のページ数だけ、すなわち4つを上位から選択する。例えば、図5に示したテーブルでは、参照カウント15(高速メモリのアドレス1:低速メモリのアドレス5)、参照カウント11(低速メモリのアドレス3)、参照カウント8(高速メモリのアドレス2:低速メモリのアドレス4)、参照カウント3(高速メモリのアドレス4:低速メモリのアドレス2)の4つが選択される。このうち、低速メモリ17の参照カウントが高速メモリ24の参照カウントよりも大きいものがあるかをメモリ管理プログラムによって判別する。参照カウント11(低速メモリのアドレス3)は、参照カウント3(高速メモリのアドレス4:低速メモリのアドレス2)および参照カウント8(高速メモリのアドレス2:低速メモリのアドレス4)よりも大きいと判別される(ステップS106のYES)。このとき、参照カウント3(高速メモリのアドレス4:低速メモリのアドレス2)と参照カウント8(高速メモリのアドレス2:低速メモリのアドレス4)とでは、参照カウント3(高速メモリのアドレス4:低速メモリのアドレス2)の方が参照カウントが少ないので、この高速メモリ24のアドレス4は、フラグ(D)のDirtyであれば(ステップS107)、高速メモリのアドレス4の内容を低速メモリのアドレス2にコピーし(ステップS108)、高速メモリのアドレス4に割り当てられている仮想アドレスを低速メモリのアドレス2に割り当てるように変更し、高速メモリのアドレス4をFreeとして解放する(ステップS109)。メモリ管理プログラムは、低速メモリのアドレス3をFreeとなった高速メモリのアドレス4にコピーし、仮想アドレス2(図6参照)の割り当てを、低速メモリのアドレス3から高速メモリのアドレス4に変更し(ステップS110)、参照カウントをクリアし、初期値の0とする。また、フラグは、(D)から(C)に変更する。以上のように割り当てを変更したテーブルが図6に示すテーブルとなる。   The update of the reference count in step S104 is monitored for a predetermined fixed time by the memory management program. For example, when a fixed time of several hundred ms to several seconds elapses (step S105), it is determined whether or not the reference count of the low speed memory 17 is larger than the reference count of the high speed memory 24 (step S106). In step S106, all the reference counts are sorted by the memory management program and arranged in descending order. Then, by the memory management program, the number of pages in the high-speed memory 24, that is, four is selected from the top. For example, in the table shown in FIG. 5, reference count 15 (high-speed memory address 1: low-speed memory address 5), reference count 11 (low-speed memory address 3), reference count 8 (high-speed memory address 2: low-speed memory) Address 4) and reference count 3 (high-speed memory address 4: low-speed memory address 2) are selected. Among these, the memory management program determines whether there is a reference count of the low-speed memory 17 that is larger than the reference count of the high-speed memory 24. It is determined that the reference count 11 (low-speed memory address 3) is larger than the reference count 3 (high-speed memory address 4: low-speed memory address 2) and reference count 8 (high-speed memory address 2: low-speed memory address 4). (YES in step S106). At this time, reference count 3 (high-speed memory address 4: low-speed memory address 2) and reference count 8 (high-speed memory address 2: low-speed memory address 4) have a reference count 3 (high-speed memory address 4: low-speed memory address 4). Since the reference count of the memory address 2) is smaller, if the address 4 of the high-speed memory 24 is Dirty of the flag (D) (step S107), the contents of the address 4 of the high-speed memory are changed to the address 2 of the low-speed memory. (Step S108), the virtual address assigned to the address 4 of the high speed memory is changed to be assigned to the address 2 of the low speed memory, and the address 4 of the high speed memory is released as Free (step S109). The memory management program copies the address 3 of the low-speed memory to the address 4 of the high-speed memory that becomes Free, and changes the allocation of the virtual address 2 (see FIG. 6) from the address 3 of the low-speed memory to the address 4 of the high-speed memory. (Step S110), the reference count is cleared, and the initial value is set to zero. The flag is changed from (D) to (C). The table whose assignment has been changed as described above is the table shown in FIG.

以上、詳述したように、本実施形態を用いることにより、アクセス頻度が高いページに対しては、高速なメインメモリにコピーすることで、高速なアクセスを提供し、アクセス頻度が低いページに対しては、低速なファイルシステムの実体のあるメモリを直接参照することで、メモリ使用量の削減を行うことができる。すなわち、アクセス頻度の高いデータのみを高速メモリにコピーして効率よくデータを参照することができる。   As described above in detail, by using this embodiment, for pages with high access frequency, copying to a high-speed main memory provides high-speed access, and for pages with low access frequency. In this case, the memory usage can be reduced by directly referring to the actual memory of the low-speed file system. That is, it is possible to efficiently refer to data by copying only frequently accessed data to a high-speed memory.

上述したメモリ管理方法は、1つのマイクロチップの制御装置として実現することもでき、また、プログラムとしてソフトウェア的に実現することもできる。   The above-described memory management method can be realized as a control device of one microchip, and can also be realized as software as a program.

なお、本発明は上記実施形態そのままに限定されるものではなく、実施段階ではその要旨を逸脱しない範囲で構成要素を変形して具体化できる。また、上記実施形態に開示されている複数の構成要素の適宜な組み合わせにより、種々の発明を形成できる。例えば、実施形態に示される全構成要素から幾つかの構成要素を削除してもよい。さらに、異なる実施形態にわたる構成要素を適宜組み合わせてもよい。   Note that 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, constituent elements over different embodiments may be appropriately combined.

本発明の一実施形態に係る情報処理装置の外観を示した斜視図。The perspective view showing the appearance of the information processor concerning one embodiment of the present invention. 本発明の一実施形態に係る情報処理装置の要部構成を示すブロック図。The block diagram which shows the principal part structure of the information processing apparatus which concerns on one Embodiment of this invention. 仮想メモリ管理オペレーティングシステム上で動作するアプリケーションの仮想アドレス空間を示した模式図。The schematic diagram which showed the virtual address space of the application which operate | moves on a virtual memory management operating system. 本発明の一実施形態である情報処理装置および制御装置を適用したメモリ管理方法について説明したフローチャート。The flowchart explaining the memory management method to which the information processing apparatus and control apparatus which are one Embodiment of this invention are applied. ページテーブルの一例を示した模式図。The schematic diagram which showed an example of the page table. 仮想アドレスの割り当ての入れ替え後のページテーブルの一例を示した模式図。The schematic diagram which showed an example of the page table after the replacement of the virtual address assignment.

符号の説明Explanation of symbols

10…コンピュータ、11…LCD、12…表示画面、13…キーボード、14…タッチパッド、14a.14b…ボタン、15…光学ドライブ、16…本体、17…メモリ、18…電源ボタン、19…AC電源、20…CPU、23…グラフィックスコントローラ、24…主メモリ、25…HDD、26…BIOS−ROM、27…EC/KBC、28…バッテリ DESCRIPTION OF SYMBOLS 10 ... Computer, 11 ... LCD, 12 ... Display screen, 13 ... Keyboard, 14 ... Touchpad, 14a. 14b ... button, 15 ... optical drive, 16 ... main body, 17 ... memory, 18 ... power button, 19 ... AC power supply, 20 ... CPU, 23 ... graphics controller, 24 ... main memory, 25 ... HDD, 26 ... BIOS- ROM, 27 ... EC / KBC, 28 ... Battery

Claims (9)

第1のメモリと、
前記第1のメモリよりも読み書きの速度が遅い第2のメモリと、
前記第2のメモリの各ページを仮想アドレスに割り当て、前記第2のメモリの各ページに記憶された複数のファイルのうち、アクセス頻度が高いファイルを前記第1のメモリの所定のページにコピーし、前記第1のメモリの所定のページを前記仮想アドレスに割り当てる割り当て手段と、
を具備することを特徴とする情報処理装置。
A first memory;
A second memory having a slower read / write speed than the first memory;
Each page of the second memory is assigned to a virtual address, and a frequently accessed file among a plurality of files stored in each page of the second memory is copied to a predetermined page of the first memory. Allocating means for allocating a predetermined page of the first memory to the virtual address;
An information processing apparatus comprising:
請求項1に記載の情報処理装置において、
前記割り当て手段は、前記仮想アドレス毎にアクセスカウントを取り、アクセスカウントが大きいものから前記第1のメモリの仮想アドレスの数だけ選び、選ばれた仮想アドレスがすべて前記第1のメモリに割り当てられるようにすることを特徴とする情報処理装置。
The information processing apparatus according to claim 1,
The allocating means takes an access count for each virtual address, selects the number of virtual addresses in the first memory from the one having a large access count, and all the selected virtual addresses are allocated to the first memory. An information processing apparatus characterized by that.
請求項2に記載の情報処理装置において、
前記ファイルの置き換え後に、前記アクセスカウントをクリアし、初期値にすることを特徴とする情報処理装置。
The information processing apparatus according to claim 2,
An information processing apparatus, wherein after the file is replaced, the access count is cleared to an initial value.
請求項2に記載の情報処理装置において、
前記割り当て手段は、第1のメモリに割り当てられたページが更新された場合は、第1のメモリから対応する第2のメモリへ割り当を変更する際に、第1のメモリから対応する第2のメモリへの書き込みを行うことを特徴とする情報処理装置。
The information processing apparatus according to claim 2,
When the page assigned to the first memory is updated, the assigning means changes the assignment from the first memory to the corresponding second memory, and changes the assignment from the first memory to the corresponding second. An information processing apparatus for writing to a memory.
第1のメモリと、前記第1のメモリよりも読み書きの速度が遅い第2のメモリとを制御する制御装置であって、
前記第2のメモリの各ページを仮想アドレスに割り当て、前記第2のメモリの各ページに記憶された複数のファイルのうち、アクセス頻度が高いファイルを前記第1のメモリの所定のページにコピーし、前記第1のメモリの所定のページを前記仮想アドレスに割り当てることを特徴とする制御装置。
A control device for controlling a first memory and a second memory having a slower read / write speed than the first memory,
Each page of the second memory is assigned to a virtual address, and a frequently accessed file among a plurality of files stored in each page of the second memory is copied to a predetermined page of the first memory. A control device that allocates a predetermined page of the first memory to the virtual address.
第1のメモリと、前記第1のメモリよりも読み書きの速度が遅い第2のメモリとを備えた情報処理装置で用いるメモリ管理方法であって、
前記第2のメモリの各ページを仮想アドレスに割り当て、前記第2のメモリの各ページに記憶された複数のファイルのうち、アクセス頻度が高いファイルを前記第1のメモリの所定のページにコピーし、前記第1のメモリの所定のページを前記仮想アドレスに割り当てることを特徴とするメモリ管理方法。
A memory management method used in an information processing apparatus including a first memory and a second memory having a slower read / write speed than the first memory,
Each page of the second memory is assigned to a virtual address, and a frequently accessed file among a plurality of files stored in each page of the second memory is copied to a predetermined page of the first memory. A memory management method comprising allocating a predetermined page of the first memory to the virtual address.
請求項6に記載のメモリ管理方法において、
前記仮想アドレス毎にアクセスカウントを取り、アクセスカウントが大きいものから前記第1のメモリの仮想アドレスの数だけ選び、選ばれた仮想アドレスがすべて前記第1のメモリに割り当てられるようにすることを特徴とするメモリ管理方法。
The memory management method according to claim 6.
An access count is taken for each virtual address, and the number of virtual addresses in the first memory is selected from those having a large access count so that all the selected virtual addresses are assigned to the first memory. Memory management method.
請求項7に記載のメモリ管理方法において、
前記ファイルの置き換え後に、前記アクセスカウントをクリアし、初期値にすることを特徴とするメモリ管理方法。
The memory management method according to claim 7,
A memory management method, comprising: clearing the access count to an initial value after replacing the file.
請求項7に記載のメモリ管理方法において、
前記第1のメモリに割り当てられたページが更新された場合は、第1のメモリから対応する第2のメモリへ割り当を変更する際に、第1のメモリから対応する第2のメモリへの書き込みを行うことを特徴とするメモリ管理方法。
The memory management method according to claim 7,
When the page assigned to the first memory is updated, the allocation from the first memory to the corresponding second memory is changed when the allocation is changed from the first memory to the corresponding second memory. A memory management method comprising performing writing.
JP2006269856A 2006-09-29 2006-09-29 Information processing apparatus, control apparatus, and memory management method Pending JP2008090554A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006269856A JP2008090554A (en) 2006-09-29 2006-09-29 Information processing apparatus, control apparatus, and memory management method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006269856A JP2008090554A (en) 2006-09-29 2006-09-29 Information processing apparatus, control apparatus, and memory management method

Publications (1)

Publication Number Publication Date
JP2008090554A true JP2008090554A (en) 2008-04-17

Family

ID=39374635

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006269856A Pending JP2008090554A (en) 2006-09-29 2006-09-29 Information processing apparatus, control apparatus, and memory management method

Country Status (1)

Country Link
JP (1) JP2008090554A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010186411A (en) * 2009-02-13 2010-08-26 Toshiba Corp Device, method and program for executing program
JP2012033001A (en) * 2010-07-30 2012-02-16 Toshiba Corp Information processing apparatus and information processing method
JP2015522886A (en) * 2012-07-18 2015-08-06 マイクロン テクノロジー, インク. Memory management for hierarchical memory systems
JP2015201050A (en) * 2014-04-08 2015-11-12 富士通株式会社 Cache storage program, information processing apparatus, and cache storage method
JP2018537770A (en) * 2016-02-10 2018-12-20 グーグル エルエルシー Profiling cache replacement
JP2025507434A (en) * 2022-02-23 2025-03-18 ホアウェイ・テクノロジーズ・カンパニー・リミテッド Cache-based memory access tracking

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010186411A (en) * 2009-02-13 2010-08-26 Toshiba Corp Device, method and program for executing program
JP2012033001A (en) * 2010-07-30 2012-02-16 Toshiba Corp Information processing apparatus and information processing method
JP2015522886A (en) * 2012-07-18 2015-08-06 マイクロン テクノロジー, インク. Memory management for hierarchical memory systems
US10089242B2 (en) 2012-07-18 2018-10-02 Micron Technology, Inc. Memory management for a hierarchical memory system
US10831672B2 (en) 2012-07-18 2020-11-10 Micron Technology, Inc Memory management for a hierarchical memory system
JP2015201050A (en) * 2014-04-08 2015-11-12 富士通株式会社 Cache storage program, information processing apparatus, and cache storage method
JP2018537770A (en) * 2016-02-10 2018-12-20 グーグル エルエルシー Profiling cache replacement
US10387329B2 (en) 2016-02-10 2019-08-20 Google Llc Profiling cache replacement
JP2025507434A (en) * 2022-02-23 2025-03-18 ホアウェイ・テクノロジーズ・カンパニー・リミテッド Cache-based memory access tracking

Similar Documents

Publication Publication Date Title
KR100823171B1 (en) Computer system with partitioned flash translation layer and partitioning method of flash translation layer
EP3382557B1 (en) Method and apparatus for persistently caching storage data in a page cache
JP4399021B1 (en) Disk array control device and storage device
JP5149912B2 (en) Selective use of multiple disparate solid-state storage locations
CN102612685B (en) Non-blocking data transfer via memory cache manipulation
JP4886866B2 (en) Method for speeding up access to main storage device and storage device system
CN107908571B (en) Data writing method, flash memory device and storage equipment
US20120246390A1 (en) Information processing apparatus, program product, and data writing method
JP2008192061A (en) Storage system and storage management method
JP2008070935A (en) Storage system logical volume management method, logical volume management program, and storage system
US8583890B2 (en) Disposition instructions for extended access commands
JP2013174975A (en) Memory system and data writing method for the same
JP2011090460A (en) Data storage device and method of controlling the same
JP2004078398A (en) Virtual volume management method
CN107562645A (en) A memory page management method and computing device
JP2006079628A (en) System and method of storing user data in partition file or using partition file containing user data
JP2008090554A (en) Information processing apparatus, control apparatus, and memory management method
JP4308152B2 (en) Method, system, and product for reserving memory
US20140214771A1 (en) Storage device and method for controlling the same
CN101169754B (en) Computer system and control method thereof
JP2010170328A (en) Memory device and computer
JP2008071189A (en) Disk array device, RAID controller, and disk array device disk array construction method
JP2013142927A (en) Computer loaded with physical random number generation device and method for controlling physical random number generation device
CN120196558B (en) Mapping table garbage recycling method, recycling device, storage device and electronic equipment
Wu et al. NVSwap: Latency-Aware Paging using Non-Volatile Main Memory