From owner-freebsd-current@FreeBSD.ORG Sat May 22 08:37:25 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 66F7216A4CE for ; Sat, 22 May 2004 08:37:25 -0700 (PDT) Received: from pooker.samsco.org (pooker.samsco.org [168.103.85.57]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1A49543D1D for ; Sat, 22 May 2004 08:37:25 -0700 (PDT) (envelope-from scottl@freebsd.org) Received: from freebsd.org (junior-wifi.samsco.home [192.168.0.11]) (authenticated bits=0) by pooker.samsco.org (8.12.11/8.12.10) with ESMTP id i4MFgKJ3050243; Sat, 22 May 2004 09:42:20 -0600 (MDT) (envelope-from scottl@freebsd.org) Message-ID: <40AF7372.30902@freebsd.org> Date: Sat, 22 May 2004 09:36:18 -0600 From: Scott Long User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.6) Gecko/20040304 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Kevin Oberman References: <20040521224729.680285D0A@ptavv.es.net> In-Reply-To: <20040521224729.680285D0A@ptavv.es.net> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, hits=0.0 required=3.8 tests=none autolearn=no version=2.63 X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on pooker.samsco.org cc: freebsd-current@freebsd.org Subject: Re: Disk performance under CURRENT 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: Sat, 22 May 2004 15:37:25 -0000 Kevin Oberman wrote: > I just ran test of disk writing performance under V4 (STABLE) and V5 > (CURRENT) and was surprised at the difference. > > The test was simple and not at all rigorous. Just a dd bs=256k > if=/dev/zero of=/dev/ad2. This is about the simplest way of dealing with > a disk. No file system or anything else. Just raw data to the device. > > Under STABLE, I get an average of 25 MB/sec to the disk. Under CURRENT, > it drops to 15 MB/sec. I did this because I had noted that it was now > taking over an hour to backup my system disk (40 GB) when it was only > taking 40 minutes when I was running V4.6. The STABLE system was built > yesterday. The CURRENT system last Sunday. > > Any idea why this is so much slower? It looks to me like it must be in > either geom or the disk driver. Btw, before we run off and dig into performance work here, can you send the output of the following from your test machine: sysctl debug.witness_watch Thanks, Scott