From owner-freebsd-stable@freebsd.org Sun Aug 28 17:58:01 2016 Return-Path: Delivered-To: freebsd-stable@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3F18FB78EEA for ; Sun, 28 Aug 2016 17:58:01 +0000 (UTC) (envelope-from kmacybsd@gmail.com) Received: from mail-it0-x22c.google.com (mail-it0-x22c.google.com [IPv6:2607:f8b0:4001:c0b::22c]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 0600627D; Sun, 28 Aug 2016 17:58:00 +0000 (UTC) (envelope-from kmacybsd@gmail.com) Received: by mail-it0-x22c.google.com with SMTP id x131so71997833ite.0; Sun, 28 Aug 2016 10:58:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=c7rVGFq8n4+ZZeeOorbg4Xvx4sy+ZovJafFf6hCTy/s=; b=abW60YhlxznES9r7MsYeJ+u0HYzIYiFqsIcpH7v/69BSIZDuHnK7t3DjACRQkfSzaS Gni4th88SnXKdJ6ZwLhoT0blTeVxc/++aq11rvAJp3B7cUDq5s6CefuM/JKebuutiyK+ IdzOY/RrrYf0+8ktHcKY4YgqNJirTshtfMQrrkLwB1aj3VUBmZ9Bq9UNnno8VBD3+FCF OO7Vl2XFoGnlFozLEy+N74AScAd9jW8EKSeGEOEqCUmMgzE2gIKzRw8kSx8SfWOi+Cwo +7OLsZTB4EjFYCPQbRFYmsJ4JCbakFMFgI8zVAHMB95O9X6yFviQSAmEOHSyicWCEoQg sOuA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=c7rVGFq8n4+ZZeeOorbg4Xvx4sy+ZovJafFf6hCTy/s=; b=Eywjr2bA0DAXgYDgSH4akB6UB+gw8j33+69T1I40q7jScmgSXdaWOWTbnjVDfWV7Ln Cy4U4wfMnX9a+012TOGWIieP5uOFZa5G32Q5ZJ2zq18fTVn1JrLlFw4rTEvZcgM4kEsj YI8HRl/Ae4mWgorPzQcmm6OW2NgAsh78xaJrpEumZKyPb3GRM0WUbnF/gtiVpxiVdE9U yoSfLEILzyEEo7URDGRpCbj5rjpOLlvbPbYWYNKgw2VPQaYAjnQwOzl36BmfRO+9lXgl bxZS7DnoB4zeLo8aZniKpoeb1haMFWcLk/JEvIwNKORmchBmLWcTVRAwflwx94/96cKT 9nzg== X-Gm-Message-State: AE9vXwMxJF5c2EXRNLdu4X6qgt0NRn2VOYQHrfcQj5Jn8kHNb98u2bcoZHFEhMTyumSkIBvKZY/PZJ85guTU6Q== X-Received: by 10.36.112.11 with SMTP id f11mr10060449itc.57.1472407080336; Sun, 28 Aug 2016 10:58:00 -0700 (PDT) MIME-Version: 1.0 Sender: kmacybsd@gmail.com Received: by 10.107.143.11 with HTTP; Sun, 28 Aug 2016 10:57:59 -0700 (PDT) In-Reply-To: <79F32FFD-BBDF-4359-A4CB-C80A3FC59EAD@FreeBSD.org> References: <20160819073422.4292997b@X220.alogt.com> <20160821144505.27c0f55d@X220.alogt.com> <827183a944ee4052649c152d65204444@schema31.it> <20160822101423.GF18643@e-new.0x20.net> <79F32FFD-BBDF-4359-A4CB-C80A3FC59EAD@FreeBSD.org> From: "K. Macy" Date: Sun, 28 Aug 2016 10:57:59 -0700 X-Google-Sender-Auth: nI9SygolB3l5ES1a_vuZrsuZVFs Message-ID: Subject: Re: Benchmarks results for FreeBSD 11 To: Dimitry Andric Cc: Lars Engels , Andrea Brancatelli , freebsd-stable , Erich Dollansky , Kubilay Kocak , Johannes Dieterich Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.22 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Aug 2016 17:58:01 -0000 On Sunday, August 28, 2016, Dimitry Andric wrote: > On 28 Aug 2016, at 02:10, K. Macy > > 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 > >