Messages in this thread | | | Date | Wed, 16 Jun 2004 13:01:02 -0700 (PDT) | From | Phy Prabab <> | Subject | Re: Programtically tell diff between HT and real |
| |
So, if I understand correctly, there is no way to know definitively if a cpu is HT or not?
Thanks! Phy
--- David van Hoose <david.vanhoose@comcast.net> wrote: > > > Robert Love wrote: > > On Wed, 2004-06-16 at 13:56 -0400, Robert Love > wrote: > > > > > >>Yah. Look at /proc/cpuinfo. > >> > >>Virtual processors have different 'processor' > values but the same > >>'physical id', while physical processors obviously > have different values > >>for both. > > > > > > Oh, and if you just want to see if a processor > supports HT - the 'ht' > > flag is set in 'flags' in /proc/cpuinfo. > > Not always true. I have a non-HT Pentium4, but I > still have ht in my > flags. The same goes for a couple of dual Xeon's I > work on at school. > Aparently Intel disabled the HT on a lot of Pentium > 4 and Xeon chips, > but left the HT flag behind. My system even has the > additional IO-APICs > too. Hence why everytime I boot a UP kernel, I get > an 'unexpected > IO-APIC' message. > > Cheers, > David >
__________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |