JP2011128787A - アドレス変換を高速化する方法及びシステム - Google Patents
アドレス変換を高速化する方法及びシステム Download PDFInfo
- Publication number
- JP2011128787A JP2011128787A JP2009285375A JP2009285375A JP2011128787A JP 2011128787 A JP2011128787 A JP 2011128787A JP 2009285375 A JP2009285375 A JP 2009285375A JP 2009285375 A JP2009285375 A JP 2009285375A JP 2011128787 A JP2011128787 A JP 2011128787A
- Authority
- JP
- Japan
- Prior art keywords
- page
- virtual
- physical
- pages
- mapped
- 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.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 45
- 238000006243 chemical reaction Methods 0.000 title claims abstract description 13
- 238000013507 mapping Methods 0.000 claims abstract description 27
- 238000013519 translation Methods 0.000 claims description 9
- 230000004044 response Effects 0.000 claims description 5
- 238000012545 processing Methods 0.000 abstract description 8
- 230000010485 coping Effects 0.000 abstract 1
- 230000010365 information processing Effects 0.000 description 15
- 230000008569 process Effects 0.000 description 13
- 230000000694 effects Effects 0.000 description 8
- 230000003287 optical effect Effects 0.000 description 8
- 238000004590 computer program Methods 0.000 description 6
- 238000010586 diagram Methods 0.000 description 6
- 238000004891 communication Methods 0.000 description 5
- 230000006870 function Effects 0.000 description 5
- 238000011068 loading method Methods 0.000 description 2
- 238000004519 manufacturing process Methods 0.000 description 2
- 230000007246 mechanism Effects 0.000 description 2
- 239000004065 semiconductor Substances 0.000 description 2
- 230000015556 catabolic process Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 230000007423 decrease Effects 0.000 description 1
- 238000006731 degradation reaction Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000000605 extraction Methods 0.000 description 1
- 230000002040 relaxant effect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F12/00—Accessing, addressing or allocating within memory systems or architectures
- G06F12/02—Addressing or allocation; Relocation
- G06F12/08—Addressing or allocation; Relocation in hierarchically structured memory systems, e.g. virtual memory systems
- G06F12/10—Address translation
- G06F12/1009—Address translation using page tables, e.g. page table structures
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F12/00—Accessing, addressing or allocating within memory systems or architectures
- G06F12/14—Protection against unauthorised use of memory or access to memory
- G06F12/1458—Protection against unauthorised use of memory or access to memory by checking the subject access rights
- G06F12/1466—Key-lock mechanism
- G06F12/1475—Key-lock mechanism in a virtual system, e.g. with translation means
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2212/00—Indexing scheme relating to accessing, addressing or allocation within memory systems or architectures
- G06F2212/65—Details of virtual memory and virtual address translation
- G06F2212/652—Page size control
Abstract
【解決手段】物理アドレスへのアドレス変換を高速化する方法は、コンピュータが、所定の条件を満たすページ単位の仮想ページを複数含んだ仮想メモリ領域を、仮想ページよりも大きい領域であるラージページでマップし、マップしたラージページに含まれる一部の仮想ページのメモリ保護属性がその他の仮想ページのメモリ保護属性と異なることを条件に、メモリ保護属性が異なる一部の仮想ページに対応する物理ページを保護する物理メモリ保護情報を設定する。
【選択図】図3
Description
3 ホストOS
5 エミュレータ
7 ゲストOS
9 ゲストアプリケーション
10 ホストハードウェア
11 CPU
13 TLB
14 レジスタ
16 メモリ
21,22,23 仮想ページ
26,27,28,31,32,33 物理ページ
Claims (8)
- コンピュータによって、仮想アドレスから物理アドレスへのアドレス変換を高速化する方法であって、
所定の条件を満たすページ単位の仮想ページを複数含んだ仮想メモリ領域を、前記仮想ページよりも大きい領域であるラージページでマップするステップと、
マップした前記ラージページに含まれる一部の前記仮想ページのメモリ保護属性がその他の前記仮想ページのメモリ保護属性と異なることを条件に、前記メモリ保護属性が異なる前記一部の仮想ページに対応する物理ページを保護する物理メモリ保護情報を設定するステップと、
を含む方法。 - 前記所定の条件は、前記ラージページでのマップ対象の複数の前記仮想ページの各々に対応する物理ページが他の仮想ページのいずれにも対応していない場合である、
請求項1に記載の方法。 - 前記所定の条件は、前記ラージページでのマップ対象の複数の前記仮想ページのうち対応する前記物理ページが存在しない割合が所定量より少ない場合である、
請求項1に記載の方法。 - 前記所定の条件は、過去のラージページの使用履歴に基づいて前記ラージページでのマップ対象にすると判定した場合である、
請求項1に記載の方法。 - 新しくマッピングしたい前記仮想ページが存在したことに応じて、前記所定の条件を満たすか否かを判定するステップを含む、
請求項1に記載の方法。 - 前記物理ページに対応する前記他の仮想ページが前記ラージページでマップされていることに応じて、前記ラージページをページ単位の仮想ページに戻すステップを含む、
請求項2に記載の方法。 - 前記コンピュータが、他のコンピュータで実行可能なアプリケーションと、前記アプリケーションのエミュレータとを記憶する、
請求項1に記載の方法。 - 仮想アドレスから物理アドレスへのアドレス変換を高速化するシステムであって、
新しくマッピングしたい仮想ページが存在したことに応じて、所定の条件を満たすか否かを判定する事前判定手段と、
前記事前判定手段により前記所定の条件を満たすことに応じて、ページ単位の仮想ページを複数含んだ仮想メモリ領域を、前記仮想ページよりも大きい領域であるラージページでマップするラージページマップ手段と、
前記ラージページマップ手段がマップした前記ラージページに含まれる一部の前記仮想ページのメモリ保護属性がその他の前記仮想ページのメモリ保護属性と異なることを条件に、前記メモリ保護属性が異なる前記一部の仮想ページに対応する物理ページを保護する物理メモリ保護情報を設定する保護設定手段と、
を備えるシステム。
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2009285375A JP4915756B2 (ja) | 2009-12-16 | 2009-12-16 | アドレス変換を高速化する方法及びシステム |
US12/970,046 US8806146B2 (en) | 2009-12-16 | 2010-12-16 | Method and system to accelerate address translation |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2009285375A JP4915756B2 (ja) | 2009-12-16 | 2009-12-16 | アドレス変換を高速化する方法及びシステム |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2011128787A true JP2011128787A (ja) | 2011-06-30 |
JP4915756B2 JP4915756B2 (ja) | 2012-04-11 |
Family
ID=44144210
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2009285375A Expired - Fee Related JP4915756B2 (ja) | 2009-12-16 | 2009-12-16 | アドレス変換を高速化する方法及びシステム |
Country Status (2)
Country | Link |
---|---|
US (1) | US8806146B2 (ja) |
JP (1) | JP4915756B2 (ja) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110825320A (zh) * | 2018-08-07 | 2020-02-21 | 马维尔国际贸易有限公司 | 虚拟化固态存储介质的隔离区域 |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8954707B2 (en) | 2012-08-03 | 2015-02-10 | International Business Machines Corporation | Automatic use of large pages |
WO2014142809A1 (en) * | 2013-03-12 | 2014-09-18 | Empire Technology Development, Llc | Accelerator buffer access |
CN106326144B (zh) * | 2015-06-24 | 2019-08-06 | 龙芯中科技术有限公司 | 基于大页映射的数据读取方法及装置 |
US9734088B2 (en) | 2015-08-12 | 2017-08-15 | International Business Machines Corporation | Memory management unit and method for accessing data |
US9983820B2 (en) * | 2016-03-29 | 2018-05-29 | Nxp B.V. | Method for performing data updates |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH0836528A (ja) * | 1994-01-12 | 1996-02-06 | Sun Microsyst Inc | 複数のページ・サイズをサポートする仮想メモリ・コンピュータ・システム用の再マッピング装置及び再マッピング方法 |
JPH08101797A (ja) * | 1994-09-27 | 1996-04-16 | Hewlett Packard Co <Hp> | 変換索引バッファ |
JP2000057054A (ja) * | 1998-08-12 | 2000-02-25 | Fujitsu Ltd | 高速アドレス変換システム |
JP2005135396A (ja) * | 2003-10-30 | 2005-05-26 | Microsoft Corp | アドレス変換制御のためのシャドウ・ページテーブル |
JP2006260395A (ja) * | 2005-03-18 | 2006-09-28 | Nec Corp | プログラムローディング方法及びその装置 |
WO2009087134A1 (en) * | 2008-01-11 | 2009-07-16 | International Business Machines Corporation | Dynamic address translation with frame management |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6895491B2 (en) * | 2002-09-26 | 2005-05-17 | Hewlett-Packard Development Company, L.P. | Memory addressing for a virtual machine implementation on a computer processor supporting virtual hash-page-table searching |
US7475183B2 (en) * | 2005-12-12 | 2009-01-06 | Microsoft Corporation | Large page optimizations in a virtual machine environment |
-
2009
- 2009-12-16 JP JP2009285375A patent/JP4915756B2/ja not_active Expired - Fee Related
-
2010
- 2010-12-16 US US12/970,046 patent/US8806146B2/en not_active Expired - Fee Related
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH0836528A (ja) * | 1994-01-12 | 1996-02-06 | Sun Microsyst Inc | 複数のページ・サイズをサポートする仮想メモリ・コンピュータ・システム用の再マッピング装置及び再マッピング方法 |
JPH08101797A (ja) * | 1994-09-27 | 1996-04-16 | Hewlett Packard Co <Hp> | 変換索引バッファ |
JP2000057054A (ja) * | 1998-08-12 | 2000-02-25 | Fujitsu Ltd | 高速アドレス変換システム |
JP2005135396A (ja) * | 2003-10-30 | 2005-05-26 | Microsoft Corp | アドレス変換制御のためのシャドウ・ページテーブル |
JP2006260395A (ja) * | 2005-03-18 | 2006-09-28 | Nec Corp | プログラムローディング方法及びその装置 |
WO2009087134A1 (en) * | 2008-01-11 | 2009-07-16 | International Business Machines Corporation | Dynamic address translation with frame management |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110825320A (zh) * | 2018-08-07 | 2020-02-21 | 马维尔国际贸易有限公司 | 虚拟化固态存储介质的隔离区域 |
Also Published As
Publication number | Publication date |
---|---|
US8806146B2 (en) | 2014-08-12 |
JP4915756B2 (ja) | 2012-04-11 |
US20110145541A1 (en) | 2011-06-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP3204859B1 (en) | Methods and systems for cache lines de-duplication | |
US7739477B2 (en) | Multiple page size address translation incorporating page size prediction | |
US8661181B2 (en) | Memory protection unit in a virtual processing environment | |
TWI622880B (zh) | 比較及取代動態位址轉譯表項之電腦程式產品、電腦系統及方法 | |
JP5079104B2 (ja) | 変換例外修飾子を用いる動的アドレス変換 | |
EP1898311B1 (en) | Method and apparatus for preventing software side channel attacks | |
US7783859B2 (en) | Processing system implementing variable page size memory organization | |
KR102423713B1 (ko) | 가상 어드레스를 물리적 어드레스로 번역을 수행하기 위해 입력-출력 메모리 관리 유닛내 다수의 메모리 소자들 사용 | |
US20140108701A1 (en) | Memory protection unit in a virtual processing environment | |
JP4915756B2 (ja) | アドレス変換を高速化する方法及びシステム | |
JP2013500525A (ja) | I/oのための多重レベルアドレストランスレーションを含むi/oメモリ管理ユニット及び計算負荷軽減 | |
KR20120058352A (ko) | 하이브리드 메모리 시스템, 및 그 관리 방법 | |
JP2008299530A (ja) | メインメモリに書き込むデータをキャッシュする技術 | |
CN113486349B (zh) | 存储器扫描方法和装置 | |
US20160259732A1 (en) | Managing reuse information for memory pages | |
EP3757799B1 (en) | System and method to track physical address accesses by a cpu or device | |
IL280088B2 (en) | A memory protection unit that uses a memory protection table stored in a memory system | |
US9471509B2 (en) | Managing address-independent page attributes | |
JP2009282774A (ja) | エミュレーションプログラム、エミュレーション装置およびエミュレーション方法 | |
US11907301B2 (en) | Binary search procedure for control table stored in memory system | |
JP2019144921A (ja) | 情報処理装置及び情報処理方法 | |
JP2023554308A (ja) | メモリ攻撃軽減のための方法及びシステム | |
US7769979B1 (en) | Caching of page access parameters | |
EP4127944A1 (en) | Memory management apparatus and method | |
KR20190018321A (ko) | 플래시 스토리지 장치 및 플래시 스토리지 장치에 데이터를 기록하는 방법 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20110927 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20111125 |
|
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: 20111220 |
|
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
RD14 | Notification of resignation of power of sub attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7434 Effective date: 20111221 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20120117 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20150203 Year of fee payment: 3 |
|
R150 | Certificate of patent or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
LAPS | Cancellation because of no payment of annual fees |