From owner-freebsd-smp@FreeBSD.ORG Fri Apr 25 04:28:21 2003 Return-Path: Delivered-To: freebsd-smp@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E736E37B404 for ; Fri, 25 Apr 2003 04:28:20 -0700 (PDT) Received: from silver.he.iki.fi (silver.he.iki.fi [193.64.42.241]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8294B43FB1 for ; Fri, 25 Apr 2003 04:28:19 -0700 (PDT) (envelope-from pete@he.iki.fi) Received: from he.iki.fi (localhost.he.iki.fi [127.0.0.1]) by silver.he.iki.fi (8.12.9/8.11.4) with ESMTP id h3PBRsk8098214; Fri, 25 Apr 2003 14:28:13 +0300 (EEST) (envelope-from pete@he.iki.fi) Message-ID: <3EA91BBA.9080104@he.iki.fi> Date: Fri, 25 Apr 2003 14:27:54 +0300 From: Petri Helenius User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.1) Gecko/20021117 X-Accept-Language: English [en],Finnish [fi] MIME-Version: 1.0 To: jeev References: <000301c30afa$3dbd3e20$0200a8c0@mainframe> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-smp@freebsd.org Subject: Re: Dual 2.40ghz xeon w/hyperthreading X-BeenThere: freebsd-smp@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: FreeBSD SMP implementation group List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Apr 2003 11:28:21 -0000 jeev wrote: >Basically guys, this box is not exceeding an ide computer I have on idea. > >I noticed the dual xeon to be slow. So I ran: > >dd if=/dev/urandom of=/dev/null bs=1m count=1024 > >on 2 servers, 1 is the top one and 1 is the xeon. >Obviously the ide killed the scsi with dual cpu's running hyperthreading, >why? > > Hypethreading gives you two virtual CPU's out of one real one. They perform at ~60-70% of the capacity of real one. Enable machdep.cpu_idle_hlt (disabled by default on SMP) to have the other virtual core to execute HLT when it's not doing anything useful except busylooping, which is what happens now. Or even better, disable hypethreading to recover real performance. Pete > >-SINGLE 2.4ghz p4 w/1gb ram and 80gig ide > >1073741824 bytes transferred in 266.387823 secs (4030747 bytes/sec) >2.4ghz >CPU: Intel(R) Pentium(R) 4 CPU 2.40GHz (2399.74-MHz 686-class CPU) > Origin = "GenuineIntel" Id = 0xf27 Stepping = 7 > >Features=0xbfebf9ff,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE> >real memory = 1073676288 (1048512K bytes) >avail memory = 1039519744 (1015156K bytes) >ad0: 76319MB [155061/16/63] at ata0-master UDMA100 >----------------------- > > > >-dual 2.4ghz xeon each with hyperthreading, 2gb ram ddr, 73gb scsi hd. > >1073741824 bytes transferred in 410.476271 secs (2615844 bytes/sec) >CPU: Intel(R) Xeon(TM) CPU 2.40GHz (2395.92-MHz 686-class CPU) > Origin = "GenuineIntel" Id = 0xf27 Stepping = 7 >Features=0xbfebfbff,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE> > Hyperthreading: 2 logical CPUs >real memory = 2146959360 (2096640K bytes) >avail memory = 2085502976 (2036624K bytes) >Programming 24 pins in IOAPIC #0 >IOAPIC #0 intpin 2 -> irq 0 >Programming 24 pins in IOAPIC #1 >Programming 24 pins in IOAPIC #2 >Programming 24 pins in IOAPIC #3 >Programming 24 pins in IOAPIC #4 >FreeBSD/SMP: Multiprocessor motherboard > 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 > io3 (APIC): apic id: 5, version: 0x00178020, at 0xfec81000 > io4 (APIC): apic id: 8, version: 0x00178020, at 0xfec81400 >da0 at ahc0 bus 0 target 0 lun 0 >da0: Fixed Direct Access SCSI-3 device >da0: 160.000MB/s transfers (80.000MHz, offset 63, 16bit), Tagged Queueing >Enabled >da0: 70007MB (143374744 512 byte sectors: 255H 63S/T 8924C) > >what could be causing this issue? > >Thanks! > >j > >_______________________________________________ >freebsd-smp@freebsd.org mailing list >http://lists.freebsd.org/mailman/listinfo/freebsd-smp >To unsubscribe, send any mail to "freebsd-smp-unsubscribe@freebsd.org" > >