From owner-freebsd-stable@FreeBSD.ORG Thu Feb 24 18:46:04 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 569C7106564A for ; Thu, 24 Feb 2011 18:46:04 +0000 (UTC) (envelope-from christer.solskogen@gmail.com) Received: from mail-vw0-f54.google.com (mail-vw0-f54.google.com [209.85.212.54]) by mx1.freebsd.org (Postfix) with ESMTP id 0C76E8FC13 for ; Thu, 24 Feb 2011 18:46:03 +0000 (UTC) Received: by vws16 with SMTP id 16so804286vws.13 for ; Thu, 24 Feb 2011 10:46:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type:content-transfer-encoding; bh=pzKHpsKo6+cPQCcKgOHthPd7NZ5Y0w072St+/Gkesbw=; b=i9rNdfGvdUknT+VLxjtXkubG3OfmIY1OnQpXWCjn6l6spoCr/4LPUprdu9QLub4wOz RJgYiQa3dTSWL5+V8S1mK8+ebZ3awiE23Omcg3hjSzTgqbKzmV3QprExI0rEBQqXr94w IdXuYJHenTaIPAaibTMrWUdjS7vY5aO+T9HX0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; b=tsWohmosTz7N8aTHY7jupq9aPEajnJoDjUmZSjm34XcPltUmatSaZOWajMWcScErlb j3caCWPZD9n2E1bo4QEYI11qQd2RbYHGbuiT2Xw9e7PNJyXBfuc3seIOzk+76YPxsIZq jxHBJirmDX+gLMMSvlxBJwZ1FuzEdYMf+gxSA= Received: by 10.52.158.136 with SMTP id wu8mr2242997vdb.48.1298572126376; Thu, 24 Feb 2011 10:28:46 -0800 (PST) MIME-Version: 1.0 Received: by 10.52.155.73 with HTTP; Thu, 24 Feb 2011 10:23:54 -0800 (PST) In-Reply-To: <20110224075517.GA18146@icarus.home.lan> References: <4D660909.6090202@my.gd> <20110224075517.GA18146@icarus.home.lan> From: Christer Solskogen Date: Thu, 24 Feb 2011 19:23:54 +0100 Message-ID: To: Jeremy Chadwick Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: "freebsd-stable@freebsd.org" Subject: Re: ZFS - abysmal performance with samba since upgrade to 8.2-RELEASE X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Feb 2011 18:46:04 -0000 On Thu, Feb 24, 2011 at 8:55 AM, Jeremy Chadwick wrote: > > =A0# Set TXG write limit to a lower threshold. =A0This helps "level out" > =A0# the throughput rate (see "zpool iostat"). =A0A value of 256MB works = well > =A0# for systems with 4GB of RAM, while 1GB works well for us w/ 8GB on > =A0# disks which have 64MB cache. > =A0vfs.zfs.txg.write_limit_override=3D1073741824 > > Sorry if you have said this before, but could you elaborate a bit about this number? For instance, how much does the cache on the disk has to say. In my case: 3x1.5TB raidz with WD15EADS-00R6B0 which has 32MB cache and 12GB memory. What would you recommend and why. --=20 chs,