On Friday 12 August 2005 17:43, jens m. noedler wrote:
> Another question: How do you test your fuse filesystems? I've been
> looking around and tried iozone . With iozone one can perform the
> following file operations: Read, write, re-read, re-write, read
> backwards, read strided, fread, fwrite, random read/write, pread/pwrite
> variants, aio_read, aio_write, mmap. Looks nice to me.
Some things I run for testing from time to time:
- bonnie++ : pretty good test if you let it run over a couple GB of data.. It
also does a threaded-seek performance test which is a good test of threaded
access (although just read, not write).
- rsync : this does lots of writes and rename operations, running multiple
rsyncs at the same time on the same filesystem is pretty demanding.
- fsx-linux : I haven't run this in a long time, but a long long time ago it
was responsible for finding some bugs in my filesystem (and in fuse).
I also have some perl scripts to test very unlikely edge cases that are too
hard to trigger reliably with other programs, but those edge cases are
specific to my filesystem (like truncation related tests since my filesystem
is block-oriented), and some of the tests aren't really necessary anymore
(like tests related to renaming open files or deleting open files, etc).
I also run larger applications regularly working on data in my filesystem
(KMail, Acroread, StarOffice), but those don't usually push it as hard as the
ones I listed above..