> Roch - PAE wrote:
>>
>> Just posted:
>>
>>        http://blogs.sun.com/roch/entry/nfs_and_zfs_a_fine
>
> Nice article.  Now what about when we do this with more than one disk
> and compare UFS/SVM or VxFS/VxVM with ZFS as the back end - all with
> JBOD storage ?
>
> How then does ZFS compare as an NFS server ?

the following is just pitiful , SVM stripe and mirror thus :

# mount -v | grep d9
/dev/md/dsk/d9 on /export/nfs type ufs
read/write/setuid/devices/intr/largefiles/xattr/noatime/onerror=panic/dev=154000e
on Mon Jan  8 00:44:56 2007

# metastat d9
d9: Mirror
    Submirror 0: d19
      State: Okay
    Submirror 1: d29
      State: Okay
    Pass: 1
    Read option: roundrobin (default)
    Write option: parallel (default)
    Size: 213369984 blocks (101 GB)

d19: Submirror of d9
    State: Okay
    Size: 213369984 blocks (101 GB)
    Stripe 0: (interlace: 256 blocks)
        Device      Start Block  Dbase        State Reloc Hot Spare
        c0t9d0s0           0     No            Okay   Yes
        c0t10d0s0       2889     No            Okay   Yes
        c0t11d0s0       2889     No            Okay   Yes


d29: Submirror of d9
    State: Okay
    Size: 213369984 blocks (101 GB)
    Stripe 0: (interlace: 256 blocks)
        Device      Start Block  Dbase        State Reloc Hot Spare
        c0t12d0s0          0     No            Okay   Yes
        c0t13d0s0       2889     No            Okay   Yes
        c0t14d0s0       2889     No            Okay   Yes


TEST 1 ) file write.
Building file structure at /export/nfs/local_test/

This test will create 62^3 = 238328 files of
exactly 65536 bytes each.   This amounts to
15,619,063,808 bytes = 14.55 GB of file data.


- - - WARNING TO USERS OF ZFS FILESYSTEMS - - -
 - - - - - - - - - - - - - - - - - - - - - - -
If you have compression enabled on your ZFS based
filesystem then you will see very high numbers for
the final effective compression.  This is due to
the fact that the ZFS compression algorithm is a
block based algorithm and the data written by this
code is largely repetitive in nature.  Thus it will
compress better than any non-regular or random data.
 - - - - - - - - - - - - - - - - - - - - - - -
- - - WARNING TO USERS OF ZFS FILESYSTEMS - - -

 RT= 3489.821276 sec

238328 files  avg=0.014639 sec  total=3488.777365 sec  io_avg=4.269547 MB/sec

TEST 2 ) file append 2048 bytes.
Appending to file structure at /export/nfs/local_test/

This test will append 2048 bytes to the files
that were created in TEST 1.

 RT= 550.342414 sec

238328 files  avg=0.002305 sec  total=549.310531 sec  io_avg=0.847398 MB/sec

TEST 3 ) file append 749 bytes
Appending to file structure at /export/nfs/local_test/

This test will append 749 bytes to the files
that were created in TEST 1.

 RT = 859.041237 sec

238328 files  avg=0.003599 sec  total=857.776092 sec  io_avg=0.198465 MB/sec



 RT = 4899.253981 sec


real  1:21:39.309
user    12:53.959
sys     10:02.700
#

That really really is bad.



_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to