raidtest for zfs

Pawel Jakub Dawidek pjd at FreeBSD.org
Fri Sep 21 18:20:24 PDT 2007


On Fri, Sep 21, 2007 at 11:58:02PM +0400, Michael Monashev wrote:
> I run:
> 
> > raidtest test -d /dev/zvol/tank/vol -n 10 -w
> Read 50000 requests from raidtest.data.
> Number of READ requests: 0.
> Number of WRITE requests: 50000.
> Number of bytes to transmit: 3281546240.
> Number of processes: 10.
> Bytes per second: 120195634
> Requests per second: 1831
> > zpool export tank
> > zpool import tank
> > raidtest test -d /dev/zvol/tank/vol -n 10 -r
> Read 50000 requests from raidtest.data.
> Number of READ requests: 50000.
> Number of WRITE requests: 0.
> Number of bytes to transmit: 3281546240.
> Number of processes: 10.
> Bytes per second: 69264127
> Requests per second: 1055
> 
> Results seems too strange again. [...]

What's strange about those results? Can you show us 'zpool status' and
explain what you expect and why?

> [...] How to turn off zfs cache completely?

You can't, but for reading you just need to export/import your pool to
get rid of existing cache.

-- 
Pawel Jakub Dawidek                       http://www.wheel.pl
pjd at FreeBSD.org                           http://www.FreeBSD.org
FreeBSD committer                         Am I Evil? Yes, I Am!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-geom/attachments/20070922/789058ae/attachment.pgp


More information about the freebsd-geom mailing list