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

About Transactional memory

7 views
Skip to first unread message

Ramine

unread,
Aug 14, 2016, 3:50:13 PM8/14/16
to
Hello.....


I have read that Transactional memory avoids race conditions
and deadlock etc.

But i have thought about Transactional memory and i think
there is a big problem with it, because if you want to avoid
race conditions, the transaction must wrap a bigger part including
the parallel part and the serial part, but this way has its big problem
and is not good, because if there is a conflict on
the serial part, the transactions will roolback and will be run serially
and this will get you a poor performance that look like the serial
performance, but to avoid this big problem with transactional memory you
have to make the transaction small and avoids to include a maximum of
the parallel part, but this way is a big problem and
is not good, because you can risk to include race conditions that
will ressemble the problem that you get with the way of using locks.


So transactional memory in my humble opinion is not the right tool.




Thank you,
Amine Moulay Ramdane.




0 new messages