From 0455d0d28c4526937380505153e65a843d8612e8 Mon Sep 17 00:00:00 2001 From: MiaM1ku <61079068+MiaM1ku@users.noreply.github.com> Date: Wed, 11 Nov 2026 13:53:39 +0800 Subject: [PATCH] chore: bump embedded easytier-go core to keep guest memory off the Go heap (#3454) go.mod / go.sum: github.com/easytier/easytier/easytier-go v0.0.0-20260910071355-3d0c9c3ca5e2 -> v0.0.0-20261111015056-2abb1676b475 Upstream: easytier/easytier#2782 (690b6be4778f). Guest linear memory now lives outside the Go heap (PROT_NONE reservation committed in place), Hosts share one wazero CompilationCache, and the first compile is followed by FreeOSMemory. Measured on Alpha (one easytier outbound, 4 peers: 2 tcp + 2 udp, persistent flows through mihomo's SOCKS5 inbound, VmRSS): 200 flows: 389.9 MiB -> 205.1 MiB 400 flows: 702.0 MiB -> 287.9 MiB first dial: 220.1 MiB -> 107.8 MiB second outbound: +49.4 MiB / 2.0 s -> +12.4 MiB / 76 ms --- go.mod | 2 +- go.sum | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/go.mod b/go.mod index fc5f3ebe8..748fd5eb4 100644 --- a/go.mod +++ b/go.mod @@ -6,7 +6,7 @@ require ( github.com/bahlo/generic-list-go v0.2.0 github.com/coreos/go-iptables v0.8.0 github.com/dlclark/regexp2 v1.12.0 - github.com/easytier/easytier/easytier-go v0.0.0-20260910071355-3d0c9c3ca5e2 + github.com/easytier/easytier/easytier-go v0.0.0-20261111015056-2abb1676b475 github.com/enfein/mieru/v3 v3.39.0 github.com/gobwas/ws v1.4.0 github.com/gofrs/uuid/v5 v5.4.0 diff --git a/go.sum b/go.sum index d9477a70c..f1b11ab18 100644 --- a/go.sum +++ b/go.sum @@ -27,8 +27,8 @@ github.com/dlclark/regexp2 v1.12.0 h1:0j4c5qQmnC6XOWNjP3PIXURXN2gWx76rd3KvgdPkCz github.com/dlclark/regexp2 v1.12.0/go.mod h1:DHkYz0B9wPfa6wondMfaivmHpzrQ3v9q8cnmRbL6yW8= github.com/dunglas/httpsfv v1.0.2 h1:iERDp/YAfnojSDJ7PW3dj1AReJz4MrwbECSSE59JWL0= github.com/dunglas/httpsfv v1.0.2/go.mod h1:zID2mqw9mFsnt7YC3vYQ9/cjq30q41W+1AnDwH8TiMg= -github.com/easytier/easytier/easytier-go v0.0.0-20260910071355-3d0c9c3ca5e2 h1:2/9iRUcMR3QPrT2XFf/i7QV5YoSHPFjkgBM5tP8xbcc= -github.com/easytier/easytier/easytier-go v0.0.0-20260910071355-3d0c9c3ca5e2/go.mod h1:fCEi5+K2yt+sPDONSWO1uNpOifrwPgFGvm3J0YrFRvk= +github.com/easytier/easytier/easytier-go v0.0.0-20261111015056-2abb1676b475 h1:L5C1yfYJyzcX7lCWi6aEX8H/0gBKqnlGcVxaBfQVTY8= +github.com/easytier/easytier/easytier-go v0.0.0-20261111015056-2abb1676b475/go.mod h1:fCEi5+K2yt+sPDONSWO1uNpOifrwPgFGvm3J0YrFRvk= github.com/enfein/mieru/v3 v3.39.0 h1:22WJN9i7I4FrY1cTAVp5KfKOFm4sWrXVOXhqf5fkdr8= github.com/enfein/mieru/v3 v3.39.0/go.mod h1:zJBUCsi5rxyvHM8fjFf+GLaEl4OEjjBXr1s5F6Qd3hM= github.com/ericlagergren/aegis v0.0.0-20250325060835-cd0defd64358 h1:kXYqH/sL8dS/FdoFjr12ePjnLPorPo2FsnrHNuXSDyo=