From owner-freebsd-hackers@FreeBSD.ORG Mon Jun 25 21:29:16 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 E541916A400 for ; Mon, 25 Jun 2007 21:29:16 +0000 (UTC) (envelope-from turgeon.martin@gmail.com) Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.183]) by mx1.freebsd.org (Postfix) with ESMTP id 9E8E913C447 for ; Mon, 25 Jun 2007 21:29:16 +0000 (UTC) (envelope-from turgeon.martin@gmail.com) Received: by py-out-1112.google.com with SMTP id u77so2111877pyb for ; Mon, 25 Jun 2007 14:29:16 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:user-agent:mime-version:to:cc:subject:references:in-reply-to:content-type:content-transfer-encoding; b=Mkd1lpPhMxblm0YLMkume5Qfcl7mXQhFCOD+ebPUdjaJTU5limwS+pcJrP59aEIzT2UhvqagLFYejTOPrk2qnVihmf9jVyo/H7pDbwqbaXfEjAKMlPglhaQszC6oSTLO6NyMvU43UuCSfCs29Bz8cW93H8zwhZ/b9KcfFgSJaLk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:user-agent:mime-version:to:cc:subject:references:in-reply-to:content-type:content-transfer-encoding; b=qdA1AF9Ba4Ne8WmMn0ESpyv4FKfAwFlyCvaItpzfgxJlsBUxzspkAhl2zozYqUmzRSqxXC3kBH+MpVLtFOfHteOFNjSm3/UJP2aQKVeBtis43zGZvOccqszrTQSIgsRZNTxRL00lh+J+nkuGUpYEDy+LGZU6aWR2qjUUktme2po= Received: by 10.35.106.15 with SMTP id i15mr2703117pym.1182806955703; Mon, 25 Jun 2007 14:29:15 -0700 (PDT) Received: from ?192.168.3.200? ( [69.70.75.162]) by mx.google.com with ESMTP id 7sm7516497nzn.2007.06.25.14.29.14 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 25 Jun 2007 14:29:14 -0700 (PDT) Message-ID: <468033A8.8060103@gmail.com> Date: Mon, 25 Jun 2007 17:29:12 -0400 From: Martin Turgeon User-Agent: Thunderbird 2.0.0.4 (Windows/20070604) MIME-Version: 1.0 To: Mike Meyer References: <467EF0C1.1010609@optiksecurite.com> <467FFF41.10204@math.missouri.edu> <20070625192308.GA14544@freebsd.org> <18048.12032.316862.338084@bhuda.mired.org> In-Reply-To: <18048.12032.316862.338084@bhuda.mired.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Cc: freebsd-hackers@freebsd.org, Roman Divacky Subject: Re: 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 21:29:17 -0000 Mike Meyer a écrit : > In <20070625192308.GA14544@freebsd.org>, Roman Divacky typed: > >> you should know what cpu you bought, or just use cpuid (found in ports) >> and determine what cpu you have. >> > > Knowing what CPU you bought doesn't help a lot for the case asked > about of "nocona" vs. "prescott". Those are the names of P4 and Xeon > cores, not CPUs - and not the last cores used in either line. cpuid > will tell you what features your CPU supports, but not the name of the > core. So it only helps if you know what you're looking for. P4 and > Xeon are just marketing names, and the features available vary quite a > bit across the lines. Even knowing the core names doesn't help, as > some prescott cored P4s have all the gcc "nocona" features. > > Assuming the gcc man page is correct, use cpuid to check the feature > sets of your CPU. If you don't have SSE2, then you should be using > something prior to pentium 4. If you have SSE2 but not SSE3, then you > want pentium-m, pentium4 or pentium4m. If you have SSE3, then you > should be using either nocona or prescott. If you have 64 bit support, > you want nocona, otherwise prescott. > > For the record, I believe the nocona cores are: > pentium 4/some prescott, prescott 2m, cedar mill > pentium D/all > core 2 duo/all > All xeons with sse3 except the sossaman cored Xeon LV. > > The prescott cores are: > pentium 4/some prescott > xeon lv (sossaman core) > core solo > core duo > > Thanks a lot for the precision, I will use nocona for my dual core Xeon. Martin