Date: Wed, 10 Nov 2010 13:35:02 +0200 From: Ivan Klymenko <fidaj@ukr.net> To: Ivan Voras <ivoras@freebsd.org> Cc: freebsd-hackers@freebsd.org, freebsd-smp@freebsd.org Subject: Re: kern.smp.topology Message-ID: <20101110133502.32dddcdd@ukr.net> In-Reply-To: <ibdv6d$kcc$1@dough.gmane.org> References: <20101110125630.00548b45@ukr.net> <ibdv6d$kcc$1@dough.gmane.org>
next in thread | previous in thread | raw e-mail | index | archive | help
=D0=92 Wed, 10 Nov 2010 12:20:45 +0100 Ivan Voras <ivoras@freebsd.org> =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. :)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20101110133502.32dddcdd>