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


Groups > comp.programming.threads > #2378

Optimistic synchronization

From aminer <aminer@toto.net>
Newsgroups comp.programming.threads, comp.programming
Subject Optimistic synchronization
Date 2014-05-26 19:56 -0700
Organization albasani.net
Message-ID <lm0kab$s0d$1@news.albasani.net> (permalink)

Cross-posted to 2 groups.

Show all headers | View raw


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.

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


Thread

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

csiph-web