DMARC-Filter: OpenDMARC Filter v1.4.2 delorie.com 51QKRqBc323061 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 51QKRqBc323061 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=Ot/p2I4C X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 81BB63858C51 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1740601669; bh=bWxSODiLVS2jd9h69+wD7xJLx/+Xsm5eszXOFSVRdzI=; h=Date:To:Subject:References:In-Reply-To:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: From; b=Ot/p2I4CG3354QtEi9Hx/t2KWTAKA01KHZNq4R1ofp437bMb3il2Pp+jxGlDi6FHP yc+Q/wRiCIhFRqWiYkHQhUaJYER8nGtAiejxoiV4qkCN4syTO0HPyMf1IyAuhSDtUg IfTTUZRhkrvb988+e/Hq2NfYoMZxTTaSkyvXmtKk= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 369DA3858D37 Date: Wed, 26 Feb 2025 21:26:45 +0100 To: cygwin AT cygwin DOT com Subject: Re: rm -Rfv on UNC path horribly slow in Cygwin 3.6.0-0.404.g323729f654ae.x86_64 ... Message-ID: Mail-Followup-To: cygwin AT cygwin DOT com References: MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: X-BeenThere: cygwin AT cygwin DOT com X-Mailman-Version: 2.1.30 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Corinna Vinschen via Cygwin Reply-To: cygwin AT cygwin DOT com Cc: Corinna Vinschen Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: cygwin-bounces~archive-cygwin=delorie DOT com AT cygwin DOT com Sender: "Cygwin" On Feb 26 20:16, Roland Mainz via Cygwin wrote: > Hi! > > ----- > > Something is wrong with UNC paths in Cygwin 3.6 build > 3.6.0-0.404.g323729f654ae.x86_64 and ms-nfs41-client 2025-02-21: > > Example: > ---- snip ---- > $ cd //derfwnb4966_ipv4 DOT global DOT loc AT 2049/nfs4/bigdisk/builds/bash_build1 > $ rm -Rfv bash > removed 'bash/builtins/hash.o' > removed 'bash/builtins/fc.o' > removed 'bash/builtins/jobs.o' > removed 'bash/builtins/help.o' > removed 'bash/builtins/history.o' > removed 'bash/builtins/let.o' > removed 'bash/builtins/kill.o' > removed 'bash/builtins/mapfile.o' > removed 'bash/builtins/pushd.o' > removed 'bash/builtins/read.o' > removed 'bash/builtins/return.o' > removed 'bash/builtins/setattr.o' > ---- snip ---- > > Each line from rm -Rfv now needs around 3-5 seconds. Switching to CWD > //derfwnb4966_ipv4 AT 2049/nfs4/bigdisk/builds/bash_build1 (e.g. non-FQDN > for share host) does not fix the problem. Going to > /cygdrive/l/builds/bash_build1 and the rm -Rfv deletes around 70-90 > files per second. > Last tested version was Cygwin commit > #4bcc6adec765ee8354bfc9e6c060c9d1c0c7bf46 (and same ms-nfs41-client > 2025-02-21 release), rm -Rfv performance there was normal (same as on > /cygdrive/l/...). I can't reproduce this on MS NFS and SMB. You should try this with the latest 406 build. If this doesn't fix it, I need to know which test release introduced this problem. Corinna -- 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