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


Groups > comp.programming.threads > #2507

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:49 -0700
Organization A noiseless patient Spider
Message-ID <lni8t7$403$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:
> 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?


This is not general, when writes and reads happen to the same
memory locations(that's the same for harddisk)  RCU can not run writes 
and reads in parallel.


Also i was speaking 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 | 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