4.9 /usr/src/UPDATING error?

Buki
Wed, 14 Jan 2004 05:13:25 -0000

hi,

I have FreeBSD 4.9-RELEASE-p1 #0: Tue Dec  9 16:46:46 CET 2003 and as I have
dual P4 @2.4GHz I was wondering about HyperThreading(tm). In UPDATING I read:

20031022:
        Support for HyperThread logical CPUs has now been enabled by
        default.  As a result, the HTT kernel option no longer exists.
        Instead, the logical CPUs are always started so that they can
        handle interrupts.  However, the extra logical CPUs are prevented
        from executing user processes by default.  To enable the logical
        CPUs, change the value of the machdep.hlt_logical_cpus from 1 to
        0.  This value can also be set from the loader as a tunable of
        the same name.

but it seems like there is no such sysctl oid:

#sysctl machdep. | grep cpu
machdep.cpu_idle_hlt: 1
machdep.smp_cpus: 4
machdep.hlt_cpus: 0

so I have no oid set in /etc/sysctl.conf or loader.conf

nevertheless, the system seems to work out of the box:

CPU: Intel(R) Xeon(TM) CPU 2.40GHz (2393.19-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0xf25  Stepping = 5

Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,
SSE,SSE2,SS,HTT,TM,PBE>
  Hyperthreading: 2 logical CPUs

...

FreeBSD/SMP: Multiprocessor motherboard: 4 CPUs
 cpu0 (BSP): apic id:  0, version: 0x00050014, at 0xfee00000
 cpu1 (AP):  apic id:  6, version: 0x00050014, at 0xfee00000
 cpu2 (AP):  apic id:  1, version: 0x00050014, at 0xfee00000
 cpu3 (AP):  apic id:  7, version: 0x00050014, at 0xfee00000
 io0 (APIC): apic id:  4, version: 0x000f0011, at 0xfec00000
 io1 (APIC): apic id:  5, version: 0x000f0011, at 0xfec01000

...

SMP: AP CPU #3 Launched!
SMP: AP CPU #2 Launched!
SMP: AP CPU #1 Launched!

and 'top' confirms that processes are running on CPU 0 through 3

shouldn't be UPDATING corrected?

Buki
--
PGP public key: http://dev.null.cz/buki.asc

                /"\
                \ /     ASCII Ribbon Campaign
                 X      Against HTML & Outlook Mail
                / \     http://www.thebackrow.net

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available