delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2025/07/18/06:51:08

DMARC-Filter: OpenDMARC Filter v1.4.2 delorie.com 56IAp8vw2612623
Authentication-Results: delorie.com; dmarc=pass (p=none dis=none) header.from=cygwin.com
Authentication-Results: delorie.com; spf=pass smtp.mailfrom=cygwin.com
DKIM-Filter: OpenDKIM Filter v2.11.0 delorie.com 56IAp8vw2612623
Authentication-Results: delorie.com;
dkim=pass (1024-bit key, unprotected) header.d=cygwin.com header.i=@cygwin.com header.a=rsa-sha256 header.s=default header.b=boneysxp
X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 67803385E007
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1752835866;
bh=nx3wG5K/lSLJ4/nzeCxXu7Kcsx922tlHaKU5jmyE3xo=;
h=Date:To:Subject:In-Reply-To:References:List-Id:List-Unsubscribe:
List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc:
From;
b=boneysxpCAqfO4f8Z4Kqu6K0OgBbWDFWw3RXCMBCN9jTqJqEACBYn5VpVREknM1g+
kaHAevffNQ06Vgh84GG35LFqllpoIizAMk97Vj4+shgZfhN4f6j7GwkW77P68nGrtq
NMrPvcrklSJdz/ncpXlJQ+/ptsGffGYGXUQNR4FU=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 0D6BE3858C60
ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 0D6BE3858C60
ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1752835803; cv=none;
b=Gbnjhgnlq2H62PqwSa+6vA+cqAkUIOhrvdhayh5uKV71YaYYHHlPj7cdyVSdQBesnayvBveu59G8fEg+sd4zOICEvbXTUvw0JeO/pePLVq7ITi25AX9LfCsJ+DNHZKMrW879U9U6Ex830VSw43ehTh81m1f3ZlFiKHUqDU8z33k=
ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key;
t=1752835803; c=relaxed/simple;
bh=fGJpmL2aUIpMaKzUYS7Tg3kPtHAODD9SyrMzjCj8Bc0=;
h=DKIM-Signature:Date:From:Message-ID:To:Subject:MIME-Version;
b=RxUhi2ILrEfIoBClJ5msequ/+uu3JMRdF+uufvysmftwrC5tRFwc3t72v4aQ2nYm55DzeIomWxz4br4qI5vMbePd/X+z66fTHifU25rbs5uNvOXJ5XM1R/De/PQ0n6c41yHTVAgajcpewxX1rxdvPC0rC7H46ml35m0SCJWXjTc=
ARC-Authentication-Results: i=1; server2.sourceware.org
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 0D6BE3858C60
X-Yandex-Fwd: 1
Date: Fri, 18 Jul 2025 13:44:34 +0300
X-Mailer: The Bat! (v9.3.4) Professional
Message-ID: <1833586910.20250718134434@yandex.ru>
To: =?utf-8?Q?Aur=C3=A9lien_Couderc?= <aurelien DOT couderc2002 AT gmail DOT com>,
cygwin AT cygwin DOT com
Subject: Re: SLOW ls(1) - cygwin dir lookups with WinNT async requests?
In-Reply-To: <CA+1jF5rJzWh0r3TUWjOA-EqEFW6KMaOqef-=_k530r4ZJSt=gQ@mail.gmail.com>
References: <CA+1jF5rhwmUqe9-gMwDK6FioS13GRkLd0XyxUHeT5=-ycYUpxg AT mail DOT gmail DOT com>
<45887d0a-17d3-40ce-bea5-13fdf9081edd AT systematicsw DOT ab DOT ca>
<CA+1jF5psDkbym84tM-=C8VRGfSzLYPrOy-_KMYLBNqwj+ds_Tg AT mail DOT gmail DOT com>
<3da288a3-3a70-41ca-b582-67500ae0fb9e AT SystematicSW DOT ab DOT ca>
<CA+1jF5rJzWh0r3TUWjOA-EqEFW6KMaOqef-=_k530r4ZJSt=gQ AT mail DOT gmail DOT com>
MIME-Version: 1.0
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: Andrey Repin via Cygwin <cygwin AT cygwin DOT com>
Reply-To: cygwin AT cygwin DOT com
Cc: Andrey Repin <anrdaemon AT yandex DOT ru>
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>
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 56IAp8vw2612623

Greetings, Aurélien Couderc!

>> >> Stat and ACL info require additional calls.
>>
>> > Right, but my proposal is to do parallel/async lookups. The Windows NT
>> > kernel depends heavily on multithreading and parallelism, of which
>> > Cygwin uses nothing right now for dir lookups.
>>
>> Not an option unless it can be cheaply done under winsup/cygwin/fhandler.
>> Most utilities are GNU/BSD/Linux ports, so custom mods would have to be
>> submitted and accepted upstream, as we often already have enough patches to
>> maintain, to get them to build and work cleanly under Cygwin.

> I think you misunderstand me. I am suggesting to improve the Cygwin
> implementation of opendir(), readdir() and friends to do Win32/WInNT
> calls async to speed up dir listings.

If you know how it can be done, why not provide a patch?


-- 
With best regards,
Andrey Repin
Friday, July 18, 2025 13:44:05

Sorry for my terrible english...

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