X-Recipient: archive-cygwin AT delorie DOT com X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org DC6293858D39 Authentication-Results: sourceware.org; dmarc=fail (p=none dis=none) header.from=nifty.ne.jp Authentication-Results: sourceware.org; spf=fail smtp.mailfrom=nifty.ne.jp DKIM-Filter: OpenDKIM Filter v2.10.3 conssluserg-04.nifty.com 21KEM4t7012826 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.ne.jp; s=dec2015msa; t=1645366925; bh=qJ56KZJXIgo64/ZSUoXd5+Bsa4eKFzGIT0NFAGA0dj4=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=RGR8YV0AGqd4q5s0quww3Oc+VwUavzouOeA8xwUcosx3HUhCal4CaIcK/ml6zBBjx hnhXubGzVkj8Wbv6sDKfPAut/JsYo2G/zKkSf7Yfi6ugOSQ84oDKjl2uixUF5tofbX 7CVrlH46YoS2dNcJ856FXT+fOBeEyW1gmM+opkQ7o/+G4eWSYUp4+iCird4cIXer7K 1ASSmps7BK22vfKlUguRr+qgRwg0HZljNDV+DjHZq2gkJ15w99IQlq8/ZkvlaF+WRK nt1x0NUx3zy9Avj7Xgu2NJTOEzi7Cvi8k9qejQsPPDEhkhrjEFAab6E/q0QyvCw9nj 3EkFTCA675HRQ== X-Nifty-SrcIP: [119.150.36.16] Date: Sun, 20 Feb 2022 23:22:07 +0900 From: Takashi Yano To: cygwin AT cygwin DOT com Subject: Re: Console output hangs in the middle of a line Message-Id: <20220220232207.b7fc5f99b324b3e3be95c686@nifty.ne.jp> In-Reply-To: References: <20220220223751 DOT c3434a059a5b54861f54ff1f AT nifty DOT ne DOT jp> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.30; i686-pc-mingw32) Mime-Version: 1.0 X-Spam-Status: No, score=-4.6 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, NICE_REPLY_A, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: cygwin AT cygwin DOT com X-Mailman-Version: 2.1.29 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Orgad Shaneh 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 Sun, 20 Feb 2022 15:51:11 +0200 Orgad Shaneh wrote: > Turns out I was using Git for Windows and not the cygwin release. I have tested using Git-for-windows (git version 2.34.1.vfs.0.0). With seq 1 1000 | xargs touch real 0m1.812s user 0m0.015s sys 0m0.031s With seq 1 10000 | xargs touch real 0m3.666s user 0m0.000s sys 0m0.000s It seems that it may hang for about 1 sec at the line Removing abc/def/ghi/jkl/991 Removing ab before Removing def/ line. With seq 1 10000 | xargs touch the short hang is here: Removing abc/def/ghi/jkl/9878 Removing abc/def/ghi/jkl If the script #!/bin/sh mkdir -p chunked cd chunked /cygdrive/c/Program\ Files/Git/mingw64/bin/git init mkdir -p abc/def/ghi/jkl def cd abc/def/ghi/jkl touch foo /cygdrive/c/Program\ Files/Git/mingw64/bin/git add foo seq 1 10000 | xargs touch cd ../../../../def seq 1 100000 | xargs touch cd .. time /cygdrive/c/Program\ Files/Git/mingw64/bin/git clean -dfx is used, the hang here: Removing abc/def/ghi/jkl/9878 Removing abc/def/ghi/jkl is more than 10sec. It seems that removing def/ takes the time, and the output stops before displying Removing abc/def/ghi/jkl/9879 [...] Removing abc/def/ghi/jkl/9999 I guess the output is just buffered in somewhere which is not flushed. -- Takashi Yano -- 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