Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

I must be precise

7 views
Skip to first unread message

Ramine

unread,
Aug 14, 2016, 4:22:10 PM8/14/16
to
Hello,


I must be precise in my reasonning about Transactional memory..

To avoid race conditions the transactions must wrap the parallel
part and the serial part.

And if the serial part of the transactions is more smaller you can
get a conflict and this will get you a poor performance.

But if the serial part is small , so the chance to get a conflict is
small, so Transactional memory works best and scales best with smaller
serial parts.

So Transactional memory since it avoids race conditions and deadlocks
is the right tool for applications that scales well and that have
smaller serial parts.

Locks are best suited for more bigger serial parts.



Thank you,
Amine Moulay Ramdane.





0 new messages