Date: Sun, 18 Nov 2007 12:29:32 +0200 From: Manolis Kiagias <sonicy@otenet.gr> To: Wojciech Puchar <wojtek@wojtek.tensor.gdynia.pl> Cc: freebsd-questions@freebsd.org Subject: Re: hyperthreading CPU and broken scheduling? Message-ID: <4740140C.6050103@otenet.gr> In-Reply-To: <20071118111446.H4507@wojtek.tensor.gdynia.pl> References: <20071118111446.H4507@wojtek.tensor.gdynia.pl>
next in thread | previous in thread | raw e-mail | index | archive | help
Wojciech Puchar wrote: > i have machune with intel's CPU with hyperthreading. > > it is detected right, but only first thread is ever used. > > top shows at least 50% idle no matter what i run! > > what's wrong? > > > root@:/usr62/src/sys/amd64/compile/serwer.tensor.gdynia.pl > Timecounter "i8254" frequency 1193182 Hz quality 0 > CPU: Intel(R) Pentium(R) 4 CPU 3.00GHz (3000.13-MHz K8-class CPU) > Origin = "GenuineIntel" Id = 0xf62 Stepping = 2 > > 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> > Features2=0xe41d<SSE3,RSVD2,MON,DS_CPL,CNTX-ID,CX16,<b14>,<b15>> > AMD Features=0x20100800<SYSCALL,NX,LM> > AMD Features2=0x1<LAHF> > Logical CPUs per core: 2 > real memory = 1072562176 (1022 MB) > avail memory = 1021456384 (974 MB) > ACPI APIC Table: <PTLTD APIC > > FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs > cpu0 (BSP): APIC ID: 0 > cpu1 (AP): APIC ID: 1 > ioapic0 <Version 2.0> irqs 0-23 on motherboard > acpi0: <PTLTD RSDT> on motherboard > acpi0: Power Button (fixed) > Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 > acpi_timer0: <24-bit timer at 3.579545MHz> port 0x1008-0x100b on acpi0 > cpu0: <ACPI CPU> on acpi0 > acpi_throttle0: <ACPI CPU Throttling> on cpu0 > cpu1: <ACPI CPU> on acpi0 > acpi_throttle1: <ACPI CPU Throttling> on cpu1 > acpi_throttle1: failed to attach P_CNT > device_attach: acpi_throttle1 attach returned 6 > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" > > To enable hyperthreading, try setting the following in /etc/sysctl.conf: machdep.hyperthreading_allowed=1 and reboot (or execute sysctl machdep.hyperthreading_allowed=1 by hand).
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4740140C.6050103>