Register for the iXsystems Community to get an ad-free experience and exclusive discounts in our eBay Store.

LAN performance

Status
Not open for further replies.

jpaetzel

FreeNAS Core Team
iXsystems
Joined
May 27, 2011
Messages
226
Thanks
89
#1
FreeBSD is tuned to handle WAN connections, with decent LAN performance. If you know you're going to be doing exclusively low latency / high bandwidth connections, such as you see with a typical NAS device, you can make a few changes that will sacrifice WAN performance and increase LAN performance.

One change you can make that will not harm LAN performance, and has a good chance of increasing it, is to disable nagle's algorithm.

In FreeNAS this can be done by adding a sysctl, under the system menu.

The variable is net.inet.tcp.delayed_ack and the value is 0.
 
Joined
Sep 5, 2012
Messages
26
Thanks
1
#2
FreeBSD is tuned to handle WAN connections, with decent LAN performance. If you know you're going to be doing exclusively low latency / high bandwidth connections, such as you see with a typical NAS device, you can make a few changes that will sacrifice WAN performance and increase LAN performance.

One change you can make that will not harm LAN performance, and has a good chance of increasing it, is to disable nagle's algorithm.

In FreeNAS this can be done by adding a sysctl, under the system menu.

The variable is net.inet.tcp.delayed_ack and the value is 0.
[Despite the fact that it's largely obsolete] tuning(7) says otherwise about net.inet.tcp.delayed_ack. Setting the global sysctl as opposed to the SMB socket option might not be a wise idea, and there are other options that can be used to tune samba (see the "Performance Tuning" chapter in the Samba manual).
 
Status
Not open for further replies.
Top