From owner-freebsd-stable@freebsd.org Wed Aug 24 10:08:03 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 BB22DBBE8C1 for ; Wed, 24 Aug 2016 10:08:03 +0000 (UTC) (envelope-from abrancatelli@schema31.it) Received: from titanio.pomona.schema31.it (skeyby-3-pt.tunnel.tserv6.fra1.ipv6.he.net [IPv6:2001:470:1f0a:11db::2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "titanio.pomona.schema31.it", Issuer "titanio.pomona.schema31.it" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 402D113D7; Wed, 24 Aug 2016 10:08:02 +0000 (UTC) (envelope-from abrancatelli@schema31.it) Received: from smtp.schema31.it (localhost [127.0.0.1]) by titanio.pomona.schema31.it (8.14.7/8.14.7) with ESMTP id u7OA78lU083512; Wed, 24 Aug 2016 12:07:10 +0200 (CEST) (envelope-from abrancatelli@schema31.it) MIME-Version: 1.0 Date: Wed, 24 Aug 2016 12:07:08 +0200 From: Andrea Brancatelli To: Erich Dollansky Cc: Lars Engels , freebsd-stable , Kubilay Kocak , Slawa Olhovchenkov Subject: Re: Benchmarks results for FreeBSD 11 Organization: Schema31 s.r.l. In-Reply-To: <20160824045558.18c86764@X220.alogt.com> References: <20160819073422.4292997b@X220.alogt.com> <20160821144505.27c0f55d@X220.alogt.com> <827183a944ee4052649c152d65204444@schema31.it> <20160822101423.GF18643@e-new.0x20.net> <20160822120215.GV22212@zxy.spb.ru> <20160823110159.GU18643@e-new.0x20.net> <20160824045558.18c86764@X220.alogt.com> Message-ID: <3234db29c228879cc473deec0b09568c@schema31.it> X-Sender: abrancatelli@schema31.it User-Agent: Roundcube Webmail/1.1.5 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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: Wed, 24 Aug 2016 10:08:03 -0000 Il 2016-08-23 22:55 Erich Dollansky ha scritto: > 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. > No. > All debugs in amd64 is off at time of BETA. Ok, then FreeBSD is just slower... you missed the main point. The test was done with applications compiled with unknown options. If you want to find out the impact of an operating system on you application you have to use the same compiler with the same options on all platforms. Basically, it was a compiler test named operating system benchmark. OK, now I get your point. You mean he's doing an Operative System test using an application, that is something that involve an additional complexity. I get your point, but, er... I suppose he's using pkg to install the ports or apt-get to install the packages. I mean I suppose he's lazy enough to compare binaries vs binaries. Now what you're telling me is "it's not a kernel comparison, it's an application over a kernel comparison" and I agree with you, but why should a casual reader be interested in a kernel comparison? Or, in general, what would you do with a kernel without an application? :) Sorry, I don't want to sound polemic, neither start a flame or anything, I'm just curious... And I understand clearly the philosophical differences between a Base BSD system and a Linux Distribution, but again I'm a simple person, I just stick the FreeBSD cd in, install and then do pkg install unzip. If it's slower than my colleague using Ubuntu and doing the same thing I just feel sad :) So the first outcome everyone thought about was "The RC is slower because of debugging?". No. Then the next question that pops into my mind is "The ports are slow because the binaries are compiled with the wrong options?". Thanks for your clarifications. From owner-freebsd-stable@freebsd.org Wed Aug 24 11:12:32 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 465B8BC46D2 for ; Wed, 24 Aug 2016 11:12:32 +0000 (UTC) (envelope-from elferdo@gmail.com) Received: from mail-it0-x234.google.com (mail-it0-x234.google.com [IPv6:2607:f8b0:4001:c0b::234]) (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 0CB0B1F16 for ; Wed, 24 Aug 2016 11:12:32 +0000 (UTC) (envelope-from elferdo@gmail.com) Received: by mail-it0-x234.google.com with SMTP id x131so202162251ite.0 for ; Wed, 24 Aug 2016 04:12:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=jJFLW/CB8u2/EikPzyU04BPUu8nF6VyPEdlC1jLB0Qk=; b=vN9XU8A1766nYqf+HjI9OgU5BHIGLs9hpnmcYA8WEkR5ZNcgO0JA8cejRKP1u3yl7z pEg6d93aHSUn5xQwmAzx4C+qRfj8/ZTwurMD38WEaRxbMqAoVCNWrdqCdtSrQwvBrc+7 eUrFPFjIa+CxYuPwixH1QPUcCN3q/nDdTZ0A7ys7sJAKYIbERBi8SmP4IES54oHlNl/P vmQJHBfOWqGZY5iXeij4xgdt1yhW5knQVHsmQZSYAInt6rz2XzrsTKopdLMMlPYlYwF9 BgvTPb2nqxYKkKexs5/LOrafDFUhu9TFKQLIHAr3xyJ83HF4YkcPVVnYdMM5/2qArP8o wGhg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=jJFLW/CB8u2/EikPzyU04BPUu8nF6VyPEdlC1jLB0Qk=; b=RR6sWuQUJxoYd2Xe2qpSohWYd/ZIIl7v6sBIck1E48fTsKMRkLtegC0t8Bk96W+fTR Uw1waK1DbgLhbfpcsFkGQmRkI18HRPes/wKGWhVmoQ/pzqAdIXyzD9OHRPGCsHoQoYeN qSseXUfRRu9rz8jY0uu3X1CvBpVjk91z9vCiOfFknnBh9jMMGUQC7wUf7vlBY/1jx2ZE r8nGfQV5GOW+8rJdZirfgwVGnoICYCw8u4zSsvbk2Y2u+QLy+0eBZQDvgzZCNzzRAICP oqCM9rB+JFLDrYYLqmo9nKovjopndBdrsVH06DCv/ZmCvCDK2mpFsIjiKUz9wCR3zDGs uMaA== X-Gm-Message-State: AEkoouvVXuBC8q/SIhFCVOkuLkmWGM2oj+cnUPHyTcr6Kex2dJg9I+eMVWHihV9FdLAP5dz+y80YqKvnyY9+Dw== X-Received: by 10.36.124.141 with SMTP id a135mr3331873itd.25.1472037144754; Wed, 24 Aug 2016 04:12:24 -0700 (PDT) MIME-Version: 1.0 Received: by 10.36.95.18 with HTTP; Wed, 24 Aug 2016 04:12:24 -0700 (PDT) In-Reply-To: <3234db29c228879cc473deec0b09568c@schema31.it> References: <20160819073422.4292997b@X220.alogt.com> <20160821144505.27c0f55d@X220.alogt.com> <827183a944ee4052649c152d65204444@schema31.it> <20160822101423.GF18643@e-new.0x20.net> <20160822120215.GV22212@zxy.spb.ru> <20160823110159.GU18643@e-new.0x20.net> <20160824045558.18c86764@X220.alogt.com> <3234db29c228879cc473deec0b09568c@schema31.it> From: =?UTF-8?Q?Fernando_Herrero_Carr=C3=B3n?= Date: Wed, 24 Aug 2016 13:12:24 +0200 Message-ID: Subject: Re: Benchmarks results for FreeBSD 11 To: Andrea Brancatelli Cc: freebsd-stable 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: Wed, 24 Aug 2016 11:12:32 -0000 Many ports offer an option to compile with optimized cflags. See for instance http://www.freshports.org/multimedia/ffmpeg: OPTIMIZED_CFLAGS=off: Use extra compiler optimizations though: SSE=on: Use SSE optimized routines It turns out that optimization options are usually off by default, so binary packages will be built without them. It is an interesting question whether they should be enabled by default. On the other hand, a generic distribution cannot assume specific processor capabilities, for instance the newest SSE or AVX, so binary distributed packages will, in general, never be as performant as specifically built ones (some software packages do runtime CPU detection though). That is one of the reasons why I use FreeBSD and why I always build my own ports. Cheers, Fernando 2016-08-24 12:07 GMT+02:00 Andrea Brancatelli : > Il 2016-08-23 22:55 Erich Dollansky ha scritto: > > > 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. > > No. > > All debugs in amd64 is off at time of BETA. > > Ok, then FreeBSD is just slower... > you missed the main point. The test was done with applications compiled > with unknown options. If you want to find out the impact of an > operating system on you application you have to use the same compiler > with the same options on all platforms. Basically, it was a compiler > test named operating system benchmark. > > OK, now I get your point. You mean he's doing an Operative System test > using an application, that is something that involve an additional > complexity. > > I get your point, but, er... I suppose he's using pkg to install the > ports or apt-get to install the packages. I mean I suppose he's lazy > enough to compare binaries vs binaries. > > Now what you're telling me is "it's not a kernel comparison, it's an > application over a kernel comparison" and I agree with you, but why > should a casual reader be interested in a kernel comparison? Or, in > general, what would you do with a kernel without an application? :) > > Sorry, I don't want to sound polemic, neither start a flame or anything, > I'm just curious... And I understand clearly the philosophical > differences between a Base BSD system and a Linux Distribution, but > again I'm a simple person, I just stick the FreeBSD cd in, install and > then do pkg install unzip. If it's slower than my colleague using Ubuntu > and doing the same thing I just feel sad :) > > So the first outcome everyone thought about was "The RC is slower > because of debugging?". No. Then the next question that pops into my > mind is "The ports are slow because the binaries are compiled with the > wrong options?". > > Thanks for your clarifications. > _______________________________________________ > freebsd-stable@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" >