Patents
US 8,095,771 B2#1864153 Most CitedActiveUnited States (USPTO)Utility

Method and system for caching address translations from multiple address spaces in virtual machines

34Forward Citations (#1864153 Global)
2.4/yrCitation Velocity (#1393838 Global)
4.15Citation PageRank (#4478970 Global)
50Prior Art Cited
1Claims (1 Indep. · 0 Dep.)
0Drawings / Sheets

Abstract

A method of virtualizing memory through shadow page tables that cache translations from multiple guest address spaces in a virtual machine includes a software version of a hardware tagged translation look-aside buffer. Edits to guest page tables are detected by intercepting the creation of guest-writable mappings to guest page tables with translations cached in shadow page tables. The affected cached translations are marked as stale and purged upon an address space switch or an indiscriminate flush of translations by the guest. Thereby, non-stale translations remain cached but stale translations are discarded. The method includes tracking the guest-writable mappings to guest page tables, deferring discovery of such mappings to a guest page table for the first time until a purge of all cached translations when the number of untracked guest page tables exceeds a threshold, and sharing shadow page tables between shadow address spaces and between virtual processors.

Interactive Citation Constellation Global Citation Ranking

Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 50 · Forward citations: 34.

Claims (1 — 1 Independent, 0 Dependent)

  1. Claim 1Independent Claim

    A method of caching translations of virtual addresses (VA) to system physical addresses (SPA) from multiple address spaces in a virtual machine, the method comprising: write-protecting a guest page table containing an address translation for a first guest address space before caching the address translation in a shadow page table; intercepting a write to the guest page table; creating a guest-writable mapping to the guest page table after intercepting the write to the guest page table; marking a cached address translation associated with the guest page table affected by the guest-writable mapp

Technical Overview & Description

Full multi-page specification text is archived at the issuing office. Read complete official specification ↗

References Cited — Backward Prior Art (50)

PatentTitleYearCitations
US 5,179,680 AInstruction storage and cache miss recovery in a high speed multiprocessing parallel processing apparatus1993148
US 5,317,705 AApparatus and method for TLB purge reduction in a multi-level machine system1994353
US 5,586,283 AMethod and apparatus for the reduction of tablewalk latencies in a translation look aside buffer199685
US 5,617,553 AComputer system which switches bus protocols and controls the writing of a dirty page bit of an address translation buffer199731
US 5,699,543 AProfile guided TLB and cache optimization199727
US 5,787,494 ASoftware assisted hardware TLB miss handler199897
US 6,038,639 AData file storage management system for snapshot copy operations2000227
US 6,075,938 AVirtual machine monitors for scalable multiprocessors2000744
US 6,182,195 B1System and method for maintaining coherency of virtual-to-physical memory translations in a multiprocessor computer200151
US 6,308,231 B1Industrial control systems having input/output circuits with programmable input/output characteristics200160
US 2002083110 A1Mechanism for providing power management through virtualization—74
US 6,442,666 B1Techniques for improving memory access in a virtual memory system200269
US 6,453,387 B1Fully associative translation lookaside buffer (TLB) including a least recently used (LRU) stack and implementing an LRU replacement strategy200235
US 6,496,847 B1System and method for virtualizing computer systems2002663
GB 2,376,761 AAn arrangement in which a process is run on a host operating system but may be switched to a guest system if it poses a security risk—7

Non-Patent Literature (5)

  • Barham, et al., "Xen and the Art of Virtualization", 2003, ACM Press, Proceedings of the 19th ACM Symposium on Operating Systems Principles, 164-177.
  • Chang, MS et al., "Lazy TLB Consistency for Large-Scale Multiprocessors," IEEE, http://ieeexplore.ieee.org/iel3/4457/12637/00581683.pdf?tp=&arnumber=581683&isnumber=12637&htry=2, 1997, 308-315.
  • Eranian, S. et al., "Virtual Memory in the IA-64 Linux Kernel," Prentice Hall PTR, www.phptr.com/articles/article.asp?p+29961&seqNum+4&rl+1, Nov. 8, 2002, downloaded Aug. 31, 2006, 46 pages.
  • King, S. et al., "Operating System Support for Virtual Machines," Proceedings of the 2003 USENIX Technical Conference, http://www.eecs.umich.edu/virtual papers/king03.pdf, 2003, 14 pages.
  • LeVasseur, J. et al., "Pre-Virtualization: Slashing the Cost of Virtualization," Nat'l ICT Australia, 2005, 1-14.