~/talk

Mitigating Excessive Pause-Loop-Exiting in VM-Agnostic KVM

Talkat KVM Forum 2021 · 2021-09-15..09-16· [kubernetes]
links:none on file
slides:none on file

Identifies excessive Pause-Loop-Exiting (PLE) caused by continuous spinning—over 100 back-to-back PLEs make up >20% of events in some benchmarks—and implements two targeted mitigations: strict boost (better candidate selection: boost IPI receivers in user mode; avoid boosting halted vCPUs) and booster mitigation (temporarily lower local vCPU priority so the scheduler accepts hypervisor boost requests). Changes land in Linux KVM 5.6.0 as 41 lines of code, tested on two 8-vCPU VMs on an 8-core server, cutting PLEs and improving runtime up to 40% and throughput up to 75%.

AI-written summary · about

  1. 0:00Intro
  2. 0:37Oversubscribing virtual CPUs
  3. 1:04Critical section on PCPU
  4. 2:47Improving guest performance by solving excessive vCPU spinning
  5. 3:59KVM approach with hardware feature
  6. 4:29KVM's strategy to suppress PLE events
  7. 5:21What happens in the worst case!
  8. 6:28Continuous PLE events are NOT rare
  9. 7:56Why PLE events occur continuously?
  10. 9:01How to select candidate vCPU
  11. 11:03Mitigation: Strict Boost
  12. 11:36Problem: Scheduler Mismatch
  13. 12:16Case Study: Scheduler Mismatch
  14. 14:00Mitigation: Debooster
  15. 14:34Implementation
  16. 14:50Experimental Setup
  17. 15:02Evaluation: Reduction of PLE Occurrences
  18. 15:29Evaluation System Fairness
  19. 15:48Conclusion
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.