delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2023/12/20/12:21:07

X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 62E563865C2B
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1703092865;
bh=Tmn2FM1XNoMFBZeLi1zBYEeI1rc5lZaGremJx180ORc=;
h=Date:To:Cc:Subject:In-Reply-To:References:List-Id:
List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe:
From:Reply-To:From;
b=wHyaPLdTlA606HWnDUGmmJHEKekrvV9FDVKCjPc2eg9hqWYMo/20vPnzXHN2oea73
8/maQgU9RpVMZQIuyKTRwkfKLHJBRdzAhcdRLgZKunsf8hzCG/jxAyqPqiK2IYKuOm
xHFmGnC5KYlHKF7I7ZSXJNyMD3ogSVfAdVog7pSc=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 48A263858D1E
ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 48A263858D1E
ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1703092829; cv=none;
b=CI/bOqy9Oem7wp1+9ZNH2Al1CPU+PBWuz7vAa8m276LI4M4huXVRYCH+KXfMuGX3dwHwGzcNNssqAt5ghOZQ+yTMwrxrN+aBDOe9wgPwAuexkpPQ9mkvJbb4Y6/hhZqa4GJuvMIMESdhj++mc/VqubZ2dQTVXtf7CTd/32O3NVI=
ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key;
t=1703092829; c=relaxed/simple;
bh=pgJ1744Ko3iuWCeZrTLVnCm9PjPyGZY2sq6GmHHtEB4=;
h=DKIM-Signature:MIME-Version:Date:From:To:Subject:Message-ID;
b=MT8XS8RwuxNBlZcb8F7XMGs/jH6dd0Gxy1b7cPMjXb/wpUv8TieA6rgc5C8a7mN4IstH2BOLgGM0wfnmyOLRtNRyEH6OUy3n81LzRxDKgucP+hvU6KFTk1BB4v5VuOnGGndxLNUS9hz6X44VMokuHcfcmIkJrjfiLJ/tb4l9egY=
ARC-Authentication-Results: i=1; server2.sourceware.org
X-Authority-Analysis: v=2.4 cv=Cousz10D c=1 sm=1 tr=0 ts=6583225a
a=pMSlDXUwMa7SJ1EIez8PdQ==:117 a=pMSlDXUwMa7SJ1EIez8PdQ==:17
a=xqWC_Br6kY4A:10 a=kj9zAlcOel0A:10 a=e2cXIFwxEfEA:10
a=OptZijZbH0nk7NerwrAA:9 a=CjuIK1q_8ugA:10 a=0lgtpPvCYYIA:10
MIME-Version: 1.0
Date: Wed, 20 Dec 2023 09:20:23 -0800
To: Dan Shelton <dan DOT f DOT shelton AT gmail DOT com>
Cc: cygwin AT cygwin DOT com
Subject: Re: Catastrophic Cygwin find . -ls, grep performance on samba share
compared to WSL&Linux
In-Reply-To: <CAAvCNcB0_0ZeujP23QZFZaDvVTh5rxbXJw4FP6uXNPErCgdZ2w@mail.gmail.com>
References: <CAAvCNcBZGepZMP9Q0D5ua+6ACftDOQEriqnuCbwg6umBPUA72Q AT mail DOT gmail DOT com>
<CAAvCNcB0_0ZeujP23QZFZaDvVTh5rxbXJw4FP6uXNPErCgdZ2w AT mail DOT gmail DOT com>
User-Agent: Roundcube Webmail/1.4.15
Message-ID: <07c7379e983c9f436ebf86e3818ca843@kylheku.com>
X-Sender: kaz AT kylheku DOT com
X-CMAE-Envelope: MS4xfONE8jBoH7ogK45jo1jp27Mpdaitt0Cm3grcGD6eOy+basZbk10Hv7LLjRodqD9kGt4G5k+GrWUKi7QSwMsyx3CLvwmQhJj2YGwJsFDcqu2V7kdBR0z0
1DIwviPvTZMS3J8RzWhYsqkRaYccKiOKrOIhq4jvKB7AowdvLdBqHitB8GIsbLyNaQuHb6pyObgNg6dPXFo4d/yDl7CuP/Ox1rk=
X-Spam-Status: No, score=-3.0 required=5.0 tests=BAYES_00, DKIM_SIGNED,
DKIM_VALID, DKIM_VALID_EF, HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_LOW,
RCVD_IN_MSPIKE_H4, RCVD_IN_MSPIKE_WL, 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 AT cygwin DOT com
X-Mailman-Version: 2.1.30
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
From: Kaz Kylheku via Cygwin <cygwin AT cygwin DOT com>
Reply-To: Kaz Kylheku <kaz AT kylheku DOT com>
Errors-To: cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com>

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 would be a bonus.

E.g. git operations (clone, rebase, ...); ./configure scripts; ...: all
run like molasses.

The following is just my fast and loose opinion, shot from the hip,
and possibly off or wrong, but it likely has to do with the layering.
Cygwin's core API is based on a C library called Newlib. Cygwin bolts
Newlib to Windows by means of an additional shim below Newlib that
is based on C++ objects, where there is path munging going on and such,
and that's where the Win32 calls get made. It's an additional abstraction.

I worked with the internals a bit when producing the Cygnal
project.

-- 
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019