diff options
| author | Cameron Finucane <eep@google.com> | 2022-09-19 15:59:09 -0700 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2022-09-20 09:16:56 +0200 |
| commit | 7c41a9ba554969dd7b2ed8136cff49147972e122 (patch) | |
| tree | 3b4a5532896383d8ba508466ffedc59e5fb611cf /vm | |
| parent | dd9a85ff356d74a765888403f1b70faece9e642b (diff) | |
vm/qemu: relax Fuchsia lockup detector thresholds
Running with nested virtualization, this was causing many false
positives, so we relax it to a similar level as used for Linux targets.
Diffstat (limited to 'vm')
| -rw-r--r-- | vm/qemu/qemu.go | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/vm/qemu/qemu.go b/vm/qemu/qemu.go index fc12e76ea..602cc4fb4 100644 --- a/vm/qemu/qemu.go +++ b/vm/qemu/qemu.go @@ -232,6 +232,14 @@ var archConfigs = map[string]*archConfig{ CmdLine: []string{ "kernel.serial=legacy", "kernel.halt-on-panic=true", + // Set long (300sec) thresholds for kernel lockup detector to + // prevent false alarms from potentially oversubscribed hosts. + // (For more context, see fxbug.dev/109612.) + "kernel.lockup-detector.critical-section-threshold-ms=300000", + "kernel.lockup-detector.critical-section-fatal-threshold-ms=300000", + "kernel.lockup-detector.heartbeat-period-ms=300000", + "kernel.lockup-detector.heartbeat-age-threshold-ms=300000", + "kernel.lockup-detector.heartbeat-age-fatal-threshold-ms=300000", }, }, "akaros/amd64": { |
