[ANNOUNCE] WireGuard Snapshot `0.0.20180118` Available

Jason A. Donenfeld Jason at zx2c4.com
Thu Jan 18 18:44:26 CET 2018


On Thu, Jan 18, 2018 at 6:39 PM, Sebastian Gottschall
<s.gottschall at dd-wrt.com> wrote:
> i will do some benchmarks later. i already did this

https://git.zx2c4.com/WireGuard/commit/?id=91aedc06052856e4ac54dd48b1f6cb5ea4b3ba2e

This works well. But would you spend some time trying to get a more
optimal result and produce some precise numbers for your hardware?

> another interesting patch i made locally was compiling all sources as single
> by including a c files into a single small c source.
> this allows me to set all functions to static, so the compiler will remove
> unused code and is able to uninline things which are neccessary
> side effect. the compiled ko binary is 20% smaller :-)

Yep, old idea, but indeed works well. Too bad Linux doesn't have LTO.

Do you have a link to the kernel sources you're using?

Jason


More information about the WireGuard mailing list