From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20291 invoked by alias); 25 Nov 2011 04:07:15 -0000 Received: (qmail 20282 invoked by uid 22791); 25 Nov 2011 04:07:13 -0000 X-SWARE-Spam-Status: No, hits=0.1 required=5.0 tests=BAYES_50,RCVD_IN_DNSWL_LOW,RCVD_IN_DNSWL_NONE X-Spam-Check-By: sourceware.org Received: from mail16.chariot.com.au (HELO mail16.chariot.com.au) (220.244.226.86) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 25 Nov 2011 04:06:56 +0000 X-TPG-Junk-Checked: Yes X-TPG-Junk-Status: Message not scanned because user authenticated using SMTP AUTH X-TPG-Abuse: host=115-64-186-239.tpgi.com.au; ip=115.64.186.239; date=Fri, 25 Nov 2011 15:06:53 +1100; auth=4S7opPLCSxE/DW/A69qh0CgGp2IG7MxmiWxTU9nYdW8= Received: from [192.168.1.100] (115-64-186-239.tpgi.com.au [115.64.186.239]) (authenticated bits=0) by mail16.chariot.com.au (envelope-from mcf@chariot.net.au) (8.14.3/8.14.3) with ESMTP id pAP46nxM006956 for ; Fri, 25 Nov 2011 15:06:53 +1100 Message-ID: <4ECF1452.6080508@chariot.net.au> Date: Fri, 25 Nov 2011 04:17:00 -0000 From: Mike Reply-To: mcf@chariot.net.au User-Agent: Thunderbird 2.0.0.24 (Windows/20100228) MIME-Version: 1.0 To: cygwin@cygwin.com Subject: Re: Machine very sluggish while compiling References: <4ECEE88E.5050307@cs.utoronto.ca> In-Reply-To: <4ECEE88E.5050307@cs.utoronto.ca> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com X-SW-Source: 2011-11/txt/msg00385.txt.bz2 Hi Ryan, 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. For example, > compiling a large package makes the mouse jumpy, delays keystrokes, adds > stutter to my music, and makes task switching painfully slow (though, > oddly, if I manage to switch to the mintty that runs make the machine > "comes back"). The sluggishness always hits when I'm using a native > windows app with the compile running in the background. This starts to > sound oddly like the recently-reported issue where X was causing native > windows apps to freeze [1]. > > I'm not seeing any fork failures, and am running BLODA-free (Windows > Defender hasn't reappeared since I last uninstalled it). There's no > unusual disk activity and memory utilization remains stable. I've tried > running with nice, reducing the priority of 'make' from the task > manager, and running make -j3 to no avail, though empirically if > utilization stays at or below 2 cpu then there's no problem. I've > compiled large apps (gcc, binutils, emacs, gdb, ...) off and on for > several years now and never seen this behavior before. > > Any ideas of how I might diagnose the issue further? It's easy enough to > work around, but compiles take a lot longer with only 1-2 cores instead > of 4. I've seen problems like this caused by viruses. Process Explorer might give you more detailed info: http://technet.microsoft.com/en-au/sysinternals/bb896653 Perhaps you are using a different version of bash or other shell? Some versions have been known to bog down the system as you describe. Search for bash slow might yield some clues: http://cygwin.com/ml/cygwin/ -- Regards, Mike -- 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