From owner-freebsd-amd64@FreeBSD.ORG Wed Sep 21 20:59:05 2005 Return-Path: X-Original-To: freebsd-amd64@freebsd.org Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1509C16A45D; Wed, 21 Sep 2005 20:59:05 +0000 (GMT) (envelope-from kono@kth.se) Received: from omega.nanophys.kth.se (omega.nanophys.kth.se [130.237.35.96]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6F57243D45; Wed, 21 Sep 2005 20:59:03 +0000 (GMT) (envelope-from kono@kth.se) Received: from omega.nanophys.kth.se (localhost [127.0.0.1]) by omega.nanophys.kth.se (8.13.4/8.13.1) with ESMTP id j8LKx7Bu013414; Wed, 21 Sep 2005 22:59:07 +0200 (CEST) (envelope-from kono@kth.se) Received: from localhost (localhost [[UNIX: localhost]]) by omega.nanophys.kth.se (8.13.4/8.13.1/Submit) id j8LKx7n3013413; Wed, 21 Sep 2005 22:59:07 +0200 (CEST) (envelope-from kono@kth.se) X-Authentication-Warning: omega.nanophys.kth.se: kono set sender to kono@kth.se using -f From: Alexander Konovalenko Organization: KTH To: Attila Nagy Date: Wed, 21 Sep 2005 22:59:06 +0200 User-Agent: KMail/1.8.2 References: <200509211147.17279.kono@kth.se> <43317E28.1090404@fsn.hu> In-Reply-To: <43317E28.1090404@fsn.hu> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-2" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200509212259.07082.kono@kth.se> Cc: freebsd-amd64@freebsd.org, freebsd-hardware@freebsd.org Subject: Re: Dual core AMD64 4400+ X2 works fine on Abit AV8 X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: kono@kth.se List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Sep 2005 20:59:05 -0000 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 >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? 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.... /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