Commit 1849793
Mask apt-daily timers in SPEC CPU profiles to prevent VC restarts on Ubuntu 24.04
On Ubuntu 24.04, apt-daily-upgrade.timer fires between 06:00-07:00 UTC
and triggers needrestart (default installed on 24.04, not 22.04) which
auto-restarts services whose libraries were updated. This has been
observed to SIGKILL VirtualClient mid-run, desynchronizing packed
SPEC CPU experiments and invalidating results.
Analysis of ~4,700 Ubuntu 24.04 SYSAUTO VMs showed ~29% restart rate,
with 80% concentrated at hour 6 UTC and minute-of-hour distribution
uniform 0-59 (signature of RandomizedDelaySec=60min on the timer).
Ubuntu 22.04, Windows, and focal VMs showed 0% restarts in the same
window.
Masking both apt-daily.timer and apt-daily-upgrade.timer (plus their
services) as a dependency step at profile startup removes the trigger.
Filtered to linux-x64,linux-arm64 via SupportedPlatforms.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent 8763ac1 commit 1849793
4 files changed
Lines changed: 32 additions & 0 deletions
File tree
- src/VirtualClient/VirtualClient.Main/profiles
Lines changed: 8 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
44 | 52 | | |
45 | 53 | | |
46 | 54 | | |
| |||
Lines changed: 8 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
44 | 52 | | |
45 | 53 | | |
46 | 54 | | |
| |||
Lines changed: 8 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
44 | 52 | | |
45 | 53 | | |
46 | 54 | | |
| |||
Lines changed: 8 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
44 | 52 | | |
45 | 53 | | |
46 | 54 | | |
| |||
0 commit comments