Adaptive algorithm for selecting a virtualization algorithm in virtual machine environments
Abstract
Method for selecting a virtualization algorithm to virtualize a context change. An exit-enter time (EET) to exit and enter a context and a save-restore time (SRT) to save and restore a machine state are calculated. A selective algorithm that selectively saves and restores the machine state when there is a change of context is executed. Statistics are accumulated on an expected value for EET overhead plus an expected value for SRT overhead while executing the selective algorithm. A cost of the selective algorithm is computed as the expected value for EET overhead plus the expected value for SRT overhead. The cost of the selective algorithm is compared to two times SRT which is the cost of an unconditional algorithm that always saves and restores the machine state on context changes. One of the selective algorithm or the unconditional algorithm having the least cost is selected as the virtualization algorithm.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 13 · Forward citations: 13.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A computer-implemented method comprising: calculating an exit-enter time (EET) to exit and enter a context and a save-restore time (SRT) to save and restore a machine state; executing a selective algorithm that saves and restores the machine state before passing control to a virtual machine (VM) only if unprivileged instructions allowing use of the machine state are available to the VM and accumulating statistics for an expected value for EET overhead and an expected value for SRT overhead while executing the selective algorithm; computing a cost of the selective algorithm using the expected v
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (13 of 13 total)
References Cited — Backward Prior Art (13)
Non-Patent Literature (2)
- Coffing, C.L., "An X86 Protected Mode Virtual Machine Monitor for the MIT Exokemel" MIT Lab for Computer Science, May 1999, pp. 1-109, XP008053120.
- Robert P. Goldberg; "Survey of Virtual Machine Research" Computer; vol. 7, No. 6; Jun. 1974.