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

_______________________________________________
ltt-dev mailing list
[email protected]
http://lists.casi.polymtl.ca/cgi-bin/mailman/listinfo/ltt-dev

Reply via email to