> I'd like to ask about whether there is a method to enforce a 
> certain txg
> commit frequency on ZFS. 
 
Well, there is a timer frequency based on TXG age (i.e 5 sec 
by default now), in /etc/system like this:
 
set zfs:zfs_txg_synctime = 5

 
Also there is a buffer-size limit, like this (384Mb):
set zfs:zfs_write_limit_override = 0x18000000

or on command-line like this:
# echo zfs_write_limit_override/W0t402653184 | mdb -kw

We had similar spikes with big writes to a Thumper with SXCE in the pre-90's
builds, when the system would stall for seconds while flushing a 30-second TXG
full of data. Adding a reasonable megabyte limit solved the unresponsiveness
problem for us, by making these flush-writes rather small and quick.
 
See also:
http://opensolaris.org/jive/thread.jspa?threadID=106453&start=15&tstart=0
http://opensolaris.org/jive/thread.jspa?messageID=347212
 
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to