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


Groups > comp.programming.threads > #2220

Re: More information...

From aminer <aminer@toto.net>
Newsgroups comp.programming.threads, comp.programming
Subject Re: More information...
Date 2014-04-22 19:31 -0700
Organization albasani.net
Message-ID <lj6u3o$ddd$1@news.albasani.net> (permalink)
References <lj6tqs$crc$1@news.albasani.net>

Cross-posted to 2 groups.

Show all headers | View raw


On 4/22/2014 7:26 PM, aminer wrote:
> You have to know that a TicketSpinlock with a proportional backoff
> has a problem , if you use 4 threads on 4 cores the Ticketspinlock
> will do very well its job, but if you use more threads than the
> number of cores the TicketSpinlock will not scale,


This problem do happen also with an array based lock or queue based lock 
such as MCS and CLH.

So the simple Spinlock with a backoff scales well and avoids this 
problem and that's very important to know.


Thank you,
Amine Moulay Ramdane.

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


Thread

More information... aminer <aminer@toto.net> - 2014-04-22 19:26 -0700
  Re: More information... aminer <aminer@toto.net> - 2014-04-22 19:31 -0700

csiph-web