From owner-freebsd-current@FreeBSD.ORG Thu May 31 01:43:07 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 3E75716A400 for ; Thu, 31 May 2007 01:43:07 +0000 (UTC) (envelope-from huang@gddsn.org.cn) Received: from gddsn.org.cn (gddsn.org.cn [218.19.164.145]) by mx1.freebsd.org (Postfix) with ESMTP id B33B913C44B for ; Thu, 31 May 2007 01:42:56 +0000 (UTC) (envelope-from huang@gddsn.org.cn) Received: from tp.gddsn.org.cn (unknown [124.81.160.3]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by gddsn.org.cn (Postfix) with ESMTP id 77CB738CB97 for ; Tue, 29 May 2007 14:00:19 +0800 (CST) Message-ID: <465BC172.7030608@gddsn.org.cn> Date: Tue, 29 May 2007 06:00:18 +0000 From: Huang wen hui User-Agent: Thunderbird 2.0.0.0 (X11/20070517) MIME-Version: 1.0 References: <46595D43.2090102@gddsn.org.cn> <20070528231455.GB14746@eschew.pusen.org> In-Reply-To: <20070528231455.GB14746@eschew.pusen.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit 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: Thu, 31 May 2007 01:43:07 -0000 Ståle Kristoffersen 写道: > 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. > > no, I already set this. #sysctl vfs.zfs.prefetch_disable vfs.zfs.prefetch_disable: 1