[zfs-discuss] How to verify if the ZIL is disabled

2009-09-23 Thread Scott Meilicke
How can I verify if the ZIL has been disabled or not? 

I am trying to see how much benefit I might get by using an SSD as a ZIL. I 
disabled the ZIL via the ZFS Evil Tuning Guide:

echo zil_disable/W0t1 | mdb -kw

and then rebooted. However, I do not see any benefits for my NFS workload.

Thanks,
Scott
-- 
This message posted from opensolaris.org
___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss


Re: [zfs-discuss] How to verify if the ZIL is disabled

2009-09-23 Thread Neil Perrin



On 09/23/09 10:59, Scott Meilicke wrote:
How can I verify if the ZIL has been disabled or not? 


I am trying to see how much benefit I might get by using an SSD as a ZIL. I 
disabled the ZIL via the ZFS Evil Tuning Guide:

echo zil_disable/W0t1 | mdb -kw


- this only temporarily disables the zil until the reboot.
In fact it has no effect unless file systems are remounted as
the variable is only looked at on mount.



and then rebooted. However, I do not see any benefits for my NFS workload.


To set zil_disable from boot put the following in /etc/system and reboot:

set zfs:zil_disable=1

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


Re: [zfs-discuss] How to verify if the ZIL is disabled

2009-09-23 Thread Roch Bourbonnais


Le 23 sept. 09 à 19:07, Neil Perrin a écrit :




On 09/23/09 10:59, Scott Meilicke wrote:
How can I verify if the ZIL has been disabled or not? I am trying  
to see how much benefit I might get by using an SSD as a ZIL. I  
disabled the ZIL via the ZFS Evil Tuning Guide:

echo zil_disable/W0t1 | mdb -kw


- this only temporarily disables the zil until the reboot.
In fact it has no effect unless file systems are remounted as
the variable is only looked at on mount.



Scott, just setting it;

zfs umount xxx; zfs mount xxx

and then run  your experiment. Directly compare fast/incorrect xxx  
dataset with slower/correct yyy mount point. No need to reboot.


and then rebooted. However, I do not see any benefits for my NFS  
workload.


To set zil_disable from boot put the following in /etc/system and  
reboot:


set zfs:zil_disable=1



Actually you need to have these 2 lines  or it won't work :

 TEMPORARY zil disable on non-production system; Sept 23 for a  
test by  *

set zfs:zil_disable=1


-r





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




smime.p7s
Description: S/MIME cryptographic signature
___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss


Re: [zfs-discuss] How to verify if the ZIL is disabled

2009-09-23 Thread Scott Meilicke
Thank you both, much appreciated.

I ended up having to put the flag into /etc/system. When I disabled the ZIL and 
umount/mounted without a reboot, my ESX host would not see the NFS export, nor 
could I create a new NFS connection from my ESX host. I could get into the file 
system from the host itself of course.

-Scott
-- 
This message posted from opensolaris.org
___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss


Re: [zfs-discuss] How to verify if the ZIL is disabled

2009-09-23 Thread Tomas Ögren
On 23 September, 2009 - Scott Meilicke sent me these 0,5K bytes:

 Thank you both, much appreciated.
 
 I ended up having to put the flag into /etc/system. When I disabled
 the ZIL and umount/mounted without a reboot, my ESX host would not see
 the NFS export, nor could I create a new NFS connection from my ESX
 host. I could get into the file system from the host itself of course.

zfs share -a

/Tomas
-- 
Tomas Ögren, st...@acc.umu.se, http://www.acc.umu.se/~stric/
|- Student at Computing Science, University of Umeå
`- Sysadmin at {cs,acc}.umu.se
___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss


Re: [zfs-discuss] How to verify if the ZIL is disabled

2009-09-23 Thread Scott Meilicke
 zfs share -a

Ah-ha! Thanks.

FYI, I got between 2.5x and 10x improvement in performance, depending on the 
test. So tempting :)

-Scott
-- 
This message posted from opensolaris.org
___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss