mirror of
https://github.com/agent-substrate/substrate.git
synced 2026-11-10 10:13:50 +08:00
Follow-up to #847 cloud-hypervisor v53 ships guest clock updates: https://github.com/cloud-hypervisor/cloud-hypervisor/releases#:~:text=Guest%20Clock%20Updates%20Across%20Snapshot/Restore%20and%20Migration In v52, we've been booting to systemd => {chrony, journald, kata-agent} We don't really have much use for journald, as we get logs from containers already. chrony however was load-bearing to re-sync the clock on resume, and therefore systemd was load-bearing (to run chronyd + kata-agent). We don't need chrony anymore (tested with long suspend and probing the reported time in the actor), so we can boot directly to the agent. This buys us some startup time, and it drops the memory floor by ~40MB. On golden for counter demo this is ~-26%. Reducing memory snapshot size speeds up snapshot/restore.