Re: [PATCH 2/2] smp_call_function: use rwlocks on queues rather than rcu

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Pekka Enberg <penberg@...>
Cc: Ingo Molnar <mingo@...>, Jeremy Fitzhardinge <jeremy@...>, Nick Piggin <nickpiggin@...>, Andi Kleen <andi@...>, Pallipadi, Venkatesh <venkatesh.pallipadi@...>, Suresh Siddha <suresh.b.siddha@...>, Jens Axboe <jens.axboe@...>, Rusty Russell <rusty@...>, Linux Kernel Mailing List <linux-kernel@...>, Paul E. McKenney <paulmck@...>
Date: Friday, August 22, 2008 - 10:01 am

Pekka Enberg wrote:

Its on the stack which is presumably hot so no cache miss? If its async then
presumably we do not need to wait so its okay to call an allocator.

Generally: The larger the box (longer cacheline acquisition latencies) and the
higher the contention (cannot get cacheline because of contention) the better
a slab allocation will be compared to a cacheline miss.

RCU is problematic because it lets cachelines get cold. A hot cacheline that
is used frequently read and written to by the same cpu is very good thing for
performace.

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

Messages in current thread:
[PATCH 2/2] smp_call_function: use rwlocks on queues rather ..., Jeremy Fitzhardinge, (Thu Aug 21, 8:29 pm)
Re: [PATCH 2/2] smp_call_function: use rwlocks on queues rat..., Christoph Lameter, (Fri Aug 22, 10:01 am)
Re: [PATCH 2/2] smp_call_function: use rwlocks on queues rat..., Paul E. McKenney, (Fri Aug 22, 11:11 am)
Re: [PATCH 2/2] smp_call_function: use rwlocks on queues rat..., Christoph Lameter, (Fri Aug 22, 1:14 pm)
Re: [PATCH 2/2] smp_call_function: use rwlocks on queues rat..., Christoph Lameter, (Fri Aug 22, 2:36 pm)
Re: [PATCH 2/2] smp_call_function: use rwlocks on queues rat..., Christoph Lameter, (Fri Aug 22, 4:03 pm)
Re: [PATCH 2/2] smp_call_function: use rwlocks on queues rat..., Paul E. McKenney, (Mon Aug 25, 11:12 am)
Re: [PATCH 2/2] smp_call_function: use rwlocks on queues rat..., Christoph Lameter, (Mon Aug 25, 11:44 am)
Re: [PATCH 2/2] smp_call_function: use rwlocks on queues rat..., Christoph Lameter, (Mon Aug 25, 11:46 am)
Re: [PATCH 2/2] smp_call_function: use rwlocks on queues rat..., Paul E. McKenney, (Wed Aug 27, 11:16 am)
Re: [PATCH 2/2] smp_call_function: use rwlocks on queues rat..., Jeremy Fitzhardinge, (Fri Aug 22, 2:35 pm)
Re: [PATCH 2/2] smp_call_function: use rwlocks on queues rat..., Jeremy Fitzhardinge, (Sun Aug 24, 12:55 am)