2017 · 22 citations · 17 references
ComputingComputer ScienceComputer SystemsOperating SystemsSchedulingVirtualizationConcurrency ControlCpu SchedulingNon-preemptive SchedulingThread ManagementThread ProgrammingVirtual MemoryLockingLocking MechanismsPreemptive MultithreadingSpinlocks
In native Linux systems, spinlock's implementation relies on the assumption that both the lock holder thread and lock waiter threads cannot be preempted. However, in a virtualized environment, these threads are scheduled on top of virtual CPUs (vCPU) that can be preempted by the hypervisor at any time, thus forcing lock waiter threads on other vCPUs to busy wait and to waste CPU cycles. This leads to the well-known Lock Holder Preemption (LHP) and Lock Waiter Preemption (LWP) issues.
17
Xen and the art of virtualization
Paul Barham, Boris Dragovic, Keir Fraser et al. · ACM SIGOPS Operating Systems Review · 2003 · 5.9K citations
Xen and the art of virtualization
Paul Barham, Boris Dragovic, Keir Fraser et al. · 2003 · 2.1K citations
Diagnosing performance overheads in the xen virtual machine environment
Aravind Menon, Jose Renato Santos, Yoshio Turner et al. · 2005 · 534 citations · Full text