On Mon, Sep 8, 2008 at 8:35 PM, Miles Nordin <[EMAIL PROTECTED]> wrote:
>    ps> iSCSI with respect to write barriers?
>
> +1.
>
> Does anyone even know of a good way to actually test it?  So far it
> seems the only way to know if your OS is breaking write barriers is to
> trade gossip and guess.
>

Write a program that writes backwards (every other block to avoid
write merges) with and without O_DSYNC, measure speed.

I think you can also deduce driver and drive cache flush correctness
by calculating the best theoretical correct speed (which should be
really slow, one write per disc spin)

this has been on my TODO list for ages.. :(
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to