Message from discussion
Speed test of building Chrome under Windows
Received: by 10.14.146.202 with SMTP id r50mr519313eej.0.1303245234659;
Tue, 19 Apr 2011 13:33:54 -0700 (PDT)
X-BeenThere: chromium-...@chromium.org
Received: by 10.14.42.6 with SMTP id i6ls103329eeb.3.gmail; Tue, 19 Apr 2011
13:33:50 -0700 (PDT)
Received: by 10.14.37.71 with SMTP id x47mr2299961eea.60.1303245230335;
Tue, 19 Apr 2011 13:33:50 -0700 (PDT)
Received: by 10.14.37.71 with SMTP id x47mr2299960eea.60.1303245230301;
Tue, 19 Apr 2011 13:33:50 -0700 (PDT)
Return-Path: <vange...@google.com>
Received: from smtp-out.google.com (hpaq8.eem.corp.google.com [172.25.149.8])
by mx.google.com with ESMTPS id z46si541623eeh.93.2011.04.19.13.33.50
(version=TLSv1/SSLv3 cipher=OTHER);
Tue, 19 Apr 2011 13:33:50 -0700 (PDT)
Received-SPF: pass (google.com: domain of vange...@google.com designates 172.25.149.8 as permitted sender)
Authentication-Results: mx.google.com; spf=pass (google.com: domain of vange...@google.com designates 172.25.149.8 as permitted sender) smtp.mail=vange...@google.com; dkim=pass (test mode) header...@google.com
Received: from hpaq13.eem.corp.google.com (hpaq13.eem.corp.google.com [172.25.149.13])
by smtp-out.google.com with ESMTP id p3JKXoJR011483
for <chromium-...@chromium.org>; Tue, 19 Apr 2011 13:33:50 -0700
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=google.com; s=beta;
t=1303245230; bh=2EgzEmgsxoPuQesVjEFaFyw2tzE=;
h=MIME-Version:In-Reply-To:References:Date:Message-ID:Subject:From:
To:Cc:Content-Type;
b=tM2/xYUv3T4eVnehmDUANV5pOKNkIxNowSGXJYda/fnYpP8DESrnuTiywt8fJbKHn
yIySje53ykedjOl64UyXw==
Received: from qwh5 (qwh5.prod.google.com [10.241.194.197])
by hpaq13.eem.corp.google.com with ESMTP id p3JKWjOF003948
(version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NOT)
for <chromium-...@chromium.org>; Tue, 19 Apr 2011 13:33:48 -0700
Received: by qwh5 with SMTP id 5so50052qwh.6
for <chromium-...@chromium.org>; Tue, 19 Apr 2011 13:33:48 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=google.com; s=beta;
h=domainkey-signature:mime-version:in-reply-to:references:date
:message-id:subject:from:to:cc:content-type;
bh=ydX4bpjjzu+I71VrrlilEmDVW9M4V6De0cADdTbjaxw=;
b=ssWsmaFw6WG3Qao6hMcgZYN5Q9RxwaFFv9URQYHYYfklIhMoeRjI1I7K9MhyA7u4rY
YU7+fj42BHK3Dh/vy02g==
DomainKey-Signature: a=rsa-sha1; c=nofws;
d=google.com; s=beta;
h=mime-version:in-reply-to:references:date:message-id:subject:from:to
:cc:content-type;
b=nmxOpJSuTi5XNI2A3RqVEe7QBqhnObLfrUC4iz4cZ0o4mmPcvytSCfdcUsEnyEdsw8
JvYSMINAeB9/VS2LVThg==
MIME-Version: 1.0
Received: by 10.229.26.130 with SMTP id e2mr4696105qcc.241.1303245228188; Tue,
19 Apr 2011 13:33:48 -0700 (PDT)
Received: by 10.229.135.10 with HTTP; Tue, 19 Apr 2011 13:33:48 -0700 (PDT)
In-Reply-To: <BANLkTimJXVktVA+rTnQ0XzU7=37Ef3N...@mail.gmail.com>
References: <BANLkTike7znN0hN6BGqSr_f7yY17bgM...@mail.gmail.com>
<BANLkTikYhpoV2tBjVsC0wb0dREPgtxR...@mail.gmail.com>
<383a7a14-7a53-4ba5-b2f7-bbca316c8...@hd10g2000vbb.googlegroups.com>
<8c6cf7d6-8d35-4be5-9c47-97b1c2524...@r19g2000prm.googlegroups.com>
<BANLkTik=m2mbdNqTE7SYJE8UEXesNZx...@mail.gmail.com>
<BANLkTikmHQ+wGSZrr56GghuLUEhHMuf...@mail.gmail.com>
<BANLkTi=Dk6t-VjEaY5QK5Vnumcw-_mg...@mail.gmail.com>
<BANLkTimTzSiU9=pk+5=rZwHmTfMWVSQ...@mail.gmail.com>
<BANLkTimi3V7BJeojmyPhbttjEu3k0oy...@mail.gmail.com>
<BANLkTikj3HDY8fG83MCdDkRgd==UpmT...@mail.gmail.com>
<BANLkTi=qaGpn6kMULfzhj-RGb3zVOib...@mail.gmail.com>
<BANLkTi=h+0wOHzsjeZX6YPm1BCrE6up...@mail.gmail.com>
<BANLkTimtU7kPDiHd1sA7jrw-qUpwToe...@mail.gmail.com>
<BANLkTimVmvQ0CJEVMMUJQ3TFQOP1qY6...@mail.gmail.com>
<BANLkTimJXVktVA+rTnQ0XzU7=37Ef3N...@mail.gmail.com>
Date: Tue, 19 Apr 2011 13:33:48 -0700
Message-ID: <BANLkTik3q2AJKZXJ=1Eg5zF8krcXsP9...@mail.gmail.com>
Subject: Re: [chromium-dev] Re: Speed test of building Chrome under Windows
From: Vangelis Kokkevis <vange...@google.com>
To: thes...@chromium.org
Cc: r...@google.com, Chromium-dev <chromium-...@chromium.org>
Content-Type: multipart/alternative; boundary=0016367d66e8e1adc304a14b6c54
X-System-Of-Record: true
--0016367d66e8e1adc304a14b6c54
Content-Type: text/plain; charset=ISO-8859-1
Never mind, I just saw you were talking about try bots....
On Tue, Apr 19, 2011 at 1:32 PM, Vangelis Kokkevis <vange...@google.com>wrote:
> Isn't it this one:
>
>
> http://build.chromium.org/p/chromium/builders/Win%20Builder%20%28dbg%29%28shared%29
>
>
> <http://build.chromium.org/p/chromium/builders/Win%20Builder%20%28dbg%29%28shared%29>
> ?
>
>
> On Tue, Apr 19, 2011 at 1:21 PM, Lei Zhang <thes...@chromium.org> wrote:
>
>> I don't think we have shared configuration try bots for either Windows or
>> Linux.
>>
>> On Tue, Apr 19, 2011 at 1:19 PM, Mike Reed <r...@google.com> wrote:
>> > What bot will exercise this? i.e. gcl try foo --bot=?
>> >
>> > On Tue, Apr 19, 2011 at 4:14 PM, Vangelis Kokkevis <vange...@google.com>
>> wrote:
>> >> Just wanted to mention that switching to the multi-dll build in this
>> past
>> >> couple of weeks has been a tremendous productivity boost. Not only the
>> code
>> >> builds faster (the webkit library links in under 10 secs) but also now
>> the
>> >> VS debugger seems to be able to load and run chrome within seconds. If
>> >> windows is your primary development platform, do yourself a favor and
>> give
>> >> it a try!
>> >> Many kudos to Brian for bringing it up.
>> >> Vangelis
>> >> PS I also used the utility that Brian mentions to set the file cache
>> size to
>> >> 2GB. I don't know how much that plays into the speed improvement.
>> >>
>> >> On Wed, Apr 13, 2011 at 2:20 PM, Brian Salomon <bsalo...@google.com>
>> wrote:
>> >>>
>> >>> Sure, this is all I did:
>> >>> To boost the file cache I used this tool:
>> >>> http://www.analogx.com/contents/download/System/cb/Freeware.htm
>> >>> The max allowed seems to be 2GB. My Z600 system has 12GB of RAM.
>> >>> To enable the Multi-DLL build I put:
>> >>> {'variables': {'component': 'shared_library'}}
>> >>> in c:\users\<my username>\.gyp\include.gypi
>> >>> I had to blow-away my <chrome>\src\build\Debug
>> >>> and <chrome>\src\build\Release dirs before the first builds after
>> switching
>> >>> to Multi-DLL.
>> >>> I also have my chrome tree on a different drive than my OS.
>> >>> Brian
>> >>>
>> >>> On Wed, Apr 13, 2011 at 5:09 PM, Scott Violet <s...@chromium.org>
>> wrote:
>> >>>>
>> >>>> SWEETNESS!
>> >>>> Please share with the rest of us how to set this up.
>> >>>>
>> >>>> -Scott
>> >>>>
>> >>>> On Wed, Apr 13, 2011 at 1:44 PM, Brian Salomon <bsalo...@google.com>
>> >>>> wrote:
>> >>>> > I've been using the Multi-DLL build and used a tool to boost my
>> system
>> >>>> > file
>> >>>> > cache to 2GB. If I touch a file in WebKit
>> >>>> > (GraphicsContext3DChromium.cpp)
>> >>>> > and build the Chrome target in Debug from VS 2008 it takes 10
>> seconds
>> >>>> > or
>> >>>> > less to complete. This is with a hot cache (I've built several
>> times
>> >>>> > recently).
>> >>>> > Brian
>> >>>> >
>> >>>> > On Wed, Apr 13, 2011 at 4:19 PM, Naoki Takano <
>> takano.na...@gmail.com>
>> >>>> > wrote:
>> >>>> >>
>> >>>> >> Of course, I know PDB generation purpose.
>> >>>> >>
>> >>>> >> But I agree with Steve. Of course, we can change manually setting,
>> but
>> >>>> >> it's convenient if we have.
>> >>>> >>
>> >>>> >> Thanks,
>> >>>> >>
>> >>>> >> On Wed, Apr 13, 2011 at 12:41 PM, Steve VanDeBogart
>> >>>> >> <vand...@chromium.org> wrote:
>> >>>> >> > Should we have a Release-NoSymbol target for faster development
>> >>>> >> > builds?
>> >>>> >> > --
>> >>>> >> > Steve
>> >>>> >> >
>> >>>> >> > On Wed, Apr 13, 2011 at 12:38 PM, Sanjeev Radhakrishnan
>> >>>> >> > <sanje...@chromium.org> wrote:
>> >>>> >> >>
>> >>>> >> >> PDB generation is needed for making crash reports have readable
>> >>>> >> >> stack
>> >>>> >> >> traces (and for debugging, of course).
>> >>>> >> >>
>> >>>> >> >> On Wed, Apr 13, 2011 at 12:22 PM, Naoki Takano
>> >>>> >> >> <takano.na...@gmail.com>
>> >>>> >> >> wrote:
>> >>>> >> >>>
>> >>>> >> >>> Hi,
>> >>>> >> >>>
>> >>>> >> >>> I mainly use Linux dev environment because build time is
>> faster
>> >>>> >> >>> than
>> >>>> >> >>> Windows.
>> >>>> >> >>>
>> >>>> >> >>> As you know, link time on Windows is extremely slow!!
>> >>>> >> >>> So I always disabled pdb generation and no opt ref in Release
>> mode
>> >>>> >> >>> manually.
>> >>>> >> >>>
>> >>>> >> >>> I don't know why the Release setting still enable pdb
>> generation
>> >>>> >> >>> as
>> >>>> >> >>> default though.
>> >>>> >> >>> Once disable them, mspdbsrv.exe consumes less memories and
>> link
>> >>>> >> >>> time
>> >>>> >> >>> is
>> >>>> >> >>> shorten.
>> >>>> >> >>> Of course, it might help for debugger, but I don't use
>> debugger
>> >>>> >> >>> these
>> >>>> >> >>> days.
>> >>>> >> >>>
>> >>>> >> >>> Thanks,
>> >>>> >> >>>
>> >>>> >> >>> On Tue, Apr 12, 2011 at 7:29 PM, Carlos Pizano <
>> c...@chromium.org>
>> >>>> >> >>> wrote:
>> >>>> >> >>> > I report 2.5 minutes with VS2010 for a single .cc touch and
>> >>>> >> >>> > debug
>> >>>> >> >>> > build.
>> >>>> >> >>> >
>> >>>> >> >>> > BTW, VS2010 SP1 builds chrome just fine. I do have the
>> >>>> >> >>> > "ultimate"
>> >>>> >> >>> > edition.
>> >>>> >> >>> >
>> >>>> >> >>> >
>> >>>> >> >>> >
>> >>>> >> >>> > On Apr 12, 8:01 am, Ryan Norton <rnorto...@gmail.com>
>> wrote:
>> >>>> >> >>> >> On Apr 11, 2:42 pm, Arthur Hsu <arthur...@chromium.org>
>> wrote:
>> >>>> >> >>> >>
>> >>>> >> >>> >> > - The "max number of parallel project builds" is
>> actually
>> >>>> >> >>> >> > number
>> >>>> >> >>> >> > of
>> >>>> >> >>> >> > VCBuildHelper.exe instances, not the number of
>> concurrent
>> >>>> >> >>> >> > cl.exe.
>> >>>> >> >>> >> > Similar
>> >>>> >> >>> >> > things happened in VC 2010: this number indicates
>> number
>> >>>> >> >>> >> > of
>> >>>> >> >>> >> > MSBuild.exe
>> >>>> >> >>> >> > instances, not cl.exe. See attached picture.
>> >>>> >> >>> >>
>> >>>> >> >>> >> The number of cl/link instances is controlled by the /MP
>> switch
>> >>>> >> >>> >> and
>> >>>> >> >>> >> set to use all your effective processors by default if you
>> >>>> >> >>> >> don't
>> >>>> >> >>> >> specify a number - which is what chromium currently does;
>> >>>> >> >>> >> seehttp://msdn.microsoft.com/en-us/library/bb385193.aspx.
>> You
>> >>>> >> >>> >> can
>> >>>> >> >>> >> override it by setting 'msvs_multi_core_compile': 0 and
>> >>>> >> >>> >> manually
>> >>>> >> >>> >> setting it yourself through 'msvs_settings' ->
>> >>>> >> >>> >> 'VCCLCompilerTool'
>> >>>> >> >>> >> ->
>> >>>> >> >>> >> 'AdditionalOptions': ['/MP***']; *** would be the max # of
>> >>>> >> >>> >> cl.exe
>> >>>> >> >>> >> etc.
>> >>>> >> >>> >> processes you want running per project.
>> >>>> >> >>> >>
>> >>>> >> >>> >> For example, your include.gypi file could be this for
>> limiting
>> >>>> >> >>> >> it
>> >>>> >> >>> >> to
>> >>>> >> >>> >> 12 processes per project:
>> >>>> >> >>> >> -------------
>> >>>> >> >>> >> {
>> >>>> >> >>> >> 'variables': {
>> >>>> >> >>> >> 'msvs_multi_core_compile': 0,
>> >>>> >> >>> >> },
>> >>>> >> >>> >> 'target_defaults': {
>> >>>> >> >>> >> 'msvs_settings': {
>> >>>> >> >>> >> 'VCCLCompilerTool': {
>> >>>> >> >>> >> 'AdditionalOptions': ['/MP12'],
>> >>>> >> >>> >> },
>> >>>> >> >>> >> },
>> >>>> >> >>> >> },}
>> >>>> >> >>> >>
>> >>>> >> >>> >> ---------------
>> >>>> >> >>> >
>> >>>> >> >>> > --
>> >>>> >> >>> > Chromium Developers mailing list: chromium-...@chromium.org
>> >>>> >> >>> > View archives, change email options, or unsubscribe:
>> >>>> >> >>> >
>> http://groups.google.com/a/chromium.org/group/chromium-dev
>> >>>> >> >>> >
>> >>>> >> >>>
>> >>>> >> >>> --
>> >>>> >> >>> Chromium Developers mailing list: chromium-...@chromium.org
>> >>>> >> >>> View archives, change email options, or unsubscribe:
>> >>>> >> >>> http://groups.google.com/a/chromium.org/group/chromium-dev
>> >>>> >> >>
>> >>>> >> >> --
>> >>>> >> >> Chromium Developers mailing list: chromium-...@chromium.org
>> >>>> >> >> View archives, change email options, or unsubscribe:
>> >>>> >> >> http://groups.google.com/a/chromium.org/group/chromium-dev
>> >>>> >> >
>> >>>> >> >
>> >>>> >>
>> >>>> >> --
>> >>>> >> Chromium Developers mailing list: chromium-...@chromium.org
>> >>>> >> View archives, change email options, or unsubscribe:
>> >>>> >> http://groups.google.com/a/chromium.org/group/chromium-dev
>> >>>> >
>> >>>> > --
>> >>>> > Chromium Developers mailing list: chromium-...@chromium.org
>> >>>> > View archives, change email options, or unsubscribe:
>> >>>> > http://groups.google.com/a/chromium.org/group/chromium-dev
>> >>>> >
>> >>>
>> >>> --
>> >>> Chromium Developers mailing list: chromium-...@chromium.org
>> >>> View archives, change email options, or unsubscribe:
>> >>> http://groups.google.com/a/chromium.org/group/chromium-dev
>> >>
>> >> --
>> >> Chromium Developers mailing list: chromium-...@chromium.org
>> >> View archives, change email options, or unsubscribe:
>> >> http://groups.google.com/a/chromium.org/group/chromium-dev
>> >>
>> >
>> > --
>> > Chromium Developers mailing list: chromium-...@chromium.org
>> > View archives, change email options, or unsubscribe:
>> > http://groups.google.com/a/chromium.org/group/chromium-dev
>> >
>>
>> --
>> Chromium Developers mailing list: chromium-...@chromium.org
>> View archives, change email options, or unsubscribe:
>> http://groups.google.com/a/chromium.org/group/chromium-dev
>>
>
>
--0016367d66e8e1adc304a14b6c54
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Never mind, I just saw you were talking about try bots....<br><br><div clas=
s=3D"gmail_quote">On Tue, Apr 19, 2011 at 1:32 PM, Vangelis Kokkevis <span =
dir=3D"ltr"><<a href=3D"mailto:vange...@google.com">vange...@google.com<=
/a>></span> wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex;">Isn't it this one:<div><br></div><div><=
a href=3D"http://build.chromium.org/p/chromium/builders/Win%20Builder%20%28=
dbg%29%28shared%29" target=3D"_blank">http://build.chromium.org/p/chromium/=
builders/Win%20Builder%20%28dbg%29%28shared%29</a></div>
<div><br></div><div><a href=3D"http://build.chromium.org/p/chromium/builder=
s/Win%20Builder%20%28dbg%29%28shared%29" target=3D"_blank"></a>?</div><div>=
<div></div><div class=3D"h5"><div><br><br><div class=3D"gmail_quote">On Tue=
, Apr 19, 2011 at 1:21 PM, Lei Zhang <span dir=3D"ltr"><<a href=3D"mailt=
o:thes...@chromium.org" target=3D"_blank">thes...@chromium.org</a>></spa=
n> wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">I don't think we have shared configurati=
on try bots for either Windows or Linux.<br>
<div><div></div><div><br>
On Tue, Apr 19, 2011 at 1:19 PM, Mike Reed <<a href=3D"mailto:reed@googl=
e.com" target=3D"_blank">r...@google.com</a>> wrote:<br>
> What bot will exercise this? i.e. gcl try foo --bot=3D?<br>
><br>
> On Tue, Apr 19, 2011 at 4:14 PM, Vangelis Kokkevis <<a href=3D"mail=
to:vange...@google.com" target=3D"_blank">vange...@google.com</a>> wrote=
:<br>
>> Just wanted to mention that switching to the multi-dll build in th=
is past<br>
>> couple of weeks has been a=A0tremendous productivity boost. =A0Not=
only the code<br>
>> builds faster (the webkit library links in under 10 secs) but also=
now the<br>
>> VS debugger seems to be able to load and run chrome within seconds=
. =A0If<br>
>> windows is your primary development platform, do yourself a favor =
and give<br>
>> it a try!<br>
>> Many kudos to Brian for bringing it up.<br>
>> Vangelis<br>
>> PS I also used the utility that Brian mentions to set the file cac=
he size to<br>
>> 2GB. =A0I don't know how much that plays into the speed improv=
ement.<br>
>><br>
>> On Wed, Apr 13, 2011 at 2:20 PM, Brian Salomon <<a href=3D"mail=
to:bsalo...@google.com" target=3D"_blank">bsalo...@google.com</a>> wrote=
:<br>
>>><br>
>>> Sure, this is all I did:<br>
>>> To boost the file cache I used this tool:<br>
>>> <a href=3D"http://www.analogx.com/contents/download/System/cb/=
Freeware.htm" target=3D"_blank">http://www.analogx.com/contents/download/Sy=
stem/cb/Freeware.htm</a><br>
>>> The max allowed seems to be 2GB. My Z600 system has 12GB of RA=
M.<br>
>>> To enable the Multi-DLL build I put:<br>
>>> {'variables': {'component': 'shared_librar=
y'}}<br>
>>> in c:\users\<my username>\.gyp\include.gypi<br>
>>> I had to blow-away my <chrome>\src\build\Debug<br>
>>> and=A0<chrome>\src\build\Release dirs before the first b=
uilds after switching<br>
>>> to Multi-DLL.<br>
>>> I also have my chrome tree on a different drive than my OS.<br=
>
>>> Brian<br>
>>><br>
>>> On Wed, Apr 13, 2011 at 5:09 PM, Scott Violet <<a href=3D"m=
ailto:s...@chromium.org" target=3D"_blank">s...@chromium.org</a>> wrote:<b=
r>
>>>><br>
>>>> SWEETNESS!<br>
>>>> Please share with the rest of us how to set this up.<br>
>>>><br>
>>>> =A0-Scott<br>
>>>><br>
>>>> On Wed, Apr 13, 2011 at 1:44 PM, Brian Salomon <<a href=
=3D"mailto:bsalo...@google.com" target=3D"_blank">bsalo...@google.com</a>&g=
t;<br>
>>>> wrote:<br>
>>>> > I've been using the Multi-DLL build and used a to=
ol to boost my system<br>
>>>> > file<br>
>>>> > cache to 2GB. If I touch a file in WebKit<br>
>>>> > (GraphicsContext3DChromium.cpp)<br>
>>>> > and build the Chrome target in Debug from VS 2008 it =
takes 10 seconds<br>
>>>> > or<br>
>>>> > less to complete. This is with a hot cache (I've =
built several times<br>
>>>> > recently).<br>
>>>> > Brian<br>
>>>> ><br>
>>>> > On Wed, Apr 13, 2011 at 4:19 PM, Naoki Takano <<a =
href=3D"mailto:takano.na...@gmail.com" target=3D"_blank">takano.naoki@gmail=
.com</a>><br>
>>>> > wrote:<br>
>>>> >><br>
>>>> >> Of course, I know PDB generation purpose.<br>
>>>> >><br>
>>>> >> But I agree with Steve. Of course, we can change =
manually setting, but<br>
>>>> >> it's convenient if we have.<br>
>>>> >><br>
>>>> >> Thanks,<br>
>>>> >><br>
>>>> >> On Wed, Apr 13, 2011 at 12:41 PM, Steve VanDeBoga=
rt<br>
>>>> >> <<a href=3D"mailto:vand...@chromium.org" targe=
t=3D"_blank">vand...@chromium.org</a>> wrote:<br>
>>>> >> > Should we have a Release-NoSymbol target for=
faster development<br>
>>>> >> > builds?<br>
>>>> >> > --<br>
>>>> >> > Steve<br>
>>>> >> ><br>
>>>> >> > On Wed, Apr 13, 2011 at 12:38 PM, Sanjeev Ra=
dhakrishnan<br>
>>>> >> > <<a href=3D"mailto:sanje...@chromium.org"=
target=3D"_blank">sanje...@chromium.org</a>> wrote:<br>
>>>> >> >><br>
>>>> >> >> PDB generation is needed for making cras=
h reports have readable<br>
>>>> >> >> stack<br>
>>>> >> >> traces (and for debugging, of course).<b=
r>
>>>> >> >><br>
>>>> >> >> On Wed, Apr 13, 2011 at 12:22 PM, Naoki =
Takano<br>
>>>> >> >> <<a href=3D"mailto:takano.naoki@gmail=
.com" target=3D"_blank">takano.na...@gmail.com</a>><br>
>>>> >> >> wrote:<br>
>>>> >> >>><br>
>>>> >> >>> Hi,<br>
>>>> >> >>><br>
>>>> >> >>> I mainly use Linux dev environment b=
ecause build time is faster<br>
>>>> >> >>> than<br>
>>>> >> >>> Windows.<br>
>>>> >> >>><br>
>>>> >> >>> As you know, link time on Windows is=
extremely slow!!<br>
>>>> >> >>> So I always disabled pdb generation =
and no opt ref in Release mode<br>
>>>> >> >>> manually.<br>
>>>> >> >>><br>
>>>> >> >>> I don't know why the Release set=
ting still enable pdb generation<br>
>>>> >> >>> as<br>
>>>> >> >>> default though.<br>
>>>> >> >>> Once disable them, mspdbsrv.exe cons=
umes less memories and link<br>
>>>> >> >>> time<br>
>>>> >> >>> is<br>
>>>> >> >>> shorten.<br>
>>>> >> >>> Of course, it might help for debugge=
r, but I don't use debugger<br>
>>>> >> >>> these<br>
>>>> >> >>> days.<br>
>>>> >> >>><br>
>>>> >> >>> Thanks,<br>
>>>> >> >>><br>
>>>> >> >>> On Tue, Apr 12, 2011 at 7:29 PM, Car=
los Pizano <<a href=3D"mailto:c...@chromium.org" target=3D"_blank">cpu@ch=
romium.org</a>><br>
>>>> >> >>> wrote:<br>
>>>> >> >>> > I report 2.5 minutes with VS201=
0 for a single .cc touch and<br>
>>>> >> >>> > debug<br>
>>>> >> >>> > build.<br>
>>>> >> >>> ><br>
>>>> >> >>> > BTW, VS2010 SP1 builds chrome j=
ust fine. I do have the<br>
>>>> >> >>> > "ultimate"<br>
>>>> >> >>> > edition.<br>
>>>> >> >>> ><br>
>>>> >> >>> ><br>
>>>> >> >>> ><br>
>>>> >> >>> > On Apr 12, 8:01=A0am, Ryan Nort=
on <<a href=3D"mailto:rnorto...@gmail.com" target=3D"_blank">rnorton10@g=
mail.com</a>> wrote:<br>
>>>> >> >>> >> On Apr 11, 2:42=A0pm, Arthu=
r Hsu <<a href=3D"mailto:arthur...@chromium.org" target=3D"_blank">arthu=
r...@chromium.org</a>> wrote:<br>
>>>> >> >>> >><br>
>>>> >> >>> >> > =A0 =A0- The "max=
number of parallel project builds" is actually<br>
>>>> >> >>> >> > number<br>
>>>> >> >>> >> > of<br>
>>>> >> >>> >> > =A0 =A0VCBuildHelper.e=
xe instances, not the number of concurrent<br>
>>>> >> >>> >> > cl.exe.<br>
>>>> >> >>> >> > =A0Similar<br>
>>>> >> >>> >> > =A0 =A0things happened=
in VC 2010: this number indicates number<br>
>>>> >> >>> >> > of<br>
>>>> >> >>> >> > MSBuild.exe<br>
>>>> >> >>> >> > =A0 =A0instances, not =
cl.exe. =A0See attached picture.<br>
>>>> >> >>> >><br>
>>>> >> >>> >> The number of cl/link insta=
nces is controlled by the /MP switch<br>
>>>> >> >>> >> and<br>
>>>> >> >>> >> set to use all your effecti=
ve processors by default if you<br>
>>>> >> >>> >> don't<br>
>>>> >> >>> >> specify a number - which is=
what chromium currently does;<br>
>>>> >> >>> >> seehttp://<a href=3D"http:/=
/msdn.microsoft.com/en-us/library/bb385193.aspx" target=3D"_blank">msdn.mic=
rosoft.com/en-us/library/bb385193.aspx</a>. =A0You<br>
>>>> >> >>> >> can<br>
>>>> >> >>> >> override it by setting '=
;msvs_multi_core_compile': 0 and<br>
>>>> >> >>> >> manually<br>
>>>> >> >>> >> setting it yourself through=
'msvs_settings' -><br>
>>>> >> >>> >> 'VCCLCompilerTool'<=
br>
>>>> >> >>> >> -><br>
>>>> >> >>> >> 'AdditionalOptions'=
: ['/MP***']; *** would be the max # of<br>
>>>> >> >>> >> cl.exe<br>
>>>> >> >>> >> etc.<br>
>>>> >> >>> >> processes you want running =
per project.<br>
>>>> >> >>> >><br>
>>>> >> >>> >> For example, your include.g=
ypi file could be this for limiting<br>
>>>> >> >>> >> it<br>
>>>> >> >>> >> to<br>
>>>> >> >>> >> 12 processes per project:<b=
r>
>>>> >> >>> >> -------------<br>
>>>> >> >>> >> {<br>
>>>> >> >>> >> =A0 'variables': {<=
br>
>>>> >> >>> >> =A0 =A0 'msvs_multi_cor=
e_compile': 0,<br>
>>>> >> >>> >> =A0 },<br>
>>>> >> >>> >> =A0 'target_defaults=
9;: {<br>
>>>> >> >>> >> =A0 =A0 'msvs_settings&=
#39;: {<br>
>>>> >> >>> >> =A0 =A0 =A0 'VCCLCompil=
erTool': {<br>
>>>> >> >>> >> =A0 =A0 =A0 =A0 'Additi=
onalOptions': ['/MP12'],<br>
>>>> >> >>> >> =A0 =A0 =A0 },<br>
>>>> >> >>> >> =A0 =A0 },<br>
>>>> >> >>> >> =A0 },}<br>
>>>> >> >>> >><br>
>>>> >> >>> >> ---------------<br>
>>>> >> >>> ><br>
>>>> >> >>> > --<br>
>>>> >> >>> > Chromium Developers mailing lis=
t: <a href=3D"mailto:chromium-...@chromium.org" target=3D"_blank">chromium-=
d...@chromium.org</a><br>
>>>> >> >>> > View archives, change email opt=
ions, or unsubscribe:<br>
>>>> >> >>> > =A0 =A0<a href=3D"http://groups=
.google.com/a/chromium.org/group/chromium-dev" target=3D"_blank">http://gro=
ups.google.com/a/chromium.org/group/chromium-dev</a><br>
>>>> >> >>> ><br>
>>>> >> >>><br>
>>>> >> >>> --<br>
>>>> >> >>> Chromium Developers mailing list: <a=
href=3D"mailto:chromium-...@chromium.org" target=3D"_blank">chromium-dev@c=
hromium.org</a><br>
>>>> >> >>> View archives, change email options,=
or unsubscribe:<br>
>>>> >> >>> =A0 =A0<a href=3D"http://groups.goog=
le.com/a/chromium.org/group/chromium-dev" target=3D"_blank">http://groups.g=
oogle.com/a/chromium.org/group/chromium-dev</a><br>
>>>> >> >><br>
>>>> >> >> --<br>
>>>> >> >> Chromium Developers mailing list: <a hre=
f=3D"mailto:chromium-...@chromium.org" target=3D"_blank">chromium-dev@chrom=
ium.org</a><br>
>>>> >> >> View archives, change email options, or =
unsubscribe:<br>
>>>> >> >> <a href=3D"http://groups.google.com/a/ch=
romium.org/group/chromium-dev" target=3D"_blank">http://groups.google.com/a=
/chromium.org/group/chromium-dev</a><br>
>>>> >> ><br>
>>>> >> ><br>
>>>> >><br>
>>>> >> --<br>
>>>> >> Chromium Developers mailing list: <a href=3D"mail=
to:chromium-...@chromium.org" target=3D"_blank">chromium-...@chromium.org</=
a><br>
>>>> >> View archives, change email options, or unsubscri=
be:<br>
>>>> >> =A0 =A0<a href=3D"http://groups.google.com/a/chro=
mium.org/group/chromium-dev" target=3D"_blank">http://groups.google.com/a/c=
hromium.org/group/chromium-dev</a><br>
>>>> ><br>
>>>> > --<br>
>>>> > Chromium Developers mailing list: <a href=3D"mailto:c=
hromium-...@chromium.org" target=3D"_blank">chromium-...@chromium.org</a><b=
r>
>>>> > View archives, change email options, or unsubscribe:<=
br>
>>>> > <a href=3D"http://groups.google.com/a/chromium.org/gr=
oup/chromium-dev" target=3D"_blank">http://groups.google.com/a/chromium.org=
/group/chromium-dev</a><br>
>>>> ><br>
>>><br>
>>> --<br>
>>> Chromium Developers mailing list: <a href=3D"mailto:chromium-d=
e...@chromium.org" target=3D"_blank">chromium-...@chromium.org</a><br>
>>> View archives, change email options, or unsubscribe:<br>
>>> <a href=3D"http://groups.google.com/a/chromium.org/group/chrom=
ium-dev" target=3D"_blank">http://groups.google.com/a/chromium.org/group/ch=
romium-dev</a><br>
>><br>
>> --<br>
>> Chromium Developers mailing list: <a href=3D"mailto:chromium-dev@c=
hromium.org" target=3D"_blank">chromium-...@chromium.org</a><br>
>> View archives, change email options, or unsubscribe:<br>
>> <a href=3D"http://groups.google.com/a/chromium.org/group/chromium-=
dev" target=3D"_blank">http://groups.google.com/a/chromium.org/group/chromi=
um-dev</a><br>
>><br>
><br>
> --<br>
> Chromium Developers mailing list: <a href=3D"mailto:chromium-dev@chrom=
ium.org" target=3D"_blank">chromium-...@chromium.org</a><br>
> View archives, change email options, or unsubscribe:<br>
> =A0 =A0<a href=3D"http://groups.google.com/a/chromium.org/group/chromi=
um-dev" target=3D"_blank">http://groups.google.com/a/chromium.org/group/chr=
omium-dev</a><br>
><br>
<br>
--<br>
Chromium Developers mailing list: <a href=3D"mailto:chromium-...@chromium.o=
rg" target=3D"_blank">chromium-...@chromium.org</a><br>
View archives, change email options, or unsubscribe:<br>
=A0 =A0<a href=3D"http://groups.google.com/a/chromium.org/group/chromium-d=
ev" target=3D"_blank">http://groups.google.com/a/chromium.org/group/chromiu=
m-dev</a><br>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br>
--0016367d66e8e1adc304a14b6c54--