From owner-freebsd-stable@FreeBSD.ORG Sun Aug 8 05:57:15 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 9C83A106566B for ; Sun, 8 Aug 2010 05:57:15 +0000 (UTC) (envelope-from alexvpetrov@gmail.com) Received: from mail-ey0-f182.google.com (mail-ey0-f182.google.com [209.85.215.182]) by mx1.freebsd.org (Postfix) with ESMTP id 2459A8FC08 for ; Sun, 8 Aug 2010 05:57:14 +0000 (UTC) Received: by eyh6 with SMTP id 6so3664583eyh.13 for ; Sat, 07 Aug 2010 22:57:14 -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:mime-version:content-type :content-transfer-encoding:message-id; bh=7wZGv2QbmQ/k0WOq+CkxjvDuy8l2T9JE1rsSJwipVvI=; b=SxUln/0bcAq2LdsDAie0BHUV/Trxho3AjZoOhOnTUpfsvUvBAfzig1rdCgzSwH22GM TPiq0fLXjBEF7oxWQu+Vgxim/myAhz82nYh9GVg4Zv9hP2qScla9hCqzUmo6j1QY3fz6 3BK1VQ5mDNBACI46wd/rSOUlBueQDWfP3xObs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:subject:date:user-agent:references:in-reply-to:mime-version :content-type:content-transfer-encoding:message-id; b=MH+TqpyFyOdlMiB7T2HfcEeUj5GcDDU2CWmNCBRq4E0xUEyLtnZL3Ms+9z0Gy32/jQ msKJq6i/v1e7xR2zFPfuTCznDizv1raZyEXT4NHmByw+MGX4uF6WkF2IbIexhf2ASoER y7msEtHtP8risVIq/GNTcCpCSNIbwDPc+ixNM= Received: by 10.213.10.67 with SMTP id o3mr10667024ebo.58.1281247034173; Sat, 07 Aug 2010 22:57:14 -0700 (PDT) Received: from alex.super ([91.195.101.86]) by mx.google.com with ESMTPS id v59sm5440101eeh.22.2010.08.07.22.57.12 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sat, 07 Aug 2010 22:57:13 -0700 (PDT) From: "Alex V. Petrov" To: freebsd-stable@freebsd.org Date: Sun, 8 Aug 2010 13:57:09 +0800 User-Agent: KMail/1.13.5 (FreeBSD/8.1-STABLE; KDE/4.4.5; amd64; ; ) References: <201008042008.25679.alexvpetrov@gmail.com> <201008081108.00175.alexvpetrov@gmail.com> <4C5E2EE9.6020008@ukr.net> In-Reply-To: <4C5E2EE9.6020008@ukr.net> MIME-Version: 1.0 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <201008081357.09659.alexvpetrov@gmail.com> 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 05:57:15 -0000 =D0=92 =D1=81=D0=BE=D0=BE=D0=B1=D1=89=D0=B5=D0=BD=D0=B8=D0=B8 =D0=BE=D1=82 = 8 =D0=B0=D0=B2=D0=B3=D1=83=D1=81=D1=82=D0=B0 2010 12:13:29 =D0=B0=D0=B2=D1= =82=D0=BE=D1=80 Vladislav V. Prodan =D0=BD=D0=B0=D0=BF=D0=B8=D1=81=D0=B0=D0= =BB: > 08.08.2010 6:07, Alex V. Petrov wrote: > > sysctl -a | grep vm.kmem > > vm.kmem_size_max: 329853485875 > >=20 > > sysctl -a | grep vfs.zfs.arc > > vfs.zfs.arc_meta_used: 13797096 > > vfs.zfs.arc_max: 858721280 > >=20 > >=20 > > sysctl -a | grep vm.kvm > > vm.kvm_free: 547673337856 > > vm.kvm_size: 549755809792 >=20 > Please, insert into /boot/loader.conf only this options: >=20 > vm.kmem_size=3D"999M" > vm.kmem_size_max=3D"999M" > vfs.zfs.arc_max=3D"160M" >=20 > And after reboot, please run dd... I think these settings are relevant only for i386, but not for amd64 dd if=3D/dev/zero of=3D/tank/test.zero bs=3D3M count=3D1000 1000+0 records in 1000+0 records out 3145728000 bytes transferred in 425.627495 secs (7390801 bytes/sec) zpool iostat -v 10 10 capacity operations bandwidth pool used avail read write read write =2D--------- ----- ----- ----- ----- ----- ----- tank 759G 1,98T 0 43 31,7K 4,37M ad12 230G 701G 0 15 10,8K 1,55M ad8 244G 684G 0 15 11,6K 1,55M ad10 286G 642G 0 13 9,33K 1,27M =2D--------- ----- ----- ----- ----- ----- ----- capacity operations bandwidth pool used avail read write read write =2D--------- ----- ----- ----- ----- ----- ----- tank 759G 1,98T 0 80 0 3,26M ad12 230G 701G 0 27 0 1,24M ad8 244G 684G 0 27 0 1,08M ad10 286G 642G 0 25 0 962K =2D--------- ----- ----- ----- ----- ----- ----- capacity operations bandwidth pool used avail read write read write =2D--------- ----- ----- ----- ----- ----- ----- tank 759G 1,98T 0 100 6,39K 3,31M ad12 230G 701G 0 34 0 1,23M ad8 244G 684G 0 33 0 1,13M ad10 286G 642G 0 33 6,39K 970K =2D--------- ----- ----- ----- ----- ----- ----- capacity operations bandwidth pool used avail read write read write =2D--------- ----- ----- ----- ----- ----- ----- tank 760G 1,98T 0 132 0 7,21M ad12 230G 701G 0 41 0 2,23M ad8 244G 684G 0 47 0 2,79M ad10 286G 642G 0 43 0 2,20M =2D--------- ----- ----- ----- ----- ----- ----- capacity operations bandwidth pool used avail read write read write =2D--------- ----- ----- ----- ----- ----- ----- tank 760G 1,98T 0 110 6,39K 5,19M ad12 230G 701G 0 39 0 2,12M ad8 244G 684G 0 36 6,39K 1,67M ad10 286G 642G 0 33 0 1,40M =2D--------- ----- ----- ----- ----- ----- ----- capacity operations bandwidth pool used avail read write read write =2D--------- ----- ----- ----- ----- ----- ----- tank 760G 1,98T 0 100 6,39K 4,81M ad12 230G 701G 0 33 0 1,79M ad8 244G 684G 0 34 0 1,65M ad10 286G 642G 0 32 6,39K 1,37M =2D--------- ----- ----- ----- ----- ----- ----- capacity operations bandwidth pool used avail read write read write =2D--------- ----- ----- ----- ----- ----- ----- tank 760G 1,98T 0 117 0 6,21M ad12 230G 701G 0 41 0 2,23M ad8 244G 684G 0 39 0 2,14M ad10 286G 642G 0 37 0 1,84M =2D--------- ----- ----- ----- ----- ----- ----- capacity operations bandwidth pool used avail read write read write =2D--------- ----- ----- ----- ----- ----- ----- tank 760G 1,98T 0 113 0 5,87M ad12 230G 701G 0 36 0 1,77M ad8 244G 684G 0 40 0 2,19M ad10 286G 642G 0 37 0 1,90M =2D--------- ----- ----- ----- ----- ----- ----- capacity operations bandwidth pool used avail read write read write =2D--------- ----- ----- ----- ----- ----- ----- tank 760G 1,98T 0 102 12,8K 5,19M ad12 230G 701G 0 37 6,39K 2,02M ad8 244G 684G 0 34 0 1,84M ad10 286G 642G 0 30 6,39K 1,32M =2D--------- ----- ----- ----- ----- ----- ----- capacity operations bandwidth pool used avail read write read write =2D--------- ----- ----- ----- ----- ----- ----- tank 760G 1,98T 0 124 0 6,32M ad12 230G 701G 0 43 0 2,31M ad8 244G 684G 0 41 0 2,16M ad10 286G 642G 0 39 0 1,85M =2D--------- ----- ----- ----- ----- ----- ----- =2D---- Alex V. Petrov