Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.programming.threads > #2755 > unrolled thread
| Started by | Ramine <ramine@1.1> |
|---|---|
| First post | 2014-12-07 13:32 -0800 |
| Last post | 2014-12-07 13:45 -0800 |
| Articles | 2 — 1 participant |
Back to article view | Back to comp.programming.threads
About the distributed reader-writer mutex Ramine <ramine@1.1> - 2014-12-07 13:32 -0800
Re: About the distributed reader-writer mutex Ramine <ramine@1.1> - 2014-12-07 13:45 -0800
| From | Ramine <ramine@1.1> |
|---|---|
| Date | 2014-12-07 13:32 -0800 |
| Subject | About the distributed reader-writer mutex |
| Message-ID | <m626dn$14h$2@dont-email.me> |
Hello, http://www.1024cores.net/home/lock-free-algorithms/reader-writer-problem/distributed-reader-writer-mutex I have just done a calculation on small reader sections using the Amdahl's law(like when you are parallelizing Red Black trees or AVL trees) using this distributed reader-writer mutex above using an rwlock using the GetCurrentProcessorNumber() of windows, and i have compared it to Seqlock, at 4 cores the Seqlock has 15 times speed throughput of the distributed reader-writer mutex above, at 8 cores the Seqlock has 4 times the speed throughtput of the distributed reader-writer mutex above, at 16 cores the Seqlock has 2 times the speed throughtput of the distributed reader-writer mutex above, at 32 cores the Seqlock has the same speed throughput as the distributed reader-writer mutex above. So Seqlock and my scalable distributed reader-writer lock are much faster on small reader section than the distributed reader-writer mutex above. Thank you, Amine Moulay Ramdane,
[toc] | [next] | [standalone]
| From | Ramine <ramine@1.1> |
|---|---|
| Date | 2014-12-07 13:45 -0800 |
| Message-ID | <m6275u$42o$6@dont-email.me> |
| In reply to | #2755 |
Hello... This calculation was done on read-mostly scenarios. Thank you, Amine Moulay Ramdane.
[toc] | [prev] | [standalone]
Back to top | Article view | comp.programming.threads
csiph-web