Re: [PATCH [RT] 08/14] add a loop counter based timeout mechanism

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Peter W. Morreale
Date: Friday, February 22, 2008 - 1:36 pm

On Fri, 2008-02-22 at 11:55 -0800, Sven-Thorsten Dietrich wrote:

I did try an attempt at this one time.  The logic was merely if the
pending owner was running, wakeup the next waiter.  The results were
terrible for the benchmarks used, as compared to the current
implementation. 

What this meant was that virtually every unlock performed a wakeup, if
not for the new pending owner, than the next-in-line waiter. 

My impression at the time was that the contention for the rq lock is
significant, regardless of even if the task being woken up was already
running.  

I can generate numbers if that helps.

-PWM



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

Messages in current thread:
[PATCH [RT] 00/14] RFC - adaptive real-time locks, Gregory Haskins, (Thu Feb 21, 8:26 am)
[PATCH [RT] 03/14] x86: FIFO ticket spinlocks, Gregory Haskins, (Thu Feb 21, 8:26 am)
[PATCH [RT] 05/14] rearrange rt_spin_lock sleep, Gregory Haskins, (Thu Feb 21, 8:26 am)
[PATCH [RT] 06/14] optimize rt lock wakeup, Gregory Haskins, (Thu Feb 21, 8:26 am)
[PATCH [RT] 07/14] adaptive real-time lock support, Gregory Haskins, (Thu Feb 21, 8:27 am)
[PATCH [RT] 09/14] adaptive mutexes, Gregory Haskins, (Thu Feb 21, 8:27 am)
[PATCH [RT] 10/14] adjust pi_lock usage in wakeup, Gregory Haskins, (Thu Feb 21, 8:27 am)
[PATCH [RT] 12/14] remove the extra call to try_to_take_lock, Gregory Haskins, (Thu Feb 21, 8:27 am)
Re: [PATCH [RT] 00/14] RFC - adaptive real-time locks, Gregory Haskins, (Thu Feb 21, 9:05 am)
Re: [PATCH [RT] 10/14] adjust pi_lock usage in wakeup, Steven Rostedt, (Thu Feb 21, 9:48 am)
Re: [PATCH [RT] 08/14] add a loop counter based timeout me ..., Peter W. Morreale, (Thu Feb 21, 10:04 am)
Re: [PATCH [RT] 08/14] add a loop counter based timeout me ..., Sven-Thorsten Dietrich, (Thu Feb 21, 10:06 am)
Re: [PATCH [RT] 10/14] adjust pi_lock usage in wakeup, Peter W. Morreale, (Thu Feb 21, 10:09 am)
Re: [PATCH [RT] 00/14] RFC - adaptive real-time locks, Ingo Molnar, (Thu Feb 21, 2:24 pm)
Re: [PATCH [RT] 00/14] RFC - adaptive real-time locks, Bill Huey (hui), (Thu Feb 21, 2:33 pm)
Re: [PATCH [RT] 00/14] RFC - adaptive real-time locks, Gregory Haskins, (Thu Feb 21, 2:40 pm)
Re: [PATCH [RT] 00/14] RFC - adaptive real-time locks, Peter W. Morreale, (Thu Feb 21, 3:12 pm)
Re: [PATCH [RT] 00/14] RFC - adaptive real-time locks, Peter W. Morreale, (Thu Feb 21, 3:42 pm)
Re: [PATCH [RT] 05/14] rearrange rt_spin_lock sleep, Gregory Haskins, (Fri Feb 22, 6:29 am)
Re: [PATCH [RT] 05/14] rearrange rt_spin_lock sleep, Steven Rostedt, (Fri Feb 22, 6:35 am)
Re: [PATCH [RT] 05/14] rearrange rt_spin_lock sleep, Ingo Molnar, (Fri Feb 22, 6:35 am)
Re: [PATCH [RT] 05/14] rearrange rt_spin_lock sleep, Peter Zijlstra, (Fri Feb 22, 6:40 am)
Re: [PATCH [RT] 05/14] rearrange rt_spin_lock sleep, Steven Rostedt, (Fri Feb 22, 6:43 am)
Re: [PATCH [RT] 05/14] rearrange rt_spin_lock sleep, Steven Rostedt, (Fri Feb 22, 6:46 am)
Re: [PATCH [RT] 08/14] add a loop counter based timeout me ..., Paul E. McKenney, (Fri Feb 22, 12:08 pm)
Re: [PATCH [RT] 07/14] adaptive real-time lock support, Pavel Machek, (Fri Feb 22, 12:14 pm)
Re: [PATCH [RT] 08/14] add a loop counter based timeout me ..., Paul E. McKenney, (Fri Feb 22, 12:43 pm)
Re: [PATCH [RT] 08/14] add a loop counter based timeout me ..., Sven-Thorsten Dietrich, (Fri Feb 22, 12:55 pm)
Re: [PATCH [RT] 08/14] add a loop counter based timeout me ..., Peter W. Morreale, (Fri Feb 22, 1:15 pm)
Re: [PATCH [RT] 08/14] add a loop counter based timeout me ..., Peter W. Morreale, (Fri Feb 22, 1:36 pm)
Re: [PATCH [RT] 08/14] add a loop counter based timeout me ..., Sven-Thorsten Dietrich, (Sat Feb 23, 12:36 am)
Re: [PATCH [RT] 00/14] RFC - adaptive real-time locks, Andrew Morton, (Sat Feb 23, 1:03 am)