SLOW ls(1) - cygwin dir lookups with WinNT async requests?
Andrey Repin
anrdaemon@yandex.ru
Fri Jul 18 10:44:34 GMT 2025
Greetings, Aurélien Couderc!
>> >> Stat and ACL info require additional calls.
>>>> > Right, but my proposal is to do parallel/async lookups. The Windows NT
>> > kernel depends heavily on multithreading and parallelism, of which
>> > Cygwin uses nothing right now for dir lookups.
>>>> Not an option unless it can be cheaply done under winsup/cygwin/fhandler.
>> Most utilities are GNU/BSD/Linux ports, so custom mods would have to be
>> submitted and accepted upstream, as we often already have enough patches to
>> maintain, to get them to build and work cleanly under Cygwin.
> I think you misunderstand me. I am suggesting to improve the Cygwin
> implementation of opendir(), readdir() and friends to do Win32/WInNT
> calls async to speed up dir listings.
If you know how it can be done, why not provide a patch?
--
With best regards,
Andrey Repin
Friday, July 18, 2025 13:44:05
Sorry for my terrible english...
More information about the Cygwin
mailing list