X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-1.1 required=5.0 tests=AWL,BAYES_05,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,T_RP_MATCHES_RCVD,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: sourceware.org Message-ID: <4C65EBE4.1040401@aol.com> Date: Fri, 13 Aug 2010 18:05:40 -0700 From: Tim Prince Reply-To: tprince AT computer DOT org User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.11) Gecko/20100711 Thunderbird/3.0.6 MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: Cygwin speed difference on multiple cores -vs- single-core? References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit x-aol-global-disposition: G X-AOL-SCOLL-SCORE: 0:2:418696256:93952408 X-AOL-SCOLL-URL_COUNT: 0 x-aol-sid: 3039ac1d29064c65ebe572d0 X-AOL-IP: 99.13.231.72 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 On 8/13/2010 5:37 PM, Andy Nicholas wrote: > Hi Folks, > > When using cygwin, I've noticed that there seems to be a large speed > difference when I boot my windows 7 (32-bit) machine in single-core mode > versus the regular number of cores (4, Core i7-930). > > I've read through the FAQ and didn't notice anything about this issue. > > Normally, I would expect nearly no speed difference based on the Windows > environment... but after some extensive timing tests it seems like the single- > core machine is usually at least 2x faster than using the same machine setup > in multi-core mode. I limit the number of cores using MSCONFIG, advanced boot > options. > > We have some simple script and more complex scripts which show this behavior. > The simple scripts do straightforward things like "rm -rf" over some directory > trees. Even the simple scripts run slowly when the PC is booted with multiple > cores. > > Is this known behavior? Is there some way to work around it so I can boot my > PC, use all the cores with other apps, and continue run cygwin 2x faster? > > Several possibilities which you haven't addressed may affect this. Are you comparing the performance of a single thread when locked to a single core, compared to when it is permitted to rotate among cores, with or without HyperThread enabled? I've never run into anyone running win7 32-bit; it may have more such issues than the more common 64-bit. -- Tim Prince -- 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