DaemonForums  

Go Back   DaemonForums > FreeBSD > FreeBSD General

FreeBSD General Other questions regarding FreeBSD which do not fit in any of the categories below.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1   (View Single Post)  
Old 5th May 2008
Grogan's Avatar
Grogan Grogan is offline
Port Guard
 
Join Date: May 2008
Location: Ontario, Canada
Posts: 23
Default FreeBSD amd64 arch Cpu type

Hello

I couldn't help but learn that people from the bsdforums are moving here, so I'll re-post my question.

I have an Intel Core 2 Quad Q6600 CPU and was wondering if there was a better cpu type than "Hammer" to use for this processor? Is it even possible to choose others for this arch? I figured that was probably the best target, (hence, the default for amd64), and it seems to detect my CPU's features correctly but is there something I could choose that's more optimal? I configured and built my kernel and it seems to run just fine but there's always that nagging doubt that I could have used something better

The NOTES only shows HAMMER

I thought I'd look through some of the cpu related stuff under /usr/src/sys/amd64 and found this. (cputypes.h)

Code:
/*
 * Classes of processor.
 */
#define	CPUCLASS_X86	0	/* X86 */
#define	CPUCLASS_K8	1	/* K8 AMD64 class */
/*

 * Kinds of processor.
 */
#define	CPU_X86		0	/* Intel */
#define	CPU_CLAWHAMMER	1	/* AMD Clawhammer */
#define	CPU_SLEDGEHAMMER 2	/* AMD Sledgehammer */
Would I be better off defining X86 instead (and still obviously have a 64 bit kernel)

This is what I get from dmesg (looks ok to me... detected as a K8-class)

Code:
CPU: Intel(R) Core(TM)2 Quad CPU    Q6600  @ 2.40GHz (2400.01-MHz K8-class CPU)
  Origin = "GenuineIntel"  Id = 0x6fb  Stepping = 11
  Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
  Features2=0xe3bd<SSE3,RSVD2,MON,DS_CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM>
  AMD Features=0x20100800<SYSCALL,NX,LM>
  AMD Features2=0x1<LAHF>
  Cores per package: 4
Reply With Quote
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
FreeBSD 7.2 amd64 no sound erim FreeBSD General 5 3rd June 2009 07:54 AM
strange load problem on freebsd 7.0 amd64 skynet_tech FreeBSD General 3 11th September 2008 09:49 PM
Wine on FreeBSD 7.0 amd64 BlueJayofEvil FreeBSD Ports and Packages 13 29th July 2008 12:22 AM
jdk16 plugins on FreeBSD 7 AMD64 ninjatux FreeBSD General 0 26th June 2008 07:55 PM
FreeBSD 7.0 amd64 make installworld fails. KernelPanic FreeBSD Installation and Upgrading 8 11th June 2008 04:34 PM


All times are GMT. The time now is 01:58 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick