Date: Mon, 25 Aug 2003 08:27:46 -0600 From: Scott Long <scottl@freebsd.org> To: Mike Jakubik <mikej@trigger.net> Cc: Kris Kennaway <kris@obsecurity.org> Subject: Re: HTT on current Message-ID: <3F4A1CE2.6080806@freebsd.org> In-Reply-To: <JCEIKJMCANNPGKFKGLKLOENEDJAA.mikej@trigger.net> References: <JCEIKJMCANNPGKFKGLKLOENEDJAA.mikej@trigger.net>
next in thread | previous in thread | raw e-mail | index | archive | help
Since HTT can lead to performance degradation in some (many?) cases, the second logical CPU's are halted by default. They are enabled, however, in order for interrupt routing to work right. Work is ongoing to make an HTT-aware scheduler, and make the enabling of the logical cores optional. Scott Mike Jakubik wrote: > Its seems to be working for me ok with the sysctl machdep.hlt_logical_cpus > variable set to 0. (I wonder why its not by default) > > # sysctl machdep.hlt_logical_cpus=0 > machdep.hlt_logical_cpus: 2 -> 0 > # uname -a > FreeBSD newns.trigger.net 5.1-CURRENT FreeBSD 5.1-CURRENT #0: Fri Aug 22 > 19:07:26 EDT 2003 root@newns.trigger.net:/usr/src/sys/i386/compile/NS1 > i386 > > I am running on an Intel s875wp1 server MB. > > >>-----Original Message----- >>From: Marc G. Fournier [mailto:scrappy@hub.org] >>Sent: Sunday, August 24, 2003 12:49 PM >>To: Kris Kennaway >>Cc: Yamada Ken Takeshi; mikej@trigger.net; current@freebsd.org >>Subject: Re: HTT on current >> >> >> >>yes: >> >>ganymede# grep SMP /usr/src/sys/i386/conf/kernel >>options SMP # Symmetric MultiProcessor Kernel >> >>and: >> >>CPU: Intel(R) Pentium(R) 4 CPU 2.40GHz (2393.19-MHz 686-class CPU) >> Origin = "GenuineIntel" Id = 0xf27 Stepping = 7 >> >>Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MT > > RR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE> > >>real memory = 536805376 (511 MB) >>avail memory = 515919872 (492 MB) >>Programming 24 pins in IOAPIC #0 >>IOAPIC #0 intpin 2 -> irq 0 >>FreeBSD/SMP: Multiprocessor System Detected: 1 CPUs >> cpu0 (BSP): apic id: 0, version: 0x00050014, at 0xfee00000 >> io0 (APIC): apic id: 2, version: 0x00178020, at 0xfec00000 >> >>shouldn't it be starting up a second CPU, for the HTT? >> >> >>On Sun, 24 Aug 2003, Kris Kennaway wrote: >> >> >>>On Sun, Aug 24, 2003 at 01:06:28PM -0300, Marc G. Fournier wrote: >>> >>>> >>>>ganymede# sysctl machdep.hlt_logical_cpus >>>>sysctl: unknown oid 'machdep.hlt_logical_cpus' >>>>ganymede# uname -a >>>>FreeBSD ganymede.hub.org 5.1-CURRENT FreeBSD 5.1-CURRENT #1: >> >>Sat Aug 23 00:08:54 ADT 2003 >>root@ganymede.hub.org:/usr/obj/usr/src/sys/kernel i386 >> >>>Is this a SMP kernel? >>> >>>ports-i386%uname -a >>>FreeBSD dosirak.kr.freebsd.org 5.1-CURRENT FreeBSD 5.1-CURRENT >> >>#8: Sat Aug 9 15:43:12 KST 2003 >>root@dosirak.kr.freebsd.org:/usr/src/sys/i386/compile/DOSIRAK i386 >> >>>ports-i386%sysctl machdep.hlt_logical_cpus >>>machdep.hlt_logical_cpus: 1 >>> >>>Kris >>> >> > > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3F4A1CE2.6080806>