From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-lf1-x131.google.com (mail-lf1-x131.google.com [IPv6:2a00:1450:4864:20::131]) by sourceware.org (Postfix) with ESMTPS id 2BA3D3858292 for ; Mon, 18 Dec 2023 07:17:10 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 2BA3D3858292 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 2BA3D3858292 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2a00:1450:4864:20::131 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 Received: by mail-lf1-x131.google.com with SMTP id 2adb3069b0e04-50e297d0692so1367481e87.1 for ; Sun, 17 Dec 2023 23:17:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1702883828; x=1703488628; darn=cygwin.com; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :from:to:cc:subject:date:message-id:reply-to; bh=E8nz4LaoRPP81tU0Z2PXgmK1l/vnxrT10hK1qalQEBs=; b=UeJ9dHwD93X838uNz5p0oqhiWCv5xKkmedCweogxN+ZnE41YOl5wRECi0AYEPHdrLO xz7WdbIrGNZKI+q4YiaXn+kCbx0P6S+1SB10JKgvS4vFxCGJfTDDPWMxlFpXpA3/MGXT tqGNEjJY3QnluKNWnTNSwYFb6SoBXrpAjTnRGTzFwEsKueY50Z3JB58EO15NatqqxS2p 4L63MLZDmqAwd5p/bI5GhMyVGj6LOtxD4FgCSglnyyGnBodNTmBn0sVcO/26WK3uO49W XuwAw8JS0tyQEQobhn+T/cE+yJiwd8+YBF4tugMK8R9kxAi2sx8WzIaQ15KDgLc4OUa7 Xo8w== 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: <2dca96f8-77ab-4e14-a9a1-4a6f543ca16e@gmail.com> In-Reply-To: From: Dan Shelton Date: Mon, 18 Dec 2023 08:16:41 +0100 Message-ID: Subject: Re: Catastrophic Cygwin find . -ls, grep performance on samba share compared to WSL&Linux To: cygwin@cygwin.com Content-Type: text/plain; charset="UTF-8" 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 List-Id: 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 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