Re: rfe: CYGWIN fslinktypes option? Re: Catastrophic Cygwin find . -ls, grep performance on samba share compared to WSL

2024-01-08 Thread Corinna Vinschen via Cygwin
On Dec 24 01:47, Roland Mainz via Cygwin wrote: > On Thu, Dec 21, 2023 at 9:32 PM Kaz Kylheku via Cygwin > wrote: > > On 2023-12-21 04:16, Martin Wege via Cygwin wrote: > > > On Wed, Dec 20, 2023 at 6:21 PM Kaz Kylheku via Cygwin > > > wrote: > [snip] > > > The root cause is IMO the extra Win32

Re: rfe: CYGWIN fslinktypes option? Re: Catastrophic Cygwin find . -ls, grep performance on samba share compared to WSL

2023-12-23 Thread Roland Mainz via Cygwin
On Thu, Dec 21, 2023 at 9:32 PM Kaz Kylheku via Cygwin wrote: > On 2023-12-21 04:16, Martin Wege via Cygwin wrote: > > On Wed, Dec 20, 2023 at 6:21 PM Kaz Kylheku via Cygwin > > wrote: [snip] > > The root cause is IMO the extra Win32 syscalls (>= 3 per file lookup, > > compared to 1 on Linux) to

Re: rfe: CYGWIN fslinktypes option? Re: Catastrophic Cygwin find . -ls, grep performance on samba share compared to WSL

2023-12-22 Thread Andrey Repin via Cygwin
Greetings, Martin Wege! > The root cause is IMO the extra Win32 syscalls (>= 3 per file lookup, > compared to 1 on Linux) to lookup the *.lnk and *.exe.lnk files on > filesystems which have native link support (NTFS, ReFS, SMBFS, NFS). Except you require elevation to actually create symlinks. Or

Re: rfe: CYGWIN fslinktypes option? Re: Catastrophic Cygwin find . -ls, grep performance on samba share compared to WSL

2023-12-21 Thread Kaz Kylheku via Cygwin
On 2023-12-21 04:16, Martin Wege via Cygwin wrote: > On Wed, Dec 20, 2023 at 6:21 PM Kaz Kylheku via Cygwin > wrote: >> >> On 2023-12-17 22:22, Dan Shelton via Cygwin wrote: >> > It would be nice if someone from the Cygwin authors could assist me in >> > figuring out why this happens. >> >>

Re: rfe: CYGWIN fslinktypes option? Re: Catastrophic Cygwin find . -ls, grep performance on samba share compared to WSL

2023-12-21 Thread Brian Inglis via Cygwin
On 2023-12-21 09:10, Cedric Blancher via Cygwin wrote: On Thu, 21 Dec 2023 at 13:17, Martin Wege via Cygwin wrote: On Wed, Dec 20, 2023 at 6:21 PM Kaz Kylheku via Cygwin wrote: On 2023-12-17 22:22, Dan Shelton via Cygwin wrote: It would be nice if someone from the Cygwin authors could assist

Re: rfe: CYGWIN fslinktypes option? Re: Catastrophic Cygwin find . -ls, grep performance on samba share compared to WSL

2023-12-21 Thread Cedric Blancher via Cygwin
On Thu, 21 Dec 2023 at 13:17, Martin Wege via Cygwin wrote: > > On Wed, Dec 20, 2023 at 6:21 PM Kaz Kylheku via Cygwin > wrote: > > > > On 2023-12-17 22:22, Dan Shelton via Cygwin wrote: > > > It would be nice if someone from the Cygwin authors could assist me in > > > figuring out why this

rfe: CYGWIN fslinktypes option? Re: Catastrophic Cygwin find . -ls, grep performance on samba share compared to WSL

2023-12-21 Thread Martin Wege via Cygwin
On Wed, Dec 20, 2023 at 6:21 PM Kaz Kylheku via Cygwin wrote: > > On 2023-12-17 22:22, Dan Shelton via Cygwin wrote: > > It would be nice if someone from the Cygwin authors could assist me in > > figuring out why this happens. > > Cygwin is famously slow; this is nothing new. We are grateful >

Re: Catastrophic Cygwin find . -ls, grep performance on samba share compared to WSL

2023-12-20 Thread Kaz Kylheku via Cygwin
On 2023-12-17 22:22, Dan Shelton via Cygwin wrote: > It would be nice if someone from the Cygwin authors could assist me in > figuring out why this happens. Cygwin is famously slow; this is nothing new. We are grateful for Cygwin because it makes stuff work at all; if it were blazing fast that

Re: Catastrophic Cygwin find . -ls, grep performance on samba share compared to WSL

2023-12-18 Thread Marco Atzeri via Cygwin
On 18/12/2023 08:16, Dan Shelton via Cygwin wrote: On Mon, 18 Dec 2023 at 08:05, Marco Atzeri via Cygwin wrote: 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

Re: Catastrophic Cygwin find . -ls, grep performance on samba share compared to WSL

2023-12-17 Thread Dan Shelton via Cygwin
On Mon, 18 Dec 2023 at 08:05, Marco Atzeri via Cygwin wrote: > > On 18/12/2023 07:53, Dan Shelton via Cygwin wrote: > > On Mon, 18 Dec 2023 at 07:49, Marco Atzeri via Cygwin > > wrote: > >> > > >> > >> Is your cygserver running ? > > > > Yes, Cygserver is running > > > > Dan > > Hi Dan, > > the

Re: Catastrophic Cygwin find . -ls, grep performance on samba share compared to WSL

2023-12-17 Thread Marco Atzeri via Cygwin
On 18/12/2023 07:53, Dan Shelton via Cygwin wrote: On Mon, 18 Dec 2023 at 07:49, Marco Atzeri via Cygwin 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

Re: Catastrophic Cygwin find . -ls, grep performance on samba share compared to WSL

2023-12-17 Thread Dan Shelton via Cygwin
On Mon, 18 Dec 2023 at 07:49, Marco Atzeri via Cygwin wrote: > > On 18/12/2023 07:22, Dan Shelton via Cygwin wrote: > > On Wed, 6 Dec 2023 at 05:08, Dan Shelton wrote: > >> > >> Hello! > >> I am unhappy to report a severe performance issue with find -ls, ls -R > >> and grep -r, with Cygwin 3.4.9

Re: Catastrophic Cygwin find . -ls, grep performance on samba share compared to WSL

2023-12-17 Thread Marco Atzeri via Cygwin
On 18/12/2023 07:22, Dan Shelton via Cygwin wrote: On Wed, 6 Dec 2023 at 05:08, Dan Shelton wrote: Hello! I am unhappy to report a severe performance issue with find -ls, ls -R and grep -r, with Cygwin 3.4.9 and Cygwin 3.5.0 when samba shares are involved. Imagine a directory with 256

Re: Catastrophic Cygwin find . -ls, grep performance on samba share compared to WSL

2023-12-17 Thread Dan Shelton via Cygwin
On Wed, 6 Dec 2023 at 05:08, Dan Shelton wrote: > > Hello! > I am unhappy to report a severe performance issue with find -ls, ls -R > and grep -r, with Cygwin 3.4.9 and Cygwin 3.5.0 when samba shares are > involved. > > Imagine a directory with 256 subdirs, and each has 256 files per > subdir,

Catastrophic Cygwin find . -ls, grep performance on samba share compared to WSL

2023-12-05 Thread Dan Shelton via Cygwin
Hello! I am unhappy to report a severe performance issue with find -ls, ls -R and grep -r, with Cygwin 3.4.9 and Cygwin 3.5.0 when samba shares are involved. Imagine a directory with 256 subdirs, and each has 256 files per subdir, all on a samba share, samba server is on Linux with tmpfs. mkdir