From owner-freebsd-hackers@FreeBSD.ORG Mon Dec 5 17:27:30 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 188FE106566C for ; Mon, 5 Dec 2011 17:27:30 +0000 (UTC) (envelope-from fjwcash@gmail.com) Received: from mail-vw0-f54.google.com (mail-vw0-f54.google.com [209.85.212.54]) by mx1.freebsd.org (Postfix) with ESMTP id CB5D68FC0A for ; Mon, 5 Dec 2011 17:27:29 +0000 (UTC) Received: by vbbfr13 with SMTP id fr13so6570817vbb.13 for ; Mon, 05 Dec 2011 09:27:29 -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=iPucqHmt/GsDhkCnvUX9Qhtby15CPz+kECG3RzGSDP0=; b=Iv7ue36fvaqqwX6fOKY9gW+kHAP4HoupwneaZKBsH8AW3mO93+5ZeDpe04q2IE2XRj n5m7ftidtpwrlk7S9bcqyZKWXRTHWKK5RQ3++pHlJCcL297Fp/eOa9qCp/kNHZqeFcN5 FU88xec5qn629V0JoDVx9DhBBft/1UQqDrJnQ= MIME-Version: 1.0 Received: by 10.52.35.147 with SMTP id h19mr5396899vdj.38.1323106049045; Mon, 05 Dec 2011 09:27:29 -0800 (PST) Received: by 10.220.231.10 with HTTP; Mon, 5 Dec 2011 09:27:29 -0800 (PST) In-Reply-To: <20111205.171654.020.1@DOMY-PC> References: <20111205.171654.020.1@DOMY-PC> Date: Mon, 5 Dec 2011 09:27:29 -0800 Message-ID: From: Freddie Cash To: rank1seeker@gmail.com Content-Type: text/plain; charset=UTF-8 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: Mon, 05 Dec 2011 17:27:30 -0000 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. -- Freddie Cash fjwcash@gmail.com