Chris Stankevitz
2014-Dec-30 22:58 UTC
[Samba] Troubleshooting poor performance with only Windows clients
Hello, Can you recommend a first step in diagnosing these symptoms: The following operations are always fast: - browsing shared with osx/linux client - moving directories with osx/linux client The following operations are sometimes absurdly painfully slow: - browsing shared with windows 7 client - moving directories with windows 7 client Wireshark shows: - When using windows: Lots of ~10 second "high latency" comms with samba finally responding with "Find Response" and "Create Response, Error: STATUS_OBJECT_NAME_NOT_FOUND" - When using windows: lots of requests for folder.gif and folder.jpg - When using osx: no high latency comms, no responses of type STATUS_OBJECT_NAME_NOT_FOUND Thank you, Chris PS: I'm running samba 4.1.13 on FreeBSD 9.3 (FreeNAS)
Chris Stankevitz
2014-Dec-31 18:45 UTC
[Samba] Troubleshooting poor performance with only Windows clients
On Tue, Dec 30, 2014 at 2:58 PM, Chris Stankevitz <chrisstankevitz at gmail.com> wrote:> Can you recommend a first step in diagnosing these symptoms:I put smbd info "full log" mode. Then I tail -f the log and watched while I browsed on windows. When windows is absurdly slow, smbd is showing smbd_dirptr_get_entry entries for every file in the tree. This is a lot of files in my case. I assume windows is opening/downloading/peeking_at every file in the tree; however, I do not know why. The following two steps do not help: - veto files = /Thumbs.db/ - From windows 7 explorer: "Always show icons, never thumbnails" So I am left to wonder WTF windows is doing. Chris
Klaus Hartnegg
2014-Dec-31 20:45 UTC
[Samba] Troubleshooting poor performance with only Windows clients
Am 31.12.2014 19:45, schrieb Chris Stankevitz:> When windows is absurdly slow, smbd is > showing smbd_dirptr_get_entry entries for every file in the tree.> I am left to wonder WTF windows is doing.Maybe it updates its search index, or does a virus-scan.