From owner-freebsd-questions@FreeBSD.ORG Wed Jan 17 03:15:46 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4255A16A407 for ; Wed, 17 Jan 2007 03:15:46 +0000 (UTC) (envelope-from nikolas.britton@gmail.com) Received: from wr-out-0506.google.com (wr-out-0506.google.com [64.233.184.231]) by mx1.freebsd.org (Postfix) with ESMTP id 06D7C13C44B for ; Wed, 17 Jan 2007 03:15:45 +0000 (UTC) (envelope-from nikolas.britton@gmail.com) Received: by wr-out-0506.google.com with SMTP id 71so352032wri for ; Tue, 16 Jan 2007 19:15:45 -0800 (PST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=K0SwS235tk8MOBhNHoBzKnT1EKf6iKmnb36m1l8h7bY2VwxjyjKO5TPKNFcCBql8obaeRmW6NvmqFU8OpK6yLhOipHAuiNWtHomDz+GkuqLS2IbnAbadTs0uphk1Kg1d3RNk5IuKLx0nPVDtvQdpbADDBQ6mC5Dx3OXiv9jWofo= Received: by 10.78.203.13 with SMTP id a13mr1311551hug.1169003744024; Tue, 16 Jan 2007 19:15:44 -0800 (PST) Received: by 10.78.118.10 with HTTP; Tue, 16 Jan 2007 19:15:43 -0800 (PST) Message-ID: Date: Tue, 16 Jan 2007 21:15:43 -0600 From: "Nikolas Britton" To: "Tsu-Fan Cheng" In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: Cc: FreeBSD Subject: Re: duo core question X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Jan 2007 03:15:46 -0000 On 1/16/07, Tsu-Fan Cheng wrote: > hi, > just chat here... how much faster will a duo core CPU gives me when > running freebsd, nothing optimised.. > 1. You need to rebuild the kernel with SMP support. 2. The correct names are; Core Duo, Core 2 Duo, Core Solo, and Core 2 Solo. 3. Add this to /etc/make.conf: CPUTYPE?=pentium3 CFLAGS+= -mtune=prescott COPTFLAGS+= -mtune=prescott * Change prescott to nocona if you have a Core 2 chip, although it doesn't really matter, EM64T support is ignored with FreeBSD/i386 and it's on by default with FreeBSD/AMD64. Moreover it's only being used with -mtune which means it does not change the ABI or the set of available instructions.... Those two are set via CPUTYPE and -march=cpu-type... don't set CPUTYPE or -march higher then pentium3 because higher settings have been known to screw up stuff at compile time.