Hello all,I installed Alt-F this weekend on my DNS-321 and noticed that my performance over SMB was not as good as the stock firmware. I found a post where someone who was running a similarly underpowered NAS device recommended disabling sendfile in smb.conf. My speed went from about 6-7 MB/s to about 12-13MB/s.
Not bad! I did try screwing around with jumbo frames, but didn't see much of a difference.In the stock smb.conf that comes with Alt-F, there is a line that explicitly sets sendfile to on. All you have to do is change the yes to a no and restart the service.YMMV, of course, but I thought I'd add my experience to the group so that others might be able try the same and see if it helps.
Nathan A. Stine
On Monday, 4 May 2015 22:31:18 UTC+1, Nathan Stine wrote:Hello all,I installed Alt-F this weekend on my DNS-321 and noticed that my performance over SMB was not as good as the stock firmware. I found a post where someone who was running a similarly underpowered NAS device recommended disabling sendfile in smb.conf. My speed went from about 6-7 MB/s to about 12-13MB/s.You are taking here of Alt-F or the D-Link firmware? My default throughput is also 10/12 MB/s with sendfile enabled.And sendfile was enabled by default after some users report that their throughput increased when setting it!
Not bad! I did try screwing around with jumbo frames, but didn't see much of a difference.In the stock smb.conf that comes with Alt-F, there is a line that explicitly sets sendfile to on. All you have to do is change the yes to a no and restart the service.YMMV, of course, but I thought I'd add my experience to the group so that others might be able try the same and see if it helps.Thanks!Unfortunately Samba has some 3 hundred tunable parameters, and each user experience is different from other users. It depends on network setup, usage, and target OS -- Win6/7/8/linux...
Nathan A. Stine