scionproto / scion

SCION Internet Architecture
https://www.scion-architecture.net/
Apache License 2.0
369 stars 156 forks source link

router: avoid gc and copy #4539

Open jiceatscion opened 3 weeks ago

jiceatscion commented 3 weeks ago

This is a branch from a branch. Just because the changes were getting a bit too many. I am ok to merge this one directly, or to do it in two steps. Either way.

Fixes #4553

matzf commented 3 weeks ago

This change is Reviewable

jiceatscion commented 2 weeks ago

These changes together bring about 10% throughput increase (one very lucky observation showed a 20% improvement but that didn't stick). The brload improvement (of the same magnitude) was needed as it wasn't able to saturate the router any more. Not only did this cap the measured throughput, but also made the CI check fail.