From owner-freebsd-hardware@FreeBSD.ORG Wed Sep 21 21:19:52 2005 Return-Path: X-Original-To: freebsd-hardware@FreeBSD.org Delivered-To: freebsd-hardware@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A2E0216A41F; Wed, 21 Sep 2005 21:19:52 +0000 (GMT) (envelope-from jkim@FreeBSD.org) Received: from anuket.mj.niksun.com (gwnew.niksun.com [65.115.46.162]) by mx1.FreeBSD.org (Postfix) with ESMTP id 19D1B43D45; Wed, 21 Sep 2005 21:19:51 +0000 (GMT) (envelope-from jkim@FreeBSD.org) Received: from niksun.com (anuket [10.70.0.5]) by anuket.mj.niksun.com (8.13.1/8.13.1) with ESMTP id j8LLPu8f097585; Wed, 21 Sep 2005 17:25:56 -0400 (EDT) (envelope-from jkim@FreeBSD.org) From: Jung-uk Kim To: freebsd-amd64@FreeBSD.org, kono@kth.se Date: Wed, 21 Sep 2005 17:19:34 -0400 User-Agent: KMail/1.6.2 References: <200509211147.17279.kono@kth.se> <43317E28.1090404@fsn.hu> <200509212259.07082.kono@kth.se> In-Reply-To: <200509212259.07082.kono@kth.se> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="euc-kr" Content-Transfer-Encoding: 7bit Message-Id: <200509211719.36890.jkim@FreeBSD.org> X-Virus-Scanned: ClamAV devel-20050919/1097/Wed Sep 21 14:56:51 2005 on anuket.mj.niksun.com X-Virus-Status: Clean Cc: Attila Nagy , freebsd-hardware@FreeBSD.org Subject: Re: Dual core AMD64 4400+ X2 works fine on Abit AV8 X-BeenThere: freebsd-hardware@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General discussion of FreeBSD hardware List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Sep 2005 21:19:52 -0000 On Wednesday 21 September 2005 04:59 pm, Alexander Konovalenko wrote: > On Wednesday 21 September 2005 17.37, Attila Nagy wrote: > > Alexander Konovalenko wrote: > > > 2) recompiled and installed 5.4-STABLE kernel with "options > > > SMP", then I tested it with old single core CPU > > > CPU: AMD Athlon(tm) 64 X2 Dual Core Processor 4400+ > > > (2247.42-MHz K8-class CPU) Origin = "AuthenticAMD" Id = > > > 0x20f32 Stepping = 2 > > > Features=0x178bfbff > >,MTRR,PGE, MCA,C MOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2,HTT> > > > Features2=0x1 > > > AMD > > > Features=0xe2500800,LM,3DNow+,3DNow> > > > Hyperthreading: 2 logical CPUs > > > > Can this "I see hyperthreading, while there is no hyperthreading" > > cause performance degradation, for example by HTT defaults to off > > in the recent 5.x builds? If you are using 6.0 or above, you can try this patch: http://people.freebsd.org/~jkim/multicore.diff I believe the old patch still applies to 5.4: http://docs.freebsd.org/cgi/mid.cgi?200505182007.28631.jkim Jung-uk Kim > I just made some grep in /usr/src and > found /usr/src/sys/amd64/amd64/identcpu.c, near the line #293: > ..... > /* > * If this CPU supports hyperthreading then > mention * the number of logical CPU's it contains. */ > if (cpu_feature & CPUID_HTT && > (cpu_procinfo & CPUID_HTT_CORES) >> 16 > > 1) printf("\n Hyperthreading: %d logical CPUs", (cpu_procinfo & > CPUID_HTT_CORES) >> 16); ... > > I don't know all details but seem that cpu_feature contain > CPUID_HTT bit.... Yes, it does. Backward compatibility... Jung-uk Kim > /Alexander Konovalenko > > +46-8-5537-8142 (office) > +46-7-3752-2116 > http://daemon.nanophys.kth.se/~kono > > Royal Institute of Technology (KTH) > Nanostructure Physics Department, Albanova > Roslagstullsbacken 21 > 10691 Stockholm > Sweden > > > _______________________________________________ > freebsd-amd64@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-amd64 > To unsubscribe, send any mail to > "freebsd-amd64-unsubscribe@freebsd.org"