[mythtv-users] Optimising a diskless frontend

Matt Mossholder matt at mossholder.com
Tue Feb 28 02:46:21 UTC 2006


You might want to investigate these sysctl settings for both NFS and
CIFS/SMB:

net.ipv4.tcp_window_scaling=1
net.core.rmem_max = 16777216
net.core.wmem_max = 16777216
net.core.rmem_default = 5242880
net.core.wmem_default = 5242880
net.ipv4.tcp_rmem = 262144 5242880 16777216
net.ipv4.tcp_wmem = 262144 5242880 16777216
net.core.netdev_max_backlog=2500

I'm using these with GigE and they really do make quite a difference,
along with setting appropriate rsize and wsize settings. I'm getting
something on the order of 800Mb/s in raw bandwidth tests between systems
using the settings above. These may be a bit overkill, but I have enough
RAM on my systems not to worry about it too much. The important thing is
the setting names themselves. 

Another thing to consider is your choice of NIC card... newer NICs have
checksum and/or segmentation offloading, which can also make things a
bit peppier.

		--Matt




More information about the mythtv-users mailing list