From owner-freebsd-current@FreeBSD.ORG Sat Aug 28 03:34:19 2010 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A26EC10656AC; Sat, 28 Aug 2010 03:34:19 +0000 (UTC) (envelope-from artemb@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 350C58FC0A; Sat, 28 Aug 2010 03:34:18 +0000 (UTC) Received: by vws7 with SMTP id 7so4093374vws.13 for ; Fri, 27 Aug 2010 20:34:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:sender:received :in-reply-to:references:date:x-google-sender-auth:message-id:subject :from:to:cc:content-type:content-transfer-encoding; bh=pmvM1AJQPCiiI8NBdYWpMbu/QsYijCwJW1o2Mf7liQo=; b=sn4GwLVnwjUG+lUtph5OQ6vuPZOPqOMoP07EDasFDJPpFIzBcpp5QKcU4nPYRk8vGW 8r29OlMnjFEhYtqyqggAfwP//tOtkakYa0oguCblp+aD5iIYU7s85wSTqXSXzGQk6ze6 mccb0/lIwmuGFAZltTL76Ig/ocLobrYBPb72s= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=gD+TzcjDccbsYIHuGhgexMxOuKaScpsqaKViwWfe9tsuVoo7K0nJF2NDzVkCCwfBRW PPRY1x5SEcJpHadlm39WEx9kfrNn3+h4dDl6YOv4lekrSZcOLgftdpFsqKjeF7g12xYx k1e4jrUe6XK0jFLALkNVRxQ93ehfmvk5bb7rs= MIME-Version: 1.0 Received: by 10.220.125.38 with SMTP id w38mr1012180vcr.189.1282966458134; Fri, 27 Aug 2010 20:34:18 -0700 (PDT) Sender: artemb@gmail.com Received: by 10.220.66.227 with HTTP; Fri, 27 Aug 2010 20:34:18 -0700 (PDT) In-Reply-To: <4C78655C.3010200@DataIX.net> References: <4C713EF5.8080402@FreeBSD.org> <4C714FC0.90005@FreeBSD.org> <20100828081917.ee931f7f.nork@FreeBSD.org> <4C78655C.3010200@DataIX.net> Date: Fri, 27 Aug 2010 20:34:18 -0700 X-Google-Sender-Auth: gPOTKelcpzKLc4vFq-Pee6tKKQ8 Message-ID: From: Artem Belevich To: jhell Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-current@freebsd.org, Martin Matuska Subject: Re: [CFT] Improved ZFS metaslab code (faster write speed) 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: Sat, 28 Aug 2010 03:34:19 -0000 On Fri, Aug 27, 2010 at 6:24 PM, jhell wrote: > On 08/27/2010 19:50, Artem Belevich wrote: >> Another "me too" here. >> >> 8-stable/amd64 + v15 (zpool still uses v14) + metaslab + >> abe_stat_rrwlock + A.Gapon's vm_paging_needed() + uma defrag patches. >> >> The box survived few days of pounding on it without any signs of trouble= . >> > > =A0 =A0 =A0 =A0I must have missed the uma defrag patches but according to= the code Here is the UMA patch I was talking about: http://unix.derkeiler.com/Mailing-Lists/FreeBSD/hackers/2010-08/msg00188.ht= ml > those patches should not have any effect on your implimentation of ZFS > on your system because vfs.zfs.zio.use_uma defaults to off unless you > have manually turned this on or the patch reverts that facility back to > its original form. Hmm. Indeed. Kmem_malloc carves memory allocations directly from kmem. Yet the difference in max ARC size with the patch applied is there. http://unix.derkeiler.com/Mailing-Lists/FreeBSD/hackers/2010-08/msg00257.ht= ml Perhaps reduced UMA fragmentation helps those subsystem that do use UMA (including ZFS which always uses uma for various housekeeping data). --Artem