[ltt-dev] [RFC PATCHv2 4/5] urcu: re-implment urcu-qsbr

Paolo Bonzini pbonzini at redhat.com
Thu Aug 25 04:35:30 EDT 2011


On 08/25/2011 10:00 AM, Lai Jiangshan wrote:
>> >I was measuring with 10 readers, not 3.  It makes sense to wait more with fewer readers.
>
> But my box just has 4 cores(i5 760).

You cannot be always sure that readers are less than the cores.  readers 
 > cores is exactly the case when busy waiting hurts most.

However, you're right that busy waiting should start later when there 
are few readers, and especially when readers < cores.

Paolo




More information about the lttng-dev mailing list