I have set up a small box to work with zfs. (2x 2.4GHz
xeons, 4GB memory, 6x scsi disks) I made one drive the boot
drive and put the other five into a pool with the "zpool
create tank" command right out of the admin manual.
The administration experience has been very nice and most
everything as worked as expected. (Setting up new
filesystems, swapping out failed drives, etc.) What isnt as
I expected is the slow speed.
When using a raw device, a scsi disk on the system reads
at 34MB/s. About what I would expect for these disks.
| # time dd if=/dev/rdsk/c0t1d0 of=/dev/null bs=8k count=102400
| 102400+0 records in
| 102400+0 records out
|
| real 0m23.182s
| user 0m0.135s
| sys 0m1.979s
However when reading from a 10GB file of zeros, made with
mkfile, the read performace is much lower, 11MB/s.
| # time dd if=zeros-10g of=/dev/null bs=8k count=102400
| 102400+0 records in
| 102400+0 records out
|
| real 1m8.763s
| user 0m0.104s
| sys 0m1.759s
After reading the list archives, I saw "ztune.sh". Using
it I tried a couple of different settings and didnt see any
changes. After that I toggled the compression, atime,
recordsize and checksum options on and off to no avail.
Am I expecting too much from this setup? What might be
changed to speed things up? Wait until snv_45?
The version of open solaris is:
| # uname -a
| SunOS donatella 5.11 snv_44 i86pc i386 i86pc
The options on the filesystem are:
| # zfs get all tank/home
| NAME PROPERTY VALUE SOURCE
| tank/home type filesystem -
| tank/home creation Fri Sep 22 10:47 2006 -
| tank/home used 39.1K -
| tank/home available 112G -
| tank/home referenced 39.1K -
| tank/home compressratio 1.00x -
| tank/home mounted yes -
| tank/home quota none default
| tank/home reservation none default
| tank/home recordsize 128K default
| tank/home mountpoint /export/zfs local
| tank/home sharenfs on local
| tank/home checksum on default
| tank/home compression off default
| tank/home atime on default
| tank/home devices on default
| tank/home exec on default
| tank/home setuid on default
| tank/home readonly off default
| tank/home zoned off default
| tank/home snapdir hidden default
| tank/home aclmode groupmask default
| tank/home aclinherit secure default
thanks,
harley.
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss