Date: Mon, 9 Aug 2010 01:23:04 +0800 From: "Alex V. Petrov" <alexvpetrov@gmail.com> To: Jeremy Chadwick <freebsd@jdc.parodius.com> Cc: freebsd-stable@freebsd.org Subject: Re: zpool - low speed write Message-ID: <201008090123.04823.alexvpetrov@gmail.com> In-Reply-To: <20100805061959.GA92106@icarus.home.lan> References: <201008042008.25679.alexvpetrov@gmail.com> <201008051409.57751.alexvpetrov@gmail.com> <20100805061959.GA92106@icarus.home.lan>
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 = 5 =D0=B0=D0=B2=D0=B3=D1=83=D1=81=D1=82=D0=B0 2010 14:19:59 =D0=B2=D1=8B =D0= =BD=D0=B0=D0=BF=D0=B8=D1=81=D0=B0=D0=BB=D0=B8: >=20 > Can you please remove use of the zpool entirely (e.g. zpool destroy > tank) and do a write test to each disk itself? E.g.: >=20 > dd if=3D/dev/zero of=3D/dev/ad8 bs=3D64k count=3D1000000 > dd if=3D/dev/zero of=3D/dev/ad10 bs=3D64k count=3D1000000 > dd if=3D/dev/zero of=3D/dev/ad12 bs=3D64k count=3D1000000 >=20 > I don't recommend using large block sizes (e.g. bs=3D1M, bs=3D3M). dd if=3D/dev/zero of=3D/dev/ad8 bs=3D64k count=3D1000000 1000000+0 records in 1000000+0 records out 65536000000 bytes transferred in 604.849406 secs (108350937 bytes/sec) dd if=3D/dev/zero of=3D/dev/ad10 bs=3D64k count=3D1000000 1000000+0 records in =20 1000000+0 records out 65536000000 bytes transferred in 757.755459 secs (86487005 bytes/sec) dd if=3D/dev/zero of=3D/dev/ad12 bs=3D64k count=3D1000000 1000000+0 records in 1000000+0 records out 65536000000 bytes transferred in 604.857282 secs (108349526 bytes/sec) =20 > If all of the above dds show good/decent throughput, then there's > something strange going on with ZFS. If this is the case, I would > recommend filing a PR and posting to freebsd-fs about the problem, > pointing folks to this thread. >=20 > If all of the dds show bad throughput, then could you please do the > following: >=20 > - Provide vmstat -i output > - Install ports/sysutils/smartmontools and run smartctl -a /dev/ad8, > smartctl -a /dev/ad10, and smartctl -a /dev/ad12 >=20 > If only one of the dds shows bad throughput, then please: >=20 > - 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=3D/dev/zero of=3D/tank/test.zero bs=3D64k count=3D1000000 > And see what throughput looks like. >=20 > Thanks. =2D---- Alex V. Petrov
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201008090123.04823.alexvpetrov>