Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

I think i have made a mistake

16 views
Skip to first unread message

Ramine

unread,
Dec 8, 2014, 5:24:29 PM12/8/14
to
Hello,


I think i have made a mistake about the follwing reader-writer lock of
Joe Duffy:

http://joeduffyblog.com/2009/02/20/a-more-scalable-readerwriter-lock-and-a-bit-less-harsh-consideration-of-the-idea/


Since a cache-line transfer between cores is not at all expensive,
so the serial part of the Amdahl's law for this reader-writer
above will still be smaller with more and more cores,
so this will make this reader-writer lock above of Joe Duffy
really scalable on read-mostly scenarios.



Thank you,
Amine Moulay Ramdane.

Chris M. Thomasson

unread,
Dec 11, 2014, 12:12:43 AM12/11/14
to
> "Ramine" wrote in message news:m658e8$vpp$2...@dont-email.me...

> Hello,


> I think i have made a mistake about the follwing reader-writer lock of
> Joe Duffy:

> http://joeduffyblog.com/2009/02/20/a-more-scalable-readerwriter-lock-and-a-bit-less-harsh-consideration-of-the-idea/

No, it is a bit of garbage. All of the readers have to spin on that global
writers counter. Yuck!

;^/

0 new messages