| delorie.com/archives/browse.cgi | search |
| X-Recipient: | archive-cygwin AT delorie DOT com |
| 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 |
| 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= |
| Message-ID: | <4ECF1452.6080508@chariot.net.au> |
| Date: | Fri, 25 Nov 2011 14:36:42 +1030 |
| From: | Mike <mcf AT chariot DOT net DOT au> |
| Reply-To: | mcf AT chariot DOT net DOT au |
| User-Agent: | Thunderbird 2.0.0.24 (Windows/20100228) |
| 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> |
| In-Reply-To: | <4ECEE88E.5050307@cs.utoronto.ca> |
| 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 |
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
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |