From owner-freebsd-hackers@FreeBSD.ORG Mon Jun 25 17:45:39 2007 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id F3E2116A46F for ; Mon, 25 Jun 2007 17:45:38 +0000 (UTC) (envelope-from stephen@math.missouri.edu) Received: from math.missouri.edu (math.missouri.edu [128.206.184.200]) by mx1.freebsd.org (Postfix) with ESMTP id C800E13C44B for ; Mon, 25 Jun 2007 17:45:38 +0000 (UTC) (envelope-from stephen@math.missouri.edu) Received: from [128.206.184.213] (cauchy.math.missouri.edu [128.206.184.213]) by math.missouri.edu (8.13.1/8.13.1) with ESMTP id l5PHjcDb084849 for ; Mon, 25 Jun 2007 12:45:38 -0500 (CDT) (envelope-from stephen@math.missouri.edu) Message-ID: <467FFF41.10204@math.missouri.edu> Date: Mon, 25 Jun 2007 12:45:37 -0500 From: Stephen Montgomery-Smith User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.8.1.4) Gecko/20070623 SeaMonkey/1.1.2 MIME-Version: 1.0 To: freebsd-hackers@freebsd.org References: <467EF0C1.1010609@optiksecurite.com> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.88/3523/Mon Jun 25 09:30:33 2007 on math.missouri.edu X-Virus-Status: Clean Subject: CPUTYPE in general - was Re: Which CPUTYPE for a dualcore Xeon on AMD64 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, 25 Jun 2007 17:45:39 -0000 Jack L. wrote: > On 6/24/07, Martin Turgeon wrote: >> Hi, >> >> I recently installed AMD64 6.2 Release on 2 PowerEdge servers, both with >> dual core Xeon (3070 and 5110). I noticed when I was updating the >> sources that it was compiling as an Athlonxp by default. I was wondering >> if I should change the CPUTYPE in make.conf to something else. I read at >> some places that it is not recommended because it could cause problems >> but I thought it would be interesting to start the debate here. Please >> note that I would prefer not to go with the -STABLE or -CURRENT branch >> because these a going to be essential productions servers. >> >> Thank you for your opinions, >> >> Martin > I use nocona. That should be the correct one. I know I am hijacking the thread a bit - but: In general, how does one decide which CPUTYPE to use? The connection between the options for CPUTYPE and the output of dmesg is not so obvious to me. I looked at the features advertised by dmesg (which in my case included SSE3) and then reverse engineered bsd.cpu.mk to figure out I should be using "prescott," but I am hoping I figured it out the hard way. Also, does setting CPUTYPE make a lot of difference to performance? Right now I have no CPUTYPE set at all. Thanks, Stephen