Date: Thu, 15 Jan 2004 13:06:13 -0500 From: John Baldwin <jhb@FreeBSD.org> To: "Hall J D (ISeLS)" <jdhall@glam.ac.uk>, "'freebsd-smp@freebsd.org'" <freebsd-smp@freebsd.org> Subject: Re: machdep.hlt_logical_cpus missing in 4.9-Release? Message-ID: <200401151306.13125.jhb@FreeBSD.org> In-Reply-To: <EF1C49A3F569D41186C900508B6DDC9913593567@ems3.glam.ac.uk> References: <EF1C49A3F569D41186C900508B6DDC9913593567@ems3.glam.ac.uk>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thursday 15 January 2004 05:48 am, Hall J D (ISeLS) wrote: > I've recently installed 4.9-Release (from the ISOs) on a twin Xeon system > and compiled a generic SMP kernel (GENERIC with SMP and APIC_IO enabled). > > The problem I'm having is the system is using the logical HyperThreading > CPUs even though I don't want it to. > > The errata for 4.9-Release says that the logical CPUs are prevented from > executing user processes by default, they are not on my system. It also > says you can control this behaviour by change the value of the > machdep.hlt_logical_cpus sysctl(8) variable. My sysctl doesn't seem to know > about this variable. > > I've checked the archives and someone else had this problem back in > November but I can't see any replies other than "machdep.hlt_logical_cpus > should be there". > > Can anyone offer some advise please. Well, you can do 'sysctl machdep.hlt_cpus=10 to get the same effect to turn off CPU's 1and 3. I am not sure why you are not getting the sysctls. Are you familiar with C? -- John Baldwin <jhb@FreeBSD.org> <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve" = http://www.FreeBSD.org
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200401151306.13125.jhb>