Catastrophic Cygwin find . -ls, grep performance on samba share compared to WSL&Linux
Marco Atzeri
marco.atzeri@gmail.com
Mon Dec 18 07:05:14 GMT 2023
On 18/12/2023 07:53, Dan Shelton via Cygwin wrote:
> On Mon, 18 Dec 2023 at 07:49, Marco Atzeri via Cygwin <cygwin@cygwin.com> wrote:
>>
>>
>> Is your cygserver running ?
>
> Yes, Cygserver is running
>
> Dan
Hi Dan,
the fact that you have only a factor 2 to 4 compared to WSL and Debian
tell me that Cygwin is very effective as User space enviroment.
1. time find . >/dev/null
Cygwin 86 seconds
WSL 23 seconds
Debian 19 seconds
2. time find . -ls >/dev/null
Cygwin 129 seconds
WSL 38 seconds
Debian 32 seconds
3. time grep -r -E NOMATCH 2>/dev/null
Cygwin 390 seconds
WSL 144 seconds
Debian 141 seconds
Cygwin can not go faster than the engine below and there are
several cubersome tricks to handle the POSIX compliance
I have seen worst timing trying to emulate Unix Layer on top of
a not supporting Microsoft environment.
Regards
Marco
More information about the Cygwin
mailing list