From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from omta002.cacentral1.a.cloudfilter.net (omta002.cacentral1.a.cloudfilter.net [3.97.99.33]) by sourceware.org (Postfix) with ESMTPS id 48A263858D1E for ; Wed, 20 Dec 2023 17:20:28 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 48A263858D1E Authentication-Results: sourceware.org; dmarc=fail (p=none dis=none) header.from=kylheku.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=shaw.ca ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 48A263858D1E Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=3.97.99.33 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 Received: from shw-obgw-4004a.ext.cloudfilter.net ([10.228.9.227]) by cmsmtp with ESMTPS id FsnXrgCxcB0n0G0F8rKZtU; Wed, 20 Dec 2023 17:20:26 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=shaw.ca; s=s20180605; t=1703092826; bh=pgJ1744Ko3iuWCeZrTLVnCm9PjPyGZY2sq6GmHHtEB4=; h=Date:From:To:Cc:Subject:In-Reply-To:References; b=j0QFIL+OBXMgXfbREiu9kl3Hdrl0gLe759VxLmpbBGrwn1oQvFzbS3gMqT1b45Xwb h2aJFrYyCCZFusqfjMWjBwKOYl5bHJjardI8v9MkDDjwP4Q2zz9YawfVIqPhTHyNhb n/F9duSaxHoajgnJvI91c8O4fWxbnmkAg+qoDcAKTSNbY2jZdiLEwSgit1wkuWHWAe /3ZzfUIAKvGZ2QkExOQbRY+tfM35SEkZyaA801e0ENaEb/uxWvBK1V5oBvMQ0dRkD8 sr1rV3ZPgdGxgYWCUgyWoa2JEFml91Rc9Zxj1LijpQovfVTjtV2wINvwTigYGTeq82 FZoO/YkHMQaCA== Received: from kylheku.com ([70.79.182.7]) by cmsmtp with ESMTPSA id G0F7rxVobDqGYG0F8rmd1t; Wed, 20 Dec 2023 17:20:26 +0000 Authentication-Results: ; auth=pass (PLAIN) smtp.auth=kkylheku@shaw.ca 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 Received: from localhost ([::1] helo=mail.kylheku.com) by kylheku.com with esmtp (Exim 4.94.2) (envelope-from ) id 1rG0F5-009ZnV-VA; Wed, 20 Dec 2023 09:20:23 -0800 MIME-Version: 1.0 Date: Wed, 20 Dec 2023 09:20:23 -0800 From: Kaz Kylheku To: Dan Shelton Cc: cygwin@cygwin.com Subject: Re: Catastrophic Cygwin find . -ls, grep performance on samba share compared to WSL&Linux In-Reply-To: References: User-Agent: Roundcube Webmail/1.4.15 Message-ID: <07c7379e983c9f436ebf86e3818ca843@kylheku.com> X-Sender: kaz@kylheku.com Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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 List-Id: 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.