RFC: Adding a hw.features[2] sysctl

Peter Jeremy peterjeremy at optushome.com.au
Mon Jan 14 22:53:49 PST 2008


On Mon, Jan 14, 2008 at 06:53:37PM +0100, vermaden wrote:
>dev.cpu.0.cores: 2 <-- but that would propably be the same as kern.smp.cpus: 2 so link it to the value of kern.smp.cpus or do not even create it.

This doesn't work because "cores" are associated with physical dies
whereas dev.cpu currently counts logical CPUs (scheduling entities ie
cores).

Also note that kern.smp.cpus is the total number of logical CPUs.  If
you have multiple multi-core processors then whatever.cores will be
different to kern.smp.cpus

-- 
Peter Jeremy
Please excuse any delays as the result of my ISP's inability to implement
an MTA that is either RFC2821-compliant or matches their claimed behaviour.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20080115/81b6f951/attachment.pgp


More information about the freebsd-current mailing list