X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-2.1 required=5.0 	tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_PASS
X-Spam-Check-By: sourceware.org
To: cygwin@cygwin.com
From: Nicholas Sherlock <n.sherlock@gmail.com>
Subject:  Re: Slow GCC under 64-bit?
Date:  Sat, 12 Dec 2009 18:12:56 +1300
Lines: 17
Message-ID: <hfv8o3$t00$1@ger.gmane.org>
References:  <24845947.post@talk.nabble.com> <22fefab20912101359n2f208de9we55733c4a10603da@mail.gmail.com>
Mime-Version:  1.0
Content-Type:  text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding:  7bit
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8) Gecko/20051201 Thunderbird/1.5 Mnenhy/0.7.3.0
In-Reply-To: <22fefab20912101359n2f208de9we55733c4a10603da@mail.gmail.com>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

On 11/12/2009 10:59 a.m., Pedro DeKeratry wrote:
> I experience very slow GCC compilation times on win7 64bit computer as
> compared to a 3 yr old computer running winXP. The win7 machine has
> has a much newer/faster CPU and 2x the memory as the XP machine. The
> slowness exists on Cygwin versions 1.5.x and 1.7. I haven't figured
> out what the cause is much less a fix.

If your new machine is multi-core you might see some benefit if you use 
the parallel make option with your makefiles - this will run multiple 
compile steps at the same time, achieving speedup on multi-core systems.

On GNU make, for example, you can run 4 jobs at once with:

make -j 4

Cheers,
Nicholas Sherlock


--
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

