~/talk

A Hidden Cost of Virtualization When Scaling Multicore Applications

Talkat HotCloud '13 · 2013-06-25..06-26· [linux-and-operating-systems]
links:none on file
links:none on file
links:none on file
slides:none on file

Measured on PARSEC and SPLASH-2x workloads, scaling a VM to many virtual cores can slow some apps by up to 583% slowdown compared to bare metal because the VMM interrupts to handle IPIs and reschedule virtual cores whenever threads block and unblock. Microbenchmarks show wakeup jumps from ~8µs to ~37µs when cores are suspended. Two practical mitigations cut the loss: idleness consolidation (pack threads onto fewer vCPUs) and IPI-free wakeup (avoid VMM-injected IPIs), which together substantially reduce the slowdowns.

AI-written summary · about

  1. 0:00Intro
  2. 0:28More Virtual Cores per VM is the Trend Amazon EC2 offers instances with 32 virtual cores.
  3. 2:00The Cost of Virtualization for Multicore Applications
  4. 4:05Extra Costs Must be paid for Blocking Synchronization in VM When threads are blocked at synchronization points - virtual cores become idle - Idle virtual cores are suspended by VMM
  5. 12:26Correlation between Application Slowdowns and Virtual Core Status Switches
  6. 16:17Basic Idea - Idleness Consolidation
  7. 20:35Slowdowns of the Benchmarks (with and without Mechanisms in Gleaner)
  8. 21:53Conclusion An understudied problem for running multicore applications in the cloud - The problem is caused block-synchronization in VMs. - A lot of work on VM overhead focuses 10 operations
  9. 24:59Costs of Rescheduling a Virtual Core and Handling IPI
~/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.