call_rcu: use cpu affinity for per-cpu call_rcu threads
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mon, 6 Jun 2011 21:24:42 +0000 (17:24 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mon, 6 Jun 2011 21:24:42 +0000 (17:24 -0400)
commitc1d2c60b1c754815d27f29705d5f2077c0900148
tree49fd1785a113578906afc6ea7280b901d7f893f9
parent26ba798aa19e32441020728f2f5fd90df87d4175
call_rcu: use cpu affinity for per-cpu call_rcu threads

I played a bit with the call_rcu() implementation alongside with my
rbtree tests, and noticed the following:

If I use per-cpu call_rcu threads with URCU_CALL_RCU_RT flag, with one
updater thread only for my rbtree (no reader), I get 38365 updates/s.
If I add cpu affinity to these per-cpu call_rcu threads (I have prepared
a patch that does this), it jumps to 54219 updates/s.  So it looks like
keeping per-cpu affinity for the call_rcu thread is a good thing.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
API.txt
tests/rcutorture.h
urcu-call-rcu-impl.h
urcu-call-rcu.h
urcu-qsbr.c
urcu.c
This page took 0.036439 seconds and 4 git commands to generate.