Efficient detection and response to spin waits in multi-processor virtual machines
Abstract
Various aspects are disclosed herein for attenuating spin waiting in a virtual machine environment comprising a plurality of virtual machines and virtual processors. Selected virtual processors can be given time slice extensions in order to prevent such virtual processors from becoming de-scheduled (and hence causing other virtual processors to have to spin wait). Selected virtual processors can also be expressly scheduled so that they can be given higher priority to resources, resulting in reduced spin waits for other virtual processors waiting on such selected virtual processors. Finally, various spin wait detection techniques can be incorporated into the time slice extension and express scheduling mechanisms, in order to identify potential and existing spin waiting scenarios.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 8 · Forward citations: 1.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method for attenuating spin waiting of virtual processors in a virtual machine environment, comprising: examining a hint source for hints to determine if a virtual processor is accessing a synchronizing section that acquires a lock on an underlying physical resource that causes any other virtual processors to spin wait until said virtual processor releases the lock; wherein said synchronizing section is a region of code that determines access to resources by virtual processors; providing a time slice extension to said virtual processor to increase the time allotted in its assigned time slice
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (1 of 1 total)
| Patent | Title | Year | Citations |
|---|---|---|---|
| US 10,083,068 B2 | Fast transfer of workload between multiple processors | 2018 | 0 |
References Cited — Backward Prior Art (8)
Non-Patent Literature (2)
- Engler, The Exokernal Operating System Architecture, Oct. 1998, pp. 28-35.
- Hohmuth et al., Pragmatic Nonblocking Synchronization for Real-Time Systems, 2001, pp. 1-15.