Account Options

  1. Sign in
The old Google Groups will be going away soon.
Switch to the new Google Groups.
Google Groups Home for chromium.org
« Groups Home
msvs_multi_core_compile
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  14 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Nico Weber  
View profile  
 More options Jul 21 2010, 6:10 pm
From: Nico Weber <tha...@chromium.org>
Date: Wed, 21 Jul 2010 15:10:51 -0700
Local: Wed, Jul 21 2010 6:10 pm
Subject: msvs_multi_core_compile
Hi,

I discovered today that my z600 needs 40 minutes for a clean build,
which seems way to long. I searched a bit and found that I have to put

  {
  'variables': {
    'msvs_multi_core_compile': 1,
  }

into %userprofile%\.gyp\include.gypi (
http://dev.chromium.org/developers/how-tos/build-instructions-windows
) to enable multicore compiles. My build time went from 40 min to 13
min.

Why is this not the default? Are there any cases where this hurts?

Nico


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Bradley Nelson  
View profile  
 More options Jul 21 2010, 6:14 pm
From: Bradley Nelson <bradnel...@google.com>
Date: Wed, 21 Jul 2010 15:14:47 -0700
Local: Wed, Jul 21 2010 6:14 pm
Subject: Re: [chromium-dev] msvs_multi_core_compile

Which msvs and os?
It should turn on by default for 2008, I forget why its off for 2005,
potentially incorrect build if I recall.

-BradN


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Nico Weber  
View profile  
 More options Jul 21 2010, 6:15 pm
From: Nico Weber <tha...@chromium.org>
Date: Wed, 21 Jul 2010 15:15:24 -0700
Local: Wed, Jul 21 2010 6:15 pm
Subject: Re: [chromium-dev] msvs_multi_core_compile

On Wed, Jul 21, 2010 at 3:14 PM, Bradley Nelson <bradnel...@google.com> wrote:
> Which msvs and os?

2005 and win7.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Nico Weber  
View profile  
 More options Jul 21 2010, 6:16 pm
From: Nico Weber <tha...@chromium.org>
Date: Wed, 21 Jul 2010 15:16:16 -0700
Local: Wed, Jul 21 2010 6:16 pm
Subject: Re: [chromium-dev] msvs_multi_core_compile

On Wed, Jul 21, 2010 at 3:14 PM, Bradley Nelson <bradnel...@google.com> wrote:
> Which msvs and os?
> It should turn on by default for 2008, I forget why its off for 2005,
> potentially incorrect build if I recall.

I remember some ancient thread titled "/MP" on chrome-team where
several people claimed they use this without issues.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Bradley Nelson  
View profile  
 More options Jul 21 2010, 6:18 pm
From: Bradley Nelson <bradnel...@google.com>
Date: Wed, 21 Jul 2010 15:18:58 -0700
Local: Wed, Jul 21 2010 6:18 pm
Subject: Re: [chromium-dev] msvs_multi_core_compile

Yeah, 2005 would do it.
(somebody, maybe it was finnur, had found a bug in the version detection
logic on win7, which is why I asked about the os).

If I recall /MP fails like 5% of the time or something, which is mainly a
problem for the bots.
I suppose we could gate it just on running on the bots?
My sense is a good fraction of the team has switched to 2008, but I'm not
sure what %.

-BradN


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Bradley Nelson  
View profile  
 More options Jul 21 2010, 6:19 pm
From: Bradley Nelson <bradnel...@google.com>
Date: Wed, 21 Jul 2010 15:19:21 -0700
Local: Wed, Jul 21 2010 6:19 pm
Subject: Re: [chromium-dev] msvs_multi_core_compile

You can always add it to you ~/.gyp/include.gypi

On Wed, Jul 21, 2010 at 3:18 PM, Bradley Nelson <bradnel...@google.com>wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Dominic Mazzoni  
View profile  
 More options Jul 21 2010, 6:39 pm
From: Dominic Mazzoni <dmazz...@chromium.org>
Date: Wed, 21 Jul 2010 15:39:52 -0700
Local: Wed, Jul 21 2010 6:39 pm
Subject: Re: [chromium-dev] msvs_multi_core_compile

You're talking about a Release build, right? I can also do a Release build
of just Chrome in about 13 minutes. I haven't timed a Debug build in a
while, but I think it takes over 30 minutes, does that sound right?

- Dominic


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Nico Weber  
View profile  
 More options Jul 21 2010, 6:41 pm
From: Nico Weber <tha...@chromium.org>
Date: Wed, 21 Jul 2010 15:41:08 -0700
Local: Wed, Jul 21 2010 6:41 pm
Subject: Re: [chromium-dev] msvs_multi_core_compile
No, I'm talking about a debug build.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Dominic Mazzoni  
View profile  
 More options Jul 21 2010, 6:45 pm
From: Dominic Mazzoni <dmazz...@chromium.org>
Date: Wed, 21 Jul 2010 15:45:51 -0700
Local: Wed, Jul 21 2010 6:45 pm
Subject: Re: [chromium-dev] msvs_multi_core_compile

Wow! I'm using VS 2008 on Vista on a Z600. What am I doing wrong?

- Dominic


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Alpha Lam  
View profile  
 More options Jul 21 2010, 6:55 pm
From: Alpha Lam <hc...@chromium.org>
Date: Wed, 21 Jul 2010 15:55:32 -0700
Local: Wed, Jul 21 2010 6:55 pm
Subject: Re: [chromium-dev] msvs_multi_core_compile

What about incremental link? I can never get it working.. even though I'm
now running Win7 and VS2008.

Alpha

2010年7月21日15:45 Dominic Mazzoni <dmazz...@chromium.org>:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Antony Sargent  
View profile  
 More options Jul 21 2010, 7:37 pm
From: Antony Sargent <asarg...@chromium.org>
Date: Wed, 21 Jul 2010 16:37:22 -0700
Local: Wed, Jul 21 2010 7:37 pm
Subject: Re: [chromium-dev] msvs_multi_core_compile

Did you turn on hyperthreading in your BIOS? (You should see 16 cores
instead of 8 in the task manager). Also, do you have 12GB of ram?

On Wed, Jul 21, 2010 at 3:39 PM, Dominic Mazzoni <dmazz...@chromium.org>wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Dominic Mazzoni  
View profile  
 More options Jul 22 2010, 10:54 am
From: Dominic Mazzoni <dmazz...@chromium.org>
Date: Thu, 22 Jul 2010 07:54:01 -0700
Local: Thurs, Jul 22 2010 10:54 am
Subject: Re: [chromium-dev] msvs_multi_core_compile

On Wed, Jul 21, 2010 at 4:37 PM, Antony Sargent <asarg...@chromium.org>wrote:

> Did you turn on hyperthreading in your BIOS? (You should see 16 cores
> instead of 8 in the task manager). Also, do you have 12GB of ram?

Yes and yes.

How long should a release build take?

I added my chromium source directory to the exclude list for Sophos. Any
other software that might be slowing it down? I don't use Windows other than
for Chrome development, so I might be missing something stupid.

- Dominic


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Antony Sargent  
View profile  
 More options Jul 22 2010, 4:48 pm
From: Antony Sargent <asarg...@chromium.org>
Date: Thu, 22 Jul 2010 13:48:30 -0700
Local: Thurs, Jul 22 2010 4:48 pm
Subject: Re: [chromium-dev] msvs_multi_core_compile

> How long should a release build take?

> I added my chromium source directory to the exclude list for Sophos. Any
> other software that might be slowing it down? I don't use Windows other than
> for Chrome development, so I might be missing something stupid.

I usually compile in Debug mode, so I'm not sure about Release mode. I just
timed a clean Debug build of chrome.exe and it took about 15 minutes on my
system (while I had a few other programs running at the same time).

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jeremy Orlow  
View profile  
 More options Jul 26 2010, 11:03 am
From: Jeremy Orlow <jor...@chromium.org>
Date: Mon, 26 Jul 2010 16:03:11 +0100
Local: Mon, Jul 26 2010 11:03 am
Subject: Re: [chromium-dev] msvs_multi_core_compile

I've had that flag turned on for all my vista+2005+z600 builds ever and only
had corruption maybe 3-4 times total.  (Out of probably 1000's of builds?)
 It's hard to say whether that's worth it or not.

Btw, has anyone recently looked to see if 2005 (with the flag on) is still
faster than 2008?  You need 2005 to compile WebKit's safari DLL, but I
haven't migrated to 2008 yet because last I saw 2005 was 10% faster.

J

On Thu, Jul 22, 2010 at 9:48 PM, Antony Sargent <asarg...@chromium.org>wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »