Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 9 Aug 2010 02:31:55 +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:  <201008090231.55712.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
> 
> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201008090231.55712.alexvpetrov>