From owner-freebsd-geom@FreeBSD.ORG Wed Mar 5 14:10:07 2014 Return-Path: Delivered-To: freebsd-geom@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id E1CA0AA1 for ; Wed, 5 Mar 2014 14:10:07 +0000 (UTC) Received: from mail.tdx.com (mail.tdx.com [62.13.128.18]) by mx1.freebsd.org (Postfix) with ESMTP id AC2DECC9 for ; Wed, 5 Mar 2014 14:10:07 +0000 (UTC) Received: from Mail-PC.tdx.co.uk (storm.tdx.co.uk [62.13.130.251]) (authenticated bits=0) by mail.tdx.com (8.14.3/8.14.3/) with ESMTP id s25E89fB027353 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Wed, 5 Mar 2014 14:08:10 GMT Date: Wed, 05 Mar 2014 14:08:09 +0000 From: Karl Pielorz To: freebsd-geom@freebsd.org Subject: HAST local read performance? Message-ID: X-Mailer: Mulberry/4.0.8 (Win32) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Mar 2014 14:10:07 -0000 Hi, I have a couple of FreeBSD 10 systems I've setup HAST on - this seems to work well, but I've noticed the read performance of local /dev/hast/* devices is around half of the normal raw device? e.g. a dd from an SSD as /dev/da0 nets around 220Mbyte/sec - the same dd run against the same device when setup with hast (i.e. /dev/hast/disk1) only nets around 110Mbyte/sec. I realise another layer is going to affect performance (and this may just be the price you have to pay) but is there anything likely tunable for this? If I fail the other node (so I'm running the test against a 'degraded primary') it's still as slow [as you'd kind of expect, as reads were/are only local] I've setup ZFS on top of the hast devices - again this seems to work OK, but you can really see the performance difference when doing a pool scrub on hast backed devices vs. the raw ones... -Karl