Re: no hyperthreading in FreeBSD 9?

2012-01-14 Thread Marco Beishuizen

On Fri, 13 Jan 2012, the wise Mark Blackman wrote:


On 13 Jan 2012, at 16:30, Marco Beishuizen wrote:


Hi,

I just upgraded from 8-STABLE to 9-STABLE on my dual Xeon (nocona). Now I have 
in my boot messages:
...
root: /etc/rc.d/sysctl: WARNING: sysctl machdep.hlt_logical_cpus does not exist.
root: /etc/rc.d/sysctl: WARNING: sysctl machdep.hyperthreading_allowed does not 
exist.
...

So isn't hyperthreading not available anymore in FreeBSD 9?


http://svnweb.freebsd.org/base/release/9.0.0/UPDATING?r1=222852&r2=222853&;

Seems to imply HT is enabled by default and new sysctls are used to take
logical CPUs offline.

How many CPUs does your boot message suggest FreeBSD 9 is reporting?


Yeah, I just deleted the lines from sysctl.conf and it doesn't seem to 
make a difference at all (2 cpu's x 2 threads).


Sorry,
Marco
--
Who on earth would eat a charred caterpillar!?
No, no, you SINGE 'em!  You SINGE 'em and eat 'em!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: no hyperthreading in FreeBSD 9?

2012-01-13 Thread b. f.
>
> > Hi,
> >
> > I just upgraded from 8-STABLE to 9-STABLE on my dual Xeon (nocona). Now I 
> > have in my boot messages:
> > ...
> > root: /etc/rc.d/sysctl: WARNING: sysctl machdep.hlt_logical_cpus does not 
> > exist.
> > root: /etc/rc.d/sysctl: WARNING: sysctl machdep.hyperthreading_allowed does 
> > not exist.
> > ...
> >
> > So isn't hyperthreading not available anymore in FreeBSD 9?

I'm not sure what you mean by this double negative.  If you mean "Is
hyperthreading still available on FreeBSD?", the answer is yes.  If
you mean "Can hyperthreading still be disabled on FreeBSD?" the answer
is still yes-- only some problematic and redundant means of disabling
it that were present in earlier versions of FreeBSD have been removed.
 (The primary commit is:

http://svnweb.freebsd.org/base?view=revision&revision=222853

.)  You can still use machdep.hyperthreading_allowed, but it is now
only a (loader) tunable, and not also a sysctl, so you can only set it
at boot time (via loader.conf(5), or by using "set ..." on the
loader(8) command line), and you cannot change it on the fly after the
system is up and running.

>
> http://svnweb.freebsd.org/base/release/9.0.0/UPDATING?r1=222852&r2=222853&;
>
> Seems to imply HT is enabled by default and new sysctls are used to take
> logical CPUs offline.
>

Yes -- although that has been the case for a while, and the OIDs are
not all sysctls (some are (loader) tunables or device hints (cf.
device.hints(5)), and they are not new.

b.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: no hyperthreading in FreeBSD 9?

2012-01-13 Thread Mark Blackman

On 13 Jan 2012, at 16:30, Marco Beishuizen wrote:

> Hi,
> 
> I just upgraded from 8-STABLE to 9-STABLE on my dual Xeon (nocona). Now I 
> have in my boot messages:
> ...
> root: /etc/rc.d/sysctl: WARNING: sysctl machdep.hlt_logical_cpus does not 
> exist.
> root: /etc/rc.d/sysctl: WARNING: sysctl machdep.hyperthreading_allowed does 
> not exist.
> ...
> 
> So isn't hyperthreading not available anymore in FreeBSD 9?

http://svnweb.freebsd.org/base/release/9.0.0/UPDATING?r1=222852&r2=222853&;

Seems to imply HT is enabled by default and new sysctls are used to take 
logical CPUs offline.

How many CPUs does your boot message suggest FreeBSD 9 is reporting?

- Mark___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"