From owner-freebsd-hackers@FreeBSD.ORG Tue Mar 10 16:09:57 2015 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 6B4A4687 for ; Tue, 10 Mar 2015 16:09:57 +0000 (UTC) Received: from mout.gmx.net (mout.gmx.net [212.227.17.21]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mout.gmx.net", Issuer "TeleSec ServerPass DE-1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id F02533E8 for ; Tue, 10 Mar 2015 16:09:56 +0000 (UTC) Received: from [192.168.0.143] ([95.91.226.153]) by mail.gmx.com (mrgmx101) with ESMTPSA (Nemesis) id 0M6vSj-1XYyiP3oPN-00wiKp; Tue, 10 Mar 2015 17:09:41 +0100 Message-ID: <54FF1743.8080205@gmx.de> Date: Tue, 10 Mar 2015 17:09:39 +0100 From: "lokadamus@gmx.de" User-Agent: Mozilla/5.0 (X11; FreeBSD i386; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 MIME-Version: 1.0 To: "Pokala, Ravi" , Rui Paulo Subject: Re: detecting hyperthreading References: <9F2E1411-B517-4BC8-AF61-BB15EE35083C@me.com> <54FF1343.1020705@gmx.de> In-Reply-To: Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:3XBLcHwUihTIK9W6bL+BCu0OU1Yrl6b8+HpHtnc41e1v59Y1Pou uUyGMCl8DKYCTSVu4W5XwsEmqnXop3rFvvQSrz3BQ8xDoGUNoYW4JVQN2KoR+hvxIYtRD0w MRq9CbjpoG2X07+oxmQoqAZgoB6b6whGpxCuJgwHAMrKFOQffScme2Cs+Z2RS+YcLh4NPXn 6vN/OeUjc86qZbnv3wkfw== X-UI-Out-Filterresults: notjunk:1; Cc: "freebsd-hackers@freebsd.org" X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Mar 2015 16:09:57 -0000 On 03/10/15 16:56, Pokala, Ravi wrote: > -----Original Message----- From: "lokadamus@gmx.de" > Date: 2015-03-10, Tuesday at 08:52 To: Ravi > Pokala , Rui Paulo Cc: > "freebsd-hackers@freebsd.org" > Subject: Re: detecting hyperthreading > >> Have you look at dmesg? My system is a P4 with HTT. dmesg |more > [...] >> CPU: Intel(R) Pentium(R) 4 CPU 3.00GHz (3000.00-MHz 686-class >> CPU) Origin = "GenuineIntel" Id = 0xf29 Family = 0xf Model = >> 0x2 Stepping = 9 >> >> Features=0xbfebfbff> >> CA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE> >> Features2=0x4400 > > Of course. :-) > > But there are two problems: > > (1) That just tells me HTT is supported by the CPU, not that if > kernel is using it. (2) It's difficult to parse. > > Of the two, (1) is the bigger concern for my use-case. > > Thanks, > > Ravi > > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To > unsubscribe, send any mail to > "freebsd-hackers-unsubscribe@freebsd.org" > Well, i don't know, how a new system is showing the following sequence: dmesg | grep FreeBSD/SMP | grep HTT Answer: FreeBSD/SMP: 1 package(s) x 1 core(s) x 2 HTT threads Value $? is zero, but i will not reboot my system to look how it will change, when HTT is disabled. I make a portupgrade and this will need some hour. ;) Greeting