delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2011/12/04/15:23:27

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-0.9 required=5.0 tests=AWL,BAYES_00,SPF_NEUTRAL
X-Spam-Check-By: sourceware.org
Message-ID: <4EDBD69D.4020004@cs.utoronto.ca>
Date: Sun, 04 Dec 2011 15:22:53 -0500
From: Ryan Johnson <ryan DOT johnson AT cs DOT utoronto DOT ca>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:8.0) Gecko/20111105 Thunderbird/8.0
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Machine very sluggish while compiling
References: <4ECEE88E DOT 5050307 AT cs DOT utoronto DOT ca> <20111125154751 DOT GP28395 AT trikaliotis DOT net> <4EDB2761 DOT 6040508 AT cs DOT utoronto DOT ca> <20111204192917 DOT GB21203 AT ednor DOT casa DOT cgf DOT cx> <4EDBD5A5 DOT 2000707 AT cs DOT utoronto DOT ca>
In-Reply-To: <4EDBD5A5.2000707@cs.utoronto.ca>
X-IsSubscribed: yes
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

Trying again without the verboten 80kB PNG attachment...

On 04/12/2011 3:18 PM, Ryan Johnson wrote:
> On 04/12/2011 2:29 PM, Christopher Faylor wrote:
>> On Sun, Dec 04, 2011 at 02:55:13AM -0500, Ryan Johnson wrote:
>>> On 25/11/2011 10:47 AM, Spiro Trikaliotis wrote:
>>>> Hello,
>>>>
>>>> * On Thu, Nov 24, 2011 at 07:59:58PM -0500 Ryan Johnson wrote:
>>>>
>>>>> Lately I've noticed that running make -j4 on my quad-core win7-x64
>>>>> machine causes it to become sluggish or even unresponsive.
>>>> I have seen very similar effects on my Win7-64 box. I can force the
>>>> problem here just be running "ccrypt", though, I do not need to use 
>>>> "make
>>>> -j4".
>>>>
>>>> I assume it has to do with the Windows 64 bit problems of Cygwin 
>>>> (search
>>>> the ML archives for that).
>>>>
>>>> For me, this is the first machine since years where I do not use 
>>>> Cygwin
>>>> because of this issue.
>>> Update: I hit the problem again, this time running python, and the
>>> problem is repeatable with the native 64-bit windows python 
>>> interpreter.
>>> It looks like cygwin doesn't cause the problem, but rather my high-cpu
>>> tasks tend to run under cygwin. Honestly, I wouldn't expect cygwin 
>>> to be
>>> the cause, given that it's a user space only piece of software!
>>>
>>> Now what other entity could be the cause, I haven't a clue... process
>>> explorer doesn't show anything. Maybe that's because it's frozen along
>>> with the rest of the world during these episodes; right as it comes 
>>> back
>>> I see context switch deltas above 100k for the interrupt/DPC module,
>>> which suggests I've got a wonky driver somewhere.
>> Out of curiousity, is the current snapshot any better?  I just found a
>> case where Cygwin could essentially enter a tight loop while waiting for
>> I/O.  It would seem to be working correctly but it would use a lot of
>> CPU time.
> Again, I'm no longer convinced that this is Cygwin's fault -- it just 
> so happened that all my CPU-intensive tasks were cygwin apps. I'm 
> starting to notice a pattern, though: with three cpu-bound apps 
> running, my laptop's fan comes on every two minutes (precisely). About 
> five seconds later, the frequency drops by 50% and cpu util promptly 
> saturates as a result. After one minute of this, the frequency hikes 
> back up and we're good... until the cycle repeats a minute later (see 
> the attached snippet of screen shot).
>
> So, the questions are how come:
> - power/heat management isn't giving the fan a chance to work before 
> clamping the clock frequency?
> - scheduler can't cope better with 100% cpu util?
>
> While I'm glad to take any expert advice people might have, I think we 
> can close this thread as far as Cygwin is concerned.
>
> BTW, Corinna's advice to disable PCA did help somewhat (and 
> Firefox/Thunderbird util dropped as well as a bonus). However, it's 
> probably only a treatment of symptoms in my case; I already had 
> superfetch disabled.
>
> Thanks,
> Ryan
>


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