delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=-2.4 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,T_RP_MATCHES_RCVD |
X-Spam-Check-By: | sourceware.org |
To: | cygwin AT cygwin DOT com |
connect(): | No such file or directory |
From: | Mark Geisert <mark AT maxrnd DOT com> |
Subject: | Re: cpu usage capped? |
Date: | Wed, 5 May 2010 04:29:15 +0000 (UTC) |
Lines: | 16 |
Message-ID: | <loom.20100505T062309-66@post.gmane.org> |
References: | <p2r988dc97d1005041834hc39fad3au5b65dc5b6a009bbc AT mail DOT gmail DOT com> |
Mime-Version: | 1.0 |
User-Agent: | Loom/3.14 (http://gmane.org/) |
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 |
> I have some code that takes advantage of 8 cores on my machine using > OpenMP. Under plain ol windows, this code causes all the CPUs to max > out at 99%. But when recompiled for cygwin, each core jumps to about > 85%. The rest is not being used by other processes. Could someone > explain why this is the case? Obviously, Cygwin gets the job done with less CPU utilization, handing you back 15% of your machine. And you're complaining? ..mark P.S. A more helpful response can likely only occur if you spell out more specifically which varieties of apples and oranges you're comparing. For starters: "plain ol windows", is that MSVC or MinGW? Is disk I/O involved? What OS and environment (e.g., VM? TS?). I'm pretty sure I'm only scratching the surface here. We don't know what your code does other than use OpenMP. -- 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 |