delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/10/20/13:42:30

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-0.0 required=5.0 tests=AWL,BAYES_00,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,T_TO_NO_BRKTS_FREEMAIL
X-Spam-Check-By: sourceware.org
Date: Wed, 20 Oct 2010 19:41:54 +0200
From: Michael Ludwig <milu71 AT gmx DOT de>
To: cygwin AT cygwin DOT com
Subject: Re: Win7 64bit, why so slow?
Message-ID: <20101020174154.GG2436@wladimir>
Mail-Followup-To: cygwin AT cygwin DOT com
References: <AANLkTi=HnoWTpZ5+_VZ56cZADJe+qxbc9seQmzAwENN9 AT mail DOT gmail DOT com> <4CBDF9C4 DOT 7010007 AT sidefx DOT com> <AANLkTimgeYp3hrSO97OFvdmA61FbmUb=et3XBcP6ramM AT mail DOT gmail DOT com>
MIME-Version: 1.0
In-Reply-To: <AANLkTimgeYp3hrSO97OFvdmA61FbmUb=et3XBcP6ramM@mail.gmail.com>
User-Agent: Mutt/1.5.20 (2009-12-10)
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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

Gerrit P. Haase schrieb am 19.10.2010 um 22:50 (+0200):

> > Also, you might also be running into this problem:
> >    http://cygwin.com/ml/cygwin/2010-05/msg00190.html
> 
> No bash completion here:
> $ time bash -i -c echo
> 
> real    0m0.312s
> user    0m0.015s
> sys     0m0.076s
> 
> And this wouldn't cause sh, m4 or perl scripts to run that slow like
> here, like all the autotools are incredible slow for me.

I'm clueless as to whether it is related or not, but I've been enjoying
a similarly bad slowdown on Win32 for about the last four weeks. I
wouldn't say that it renders Cygwin totally useless, but it certainly
does so for certain tasks which spawn a lot of processes, which is where
i think the problem lies.

Slowdown after update on Win32 (XP Home)
http://cygwin.com/ml/cygwin/2010-09/msg00893.html

But it might be a different one than what you are dealing with.

Turning on "-x" on the shell clearly shows that the slowdown is due to
process creation. Completion is out of the way, as I uninstalled it.
Security software is something I don't have.

> bash is noticeable slower with completion activated, this I can
> confirm: $ time bash -i -c echo
> 
> real    0m1.731s
> user    0m0.325s
> sys     0m0.699s

$ time bash -i -c echo

real    0m8.025s
user    0m1.404s
sys     0m0.794s

$ time bash -i -c echo

real    0m7.910s
user    0m1.467s
sys     0m0.779s

$ time bash -i -c echo

real    0m6.560s
user    0m1.169s
sys     0m0.734s

-- 
Michael Ludwig

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