Hi  Jeroen, Adam!

> link. Switched write caching off with the following
> addition to the /kernel/drv/sd.conf file (Karsten: if
> you didn't do this already, you _really_ want to :)

Okay, I bite! :) format->inquiry on the F20 FMods disks returns:

# Vendor:   ATA
# Product:  MARVELL SD88SA02

So I put this in /kernel/drv/sd.conf and rebooted:

# KAW, 2010-03-31
# Set F20 FMod devices to non-volatile mode
# See 
http://www.solarisinternals.com/wiki/index.php/ZFS_Evil_Tuning_Guide#Cache_Flushes
sd-config-list = "ATA     MARVELL SD88SA02", "nvcache1";
nvcache1=1, 0x40000,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1;

Now the tarball extraction test with active ZIL finishes in ~0m32s!
I've tested with a mirrored SSD log and two separate SSD log devices.
The runtime is nearly the same. Compared to the 2m42s before the
/kernel/drv/sd.conf modification this is a huge improvement. The
performance with active ZIL would be acceptable now.

But is this mode of operation *really* safe?

FWIW zilstat during the test shows this:

   N-Bytes  N-Bytes/s N-Max-Rate    B-Bytes  B-Bytes/s B-Max-Rate    ops  <=4kB 
4-32kB >=32kB
         0          0          0          0          0          0      0      0 
     0      0
   1039072    1039072    1039072    3772416    3772416    3772416    610    299 
   311      0
   1522496    1522496    1522496    5402624    5402624    5402624    874    429 
   445      0
   2292952    2292952    2292952    6746112    6746112    6746112    931    215 
   716      0
   2321272    2321272    2321272    6774784    6774784    6774784    931    208 
   723      0
   2303472    2303472    2303472    6549504    6549504    6549504    897    195 
   702      0
   2222632    2222632    2222632    6733824    6733824    6733824    935    226 
   709      0
   2198328    2198328    2198328    6668288    6668288    6668288    926    224 
   702      0
   2170000    2170000    2170000    6373376    6373376    6373376    878    200 
   678      0
   2185416    2185416    2185416    6352896    6352896    6352896    874    197 
   677      0
   2218040    2218040    2218040    6516736    6516736    6516736    897    203 
   694      0
   2436984    2436984    2436984    6549504    6549504    6549504    885    171 
   714      0

I.e. ~900 ops/s.
-- 
This message posted from opensolaris.org
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to