delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/09/23/05:25:07

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:from:to:subject:content-type
:content-transfer-encoding:message-id:in-reply-to:references
:date:message-id:mime-version; q=dns; s=default; b=OQM1kyRioqcsM
cnuksiGGIHkIWhvSQhhNx0fIcgacVrPw6SYz6yOWzZWKSgDfJPoKMb5rpHEouDOT
M/H6v0VZwhAq7oikHmmst361Q554ivpGt9GdSjPmzKRiM+UMo72vDYOgFDh3vWax
RJpWhMnwXb/JeCrMq+BMA1XjW6k98M=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:from:to:subject:content-type
:content-transfer-encoding:message-id:in-reply-to:references
:date:message-id:mime-version; s=default; bh=qDWBhUtZhPGzuT/96sd
M+2KNEmk=; b=sm3XRDyNmfHd6PMhLMz6GH0VZHP6FhP5ljpPFQridoLsnMYxSdJ
aRD46QYKgyTcAZPsFzMlFqo6TjN47zh86cC4l98qfLaJA5fjMhnjIo0W+68IRGhT
LLJB8Yu08w7pFzoPJW2vEJEHNVdpyKbXjcpXNeSLFzFuacThfOh/EDjQ=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Spam-SWARE-Status: No, score=0.6 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,RP_MATCHES_RCVD,SPF_PASS autolearn=ham version=3.3.2
X-HELO: mailout.ish.de
X-Amavis-Alert: BAD HEADER SECTION, Duplicate header field: "Message-ID"
X-Amavis-Alert: BAD HEADER SECTION, Duplicate header field: "Message-ID"
From: Helmut Karlowski <helmut DOT karlowski AT ish DOT de>
To: cygwin AT cygwin DOT com
Subject: Re: Bash / cygwin process spawning (?) performance very slow
Message-Id: 663517E1C874873ADB12BADE23DA8EB9
In-Reply-To: <5602684A.5090108@null.net>
References: <5602684A DOT 5090108 AT null DOT net>
Date: Wed, 23 Sep 2015 11:24:30 +0200
Message-Id: <20150923112430.C036A740.helmut.karlowski@ish.de>
MIME-Version: 1.0
X-IsSubscribed: yes

litter AT null DOT net:
Wed, 23 Sep 2015 10:52:26 +0200
---------------------------------------------------
> Hi all,
> 
> I noticed that doing simple loops in Bash takes unexpectedly long under Cygwin on a Windows XP 32 bit machine 
> (CYGWIN_NT-5.1 <machine> 2.2.1(0.289/5/3) 2015-08-20 11:40 i686 Cygwin)
> 
> I already followed the FAQ advice in trying to determine general causes, and made a 'shadow' copy of /etc/passwd as described.
> My PATH does not contain references to network shares.
> 
> Still quite normal commands take a long time e.g. 
> time cat some-file | while read i;do echo $i;/bin/true;done
> 
> real 1m44.953s
> user 0m9.599s
> sys 1m36.865s

#wc t; time cat t  | while read i;do echo $i;/bin/true;done >/dev/null
 172  172 3448 t
    3.73s real     0.04s user     0.43s system

On cygwin 1.7.35 and XP32. Not THAT fast but similar to your 
linux-result. I guess your antivirus is interfering. I've configured 
my avast to not deep-scan anything in C:\cygwin\bin, maybe that helps.

-Helmut


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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