Date: Tue, 10 Mar 2015 16:52:35 +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: <54FF1343.1020705@gmx.de> In-Reply-To: <D123957A.12F6CA%rpokala@panasas.com> References: <D12358C5.12F652%rpokala@panasas.com> <9F2E1411-B517-4BC8-AF61-BB15EE35083C@me.com> <D123957A.12F6CA%rpokala@panasas.com>
next in thread | previous in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 On 03/10/15 02:24, Pokala, Ravi wrote: > -----Original Message----- From: Rui Paulo <rpaulo@me.com> Date: > 2015-03-09, Monday at 18:19 To: Ravi Pokala <rpokala@panasas.com> > Cc: "freebsd-hackers@freebsd.org" <freebsd-hackers@freebsd.org> > Subject: Re: detecting hyperthreading > >> I think that sysctl didn't fully control hyperthreading: you can >> disable it on the BIOS and FreeBSD never exported that >> information. If you used that tunable, it would simply disable >> the Pentium 4 Hyperthreading. > > I never tried to *change* it at runtime; I just used it's > *existence* as an indicator that HT was enabled. (Aside - why did > it not exist at all when HT was disabled, as opposed to always > existing and just having zero/non-zero values?) > > -Ravi > >> -- Rui Paulo > > _______________________________________________ > 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" > Have you look at dmesg? My system is a P4 with HTT. dmesg |more Copyright (c) 1992-2014 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 10.1-RELEASE-p6 #0: Tue Feb 24 18:57:59 UTC 2015 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC i386 FreeBSD clang version 3.4.1 (tags/RELEASE_34/dot1-final 208032) 20140512 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,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE> Features2=0x4400<CNXT-ID,xTPR> real memory = 4294967296 (4096 MB) avail memory = 3396710400 (3239 MB) Event timer "LAPIC" quality 400 ACPI APIC Table: <7536MS A7536200> FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs FreeBSD/SMP: 1 package(s) x 1 core(s) x 2 HTT threads cpu0 (BSP): APIC ID: 0 cpu1 (AP/HT): APIC ID: 1 ioapic0: Changing APIC ID to 2 ioapic0 <Version 2.0> irqs 0-23 on motherboard ... and so on ... Greeting
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?54FF1343.1020705>