Samba/Linux performance tweaks?

Benn, Paul paul.benn at netapp.com
Wed May 12 05:36:01 GMT 1999


Does this setting depend on the amount of RAM installed? If so, what would the
recommended setting be for an Intel based SMP box with 256MB RAM running RedHat
6?

-----from a message Jeremy Allison posted----
b). What will give the most performance benefit is to tell
Linux to use most of main memory for file cache and to
keep it in memory for a long time. To do this add the line :

echo "80 500 64 64 80 6000 6000 1884 2" >/proc/sys/vm/bdflush

to your rc.local. This tells Linux to use 80% of memory
for file system cache and to keep it around for as long
as possible.



Are there any recommended Samba tweaks other than these?

-----from a message that Juan Carlos Castro y Castro posted-----
socket options = TCP_NODELAY SO_SNDBUF=8192 SO_RCVBUF=8192
read prediction = yes
debug level = 0	;yeah, explicit - the default seems not to be 0


Thanks,

Paul


More information about the samba mailing list