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


Groups > comp.programming.threads > #2378 > unrolled thread

Optimistic synchronization

Started byaminer <aminer@toto.net>
First post2014-05-26 19:56 -0700
Last post2014-05-26 19:56 -0700
Articles 1 — 1 participant

Back to article view | Back to comp.programming.threads


Contents

  Optimistic synchronization aminer <aminer@toto.net> - 2014-05-26 19:56 -0700

#2378 — Optimistic synchronization

Fromaminer <aminer@toto.net>
Date2014-05-26 19:56 -0700
SubjectOptimistic synchronization
Message-ID<lm0kab$s0d$1@news.albasani.net>
Hello,


Optimistic synchronization with hardware or software
Transactional memory is not a silver bullet, cause to benefit from 
optimistic concurrency the critical sections must have a substantial 
amount of data independance, if there is not a substantial amount of 
data independance the optimnistic synchronization can suffer much worse
performance than pessimistic locking due to the overhead required to 
detect and resolve conflicts in optimistic synchroniszation mechanisms.

Other than that Optimistic synchronisation can suffer from livelock.




Thank you,
Amine Moulay Ramdane.

[toc] | [standalone]


Back to top | Article view | comp.programming.threads


csiph-web