From owner-freebsd-current@FreeBSD.ORG Sat Sep 22 07:35:53 2012 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 50F90106564A for ; Sat, 22 Sep 2012 07:35:53 +0000 (UTC) (envelope-from ohartman@zedat.fu-berlin.de) Received: from outpost1.zedat.fu-berlin.de (outpost1.zedat.fu-berlin.de [130.133.4.66]) by mx1.freebsd.org (Postfix) with ESMTP id 8481C8FC0C for ; Sat, 22 Sep 2012 07:35:52 +0000 (UTC) Received: from inpost2.zedat.fu-berlin.de ([130.133.4.69]) by outpost1.zedat.fu-berlin.de (Exim 4.69) for freebsd-current@freebsd.org with esmtp (envelope-from ) id <1TFKFj-001lrZ-Cc>; Sat, 22 Sep 2012 09:35:51 +0200 Received: from e178027077.adsl.alicedsl.de ([85.178.27.77] helo=thor.walstatt.dyndns.org) by inpost2.zedat.fu-berlin.de (Exim 4.69) for freebsd-current@freebsd.org with esmtpsa (envelope-from ) id <1TFKFj-001d8x-8q>; Sat, 22 Sep 2012 09:35:51 +0200 Message-ID: <505D6A51.7090808@zedat.fu-berlin.de> Date: Sat, 22 Sep 2012 09:35:45 +0200 From: "O. Hartmann" User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:15.0) Gecko/20120910 Thunderbird/15.0.1 MIME-Version: 1.0 To: freebsd-current@freebsd.org References: <505CDE9C.3060504@andric.com> In-Reply-To: <505CDE9C.3060504@andric.com> X-Enigmail-Version: 1.4.3 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig1C7F58C05E57CC0BF478D198" X-Originating-IP: 85.178.27.77 Subject: Re: More kernel performance tests on FreeBSD 10.0-CURRENT X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 22 Sep 2012 07:35:53 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig1C7F58C05E57CC0BF478D198 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Am 09/21/12 23:39, schrieb Dimitry Andric: > Hi all, >=20 > As a followup to my previous post about the performance of FreeBSD 10.0= > kernels compiled with different compilers (clang and gcc), I did anothe= r > series of tests, now on a more modern machine (Core i5-based). I also > tested the performance with different compiler optimization settings. >=20 > The attached text file[1] contains more information about these tests, > performance data, and my conclusions. Any errors and omissions are als= o > my fault, so if you notice them, please let me know. >=20 > The executive summary: GENERIC kernels compiled with clang 3.2 are agai= n > a little faster than those compiled with gcc 4.2.1. For gcc, compiling= > with -O2 also gives a slightly faster kernel than with -O1, but for > clang there is no measurable difference between those flags. >=20 > Again, many thanks to Gavin Atkinson for providing the required > hardware. >=20 > -Dimitry >=20 > [1]: Also available at: > At least one can say FreeBSD does not suffer from performance drain using the cutting edge clang 3.2 compared with a gcc 4.2.1 compiler, the echo from the past. Dimirty, are you planning also to benchmark clang 3.2 versus gcc 4.8.0? =46rom the development point of view, such a benchmark would be more natural, but I do not know whether the kernel sources are gcc 4.8-friendly and would allow such a test. What is about optimization level "-O3" and architectural recognition via "-march=3Dnative"? Neverthelesse, thanks. oh --------------enig1C7F58C05E57CC0BF478D198 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iQEcBAEBAgAGBQJQXWpWAAoJEOgBcD7A/5N8AgIIANntmW/GqIqvECyVPtzglJHy /wLGo4dpAhC+SdRu6VbANjF0U1kxhiplig9uUG7e/CjCs8FkJmeQgJfN2MKDPqt1 CDf6bvt8TyRYIKcNwLoh/sFGJgMOUdDE/aY37YQIK8mz8a4irZQA4ndVcRA/th9O 3EitJhl0ahNZw11shsH5ydqmngY1vp+vOfIvU05wvXZt5R89zVYOyfsp07EnfbHf yRNOQlXTPIUm+AOw2zWg7tETNSpA6BDoME77hOKan9K7VpMlZDH7qvA5EaIatyLU MraOCwKx2C+nB7VKnHpH9faoD5jwAuZXZ3tn3j5ruNyiytUUkZNMMET4M250mzU= =u5gS -----END PGP SIGNATURE----- --------------enig1C7F58C05E57CC0BF478D198--