From owner-freebsd-hackers@FreeBSD.ORG Mon Dec 5 17:31:50 2011 Return-Path: Delivered-To: hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 33036106566B for ; Mon, 5 Dec 2011 17:31:50 +0000 (UTC) (envelope-from utisoft@gmail.com) Received: from mail-yw0-f54.google.com (mail-yw0-f54.google.com [209.85.213.54]) by mx1.freebsd.org (Postfix) with ESMTP id E40228FC08 for ; Mon, 5 Dec 2011 17:31:49 +0000 (UTC) Received: by ywp17 with SMTP id 17so6420816ywp.13 for ; Mon, 05 Dec 2011 09:31:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=f43O917vKrvjk/B/VvoEptO0RrLqhRaw/cSvA7WiG3Q=; b=SMXEs5ZHM18yC1fBYGVncJLBud2e+AM1MoQSOQaU+FidJf2gtWwOstYKCI+Opb+SUn +A4dixZR+W5G/BgjyCHVgV/o9MGZpa2Vr9E8IuV00Z0B4BsibPs2ECCQSXnBPGOs+csu vq1ETP0nRkqvBRBBsaMoTSz0rZ4JgwRfAAwt4= MIME-Version: 1.0 Received: by 10.50.40.198 with SMTP id z6mr11056221igk.39.1323106308859; Mon, 05 Dec 2011 09:31:48 -0800 (PST) Sender: utisoft@gmail.com Received: by 10.231.12.139 with HTTP; Mon, 5 Dec 2011 09:31:48 -0800 (PST) Received: by 10.231.12.139 with HTTP; Mon, 5 Dec 2011 09:31:48 -0800 (PST) In-Reply-To: References: <20111205.171654.020.1@DOMY-PC> Date: Mon, 5 Dec 2011 17:31:48 +0000 X-Google-Sender-Auth: -Hytacs3SDgdH7d3sZYuGdS58F4 Message-ID: From: Chris Rees To: Freddie Cash Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: rank1seeker@gmail.com, hackers@freebsd.org Subject: Re: CPUTYPE and friends, from 'make.conf' benchmark X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Dec 2011 17:31:50 -0000 On 5 Dec 2011 17:27, "Freddie Cash" wrote: > > 2011/12/5 > > > I've took machine and installed binary FreeBSD(amd64 8.2-p4 GENERIC) on it. > > Then I've installed 'benchmarks/unixbench' port. > > > > So everything is a default generic binary install ('make.conf' empty - no > > CPU optimization flags) > > > > After running: '# time unixbench', final score was: > > 394.2 > > Completed in 22.8 min > > > > > > Then I've recompiled everything, from src, world and kernel, with > > 'make.conf': > > -- > > CPUTYPE?=core2 > > CFLAGS+=-march=native > > NO_CPU_CFLAGS=yes > > COPTFLAGS+=-march=native > > NO_CPU_COPTFLAGS=yes > > > > And, how does it do if you remove everything except the CPUTYPE line? Most > of the rest if unnecessary. > Also, you should set these in src.conf. Sticking them in make.conf is going to annoy people when you ask why your ports are breaking ;) Chris