Re: [PATCH [RT] 00/14] RFC - adaptive real-time locks

From: Ingo Molnar
Date: Thu Feb 21 2008 - 16:26:50 EST



hm. Why is the ticket spinlock patch included in this patchset? It just
skews your performance results unnecessarily. Ticket spinlocks are
independent conceptually, they are already upstream in 2.6.25-rc2 and
-rt will have them automatically once we rebase to .25.

and if we take the ticket spinlock patch out of your series, the the
size of the patchset shrinks in half and touches only 200-300 lines of
code ;-) Considering the total size of the -rt patchset:

652 files changed, 23830 insertions(+), 4636 deletions(-)

we can regard it a routine optimization ;-)

regarding the concept: adaptive mutexes have been talked about in the
past, but their advantage is not at all clear, that's why we havent done
them. It's definitely not an unambigiously win-win concept.

So lets get some real marketing-free benchmarking done, and we are not
just interested in the workloads where a bit of polling on contended
locks helps, but we are also interested in workloads where the polling
hurts ... And lets please do the comparisons without the ticket spinlock
patch ...

Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/