[Ocfs2-devel] [PATCH 00/34] OCFS2: Add trace event and replace mlog(0).

Sunil Mushran sunil.mushran at oracle.com
Tue Jan 4 14:33:20 PST 2011


On 01/04/2011 02:15 PM, Joel Becker wrote:
>
> 	I think what matters to count is dirs, because files disappear
> when you're not using them.
> 	If you have 319 trace event directories, that's 319 inodes.  On
> my x86, a vanilla struct inode is 360 bytes and a dentry is 136 bytes.
> That's 154K always in RAM for these knobs.  I gotta say that I'm not too
> worried about 154K.  On x86_64 (ca-build24) this grows to 241K.  I
> imagine it will double when cluster and dlm are moved to similar trace
> events.
> 	Are we OK with 300K on x86 and 500K on x86_64 always used up by
> these tracing entries?

I'm ok with that.





More information about the Ocfs2-devel mailing list