small tun(4) improvement
Andre Oppermann
oppermann at networx.ch
Thu Oct 14 11:01:46 PDT 2004
Gleb Smirnoff wrote:
>
> Collegues,
>
> any objections about commiting this improvement to tun(4)?
> In my ng_device I have a similar function ngdwrite(), which was
> cut-n-pasted from tunwrite(). And my tests with a patched ng_device have
> shown 30% speedup on large writes. I don't think it will help tun(4)
> to be a much faster, since tunwrite() isn't a bottleneck, but I think
> it is worth considering. The patch was tested on a production PPPoE access
> concentrator (RELENG_4 however).
Could you check tap(4) as well? You can do the same optimization there
as well (IIRC).
--
Andre
More information about the freebsd-net
mailing list