delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/06/23/19:16:47

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.2 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,RCVD_NUMERIC_HELO,SPF_HELO_PASS,SPF_PASS
X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: Gene Smith <gds AT chartertn DOT net>
Subject: Re: Slow/sluggish response [Solved, sort of]
Date: Tue, 23 Jun 2009 19:16:02 -0400
Lines: 37
Message-ID: <h1rnnl$a3j$1@ger.gmane.org>
References: <h1ofen$qvu$1 AT ger DOT gmane DOT org> <4A3FCCBD DOT 70101 AT cygwin DOT com> <h1ok6h$b50$1 AT ger DOT gmane DOT org> <h1p35n$rtc$1 AT ger DOT gmane DOT org> <4A401CF4 DOT 6050202 AT cygwin DOT com> <h1plfn$16o$1 AT ger DOT gmane DOT org> <4A405B7D DOT 7020700 AT cygwin DOT com> <h1r1dv$4g4$1 AT ger DOT gmane DOT org> <4A411665 DOT 1040300 AT cygwin DOT com>
Mime-Version: 1.0
User-Agent: Thunderbird 2.0.0.6 (Windows/20070728)
In-Reply-To: <4A411665.1040300@cygwin.com>
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

Larry Hall (Cygwin) wrote:
> Gene Smith wrote:
> 
> <snip>
> 
>> Since I don't have a "HOME" env var in windows, cygwin is getting the 
>> cygwin HOME from /etc/passwd. So I tried it both ways. With 1.5 I set 
>> home to be the empty directory /home/smited (under c:/cygwin). It 
>> didn't make it any faster. With beta-1.7 I set home to 
>> /cygdrive/c/Documents and Settings/smited (where all the cruft is) and 
>> it didn't make it any slower. So where cygwin points $HOME at terminal 
>> startup does not seem to have an effect for me. Current version 1.5 is 
>> slow while beta-1.7 is fast, for still unknown reasons.
> 
> I guess you're stuck looking at strace output to see if that helps
> pinpoint the problem...
> 

I ran the make under "strace -o outfile make" but I couldn't really tell 
what I was looking at in the outfile.

Also, today I just helped out co-worker who has cygwin that he has been 
updating over the years (I didn't know he was using it). But when he 
tried to do similar builds as me it was also extremely slow for him too 
(he also sees "system" process at 50% most of time). It is basically the 
same standard corporate desktop that we are both using.

Since a fresh install of the beta fixed the speed problem, I "took 
ownership" of c:/cygwin and renamed it and did another fresh install of 
the official release using setup.exe back to a new and pristine 
c:/cygwin. Now the speed is good again for me. But not quite as good as 
the beta, 40 sec compared to 34. However much improved from 14 minutes!

Before this, I did a global reinstall of everything with setup but it 
made no difference. As I add stuff in to get back to my previous setup, 
I will check this benchmark to see if I can tell what package, if any, 
might be slowing it down (e.g., the huge boost library).


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