The nfs max block size is set according to the server's memory amount; on a dns-325/320l, which have 256MB of memory, it is set to 32KB.
Increasing this will reduce the amount of memory available for other OS sub-systems, such as page/file caching, and the overall effect can be negative (even if a simple file transfer "benchmark" shows that throughput has increased). Global system performance has to be taken into account.
If however you want to increase it, stop NFS, edit /etc/init.d/S60nfs changing
if ! test -f /proc/fs/nfsd/exports; then
mount -t nfsd nfsd /proc/fs/nfsd
echo 65536 > /proc/fs/nfsd/max_block_size # add this line and your value
fi
and restart NFS
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The nfs max block size is set according to the server's memory amount; on a dns-325/320l, which have 256MB of memory, it is set to 32KB.
Increasing this will reduce the amount of memory available for other OS sub-systems, such as page/file caching, and the overall effect can be negative (even if a simple file transfer "benchmark" shows that throughput has increased). Global system performance has to be taken into account.
If however you want to increase it, stop NFS, edit /etc/init.d/S60nfs changing
and restart NFS
Got it, thanks a lot.
PS. May be add to web interface :)
close by svn commit 3301:
NFS webUI: add an entry to specify the max NFS block size
closes ticket https://sourceforge.net/p/alt-f/featurerequests/29/