From owner-freebsd-fs@FreeBSD.ORG Mon Oct 28 21:22:18 2013 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 3725B650; Mon, 28 Oct 2013 21:22:18 +0000 (UTC) (envelope-from jkh@ixsystems.com) Received: from mail.iXsystems.com (newknight.ixsystems.com [206.40.55.70]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 17C3B2F72; Mon, 28 Oct 2013 21:22:17 +0000 (UTC) Received: from localhost (mail.ixsystems.com [10.2.55.1]) by mail.iXsystems.com (Postfix) with ESMTP id 74A1864E86; Mon, 28 Oct 2013 14:22:17 -0700 (PDT) Received: from mail.iXsystems.com ([10.2.55.1]) by localhost (mail.ixsystems.com [10.2.55.1]) (maiad, port 10024) with ESMTP id 03121-05; Mon, 28 Oct 2013 14:22:17 -0700 (PDT) Received: from kruse-49.3.ixsystems.com (kruse-49.3.ixsystems.com [10.2.3.49]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by mail.iXsystems.com (Postfix) with ESMTPSA id C568264E7E; Mon, 28 Oct 2013 14:22:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=ixsystems.com; s=newknight0; t=1382995337; bh=Tc+T0xy794JoySftCRqrdMHTWgd1lQY92gZ8PAZ0mBo=; h=Subject:From:In-Reply-To:Date:Cc:References:To; b=GENb2RmIJQh83sGRYHsZUWC8uRUgW7ZGDupA/vyCPIXx2lA/v4mhgDTBHK/FRZDFF jTgmTRG35dMPGXgB1FJpoCDeTyDa0vLnxZnp51rWIwjGTm+F4k2us2APQa9394Om7c K0HdBQ5P7rTsBrrs5Vgx1gOvcZx/H4adhIhLvWW4= Mime-Version: 1.0 (Mac OS X Mail 7.0 \(1816\)) Subject: Re: ZFS txg implementation flaw From: Jordan Hubbard In-Reply-To: <20131028092844.GA24997@zxy.spb.ru> Date: Mon, 28 Oct 2013 14:22:16 -0700 Message-Id: <9A00B135-7D28-47EB-ADB3-E87C38BAC6B6@ixsystems.com> References: <20131028092844.GA24997@zxy.spb.ru> To: Slawa Olhovchenkov X-Mailer: Apple Mail (2.1816) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: freebsd-fs@freebsd.org, freebsd-current@freebsd.org X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Oct 2013 21:22:18 -0000 On Oct 28, 2013, at 2:28 AM, Slawa Olhovchenkov wrote: > As I see ZFS cretate seperate thread for earch txg writing. > Also for writing to L2ARC. > As result -- up to several thousands threads created and destoyed per > second. And hundreds thousands page allocations, zeroing, maping > unmaping and freeing per seconds. Very high overhead. How are you measuring the number of threads being created / destroyed? = This claim seems erroneous given how the ZFS thread pool mechanism = actually works (and yes, there are thread pools already). It would be helpful to both see your measurement methodology and the = workload you are using in your tests. - Jordan