lkml.org 
[lkml]   [2008]   [Oct]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 3/3] Convert the UDP hash lock to RCU
Eric Dumazet wrote:
>
> (2 weeks ago, Corey mentioned a 10x increase on UDP throughput on a
> 16-way machine,
> that sounds promising)
Just to be clear, that was 10x with preempt RT, which converts rwlocks
into PI mutexes. So 16 processors going for the same lock is pretty ugly.

Under heavy loads there is also a writer starvation problem, I believe
in non-RT. You can't actually create or destroy a UDP socket when the
load is high because there's always a reader holding the lock. RCU also
solves that problem.

-corey



\
 
 \ /
  Last update: 2008-10-07 18:45    [from the cache]
©2003-2011 Jasper Spaans