Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 28 Aug 2016 10:57:59 -0700
From:      "K. Macy" <kmacy@freebsd.org>
To:        Dimitry Andric <dim@freebsd.org>
Cc:        Lars Engels <lars.engels@0x20.net>, Andrea Brancatelli <abrancatelli@schema31.it>,  freebsd-stable <freebsd-stable@freebsd.org>, Erich Dollansky <erichsfreebsdlist@alogt.com>,  Kubilay Kocak <koobs@freebsd.org>, Johannes Dieterich <dieterich.joh@gmail.com>
Subject:   Re: Benchmarks results for FreeBSD 11
Message-ID:  <CAHM0Q_Ng%2BbYQrKvavCEB_B-jhtRaMNnBvTz2wZEaKSnUYr-yPA@mail.gmail.com>
In-Reply-To: <79F32FFD-BBDF-4359-A4CB-C80A3FC59EAD@FreeBSD.org>
References:  <20160819073422.4292997b@X220.alogt.com> <af0fefab-69d7-f0a9-3d6d-4a9891d5a156@FreeBSD.org> <20160821144505.27c0f55d@X220.alogt.com> <827183a944ee4052649c152d65204444@schema31.it> <20160822101423.GF18643@e-new.0x20.net> <CAHM0Q_My2otDtVSzTiQMHE=ty%2B7kEBP%2BwfFofBvOzoz8ro%2B-sQ@mail.gmail.com> <79F32FFD-BBDF-4359-A4CB-C80A3FC59EAD@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sunday, August 28, 2016, Dimitry Andric <dim@freebsd.org> wrote:

> On 28 Aug 2016, at 02:10, K. Macy <kmacy@freebsd.org <javascript:;>>
> wrote:
> >
> >> The problem here is that Phoronix took a Beta version of FreeBSD 11.
> >> Beta versions have a lot of debugging (malloc, invariants, witness)
> >> options enabled which make it significantly slower than release
> >> versions. This is even obviously when you run a Beta as a desktop. It
> >> just feels much slower.
> >
> >
> > I don't know what was going on in these particular tests, but in a
> > more recent benchmarking run
> > -https://www.phoronix.com/scan.php?page=article&item=
> freebsd11-clang-gcc&num=1
> > - you're seeing the result of openmp being disabled in base. The clang
> > maintainer for src refuses to include libomp as required for -fopenmp
> > because nothing in base requires it.
>
> Come on, this is nonsense.  I have indicated earlier that I would have
> liked to import openmp into base, but this was shot down precisely for
> that reason: nothing in base uses it.
>
>
So for now, the solution is simply: install one of the llvm ports, and
> use it.  These have configuration setting to install every optional
> component from the LLVM project.


It's hardly nonsense. I didn't say that it couldn't be made to work by
installing the right ports, with the right options, if you pass the right
extra library paths (-fopenmp is sufficient on other platforms). I said
that it is not present in base. Thus out of the box performance is what we
see.

Can you point to other platforms where the default system compiler has
disabled functionality? I think the whole concept of "base" may be
confusing things. Users don't care about what is base and what isn't. The
simple fact is you install a compiler with missing functionality, requiring
extra steps by the user that only make sense if you're a committer.


-M


>
> -Dimitry
>
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAHM0Q_Ng%2BbYQrKvavCEB_B-jhtRaMNnBvTz2wZEaKSnUYr-yPA>