From owner-freebsd-current@FreeBSD.ORG Mon May 28 23:48:30 2007 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 66B5D16A473 for ; Mon, 28 May 2007 23:48:30 +0000 (UTC) (envelope-from staalebk@ifi.uio.no) Received: from smtp.bluecom.no (smtp.bluecom.no [193.75.75.28]) by mx1.freebsd.org (Postfix) with ESMTP id 2B6B713C45E for ; Mon, 28 May 2007 23:48:30 +0000 (UTC) (envelope-from staalebk@ifi.uio.no) Received: from eschew.pusen.org (unknown [193.69.145.10]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.bluecom.no (Postfix) with ESMTP id 10BF016F4B9; Tue, 29 May 2007 01:14:50 +0200 (CEST) Received: from chiller by eschew.pusen.org with local (Exim 4.50) id 1HsoQR-0005iC-C8; Tue, 29 May 2007 01:14:55 +0200 Date: Tue, 29 May 2007 01:14:55 +0200 From: =?iso-8859-1?Q?St=E5le?= Kristoffersen To: Huang wen hui Message-ID: <20070528231455.GB14746@eschew.pusen.org> References: <46595D43.2090102@gddsn.org.cn> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <46595D43.2090102@gddsn.org.cn> User-Agent: Mutt/1.5.13 (2006-08-11) X-Mailman-Approved-At: Mon, 28 May 2007 23:59:15 +0000 Cc: current@freebsd.org Subject: Re: zfs generate a lot of IO ? 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: Mon, 28 May 2007 23:48:30 -0000 On 2007-05-27 at 10:28, Huang wen hui wrote: > hi, > I install CURRENT with zfs root fs on my notebook(T60P). GENERIC > configuration > without INVARIANTS and WITNESS. > I run a program to test. This program basically read a few small files > and calcuate and output a small file. > On FreeBSD6.2, iostat show that It generate a few io operation. > But on zfs, generate a lot: This could be the same thing Nick Gustas and I have been seeing. Try setting vfs.zfs.prefetch_disable="1" in loader.conf, this made things "normal" for me. -- Ståle Kristoffersen staalebk@ifi.uio.no