Re: [PATCH 1/2] ipc semaphores: reduce ipc_lock contention in semtimedop

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Nick Piggin
Date: Tuesday, April 13, 2010 - 12:25 pm

On Tue, Apr 13, 2010 at 03:01:10PM -0400, Chris Mason wrote:

OK, I wonder just how much it helps, and what.



I didn't actually reproduce it here, I think it was a customer or
partner workload. But SAP only seemed to have one contended semnum in
its array, and it was being operated on with "simple" semops (so that's
about as far as the patches went).

I didn't notice anything that should make that go faster?

Yes, with such a workload, using semops is basically legacy and simple
mutexes should work better. So I'm not outright against improving sysv
sem performance for more complex cases where nothing else we have works
as well.

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH RFC] Optimize semtimedop, Chris Mason, (Mon Apr 12, 11:49 am)
Re: [PATCH 1/2] ipc semaphores: reduce ipc_lock contention ..., Nick Piggin, (Tue Apr 13, 12:25 pm)