Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 5 Jul 2013 14:39:00 +0200
From:      Dimitry Andric <dim@FreeBSD.org>
To:        Daniel Braniss <danny@cs.huji.ac.il>
Cc:        "freebsd-stable@freebsd.org Stable" <freebsd-stable@freebsd.org>
Subject:   Re: make buildworld is now 50% slower
Message-ID:  <CE93BC6C-31DE-4549-B257-004D3DFE4294@FreeBSD.org>
In-Reply-To: <E1Uv1lv-0000wY-9K@kabab.cs.huji.ac.il>
References:  <E1Uv1lv-0000wY-9K@kabab.cs.huji.ac.il>

next in thread | previous in thread | raw e-mail | index | archive | help
[redirecting to the correct mailing list, freebsd-stable@ ...]

On Jul 5, 2013, at 10:53, Daniel Braniss <danny@cs.huji.ac.il> wrote:
> after today's update of 9.1-STABLE I noticed that make =
build[world|kernel] are
> taking conciderable more time, is it because the upgrade of clang?
> and if so, is the code produced any better?
>=20
> before:
> buildwordl:	 26m4.52s real 2h28m32.12s user 36m6.27s sys
> buildkernel:	 7m29.42s real 23m22.22s user 4m26.26s sys
>=20
> today:
> buildwordl:	34m29.80s real 2h38m9.37s user 37m7.61s sys
> buildkernel:    15m31.52s real 22m59.40s user 4m33.06s sys

Ehm, your user and sys times are not that much different at all, they
add up to about 5% slower for buildworld, and 1% faster for build =
kernel.
Are you sure nothing else is running on that machine, eating up CPU time
while you are building? :)

But yes, clang 3.3 is of course somewhat larger than 3.2.  You might
especially notice that, if you are using gcc, which is very slow at
compiling C++.

In any case, if you do not care about clang, just set WITHOUT_CLANG=3D =
in
your /etc/src.conf, and you can shave off some build time.

-Dimitry




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CE93BC6C-31DE-4549-B257-004D3DFE4294>