Will we ever see samba 4.4+ for smb3/multipath and such
Not anytime soon. Someone would have to patch it for multicall binary support for starter, or else it would eat up 10-15 MB of flash space.
Will we ever see samba 4.4+ for smb3/multipath and such
Thank you Merlin for looking at this. It's not breaking anything, but it's not optimal either!For some reason, Asus only adds it for SDK7.14 (AC88/AC3100/AC5300) and for older MIPS devices (N66/AC66). I suspect it's actually a bug, and they intend the MIPS version to also apply to the pre-SDK7 ARM. Code follows:
Code:#ifdef RTCONFIG_BCMARM #ifdef RTCONFIG_BCM_7114 fprintf(fp, "socket options = IPTOS_LOWDELAY TCP_NODELAY SO_RCVBUF=131072 SO_SNDBUF=131072\n"); #endif #else fprintf(fp, "socket options = TCP_NODELAY SO_KEEPALIVE SO_RCVBUF=65536 SO_SNDBUF=65536\n"); #endif
I will have to look back to last year's code to see what it used to be before SDK7 got added into the mix.
Hello RMerlin, what about the RT-3200AC ? I understand it has the same RAM as the big brothers but is it not considered MIPs ? would it make sense to configure this router as candidate for the TCP_NODELAY but with big buffers ?
I'll be glad to test it out as much as you need! Thanks for taking the time to look into this Merlin !I checked the git history, and for some reason Asus never configured these parameters for ARM routers - only MIPS (and now ARM under SDK 7.14).
Could be because these were already the default values. In any case I will add the same parameters as the SDK 7.14 ones but with the smaller buffers (to account for the lower amount of memory on these older ARM models). We'll see if people start complaining about loss of performance with these.
I'll be glad to test it out as much as you need! Thanks for taking the time to look into this Merlin !
socket options = IPTOS_LOWDELAY TCP_NODELAY SO_RCVBUF=65536 SO_SNDBUF=65536
------------------------------------------------------------------------------
ROBOCOPY :: Robust File Copy for Windows
------------------------------------------------------------------------------
Started : Wed Apr 06 20:01:35 2016
Source : d:\test\
Dest : \\TRISTANIA\Media\
Files : *.*
Options : *.* /COPY:DAT /R:1000000 /W:30
------------------------------------------------------------------------------
1 d:\test\
*EXTRA Dir -1 \\TRISTANIA\Media\Downloads\
*EXTRA Dir -1 \\TRISTANIA\Media\Music\
*EXTRA Dir -1 \\TRISTANIA\Media\Music to organize\
*EXTRA Dir -1 \\TRISTANIA\Media\Pictures\
*EXTRA Dir -1 \\TRISTANIA\Media\Reorganized Music\
*EXTRA Dir -1 \\TRISTANIA\Media\Videos\
100% New File 1.8 g test.mp4
------------------------------------------------------------------------------
Total Copied Skipped Mismatch FAILED Extras
Dirs : 1 0 1 0 0 6
Files : 1 1 0 0 0 0
Bytes : 1.853 g 1.853 g 0 0 0 0
Times : 0:00:58 0:00:58 0:00:00 0:00:00
Speed : 33984146 Bytes/sec.
Speed : 1944.588 MegaBytes/min.
Ended : Wed Apr 06 20:02:34 2016
------------------------------------------------------------------------------
ROBOCOPY :: Robust File Copy for Windows
------------------------------------------------------------------------------
Started : Wed Apr 06 19:55:11 2016
Source : d:\test\
Dest : \\TRISTANIA\Media\
Files : *.*
Options : *.* /COPY:DAT /R:1000000 /W:30
------------------------------------------------------------------------------
1 d:\test\
*EXTRA Dir -1 \\TRISTANIA\Media\Downloads\
*EXTRA Dir -1 \\TRISTANIA\Media\Music\
*EXTRA Dir -1 \\TRISTANIA\Media\Music to organize\
*EXTRA Dir -1 \\TRISTANIA\Media\Pictures\
*EXTRA Dir -1 \\TRISTANIA\Media\Reorganized Music\
*EXTRA Dir -1 \\TRISTANIA\Media\Videos\
100% New File 1.8 g test.mp4
------------------------------------------------------------------------------
Total Copied Skipped Mismatch FAILED Extras
Dirs : 1 0 1 0 0 6
Files : 1 1 0 0 0 0
Bytes : 1.853 g 1.853 g 0 0 0 0
Times : 0:01:58 0:01:58 0:00:00 0:00:00
Speed : 16855042 Bytes/sec.
Speed : 964.453 MegaBytes/min.
Ended : Wed Apr 06 19:57:09 2016
more /etc/smb.confwhere can the current smb.conf file be found?
Somehow I can't reproduce the speed I was getting before going on this mission to improve the throughput of transfers... I find it odd, but at least speed has improved.
smb encrypt = disabled
use spnego = no
client use spnego = no
disable spoolss = yes
strict allocate = no
strict locking = no
use sendfile = no
oplocks = yes
level2 oplocks = yes
kernel oplocks = yes
Welcome To SNBForums
SNBForums is a community for anyone who wants to learn about or discuss the latest in wireless routers, network storage and the ins and outs of building and maintaining a small network.
If you'd like to post a question, simply register and have at it!
While you're at it, please check out SmallNetBuilder for product reviews and our famous Router Charts, Ranker and plenty more!