From owner-freebsd-current@FreeBSD.ORG Fri Oct 15 19:06:39 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 B8BA716A4CE for ; Fri, 15 Oct 2004 19:06:39 +0000 (GMT) Received: from postal3.es.net (postal3.es.net [198.128.3.207]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7B26E43D31 for ; Fri, 15 Oct 2004 19:06:39 +0000 (GMT) (envelope-from oberman@es.net) Received: from ptavv.es.net ([198.128.4.29]) by postal3.es.net (Postal Node 3) with ESMTP id IBA74465; Fri, 15 Oct 2004 12:06:38 -0700 Received: from ptavv (localhost [127.0.0.1]) by ptavv.es.net (Tachyon Server) with ESMTP id C5A0E5D04; Fri, 15 Oct 2004 12:06:38 -0700 (PDT) To: fandino@ng.fadesa.es In-reply-to: Your message of "Fri, 15 Oct 2004 20:06:12 +0200." <41701194.5010107@ng.fadesa.es> Date: Fri, 15 Oct 2004 12:06:38 -0700 From: "Kevin Oberman" Message-Id: <20041015190638.C5A0E5D04@ptavv.es.net> 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, 15 Oct 2004 19:06:39 -0000 > Date: Fri, 15 Oct 2004 20:06:12 +0200 > From: fandino > Sender: owner-freebsd-current@freebsd.org > > Hello, > > This is an interesting issue. While I was installing FreeBSD 5.3b7 > I wonder about the performance that the new branch will bring to my > computer, and it was a deception how bad FreeBSD performs compared > with Linux on the same hardware (even I repeat the test on different PC > with identical results). > > Tests were done win bonnie++ 1.93c and the results were Linux two > times faster than FreeBSD using the same hardware. > > GNU/Linux 2.4.18 with ext2: 56848 K/sec > FreeBSD 5.3b7 with default fs: 26347 K/sec > FreeBSD 5.3b7 ata raid0* (two disks): 26131 K/sec > FreeBSD 5.3b7 geom stripe* (two disks): 30063 K/sec Are you comparing apples with apples? I believe that Linux mounts file systems as async by default. To compare with FreeBSD, you should use "-o async" when you mount. Of course, this is less reliable. Also, make sure that disk write-cache is enabled on both or disabled on both. -- 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