You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Brad Fitzpatrick
20a5f939ba
wgengine/filter: add UDP flow benchmark
To show the effects of the flow LRU accounting on e.g. QUIC traffic.
For an open TCP connection:
BenchmarkFilterMatch/tcp-not-syn-v4-8 66602070 16.74 ns/op
BenchmarkFilterMatch/tcp-not-syn-v4-8 67718179 16.60 ns/op
BenchmarkFilterMatch/tcp-not-syn-v4-8 68403351 16.84 ns/op
BenchmarkFilterMatch/tcp-not-syn-v4-8 66076416 16.87 ns/op
BenchmarkFilterMatch/tcp-not-syn-v4-8 67159012 16.67 ns/op
BenchmarkFilterMatch/tcp-not-syn-v4-8 65009526 16.58 ns/op
BenchmarkFilterMatch/tcp-not-syn-v4-8 66588055 16.62 ns/op
BenchmarkFilterMatch/tcp-not-syn-v4-8 63037071 16.58 ns/op
BenchmarkFilterMatch/tcp-not-syn-v4-8 69124975 21.15 ns/op
BenchmarkFilterMatch/tcp-not-syn-v4-8 54482922 20.41 ns/op
And an open UDP connection:
BenchmarkFilterMatch/udp-existing-flow-v4-8 25570020 44.09 ns/op
BenchmarkFilterMatch/udp-existing-flow-v4-8 26725958 46.99 ns/op
BenchmarkFilterMatch/udp-existing-flow-v4-8 25936412 47.11 ns/op
BenchmarkFilterMatch/udp-existing-flow-v4-8 25418325 45.99 ns/op
BenchmarkFilterMatch/udp-existing-flow-v4-8 25759848 44.73 ns/op
BenchmarkFilterMatch/udp-existing-flow-v4-8 25212488 46.26 ns/op
BenchmarkFilterMatch/udp-existing-flow-v4-8 25344370 44.55 ns/op
BenchmarkFilterMatch/udp-existing-flow-v4-8 26399372 45.26 ns/op
BenchmarkFilterMatch/udp-existing-flow-v4-8 26274159 47.51 ns/op
BenchmarkFilterMatch/udp-existing-flow-v4-8 26070472 46.79 ns/op
Updates #12486
Change-Id: Ica4263fb77972cf43db5a2e9433b4429506edfde
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
|
2 years ago |
| .. |
|
bench
|
ipn/ipnlocal, all: plumb health trackers in tests
|
2 years ago |
|
capture
|
various: add golangci-lint, fix issues (#7905)
|
3 years ago |
|
filter
|
wgengine/filter: add UDP flow benchmark
|
2 years ago |
|
magicsock
|
wgengine/magicsock: use math/rands/v2
|
2 years ago |
|
netlog
|
wgengine: add exit destination logging enable for wgengine logger (#11952)
|
2 years ago |
|
netstack
|
net/ipset, wgengine/filter/filtertype: add split-out packages
|
2 years ago |
|
router
|
health: begin work to use structured health warnings instead of strings, pipe changes into ipn.Notify (#12406)
|
2 years ago |
|
wgcfg
|
ipn,wgengine: remove vestigial Prefs.AllowSingleHosts
|
2 years ago |
|
wgint
|
wgengine{,/wgint}: add wgint.Peer wrapper type, add to wgengine.Engine
|
2 years ago |
|
wglog
|
all: use Go 1.22 range-over-int
|
2 years ago |
|
winnet
|
all: update copyright and license headers
|
3 years ago |
|
mem_ios.go
|
all: update copyright and license headers
|
3 years ago |
|
pendopen.go
|
wgengine: make pendOpen time later, after dup check
|
2 years ago |
|
userspace.go
|
net/ipset, wgengine/filter/filtertype: add split-out packages
|
2 years ago |
|
userspace_ext_test.go
|
ipn/ipnlocal, all: plumb health trackers in tests
|
2 years ago |
|
userspace_test.go
|
ipn/ipnlocal, all: plumb health trackers in tests
|
2 years ago |
|
watchdog.go
|
ipn/ipnlocal,net/tstun,wgengine: create and plumb jailed packet filter
|
2 years ago |
|
watchdog_js.go
|
all: update copyright and license headers
|
3 years ago |
|
watchdog_test.go
|
ipn/ipnlocal, all: plumb health trackers in tests
|
2 years ago |
|
wgengine.go
|
ipn/ipnlocal,net/tstun,wgengine: create and plumb jailed packet filter
|
2 years ago |