From owner-freebsd-current@FreeBSD.ORG Fri Oct 22 16:47:45 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 286E516A4CE for ; Fri, 22 Oct 2004 16:47:45 +0000 (GMT) Received: from postal2.es.net (postal2.es.net [198.128.3.206]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0F32543D31 for ; Fri, 22 Oct 2004 16:47:45 +0000 (GMT) (envelope-from oberman@es.net) Received: from ptavv.es.net ([198.128.4.29]) by postal2.es.net (Postal Node 2) with ESMTP id IBA74465; Fri, 22 Oct 2004 09:47:44 -0700 Received: from ptavv (localhost [127.0.0.1]) by ptavv.es.net (Tachyon Server) with ESMTP id C6A3D5D04; Fri, 22 Oct 2004 09:47:43 -0700 (PDT) To: Kris Kennaway In-reply-to: Your message of "Thu, 21 Oct 2004 08:40:57 PDT." <20041021154057.GB640@xor.obsecurity.org> Date: Fri, 22 Oct 2004 09:47:43 -0700 From: "Kevin Oberman" Message-Id: <20041022164743.C6A3D5D04@ptavv.es.net> cc: fandino cc: freebsd-current@freebsd.org Subject: Re: FreeBSD 5.3b7and poor ata performance X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 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: Fri, 22 Oct 2004 16:47:45 -0000 > Date: Thu, 21 Oct 2004 08:40:57 -0700 > From: Kris Kennaway > Sender: owner-freebsd-current@freebsd.org > > On Thu, Oct 21, 2004 at 09:35:12AM +0200, fandino wrote: > > Mike Tancsa wrote: > > >Its strange that you do not see any difference in speed when reading > > >from the device directly vs a file ? I see quite a difference in my > > >setup on a RELENG_5 box and not so much a difference on a RELENG_4 box. > > >Perhaps as someone suggested, the GEOM layer ? > > > > > >e.g. create a file with junk larger than your RAM. (the machine below > > >has 256M) > > > > -- same mobo and same disks -- > > > > OpenBSD 3.5: > > > > dd if=3D/mnt/aa of=3D/dev/null bs=3D1024k count=3D1024 > > 1024+0 records in > > 1024+0 records out > > 1073741824 bytes transferred in 18.743 secs (57287584 bytes/sec) > > > > > > FreeBSD 5.3rc1: > > > > # dd if=3D/mnt/aa of=3D/dev/null bs=3D1024k count=3D1024 > > 1024+0 records in > > 1024+0 records out > > 1073741824 bytes transferred in 42.215597 secs (25434719 bytes/sec) > > BTW, others have asked that you not use dd as your "benchmark", > because it's not benchmarking anything relevant for real-world use of > the disk. While it is not typical of many "real-world" uses, I back up my laptop by copying the disk with dd(1). It used to take me about 40 minutes with V4. Now it takes just over an hour. This 25 minutes lost every day is a very real part of my world. I also bothers me to see this significant deterioration on what appears to be a VERY simple disk activity. I'd like to benchmark buildworld, but doing that with different versions is not so easy. I might try building jdk. That is very "real-world". -- R. Kevin Oberman, Network Engineer Energy Sciences Network (ESnet) Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab) E-mail: oberman@es.net Phone: +1 510 486-8634