How do I list what CPU core is on what package?

Alexander Sack pisymbol at gmail.com
Wed Jun 18 14:19:00 UTC 2008


Hi Everybody:

Simple question, if I want to know if a cpu X is on a particular
package is there an easy way to list this?  Normally my understanding
is on most machines, every other LAPIC id is on the same package.  So
0,2,4,6 would be on one package and 1,3,5,7 would be on another (say
in a 2-way quad-core) and I am assuming (I haven't checked source)
that the OS lists them in LAPIC order.

Thanks!

-aps


More information about the freebsd-hackers mailing list