X-Recipient: archive-cygwin@delorie.com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org C63F8385802E
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
	s=default; t=1702883866;
	bh=gd916AtdQDOLunjmd0S/rO8ruFcEuZsCQxqD5JdMAfk=;
	h=References:In-Reply-To:Date:Subject:To:List-Id:List-Unsubscribe:
	 List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:
	 From;
	b=jzlUIsEC0xMqB1dp7N5CGb4kQZz/PLv2iqQOI5JbTgXfp6yzofeAfKPIsOqPra0fZ
	 rxiYyfk/YkKdKuuw0qJd6YKo0xXVFvVqCJtk4R61DUO0/iaKgupOPSg3TmJGtANnQL
	 l6fK5nw8X1hJQCK+7mztqYe+z0JeRLI9K4UEMSu0=
X-Original-To: cygwin@cygwin.com
Delivered-To: cygwin@cygwin.com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 2BA3D3858292
ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 2BA3D3858292
ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1702883831; cv=none;
 b=Q35tAnZcI8OemH/0MzXyuRaTpQYPdmRTxsGAiUhLgVDv4nNSf8IIvr2j4Ep3s/4AlZEtxbLr/1uJBgXTCzbCaMP+Zwf0Hc0uX6Mz3QrGh6A9ofi8CFn3r30u2ea+yfg1WCpO4Cx4azgMkO/5SwWp0ydYr7ZOCrn6AnYY+b2tywY=
ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key;
 t=1702883831; c=relaxed/simple;
 bh=Ga9Eq5s+ejEtQPwrYnRjYJYLE12MK98rswE0jTh0AOA=;
 h=DKIM-Signature:MIME-Version:From:Date:Message-ID:Subject:To;
 b=J0d91Tf70gg+jmbJ7p0Q7pgmKckaLEToYuDSWAWOY7UICzFrfCOHfI9OlRyvjgydYXIXox+JYafLqTE4b9G2A2BrSsRQWmsE5HROksz/YDwpUmkv1cAHIV2no2p+mY2gqfrLvqfj92TDQTRYLmAfQZhx8aWWA5D1iYDQ5zbcw5w=
ARC-Authentication-Results: i=1; server2.sourceware.org
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1702883828; x=1703488628;
 h=to:subject:message-id:date:from:in-reply-to:references:mime-version
 :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to;
 bh=E8nz4LaoRPP81tU0Z2PXgmK1l/vnxrT10hK1qalQEBs=;
 b=mXydWVdhPxOYLDZFur6oyK9QwPnWk3ULklGp6agDd3jJ81y4t/KBo3sVdy5YvFge1/
 uHeNBafyLhbklDYT5eDGJ5Gwp9luBE00UJDXRSzNI9M/Y8DnOVr44Ad/uGNNb305Oss6
 lOceftmc7AqSBaC9qkWoYZwJLlGRpFX+sHN+CVCF6G8IzwUz+a9CzvEq9FXvjlVOn5tq
 dNVwGSqkYi24/EkcORsD/BFGnCIaxAjQuKLrTlCPEzJxNVs+hF4UB9oVHgjOJt0j0SIW
 PhoIDarF1V5ZWrsDYT5iHE89wroiJw4cYnUX6O3K3CPFu1mclioIrsnw8WUoflosADIp
 gHLw==
X-Gm-Message-State: AOJu0Yw8J6tNrXLFp5qZvCf9o7PBLy7K5uRSOWsPQa/phdkpZZSMqybH
 ZnSW1GQS3YZx0mE5aXkalnDokcXXWVC08988rY85sJdg
X-Google-Smtp-Source: AGHT+IGXUYbwmAUAg6uVag1spbstXCcihs4L/Y6byvrhKHrLjmkIqz4MyNqKtg8IXDLrscTGwMA8QbET9QNi5ar7eb0=
X-Received: by 2002:a05:6512:3f08:b0:50b:e6e0:cae9 with SMTP id
 y8-20020a0565123f0800b0050be6e0cae9mr10174392lfa.26.1702883828096; Sun, 17
 Dec 2023 23:17:08 -0800 (PST)
MIME-Version: 1.0
References: <CAAvCNcBZGepZMP9Q0D5ua+6ACftDOQEriqnuCbwg6umBPUA72Q@mail.gmail.com>
 <CAAvCNcB0_0ZeujP23QZFZaDvVTh5rxbXJw4FP6uXNPErCgdZ2w@mail.gmail.com>
 <2dca96f8-77ab-4e14-a9a1-4a6f543ca16e@gmail.com>
 <CAAvCNcBAiype=Ejrw_z+VMttzEawD3OuUWMW_Ys6AcHKGpVSRw@mail.gmail.com>
 <d8c321f7-3b96-4679-aeff-bfeeb022f9b1@gmail.com>
In-Reply-To: <d8c321f7-3b96-4679-aeff-bfeeb022f9b1@gmail.com>
Date: Mon, 18 Dec 2023 08:16:41 +0100
Message-ID: <CAAvCNcDQa76Dp2p1xuT82NTZ9+U4i3+hVSvo7uez8EKOLa0=vA@mail.gmail.com>
Subject: Re: Catastrophic Cygwin find . -ls, grep performance on samba share
 compared to WSL&Linux
To: cygwin@cygwin.com
X-Spam-Status: No, score=0.3 required=5.0 tests=BAYES_00, DKIM_SIGNED,
 DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,
 SPF_HELO_NONE, SPF_PASS, TXREP,
 T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6
X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on
 server2.sourceware.org
X-BeenThere: cygwin@cygwin.com
X-Mailman-Version: 2.1.30
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-request@cygwin.com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
 <mailto:cygwin-request@cygwin.com?subject=subscribe>
From: Dan Shelton via Cygwin <cygwin@cygwin.com>
Reply-To: Dan Shelton <dan.f.shelton@gmail.com>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie.com@cygwin.com>

On Mon, 18 Dec 2023 at 08:05, Marco Atzeri via Cygwin <cygwin@cygwin.com> wrote:
>
> 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.

Sorry, but I disagree. I think that Cygwin could compete with WSL in
terms of performance.
I think the issue is just bad symlink emulation for filesystems which
do not need symlink emulation.

Dan
-- 
Dan Shelton - Cluster Specialist Win/Lin/Bsd

-- 
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple
