lsd: lsd is slow Windows
Performance is very slow - about 50 seconds to list a few files.
The long delay appears to be in calling lsd::meta::windows_utils::get_acl_access_mask
.
Possibly relevant details - I’m testing on Win10 1903 on a domain joined machine. I suspect the issue is contacting the domain controller, because when I disconnect the machine from the network, lsd.exe
gives me this error:
cannot access '.': The specified domain either does not exist or could not be contacted. (os error 1355)
I also tested on a non-domain joined machine (Server 2016) and it seemed plenty fast.
About this issue
- Original URL
- State: closed
- Created 5 years ago
- Reactions: 24
- Comments: 20 (5 by maintainers)
as v1.0.0 is finally released, I will spend some time on this, We may improve this step by step, but I can not guarantee any time schedule…
it’s welcome for any PR improvement to be sent!
I’ve ran a profiler at it and the problem is all the calls to GetEffectiveRightsForAclW:
generally 1/10 speed of ls
Hi!
Yep but it’s in early stage for now. I will soon add some documentation into the README.
very very very slow in win 10, listing a directory with four sub-folders will cost one minute or more. In WSL, its speed is normal.