I'm using Samba to share a folder from Linux to a Windows client (Windows Server 2012 R2). The disk backing the Linux share is pretty fast (NAS of 500+ MB/s). However, when I benchmark the IO performance from Windows machine, I can only get around 200 MB/s.
Here is what I have tried so far:
Set these options (improve from 100 MB/s to 200 MB/s)
aio read size = 1 aio write size = 1 aio write behind = true
Set these options (no improvement)
socket options=SO_RCVBUF=131072 SO_SNDBUF=131072 TCP_NODELAY
What can I do do to improve the IO performance?