Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Mar 2015 17:09:39 +0100
From:      "lokadamus@gmx.de" <lokadamus@gmx.de>
To:        "Pokala, Ravi" <rpokala@panasas.com>, Rui Paulo <rpaulo@me.com>
Cc:        "freebsd-hackers@freebsd.org" <freebsd-hackers@freebsd.org>
Subject:   Re: detecting hyperthreading
Message-ID:  <54FF1743.8080205@gmx.de>
In-Reply-To: <D1246191.12F7D6%rpokala@panasas.com>
References:  <D12358C5.12F652%rpokala@panasas.com> <9F2E1411-B517-4BC8-AF61-BB15EE35083C@me.com> <D123957A.12F6CA%rpokala@panasas.com> <54FF1343.1020705@gmx.de> <D1246191.12F7D6%rpokala@panasas.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 03/10/15 16:56, Pokala, Ravi wrote:
> -----Original Message----- From: "lokadamus@gmx.de"
> <lokadamus@gmx.de> Date: 2015-03-10, Tuesday at 08:52 To: Ravi
> Pokala <rpokala@panasas.com>, Rui Paulo <rpaulo@me.com> Cc:
> "freebsd-hackers@freebsd.org" <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<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,M
>>
>> 
CA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
>> Features2=0x4400<CNXT-ID,xTPR>
> 
> 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





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?54FF1743.8080205>