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 Subject: Re: cpu usage capped? Date: Wed, 5 May 2010 04:29:15 +0000 (UTC) Lines: 16 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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: List-Subscribe: List-Archive: List-Post: List-Help: , 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