Add CPUID subleaf capability to cpuctl/cpucontrol
Konstantin Belousov
kostikbel at gmail.com
Fri Mar 28 13:44:37 UTC 2014
On Fri, Mar 28, 2014 at 09:09:40PM +0800, Jia-Shiun Li wrote:
> On Thu, Mar 27, 2014 at 8:38 PM, Konstantin Belousov
> <kostikbel at gmail.com> wrote:
> >
> > From what I remember, in the multi-socket configuration Intel allows
> > CPUs to only differ by stepping. Due to this, I see only one possible
> > uses of executing CPUID on specific core, to get the stepping of the
> > package, to either test for the presence of the specific CPU bug, or to
> > select the proper microcode update.
> >
> > That said, I am curious why do you want this feature.
>
> I'd like to do some CPU monitoring w/ MSR, thus need to identify CPU
> topology & CPU id on specific logical ones. I am sure there are some
> info from kernel, sysctl, etc. Even utilities readily available. But I
> am just curious on how it works anyway. With topology and MSR access
> via cpuctl, it should be able to do some monitoring from user space.
For the topology, my note about multi-socket configuration holds.
The advanced topology enumeration leafs must be identical on all
populated sockets for given machine.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 834 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-hackers/attachments/20140328/9b53b75f/attachment.sig>
More information about the freebsd-hackers
mailing list