Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.programming.threads > #2506

Re: I was asked a question by Chris Thomasson 1

From Ramine <ramine@1.1>
Newsgroups comp.programming.threads, comp.programming
Subject Re: I was asked a question by Chris Thomasson 1
Date 2014-06-14 12:37 -0700
Organization A noiseless patient Spider
Message-ID <lni87e$ujb$1@dont-email.me> (permalink)
References <lnaflc$gbg$4@news.albasani.net> <lnag6l$hm7$2@news.albasani.net> <lni5fa$5aq$1@speranza.aioe.org>

Cross-posted to 2 groups.

Show all headers | View raw


On 6/14/2014 11:49 AM, Chris M. Thomasson wrote:
>> "aminer"  wrote in message news:lnag6l$hm7$2@news.albasani.net... [...]
>
> IMVHO, you do not seem understand why RCU beats a non-asymmetric
> rw-lock. Besides that, how can you compare RCU with a read-write mutex
> when RCU allows reads and writes to occur concurrently?
>
> Can a write proceed when a read is in progress in any of your rw-mutex
> algos?
>
> Can you read without issuing any memory barriers, or any atomic RMW?
>
> I think NOT!
>
> ;^)

"Read-copy update creates new version at each modification, permitting 
an excellent scalability as concurrent reads scale perfectly and there 
are *NO WRITES* to the same memory location."

Have you read the "and there are no writes to the same memory location"

Also i was spezking about read mostly scenarios, i think
on read mostly scenarios the difference between RCU and my scalable
RWLocks are small, cause my scalable RWLocks are scalable on read mostly 
scenarios , they scale even at 3% of writes.



Thank you,
Amine Moulay Ramdane.





Back to comp.programming.threads | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

I was asked a question by Chris Thomasson 1 aminer <aminer@toto.net> - 2014-06-11 04:54 -0700
  Re: I was asked a question by Chris Thomasson 1 aminer <aminer@toto.net> - 2014-06-11 05:03 -0700
    Re: I was asked a question by Chris Thomasson 1 "Chris M. Thomasson" <no@spam.invalid> - 2014-06-14 11:49 -0700
      Re: I was asked a question by Chris Thomasson 1 Ramine <ramine@1.1> - 2014-06-14 12:37 -0700
      Re: I was asked a question by Chris Thomasson 1 Ramine <ramine@1.1> - 2014-06-14 12:49 -0700

csiph-web