NAS storage system performance optimization

NAS

Network attach storage, there are two protocol NFS(Linux) and CIFS(windows)

NFS

1.use UDP or TCP
2.modify rsize and wsize
3.use sync or async

CIFS

1.smb or smb2
2.modify rsize and wsize
3.prefetch

Tools

Watch the memory,disk I/O and net speed.
1.vmstat
2.cat /proc/cpuinfo, /proc/meminfo, /proc/net/dev

Reference