Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 17 Dec 2016 10:43:52 +0100
From:      =?UTF-8?Q?Olivier_Cochard=2DLabb=C3=A9?= <olivier@cochard.me>
To:        Slawa Olhovchenkov <slw@zxy.spb.ru>
Cc:        Julian Elischer <julian@freebsd.org>, freebsd-current <freebsd-current@freebsd.org>
Subject:   Re: FreeBSD system profiling and tuning for 10, 11 and 12
Message-ID:  <CA%2Bq%2BTcoHL1mbLG3rZPSFwhAL37HzuCHXnzo9Y4wkQQ-LP-x-AQ@mail.gmail.com>
In-Reply-To: <20161217091954.GE90401@zxy.spb.ru>
References:  <ccf8774d-21e0-360e-3dee-8f7b5a38f829@freebsd.org> <20161217091954.GE90401@zxy.spb.ru>

index | next in thread | previous in thread | raw e-mail

On Sat, Dec 17, 2016 at 10:19 AM, Slawa Olhovchenkov <slw@zxy.spb.ru> wrote:

>
> ===
> On FreeBSD older than 11.0, use more compact ip_fastfoward routine. It
> processes most packets falling back to 'normal' forward routine for
> fragments, packets with options, etc. Can save you up to 20% speed
> (but will break IPSec).
>
>     net.inet.ip.fastforwarding=1
> ===
>
> I am not found in 11/12 this sysctl/tunable.
>

​Yes, this sysctl is available "on FreeBSD ​older than 11.0". It's was
improved, renamed tryforward, and it's the default method since 11.0.


> ===
> Skip feeding /dev/random from network by adding harvest_mask="351" to
> /etc/rc.conf or theses line to /etc/sysctl.conf:
>
>     kern.random.sys.harvest.ethernet=0
>     kern.random.sys.harvest.point_to_point=0
>     kern.random.sys.harvest.interrupt=0
> ===
>
> On 11:
> # sysctl kern.random.sys.harvest
> sysctl: unknown oid 'kern.random.sys.harvest'
>


​Oops, I've updated the wiki here: thanks.


help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CA%2Bq%2BTcoHL1mbLG3rZPSFwhAL37HzuCHXnzo9Y4wkQQ-LP-x-AQ>