NFS server bottlenecks

John Baldwin jhb at freebsd.org
Mon Oct 15 15:17:28 UTC 2012


On Saturday, October 13, 2012 9:03:22 am Rick Macklem wrote:
> rick
> ps: I hope John doesn't mind being added to the cc list yet again. It's
>     just that I suspect he knows a fair bit about mutex implementation
>     and possible hardware cache line effects.

Currently mtx_pool just uses a simple array (I have patches to force the
array members to be cache-aligned, but they haven't been shown to help in
any benchmarks to date).  I do think though that I would prefer embedding
the mutexes in the hash table entries directly.  This is what we do for the
turnstile and sleep queue hash tables.

-- 
John Baldwin


More information about the freebsd-hackers mailing list