From owner-freebsd-fs@FreeBSD.ORG Tue May 8 21:31:30 2012 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9EAD21065670 for ; Tue, 8 May 2012 21:31:30 +0000 (UTC) (envelope-from bfriesen@simple.dallas.tx.us) Received: from blade.simplesystems.org (blade.simplesystems.org [65.66.246.74]) by mx1.freebsd.org (Postfix) with ESMTP id 558D28FC16 for ; Tue, 8 May 2012 21:31:30 +0000 (UTC) Received: from freddy.simplesystems.org (freddy.simplesystems.org [65.66.246.65]) by blade.simplesystems.org (8.14.4+Sun/8.14.4) with ESMTP id q48LVS8W028606; Tue, 8 May 2012 16:31:29 -0500 (CDT) Date: Tue, 8 May 2012 16:31:28 -0500 (CDT) From: Bob Friesenhahn X-X-Sender: bfriesen@freddy.simplesystems.org To: Michael Gmelin In-Reply-To: <180B72CE-B285-4702-B16D-0714AA07022C@grem.de> Message-ID: References: <73F8D020-04F3-44B2-97D4-F08E3B253C32@grem.de> <180B72CE-B285-4702-B16D-0714AA07022C@grem.de> User-Agent: Alpine 2.01 (GSO 1266 2009-07-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.2 (blade.simplesystems.org [65.66.246.90]); Tue, 08 May 2012 16:31:29 -0500 (CDT) Cc: freebsd-fs@freebsd.org Subject: Re: ZFS resilvering strangles IO X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 May 2012 21:31:30 -0000 On Tue, 8 May 2012, Michael Gmelin wrote: > > Do you think it would make sense to try to play with zfs_resilver_delay directly in the ZFS kernel module? This may be the wrong approach if the issue is really that there are too many I/Os queued for the device. Finding a tunable which reduces the maximum number of I/Os queued for a disk device may help reduce write latencies by limiting the backlog. On my Solaris 10 system, I accomplished this via a tunable in /etc/system: set zfs:zfs_vdev_max_pending = 5 What is the equivalent for FreeBSD? Bob -- Bob Friesenhahn bfriesen@simple.dallas.tx.us, http://www.simplesystems.org/users/bfriesen/ GraphicsMagick Maintainer, http://www.GraphicsMagick.org/