delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/06/24/11:04:51

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Date: Wed, 24 Jun 2009 11:04:08 -0400
From: Christopher Faylor <cgf-use-the-mailinglist-please AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Slow/sluggish response ("system" task at 50%)
Message-ID: <20090624150408.GA19529@ednor.casa.cgf.cx>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <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> <h1rnnl$a3j$1 AT ger DOT gmane DOT org> <4A4167A4 DOT 4090900 AT gmail DOT com> <h1tcpr$g4o$1 AT ger DOT gmane DOT org>
MIME-Version: 1.0
In-Reply-To: <h1tcpr$g4o$1@ger.gmane.org>
User-Agent: Mutt/1.5.19 (2009-01-05)
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

On Wed, Jun 24, 2009 at 10:21:39AM -0400, Gene Smith wrote:
>Dave Korn wrote:
>> Gene Smith wrote:
>>> 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.
>>
>>The main thing to look at is the absolute and relative timestamps in
>>the first two columns, and see if any of the delays look inordinately
>>long, that would indicate a specific syscall ran into a big delay.
>
>Well, it was OK at first after a reinstall with the "default" setup,
>enough to run and build a project with an cross compiled embedded
>toolchain.  But when I install gcc, make, svn etc (enough to compile
>the openocd project) then it is slow again.  I ran strace on the make
>process again and see lines like this that look bad:
>
>3688545 13178956 [proc_waiter] make 868
>pinfo::maybe_set_exit_code_from_windows: pid 9176, exit value - old
>0x8000000, windows 0xDEADBEEF, cygwin 0x8000000n/

Some observations but no explanations:

1) Large delta times do not mean that there is automatically something wrong
   with Cygwin.  If you straced "sleep 3600" you'd see at least one large
   delta time.

2) The DEADBEEF is expected.

cgf

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