IonutZ
Contributor
- Joined
- Aug 17, 2014
- Messages
- 108
Hey guys, I've been dealing with some issues on my CIFS shares. Listing folder contents from Windows takes a very long time. I have folders with over 30-50k files and it will take up to 10 seconds to open them at times.
I've turned AutoTune on and added the regular CIFS Auxiliary settings:
I noticed that my ARC isn't being used very much. I have around 4TB of files and my arc is only being used @ 2GB. I attached a copy of the arc_summary.py output.
I've turned AutoTune on and added the regular CIFS Auxiliary settings:
socket options = TCP_NODELAY IPTOS_LOWDELAY SO_KEEPALIVE SO_RCVBUF=98304 SO_SNDBUF=98304
I also created a script that will do a recursive ls on all my folders every hour in an attempt to keep them in cache - and that works (sort of) but to me that's a quick fix if anything.
I noticed that my ARC isn't being used very much. I have around 4TB of files and my arc is only being used @ 2GB. I attached a copy of the arc_summary.py output.
vfs.zfs.arc_max is set at 29gb by AutoTune (I have 32gb of ram)
I set net.inet.tcp.recvbuf_max and net.inet.tcp.sendbuf_max and kern.ipc.maxsockbuf to 131072 (from a bigger number as per the recommendation of an user from here)
SO_SNDBUF from what I've read can be set as high as you want because it'll only yield an increase in performance up until a certain point (but doesn't negatively impact performance the higher you go).
I'm currently at a loss... any help would be very much appreciated. Also my Windows clients (that are seeing slow folder lists) are connected on SMB3.0 protocol.I set net.inet.tcp.recvbuf_max and net.inet.tcp.sendbuf_max and kern.ipc.maxsockbuf to 131072 (from a bigger number as per the recommendation of an user from here)
SO_SNDBUF from what I've read can be set as high as you want because it'll only yield an increase in performance up until a certain point (but doesn't negatively impact performance the higher you go).
Also turned atime off on my volumes.