public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
* Metadata hit ratio
@ 2010-06-24 20:30 Yannis Klonatos
  2010-06-25  1:15 ` Dave Chinner
  0 siblings, 1 reply; 2+ messages in thread
From: Yannis Klonatos @ 2010-06-24 20:30 UTC (permalink / raw)
  To: xfs

Hello all,

         Along with my other (yet pending :-( ) question/issue, I have 
another question (i hope this is the last :-) )
now.
         I would like to measure the hit ratio of the metadata accesses 
of XFS (inode+internal buffers). It is my
understanding that XFS uses its own data structures, and does not rely 
on the buffercache mechanisms of
the Linux kernel. However, even doing so, there may be cases that the 
metadata may not fit in the RAM,
and I/O operations are required to fetch them from the underlying 
storage. I have found out that there are
two places that XFS uses the submit_bio function. If i add some counters 
there, would it suffice to measure all
the metadata misses?
         Or is this information available in one (or more) of the 
xfs_stats counters? And if so, what do i need to sum
up in order to get the total metadata hit and miss ratio?

Thanks (again!) in advance,
Yannis Klonatos

_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-06-25  1:13 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-06-24 20:30 Metadata hit ratio Yannis Klonatos
2010-06-25  1:15 ` Dave Chinner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox