[Ocfs2-devel] Re: [PATCH] Dynamic lockres hash table
Sunil Mushran
Sunil.Mushran at oracle.com
Wed Mar 5 10:41:34 PST 2008
Jan Kara wrote:
> Actually, it's non-trivial to measure (differently than by profiling).
> You cannot use standard time functions because they have too low resolution
> - we are speaking about microseconds here...
>
jiffies should have enough resolution.
> Definitely, they should have 16 or even 32 pages per mount. With 500K
> lockres, which is not so extreme on bigger FS, 16 pages mean hash chains of
> average length 61 on x86_64. It is not ideal but I guess it should be
> sufficient.
>
Any objections to increasing the default to 32 pages for 1.4?
More information about the Ocfs2-devel
mailing list