<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">On 30.03.2013 0:36, Kaelyn Uhrain
wrote:<br>
</div>
<blockquote
cite="mid:CAPp_XeV5XpYQ+xqDWvh0DBm05pQ+RzKspT=uMAO4P7bq9db0rg@mail.gmail.com"
type="cite">
<div dir="ltr">On Fri, Mar 29, 2013 at 8:43 AM, Anton Yartsev <span
dir="ltr"><<a moz-do-not-send="true"
href="mailto:anton.yartsev@gmail.com" target="_blank"
onclick="window.open('https://mail.google.com/mail/?view=cm&tf=1&to=anton.yartsev@gmail.com&cc=&bcc=&su=&body=','_blank');return
false;" class="cremed">anton.yartsev@gmail.com</a>></span>
wrote:<br>
<div class="gmail_extra">
<div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div class="im">
On 29.03.2013 19:16, John Criswell wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px
0px
0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">On
3/29/13 9:48 AM, Anton Yartsev wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px
0px
0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">Hi
all!<br>
<br>
I have finally decided to upgrade from my old Core 2
Duo E8500, 6GB DDR2 400 MHz.<br>
Currently the full building+testing of llvm lasts
for hours (slightly faster with VS2008, slightly
slower with MinGW) and makes everything lag.<br>
</blockquote>
<br>
By "test," do you mean the lit tests in llvm/test or a
full run of the test suite in the test-suite project?<br>
</blockquote>
</div>
I mean lit tests.
<div class="im"><br>
<br>
<blockquote class="gmail_quote" style="margin:0px 0px
0px
0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><br>
<blockquote class="gmail_quote" style="margin:0px 0px
0px
0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">Ideally
would be happy to perform build+test for about 10-20
minutes, as some fast builders do, and have no lags
with other useful applications, such as browsers and
Acrobat, during building/testing.<br>
Please can anybody advise me an appropriate
hardware? Or just tell, what hardware the fast
buildbots are running (specifically
clang-native-mingw64-win7,
clang-x86_64-ubuntu-gdb-75 and
clang-x86_64-debian-fast)?<br>
<br>
</blockquote>
<br>
Just to throw out some rough numbers, we have a 128
GB, 32 core machine. The processors are Intel(R)
Xeon(R) CPU E7- 8837 @ 2.67GHz.<br>
Doing a make -j20 on LLVM+Clang from scratch takes
about 4 minutes of wall time and about 50 minutes of
user+system CPU time. I can't seem to run the tests
in llvm/test, so I can't time that.<br>
</blockquote>
</div>
Cool! :)<br>
Then I can forget about 10 minutes..<br>
looking at something like Intel Core i7-3770K or Core
i7-3930K in the best case.<br>
</blockquote>
<div><br>
</div>
<div style="">Out of curiosity I decided to see how long my
home system takes to build, and I think 10 min shouldn't
be too hard to reach with consumer hardware. On my Core
i7-2600K (Sandy Bridge) @ 4.8GHz with 16GB of DDR3-2133
RAM and Linux running on a 2TB 7200 RPM SATA-III hard
drive with 64MB cache, in a new build directory with the
current SVN llvm+clang+compiler-rt configured by running
"cmake -DCMAKE_BUILD_TYPE=Debug -Wno-dev .." and using gcc
4.7.2 as the compiler:</div>
<div style=""><br>
</div>
<div style="">$ time { make -j9 && make -j9
check-all ; }<br>
</div>
<div style="">(lots of build output followed by a successful
run of the tests)</div>
<div style="">
<div><br>
</div>
<div>real 10m43.235s</div>
<div>user 69m20.537s</div>
<div>sys 4m7.796s</div>
<div><br>
</div>
</div>
<div style="">FYI: Doing all of the above but running
"check" instead of "check-all" reduced wall-time by about
3 1/2 minutes:</div>
</div>
</div>
</div>
</blockquote>
Thanks for the tip!<br>
<blockquote
cite="mid:CAPp_XeV5XpYQ+xqDWvh0DBm05pQ+RzKspT=uMAO4P7bq9db0rg@mail.gmail.com"
type="cite">
<div dir="ltr">
<div class="gmail_extra">
<div class="gmail_quote">
<div style="">
<div><br>
</div>
<div>$ time { make -j9 && make -j9 check ; }<br>
</div>
<div>real<span class="" style="white-space:pre"> </span>7m15.333s<br>
</div>
</div>
<div style="">
<div>user<span class="" style="white-space:pre"> </span>46m33.499s</div>
<div>sys<span class="" style="white-space:pre"> </span>2m32.316s</div>
</div>
</div>
</div>
</div>
</blockquote>
Currently upgraded to Core i7-3820 (Sandy Bridge) @ 3.6GHz, 16GB
DDR3-1600 RAM. Now LLVM build+test takes about 20 minutes with
VS2012. Now playing with MinGW.<br>
<br>
<blockquote
cite="mid:CAPp_XeV5XpYQ+xqDWvh0DBm05pQ+RzKspT=uMAO4P7bq9db0rg@mail.gmail.com"
type="cite">
<div dir="ltr">
<div class="gmail_extra">
<div class="gmail_quote">
<div style="">
<div><br>
</div>
<div style="">Cheers,</div>
<div style="">Kaelyn</div>
<div style=""><br>
</div>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><br>
Thanx for your replay!<br>
<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<br>
-- John T.<br>
<br>
<span class=""><font color="#888888">
</font></span></blockquote>
<span class=""><font color="#888888">
<br>
-- <br>
Anton</font></span>
<div class="">
<div class="h5"><br>
<br>
_______________________________________________<br>
cfe-dev mailing list<br>
<a moz-do-not-send="true"
href="mailto:cfe-dev@cs.uiuc.edu" target="_blank"
onclick="window.open('https://mail.google.com/mail/?view=cm&tf=1&to=cfe-dev@cs.uiuc.edu&cc=&bcc=&su=&body=','_blank');return
false;" class="cremed">cfe-dev@cs.uiuc.edu</a><br>
<a moz-do-not-send="true"
href="http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev"
target="_blank" class="cremed">http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev</a><br>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</div>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">--
Anton</pre>
</body>
</html>