x86: improve remote CPU wakeup
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 8 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | x86: suppress event check IPI to MWAITing CPUsxen/ xen/ xen/ +1 more | +42 | 4 replies | |
| 2/2 | x86/HVM: batch vCPU wakeupsxen/ xen/ xen/ | +146 | 3 replies |
Reviews trailers per patch
All 2 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Andrew Cooper | Tim Deegan |
|---|---|---|
| Series | R-b | |
| 1/2 | R-b | |
| 2/2 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/2] x86: improve remote CPU wakeup
Mass wakeups (via vlapic_ipi()) can take enormous amounts of time, especially when many of the remote pCPU-s are in deep C-states. For 64-vCPU Windows Server 2012 R2 guests on Ivybridge hardware, accumulated times of over 2ms were observed (average 1.1ms). Considering that Windows broadcasts IPIs from its timer interrupt, which at least at certain times can run at 1kHz, it is clear that this can't result in good guest behavior. In fact, on said hardware guests with significantly beyond 40 vCPU-s simply hung when e.g. ServerManager gets started.
The two patches bring down the average to 250us on said hardware.
1: x86: suppress event check IPI to MWAITing CPUs
2: x86/HVM: batch vCPU wakeups