On Fri, 25 Dec 2009, Saso Kiselkov wrote:
sometimes even longer. I figured that I might be able to resolve this by lowering the txg timeout to something like 1-2 seconds (I need ZFS to write as soon as data arrives, since it will likely never be overwritten), but I couldn't find any tunable parameter for it anywhere on the net. On FreeBSD, I think this can be done via the
While there are some useful tunable parameters, another approach is to consider requesting a synchronous write using fdatasync(3RT) or fsync(3C) immediately after the final write() request in one of your poll() time quantums. This will cause the data to be written immediately. System behavior will then seem totally different. Unfortunately, it will also be less efficient.
Bob -- Bob Friesenhahn bfrie...@simple.dallas.tx.us, http://www.simplesystems.org/users/bfriesen/ GraphicsMagick Maintainer, http://www.GraphicsMagick.org/ _______________________________________________ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss