I/O Grind software is an I/O simulator & rendering tool. To get an instant idea of what iogrind can show you type:
$ ./autogen.sh
$ make demo
However, in order to use it in anger, you need several things:
First a trace of your file-system (you only require this once), requires read access to the raw device, either get in the 'disk' group, or run this as root:
$ ext2dump /dev/sda1 > sda1.xml # for example
Then you need to take a trace of your target application(s)
using the valgrind iogrind plugin:
$ valgrind --tool=iogrind < test-app > 2> /tmp/test.prf
Now you can see what is going on in your app:
$ mono iogrind-gui.exe --fsmodel=sda1.xml /tmp/test.prf
And have a poke around.
Product's homepage