rw_semaphore performance, was: new metadata reader/writer locks in integration-test

2011-07-22 Thread Christoph Hellwig
On Tue, Jul 19, 2011 at 01:30:22PM -0400, Chris Mason wrote: We've seen a number of benchmarks dominated by contention on the root node lock. This changes our locks into a simple reader/writer lock. They are based on mutexes so that we still take advantage of the mutex adaptive spins for

Re: rw_semaphore performance, was: new metadata reader/writer locks in integration-test

2011-07-22 Thread Chris Mason
Excerpts from Christoph Hellwig's message of 2011-07-22 11:01:51 -0400: On Tue, Jul 19, 2011 at 01:30:22PM -0400, Chris Mason wrote: We've seen a number of benchmarks dominated by contention on the root node lock. This changes our locks into a simple reader/writer lock. They are based on