Date: Wed, 4 Aug 2010 23:09:44 +0800 From: "Alex V. Petrov" <alexvpetrov@gmail.com> To: Martin Matuska <mm@freebsd.org> Cc: freebsd-stable@freebsd.org Subject: Re: zpool - low speed write Message-ID: <201008042309.44985.alexvpetrov@gmail.com> In-Reply-To: <4C597BD6.7080708@FreeBSD.org> References: <201008042008.25679.alexvpetrov@gmail.com> <201008042213.31631.alexvpetrov@gmail.com> <4C597BD6.7080708@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
=D0=92 =D1=81=D0=BE=D0=BE=D0=B1=D1=89=D0=B5=D0=BD=D0=B8=D0=B8 =D0=BE=D1=82 = 4 =D0=B0=D0=B2=D0=B3=D1=83=D1=81=D1=82=D0=B0 2010 22:40:22 =D0=B2=D1=8B =D0= =BD=D0=B0=D0=BF=D0=B8=D1=81=D0=B0=D0=BB=D0=B8: > Try booting with the following on /boot/loader.conf: > vfs.zfs.vdev.max_pending=3D"10" > vfs.zfs.txg.write_limit_override=3D268435456 >=20 > And remove setting: > vfs.zfs.cache_flush_disable=3D1 >=20 > Then try a dd from /dev/zero. OK. 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 394.974934 secs (7964374 bytes/sec) During execution dd: zpool iostat -v 10 10 capacity operations bandwidth pool used avail read write read write =2D--------- ----- ----- ----- ----- ----- ----- tank 1,92T 819G 0 52 53,5K 4,09M ada4 601G 330G 0 18 20,2K 1,47M ada2 637G 291G 0 18 17,3K 1,45M ada3 730G 198G 0 16 15,9K 1,18M =2D--------- ----- ----- ----- ----- ----- ----- capacity operations bandwidth pool used avail read write read write =2D--------- ----- ----- ----- ----- ----- ----- tank 1,92T 821G 13 125 1,08M 9,22M ada4 600G 331G 4 43 390K 3,25M ada2 636G 292G 5 43 371K 3,32M ada3 729G 199G 3 38 345K 2,64M =2D--------- ----- ----- ----- ----- ----- ----- capacity operations bandwidth pool used avail read write read write =2D--------- ----- ----- ----- ----- ----- ----- tank 1,92T 821G 0 183 0 15,2M ada4 600G 331G 0 63 0 5,28M ada2 636G 292G 0 64 0 5,58M ada3 729G 199G 0 55 0 4,37M =2D--------- ----- ----- ----- ----- ----- ----- capacity operations bandwidth pool used avail read write read write =2D--------- ----- ----- ----- ----- ----- ----- tank 1,92T 821G 0 177 0 14,6M ada4 600G 331G 0 62 0 5,29M ada2 636G 292G 0 60 0 5,14M ada3 729G 199G 0 53 0 4,17M =2D--------- ----- ----- ----- ----- ----- ----- capacity operations bandwidth pool used avail read write read write =2D--------- ----- ----- ----- ----- ----- ----- tank 1,92T 821G 0 193 0 15,6M ada4 601G 330G 0 65 0 5,41M ada2 636G 292G 0 68 0 5,60M ada3 729G 199G 0 59 0 4,60M =2D--------- ----- ----- ----- ----- ----- ----- capacity operations bandwidth pool used avail read write read write =2D--------- ----- ----- ----- ----- ----- ----- tank 1,92T 821G 0 178 0 12,8M ada4 601G 330G 0 61 0 4,45M ada2 636G 292G 0 63 0 4,73M ada3 729G 199G 0 53 0 3,65M =2D--------- ----- ----- ----- ----- ----- ----- capacity operations bandwidth pool used avail read write read write =2D--------- ----- ----- ----- ----- ----- ----- tank 1,92T 821G 0 190 0 14,1M ada4 601G 330G 0 68 0 5,24M ada2 636G 292G 0 64 0 4,88M ada3 729G 199G 0 57 0 3,95M =2D--------- ----- ----- ----- ----- ----- ----- capacity operations bandwidth pool used avail read write read write =2D--------- ----- ----- ----- ----- ----- ----- tank 1,92T 821G 4 178 269K 14,4M ada4 601G 330G 1 64 122K 5,47M ada2 636G 292G 1 60 77,2K 4,86M ada3 729G 199G 0 53 70,3K 4,03M =2D--------- ----- ----- ----- ----- ----- ----- capacity operations bandwidth pool used avail read write read write =2D--------- ----- ----- ----- ----- ----- ----- tank 1,92T 820G 5 128 327K 7,26M ada4 601G 330G 1 39 128K 2,02M ada2 636G 292G 1 46 109K 2,95M ada3 730G 198G 1 41 90,5K 2,29M =2D--------- ----- ----- ----- ----- ----- ----- capacity operations bandwidth pool used avail read write read write =2D--------- ----- ----- ----- ----- ----- ----- tank 1,92T 820G 9 181 541K 10,3M ada4 601G 330G 3 65 181K 4,07M ada2 636G 292G 2 59 192K 3,44M ada3 730G 198G 2 56 168K 2,78M =2D--------- ----- ----- ----- ----- ----- ----- =2D---- Alex V. Petrov
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201008042309.44985.alexvpetrov>