Re: FreeBSD system profiling and tuning for 10, 11 and 12

From: Olivier Cochard-Labbé <olivier_at_cochard.me>
Date: Sat, 17 Dec 2016 10:43:52 +0100
On Sat, Dec 17, 2016 at 10:19 AM, Slawa Olhovchenkov <slw_at_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.
Received on Sat Dec 17 2016 - 08:44:14 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:09 UTC