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>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Dec 17, 2016 at 10:19 AM, Slawa Olhovchenkov <slw@zxy.spb.ru> wrote=
:

>
> =3D=3D=3D
> 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=3D1
> =3D=3D=3D
>
> I am not found in 11/12 this sysctl/tunable.
>

=E2=80=8BYes, this sysctl is available "on FreeBSD =E2=80=8Bolder than 11.0=
". It's was
improved, renamed tryforward, and it's the default method since 11.0.


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


=E2=80=8BOops, I've updated the wiki here: thanks.



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