[Samba] 32 seconds vs 72 minutes -- expected performance difference?

Saurabh Nanda saurabhnanda at gmail.com
Thu Feb 14 18:01:22 UTC 2019


> Apart from network capture, is there any debug logging that I can enable
> to give similar insights?
>

I found something interesting in /proc/fs/cifs/Stats. Notice the
"QueryDirectories > Failed" number. This keeps increasing as along as `ls
-lR` is running.

Resources in use
CIFS Session: 1
Share (unique mount targets): 2
SMB Request/Response Buffer: 1 Pool size: 5
SMB Small Req/Resp Buffer: 2 Pool size: 30
Operations (MIDs): 1

2 session 4 share reconnects
Total vfs operations: 615094 maximum at one time: 2

1) \\[REDACTED]\uploaded_files
SMBs: 124332
Negotiates: 0 sent 0 failed
SessionSetups: 0 sent 0 failed
Logoffs: 0 sent 0 failed
TreeConnects: 0 sent 0 failed
TreeDisconnects: 0 sent 0 failed
Creates: 0 sent 1 failed
Closes: 0 sent 0 failed
Flushes: 0 sent 0 failed
Reads: 0 sent 0 failed
Writes: 0 sent 0 failed
Locks: 0 sent 0 failed
IOCTLs: 0 sent 0 failed
Cancels: 0 sent 0 failed
Echos: 0 sent 0 failed
QueryDirectories: 0 sent 29672 failed
ChangeNotifies: 0 sent 0 failed
QueryInfos: 0 sent 0 failed
SetInfos: 0 sent 0 failed
OplockBreaks: 0 sent 0 failed


-- Saurabh.


More information about the samba mailing list