Re: kern.smp.topology

Ivan Klymenko <[email protected]> Wed, 10 Nov 2010 13:35:02 +0200
Newsgroups gmane.os.freebsd.devel.hackers,gmane.os.freebsd.devel.smp
Message-ID <[email protected]>
=D0=92 Wed, 10 Nov 2010 12:20:45 +0100
Ivan Voras <[email protected]> =D0=BF=D0=B8=D1=88=D0=B5=D1=82:

> On 11/10/10 11:56, Ivan Klymenko wrote:
> > Hello! People.
> >=20
> > Who can explain the purpose of sysctl variable kern.smp.topology?
> > What does it affect?
> >=20
> > It may take such values:
> > 1      -Dual core with no sharing.
> > 2      -No topology, all cpus are equal.
> > 3      -Dual core with shared L2.
> > 4      -quad core, shared l3 among each package, private l2.
> > 5      -quad core,  2 dualcore parts on each package share l2.
> > 6      -Single-core 2xHTT
> > 7      -quad core with a shared l3, 8 threads sharing L2.
> > default-Default, ask the system what it wants.
> >=20
> > Does it make sense to set its value manually, if I know that my CPU
> > Core2Duo? How to do this, select a value?
> >=20
> > I not found this explanation in any of the official guides ...
>=20
> Short answer is: you should not have to touch it, ever.
>=20
> Long answer: it's used mostly for testing ULE and debugging
> topology-related problems. It's even less relevant in recent kernels
> (9, 8-stable) where a better topology parser has been committed.
>=20
Thank you! I understood. :)
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[email protected]"