From owner-freebsd-fs@freebsd.org Wed May 18 13:49:42 2016 Return-Path: Delivered-To: freebsd-fs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 704B8B3F045 for ; Wed, 18 May 2016 13:49:42 +0000 (UTC) (envelope-from bfriesen@simple.dallas.tx.us) Received: from smtp.simplesystems.org (smtp.simplesystems.org [65.66.246.90]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 3209E1D7B for ; Wed, 18 May 2016 13:49:41 +0000 (UTC) (envelope-from bfriesen@simple.dallas.tx.us) Received: from freddy.simplesystems.org (freddy.simplesystems.org [65.66.246.65]) by smtp.simplesystems.org (8.14.4+Sun/8.14.4) with ESMTP id u4IDnYR4028198; Wed, 18 May 2016 08:49:35 -0500 (CDT) Date: Wed, 18 May 2016 08:49:34 -0500 (CDT) From: Bob Friesenhahn X-X-Sender: bfriesen@freddy.simplesystems.org To: Alex Tutubalin cc: "freebsd-fs@freebsd.org" Subject: Re: ZFS performance bottlenecks: CPU or RAM or anything else? In-Reply-To: Message-ID: References: <8441f4c0-f8d1-f540-b928-7ae60998ba8e@lexa.ru> <16e474da-6b20-2e51-9981-3c262eaff350@lexa.ru> <1e012e43-a49b-6923-3f0a-ee77a5c8fa70@lexa.ru> <86shxgsdzh.fsf@WorkBox.Home> User-Agent: Alpine 2.20 (GSO 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (smtp.simplesystems.org [65.66.246.90]); Wed, 18 May 2016 08:49:35 -0500 (CDT) X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 May 2016 13:49:42 -0000 On Wed, 18 May 2016, Alex Tutubalin wrote: > > If so, raidz will have huge write performance benefit in my case: single > write of one large file. This is not proven in practice. With mirrors one typically has more vdevs and each vdev gets a zfs block-size write in turn, using a round robin agorithm (tuned for available space vdev). Drive IOPs are saved since the blocks are not diced into smaller fragments (as raidzN requires). With raidz it is necessary to also pay the cost of the parity computations, which are not needed with mirroring. Bob -- Bob Friesenhahn bfriesen@simple.dallas.tx.us, http://www.simplesystems.org/users/bfriesen/ GraphicsMagick Maintainer, http://www.GraphicsMagick.org/