Easy way to accelerate file transfer:
- find use sendfile = yes in SAMBA config,
- replace “yes” to “no”, then restart SMBD.
Note: that sendfile() is a kernel specific and implemented for every filesystem separately. For example, with kernel 3.0 + uClibc 0.9.32 + EXT4 turning this option off will degrade SAMBA perfomance.