From owner-freebsd-hackers@FreeBSD.ORG Tue Dec 6 17:24:11 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 4E0521065670 for ; Tue, 6 Dec 2011 17:24:11 +0000 (UTC) (envelope-from utisoft@gmail.com) Received: from mail-iy0-f182.google.com (mail-iy0-f182.google.com [209.85.210.182]) by mx1.freebsd.org (Postfix) with ESMTP id 169B58FC17 for ; Tue, 6 Dec 2011 17:24:10 +0000 (UTC) Received: by iafi7 with SMTP id i7so7487273iaf.13 for ; Tue, 06 Dec 2011 09:24:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=8nn9HXYjEzZos2dSATbWoSWLjRaicGNZNO2gG2x51ck=; b=MaFi/Opd0cALqrHGI56n0d4/GOPw13BajphIKi9P4z/LSihWXY1KaKyQ1cPROIHDu1 wln7dI+OcOfaGP77gssvux4Ucil5r7O472R7VsUZ4Yai0w8q26kuxHUbT0sgoVrJPyzu bPMgyV8CxbIoZ+pmzI+oAFVVwvb9H7wu7X16c= MIME-Version: 1.0 Received: by 10.231.46.66 with SMTP id i2mr3586815ibf.0.1323192250422; Tue, 06 Dec 2011 09:24:10 -0800 (PST) Received: by 10.231.167.83 with HTTP; Tue, 6 Dec 2011 09:24:10 -0800 (PST) Received: by 10.231.167.83 with HTTP; Tue, 6 Dec 2011 09:24:10 -0800 (PST) In-Reply-To: <20111206.170342.731.2@DOMY-PC> References: <20111205.171654.020.1@DOMY-PC> <20111206.170342.731.2@DOMY-PC> Date: Tue, 6 Dec 2011 17:24:10 +0000 Message-ID: From: Chris Rees To: rank1seeker@gmail.com X-Mailman-Approved-At: Tue, 06 Dec 2011 17:32:52 +0000 Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: 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: Tue, 06 Dec 2011 17:24:11 -0000 On 6 Dec 2011 17:04, wrote: > > # /bin/sh -c "gcc -v -x c -E -mtune=native /dev/null -o /dev/null 2>&1 | grep mtune | sed -e 's/.*mtune=//'" > generic > > For target machine, it returned 'generic' > > Now only with CPUTYPE in 'make.conf': > -- > CPUTYPE?=core2 > -- > > > 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 > > I want my ports, to also be optimized for target CPU, not just base. > None of my ports got broken yet. I was referring to the other stuff, but CPUTYPE is fine, yes. > Rebuilded can ... > > Tests are started AFTER a reboot! > There is no bgfsck, as per rc.conf: > -- > background_fsck=NO > fsck_y_enable=YES > fsck_y_flags=-C > -- > > Same multiuser enviroment > Test done once. > > After running: '# time unixbench', final score was: > 395.4 > Completed in 22.8 min > > Time is SAME as with generic binaries, but score is just a 1.2 higher, which is too small to be relevant. > What do you think about this? > I think this is why most people don't bother with setting CPUTYPE ;) Chris