fix: benchmark pasta, not slirp4netns - #615
Merged
AkihiroSuda merged 2 commits intoJul 26, 2026
Merged
Conversation
Signed-off-by: Hayato Kiwata <dev@haytok.jp>
Signed-off-by: Hayato Kiwata <dev@haytok.jp>
AkihiroSuda
reviewed
Jul 26, 2026
| |`gvisor-tap-vsock` | 1.55 Gbps | 5.40 Gbps | ||
| |`lxc-user-nic` | 29.3 Gbps | 30.4 Gbps | ||
| |(rootful veth) | (35.0 Gbps)| (36.2 Gbps) | ||
| |`slirp4netns` | 1.69 Gbps | 8.11 Gbps |
Member
There was a problem hiding this comment.
I guess the GHA machine spec was recently upgraded?
AkihiroSuda
reviewed
Jul 26, 2026
| |`slirp4netns` | 1.69 Gbps | 8.11 Gbps | ||
| |`slirp4netns` (with sandbox + seccomp) | 1.68 Gbps | 8.32 Gbps | ||
| |`vpnkit` | 0.14 Gbps |(Unsupported) | ||
| |`pasta` | 0.24 Gbps | 31.9 Gbps |
Member
There was a problem hiding this comment.
Seems extremely sensitive to MTU 👀
Eventually we should also have some benchmark with the real Internet
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The
benchmark::iperf3::pastafunction was running rootlesskit with--net=slirp4netnsAs a result, the Benchmark: Network (MTU=65520, network driver=pasta) jobs in the CI have been measuring
slirp4netns, notpasta.After applying this fix,
./benchmark-iperf3-net.sh pasta 65520benchmarksrootlesskit --state-dir=<state> --net=pasta --mtu=65520 -- iperf3 -t 30 -c 10.0.2.2Details
Note that since updating the benchmark script changes the benchmark results, I have also updated the documentation.