Skip to content

Commit fc931c4

Browse files
authored
Update the gVisor release to 20261102.0 (#3574)
gvisor-default gains v7, release 20261102.0, as its default version. v6 stays enabled, so actors with memory snapshots taken on v6 still restore with their memory. The new gVisor release includes some reliability fixes such as: - Systrap no longer crashes sandboxes at high density. It now recognizes host stalls, such as a cgroup freeze, and stops killing stub threads that only look stuck (gvisor/gvisor@a5b7936e84dd). - Resumed actors no longer fire all their pending timers at once, because CLOCK_MONOTONIC stops counting checkpointed time. Clock reads are fast right after a restore (gvisor/gvisor@25172e526f45). - Apps no longer freeze while a large memory region loads during a background restore, which lowers resume latency for big actors (gvisor/gvisor@ffc048011e1b, gvisor/gvisor@ae286a28ef26). - Checkpoint no longer stats every cached file. For actors with many files, such as node_modules, the pause drops from seconds to milliseconds (gvisor/gvisor@8229bcb7a7b6). - Disk-backed overlay pages no longer count as memory after a restore, and long-lived sandboxes no longer grow memory for each file they touch (gvisor/gvisor@aa767e4c43d0, gvisor/gvisor@b24cc9724102). AI use: AI-assisted, I reviewed and tested it. - [x] Tests pass - [x] Docs updated Signed-off-by: Nayana Bidari <[email protected]>
1 parent a9fe809 commit fc931c4

2 files changed

Lines changed: 25 additions & 2 deletions

File tree

‎docs/reference/api-guide.md‎

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -623,7 +623,7 @@ metadata:
623623
sandboxconfig.ate.dev/is-class-default: "true"
624624
spec:
625625
sandboxClass: gvisor
626-
defaultVersion: v6
626+
defaultVersion: v7
627627
versions:
628628
- name: v6
629629
state: Enabled
@@ -636,6 +636,17 @@ spec:
636636
gvisor:
637637
url: "gs://gvisor/releases/release/20261026.0/aarch64/gvisor.tar.zstd"
638638
sha256: "6257e49955f13e6caceb2c4181c5dc5406c460e805940c944e67ad65553f5b02"
639+
- name: v7
640+
state: Enabled
641+
assets:
642+
amd64:
643+
gvisor:
644+
url: "gs://gvisor/releases/release/20261102.0/x86_64/gvisor.tar.zstd"
645+
sha256: "a1439ffbba7d212e0fde32ea79fa9bb51cbc4c5f6c16af1f047260290b861d42"
646+
arm64:
647+
gvisor:
648+
url: "gs://gvisor/releases/release/20261102.0/aarch64/gvisor.tar.zstd"
649+
sha256: "f702ae92ad7a0c4134be34ca23f52966dbb696db0c0f5b8ec439210ab2cd7c6a"
639650
```
640651

641652
### MicroVM SandboxConfig

‎manifests/ate-install/sandboxconfig-gvisor.yaml‎

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ metadata:
3131
sandboxconfig.ate.dev/is-class-default: "true"
3232
spec:
3333
sandboxClass: gvisor
34-
defaultVersion: v6
34+
defaultVersion: v7
3535
versions:
3636
# gVisor release 20261026.0. ateworker-gvisor saves container rootfs overlays
3737
# (rootfs/) and durable-dir volumes (fs/) as separate checkpoint bundles. That
@@ -50,3 +50,15 @@ spec:
5050
gvisor:
5151
url: "gs://gvisor/releases/release/20261026.0/aarch64/gvisor.tar.zstd"
5252
sha256: "6257e49955f13e6caceb2c4181c5dc5406c460e805940c944e67ad65553f5b02"
53+
# gVisor release 20261102.0.
54+
- name: v7
55+
state: Enabled
56+
assets:
57+
amd64:
58+
gvisor:
59+
url: "gs://gvisor/releases/release/20261102.0/x86_64/gvisor.tar.zstd"
60+
sha256: "a1439ffbba7d212e0fde32ea79fa9bb51cbc4c5f6c16af1f047260290b861d42"
61+
arm64:
62+
gvisor:
63+
url: "gs://gvisor/releases/release/20261102.0/aarch64/gvisor.tar.zstd"
64+
sha256: "f702ae92ad7a0c4134be34ca23f52966dbb696db0c0f5b8ec439210ab2cd7c6a"

0 commit comments

Comments
 (0)