If you're on a Mac or Solaris, dtrace will tell you everything you
want to know (and more.) If you're not familiar with dtrace,
iosnoop.d is a good start for this kind of measurement.
At Technorati, I used dtrace to build a trace file of all the read
requests made by a big lucene app, recording timestamp, file, offset,
and number of bytes read. Among other things, the measurement led me
to decrease the heap size of the JVM so that more of the index would
fit in the file cache.
bri
On Sep 10, 2009, at 9:39 PM, edwardyf wrote:
Thanks for the reply, just checked the Lucid Gaze package, it only
collects
the stats at
function call level, no I/O stats
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]