[Ocfs2-users] A Billion Files on OCFS2 -- Best Practices?

Sunil Mushran sunil.mushran at oracle.com
Wed Feb 1 09:53:16 PST 2012


On 02/01/2012 07:02 AM, Mark wrote:
> One more thing.  When I straced one of the application processes (these are the
> processes that create the files) I saw this:
>
> % time     seconds  usecs/call    calls errors syscall
> ------- ----------  ---------- -------- ------ -------
>    68.94   3.002017         111    27154        open
>    18.93   0.929679           2   418108        read
>    12.40   0.543714           2   257548        write
>
> So it seams that inode creation is the biggest time consumer by far.

Yes. open() triggers cluster lock creation which cannot be skipped. 
Reads and writes could skip cluster activity if the node already has the 
appropriate lock level.



More information about the Ocfs2-users mailing list