From owner-freebsd-current Fri Jan 31 10:44:32 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B6EDF37B401 for ; Fri, 31 Jan 2003 10:44:29 -0800 (PST) Received: from tesla.distributel.net (nat.MTL.distributel.NET [66.38.181.24]) by mx1.FreeBSD.org (Postfix) with ESMTP id 981D043E4A for ; Fri, 31 Jan 2003 10:44:28 -0800 (PST) (envelope-from bmilekic@unixdaemons.com) Received: (from bmilekic@localhost) by tesla.distributel.net (8.11.6/8.11.6) id h0VIjJL07353; Fri, 31 Jan 2003 13:45:19 -0500 (EST) (envelope-from bmilekic@unixdaemons.com) Date: Fri, 31 Jan 2003 13:45:18 -0500 From: Bosko Milekic To: Trish Lynch Cc: freebsd-current@freebsd.org Subject: Re: Hyperthreading and machdep.cpu_idle_hlt Message-ID: <20030131134518.A7297@unixdaemons.com> References: <20030131125804.E1357-100000@femme> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20030131125804.E1357-100000@femme>; from trish@bsdunix.net on Fri, Jan 31, 2003 at 01:04:52PM -0500 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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 GE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,> > 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