From owner-freebsd-stable@FreeBSD.ORG Sun Aug 8 18:32:01 2010 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 C07501065672 for ; Sun, 8 Aug 2010 18:32:01 +0000 (UTC) (envelope-from alexvpetrov@gmail.com) Received: from mail-ew0-f54.google.com (mail-ew0-f54.google.com [209.85.215.54]) by mx1.freebsd.org (Postfix) with ESMTP id 4DCBB8FC1D for ; Sun, 8 Aug 2010 18:32:00 +0000 (UTC) Received: by ewy26 with SMTP id 26so3774539ewy.13 for ; Sun, 08 Aug 2010 11:32:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:subject:date :user-agent:references:in-reply-to:cc:mime-version:content-type :content-transfer-encoding:message-id; bh=aTSo8Iz75tvp2CZoVbEKexs+EplM6tXMXnH1guWfvks=; b=uFOLVixQIRb0FOLuuJ4Ctu4rT312ywI1VVDcfVhbMdqMpd8W+dRaf03uQEOHk3sYpB RqRIz+0FcOBzqzx971LObs3zVvve1/qZqQIbCOVWZuCPTAXKbOThgR3OxMTlnnw6yx73 +Zj7wu9K+E1jQ7MnZ+l990kCC0ILr8KApPdIU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:subject:date:user-agent:references:in-reply-to:cc :mime-version:content-type:content-transfer-encoding:message-id; b=f5nmM9I6iptE44uTdrEv2snFh7IUi9ADqXOOgS20lmaFodwgMLYGsCz/RCznCzpaLs JfOZbS37zKw9VcwUuB5Qu8frG1oiUksv/CqIF0yoAB0lpHWv+3gu+TivnAinp6bwRkTG KicAuLICObSO6ssNlUDCYReslTgPYyz8y1FEk= Received: by 10.213.109.9 with SMTP id h9mr1939351ebp.33.1281292320148; Sun, 08 Aug 2010 11:32:00 -0700 (PDT) Received: from alex.super ([91.195.101.86]) by mx.google.com with ESMTPS id a48sm6401892eei.12.2010.08.08.11.31.58 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 08 Aug 2010 11:31:59 -0700 (PDT) From: "Alex V. Petrov" To: Jeremy Chadwick Date: Mon, 9 Aug 2010 02:31:55 +0800 User-Agent: KMail/1.13.5 (FreeBSD/8.1-STABLE; KDE/4.4.5; amd64; ; ) References: <201008042008.25679.alexvpetrov@gmail.com> <201008051409.57751.alexvpetrov@gmail.com> <20100805061959.GA92106@icarus.home.lan> In-Reply-To: <20100805061959.GA92106@icarus.home.lan> MIME-Version: 1.0 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <201008090231.55712.alexvpetrov@gmail.com> Cc: freebsd-stable@freebsd.org Subject: Re: zpool - low speed write 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: Sun, 08 Aug 2010 18:32:01 -0000 > > If only one of the dds shows bad throughput, then please: > > - Install ports/sysutils/smartmontools and run smartctl -a /dev/XXX, > where XXX is the disk which has bad throughput > - Try making a ZFS pool with all 3 disks, but then do "zpool offline > tank XXX" and then re-attempt the following dd: > dd if=/dev/zero of=/tank/test.zero bs=64k count=1000000 > And see what throughput looks like. > zpool destroy tank zpool create tank ad8 ad10 ad12 dd if=/dev/zero of=/tank/test.zero bs=3M count=1000 1000+0 records in 1000+0 records out 3145728000 bytes transferred in 83.219741 secs (37800262 bytes/sec) zpool offline tank ad10 cannot offline ad10: no valid replicas zpool destroy tank zpool create tank ad8 ad12 dd if=/dev/zero of=/tank/test.zero bs=3M count=1000 1000+0 records in 1000+0 records out 3145728000 bytes transferred in 126.873102 secs (24794286 bytes/sec) dd if=/dev/zero of=/tank/test.zero bs=64k count=1000000 1000000+0 records in 1000000+0 records out 65536000000 bytes transferred in 1735.680273 secs (37758106 bytes/sec) zpool destroy tank zpool create tank ad8 dd if=/dev/zero of=/tank/test.zero bs=3M count=1000 1000+0 records in 1000+0 records out 3145728000 bytes transferred in 39.550739 secs (79536517 bytes/sec) dd if=/dev/zero of=/tank/test.zero bs=64k count=100000 100000+0 records in 100000+0 records out 6553600000 bytes transferred in 90.810344 secs (72167990 bytes/sec) =-O ----- Alex V. Petrov