Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Oct 2004 20:01:46 +0200
From:      Andre Oppermann <oppermann@networx.ch>
To:        Gleb Smirnoff <glebius@cell.sick.ru>
Cc:        net@freebsd.org
Subject:   Re: small tun(4) improvement
Message-ID:  <416EBF0A.CB1C0366@networx.ch>
References:  <20041014174225.GB49508@cell.sick.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?416EBF0A.CB1C0366>