Ramine
unread,Aug 14, 2016, 3:50:13 PM8/14/16You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
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.