Date: Fri, 31 Jan 2003 13:45:18 -0500 From: Bosko Milekic <bmilekic@unixdaemons.com> To: Trish Lynch <trish@bsdunix.net> Cc: freebsd-current@freebsd.org Subject: Re: Hyperthreading and machdep.cpu_idle_hlt Message-ID: <20030131134518.A7297@unixdaemons.com> In-Reply-To: <20030131125804.E1357-100000@femme>; from trish@bsdunix.net on Fri, Jan 31, 2003 at 01:04:52PM -0500 References: <20030131125804.E1357-100000@femme>
next in thread | previous in thread | raw e-mail | index | archive | help
Trish,
Thanks for the tests, it would be good to also get results with
hyperthreading turned off. However, I need you to pass the -o
option to NPtcp and get an actual dat file, so that you can generate
the graphs using the gnuplot config file I asked you to download.
Having the results outputted in the text file is not very
meaningful.
From just eyeballing though, I can see that the maximum throughput
is much higher in the second set of results. I'd still like the dat
files and/or the gnuplot generated pngs, especially when
hyperthreading is turned off, too.
Thanks again, Trish.
Regards,
Bosko
On Fri, Jan 31, 2003 at 01:04:52PM -0500, Trish Lynch wrote:
> 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
>
--
Bosko Milekic * bmilekic@unixdaemons.com * bmilekic@FreeBSD.org
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?20030131134518.A7297>
