Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 31 Jan 2003 13:04:52 -0500 (EST)
From:      Trish Lynch <trish@bsdunix.net>
To:        freebsd-current@freebsd.org
Subject:   Hyperthreading and machdep.cpu_idle_hlt
Message-ID:  <20030131125804.E1357-100000@femme>

next in thread | raw e-mail | index | archive | help
So, at the request of bmilekic, I ran netpipe on a hyperthreading box (non
hyperthreading, I'll do when I can turn it off in BIOS next time I'm down
there)



however, I got a hint to turn machdep.cpu_idle_hlt on.


Dmesg: (With Hyperthreading)

CPU: Pentium 4 (1796.94-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0xf27  Stepping = 7

Features=0xffffffffbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,P
GE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,<b31>>
real memory  = 1073217536 (1023 MB)
avail memory = 1034719232 (986 MB)

Programming 24 pins in IOAPIC #0
IOAPIC #0 intpin 2 -> irq 0
Programming 24 pins in IOAPIC #1
Programming 24 pins in IOAPIC #2
FreeBSD/SMP: Multiprocessor System Detected: 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:  2, version: 0x00178020, at 0xfec00000
 io1 (APIC): apic id:  3, version: 0x00178020, at 0xfec80000
 io2 (APIC): apic id:  4, version: 0x00178020, at 0xfec80400


I tested with machdep.cpu_idle_hlt=0 and machdep.cpu_idle_hlt=1

The results are here:


http://bsdunix.net/performance

all information on what command line options I used is in there.

the difference with it on is pretty substantial, might be worth noting in
tuning(7)

-Trish

--
Trish Lynch					   trish@bsdunix.net
Ecartis Core Team 			      trish@listmistress.org
EFNet IRC Operator @ efnet.demon.co.uk		      AilleCat@EFNet
Key fingerprint = 781D 2B47 AA4B FC88 B919  0CD6 26B2 1D62 6FC1 FF16


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030131125804.E1357-100000>