From owner-freebsd-current@FreeBSD.ORG Wed Feb 18 11:16:47 2009 Return-Path: Delivered-To: freebsd-current@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 291901065675 for ; Wed, 18 Feb 2009 11:16:47 +0000 (UTC) (envelope-from shuvaev@physik.uni-wuerzburg.de) Received: from mailrelay.rz.uni-wuerzburg.de (mailrelay.rz.uni-wuerzburg.de [132.187.3.28]) by mx1.freebsd.org (Postfix) with ESMTP id A61038FC1A for ; Wed, 18 Feb 2009 11:16:46 +0000 (UTC) (envelope-from shuvaev@physik.uni-wuerzburg.de) Received: from virusscan.mail (localhost [127.0.0.1]) by mailrelay.mail (Postfix) with ESMTP id 99232A07A7; Wed, 18 Feb 2009 12:16:45 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by virusscan.mail (Postfix) with ESMTP id 8C711A07A5; Wed, 18 Feb 2009 12:16:45 +0100 (CET) Received: from mail.physik.uni-wuerzburg.de (wthp192.physik.uni-wuerzburg.de [132.187.40.192]) by mailmaster.uni-wuerzburg.de (Postfix) with ESMTP id 78346A0799; Wed, 18 Feb 2009 12:16:45 +0100 (CET) Received: from wep4035 ([132.187.37.35]) by mail.physik.uni-wuerzburg.de (Lotus Domino Release 8.0.2HF443) with ESMTP id 2009021812164526-83230 ; Wed, 18 Feb 2009 12:16:45 +0100 Received: by wep4035 (sSMTP sendmail emulation); Wed, 18 Feb 2009 12:16:44 +0100 From: "Alexey Shuvaev" Date: Wed, 18 Feb 2009 12:16:44 +0100 To: Gary Jennejohn Message-ID: <20090218111644.GB43516@wep4035.physik.uni-wuerzburg.de> References: <499981AF.9030204@samsco.org> <20090217164203.4c586f48@ernst.jennejohn.org> <20090218073542.E5200@delplex.bde.org> <499B221C.2050804@samsco.org> <20090218091151.4d9c2bd7@ernst.jennejohn.org> MIME-Version: 1.0 In-Reply-To: <20090218091151.4d9c2bd7@ernst.jennejohn.org> Organization: Universitaet Wuerzburg User-Agent: Mutt/1.5.18 (2008-05-17) X-MIMETrack: Itemize by SMTP Server on domino1/uni-wuerzburg(Release 8.0.2HF443 | November 25, 2008) at 02/18/2009 12:16:45 PM, Serialize by Router on domino1/uni-wuerzburg(Release 8.0.2HF443 | November 25, 2008) at 02/18/2009 12:16:45 PM, Serialize complete at 02/18/2009 12:16:45 PM Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Virus-Scanned: by amavisd-new at uni-wuerzburg.de Cc: FreeBSD Current Subject: Re: HEADS UP: More CAM fixes. X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Feb 2009 11:16:47 -0000 On Wed, Feb 18, 2009 at 09:11:51AM +0100, Gary Jennejohn wrote: > On Tue, 17 Feb 2009 13:46:20 -0700 > Scott Long wrote: > > > Bruce Evans wrote: > > > On Tue, 17 Feb 2009, Gary Jennejohn wrote: > > > > > >> I tested this with an Adaptec 29160. I saw no real improvement in > > >> performance, but also no regressions. > > >> > > >> I suspect that the old disk I had attached just didn't have enough > > >> performance reserves to show an improvement. > > >> > > >> My test scenario was buildworld. Since /usr/src and /usr/obj were both > > >> on the one disk it got a pretty good workout. > > > ^^^^ low > > >> > > >> AMD64 X2 (2.5 GHz) with 4GB of RAM. > > > > > > Buildworld hardly uses the disk at all. It reads and writes a few hundred > > > MB. Ideally the i/o should go at disk speeds of 50-200MB/S and thus take > > > between 20 and 5 seconds. In practice, it will take a few more seconds. > > > physically but perhaps even less virtually due to parallelism. > > > > > > Bruce > > > > Yes, on modern machines, buildworld is bound almost completely by disk > > latency, and not at all by disk or controller bandwidth. > > > > Scott > > > > Maybe I misunderstood something, but I thought the patch was supposed > to improve queuing. Seems like all the seeks during a buildowrld > would exercise that. All I can say is that the disk did _lots_ of > seeking. > I suppose on not extreme multi-core systems (ncores <= 4) buildworld is a good CPU test. For example: time make -j3 TARGET_ARCH=i386 buildworld [building] -------------------------------------------------------------- >>> World build completed on Wed Feb 18 11:59:28 CET 2009 -------------------------------------------------------------- 2163.449u 513.894s 24:17.49 183.6% 6113+2368k 26280+5968io 10602pf+0w ^^^^^^ This is on Core2Duo 3.0GHz with the single 500G WD SATA drive. Pre-caching src directory (with 'tar -cvf /dev/null src', for example) may speed up things by ~10%. Alexey.