From owner-freebsd-smp@FreeBSD.ORG Fri Apr 25 15:05: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 81DDD37B401 for ; Fri, 25 Apr 2003 15:05:21 -0700 (PDT) Received: from puffin.mail.pas.earthlink.net (puffin.mail.pas.earthlink.net [207.217.120.139]) by mx1.FreeBSD.org (Postfix) with ESMTP id EF86643FDF for ; Fri, 25 Apr 2003 15:05:20 -0700 (PDT) (envelope-from tlambert2@mindspring.com) Received: from pool0134.cvx40-bradley.dialup.earthlink.net ([216.244.42.134] helo=mindspring.com) by puffin.mail.pas.earthlink.net with asmtp (SSLv3:RC4-MD5:128) (Exim 3.33 #1) id 199BJn-0002Mo-00; Fri, 25 Apr 2003 15:05:19 -0700 Message-ID: <3EA9B0D2.2B3BA91C@mindspring.com> Date: Fri, 25 Apr 2003 15:04:02 -0700 From: Terry Lambert X-Mailer: Mozilla 4.79 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: jeev References: <000301c30afa$3dbd3e20$0200a8c0@mainframe> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-ELNK-Trace: b1a02af9316fbb217a47c185c03b154d40683398e744b8a419d80e7fca1fc7cdb4f658a188fd9fc8350badd9bab72f9c350badd9bab72f9c350badd9bab72f9c 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 22:05: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? SCSI vs. IDE is irrellevent for this test. Actually, I'd say use /dev/zero instead of /dev/urandom, and try it again. FWIW, hyperthreading isn't terrifically valuable without some compiler support; same for the Pentium 4. You probably want to turn hyperthreading off, or set up some form of SMT core negaffinity in your scheduler (the FreeBSD scheduler does not have specific knowledge of hyperthreading, so it can cause contention between different SMT cores in the same CPU, which can contribute to poor performance). -- Terry