By: Linus Torvalds (torvalds.delete@this.linux-foundation.org), September 21, 2010 11:21 am
Room: Moderated Discussions
Paul A. Clayton (paaronclayton@gmail.com) on 9/21/10 wrote:
>
>With respect to software, TM is actually somewhat nice. It allows the programmer
>to express the operation as something closer to coarse-grained locking while having
>performance similar to fine-grained locking.
I think you've bought into the hype too much.
In theory it works the way you say. In practice? Not
so much. Because of the limits on how big a transaction can
be, you end up having to have fall-back cases etc, or can
only use it for trivial cases where you know you won't be
overflowing any transaction sizes.
I have yet to hear of anybody that actually does the
whole transactional memory thing well.
Linus
>
>With respect to software, TM is actually somewhat nice. It allows the programmer
>to express the operation as something closer to coarse-grained locking while having
>performance similar to fine-grained locking.
I think you've bought into the hype too much.
In theory it works the way you say. In practice? Not
so much. Because of the limits on how big a transaction can
be, you end up having to have fall-back cases etc, or can
only use it for trivial cases where you know you won't be
overflowing any transaction sizes.
I have yet to hear of anybody that actually does the
whole transactional memory thing well.
Linus
Topic | Posted By | Date |
---|---|---|
T3 announced | Max | 2010/09/21 03:42 AM |
T3 announced | someone | 2010/09/21 04:53 AM |
T3 announced | anon | 2010/09/21 05:05 AM |
T3 announced | lurker | 2010/09/21 06:11 AM |
T3 announced | Jesper Frimann | 2010/09/21 06:21 AM |
T3 announced | Phil | 2010/09/21 11:59 PM |
T3 announced | Michael S | 2010/09/22 05:16 AM |
T3 announced | Linus Torvalds | 2010/09/21 06:15 AM |
T3 announced | anon | 2010/09/21 08:31 AM |
Transactional memory | Paul A. Clayton | 2010/09/21 09:52 AM |
Transactional memory | Linus Torvalds | 2010/09/21 11:21 AM |
Transactional memory | Paul A. Clayton | 2010/09/23 06:30 AM |
Transactional memory | Linus Torvalds | 2010/09/23 07:01 AM |
Transactional memory | David Kanter | 2010/09/23 11:05 PM |
Transactional memory | Linus Torvalds | 2010/09/24 06:59 AM |
Transactional memory | David Kanter | 2010/09/25 08:27 AM |
'dynamic fallback'? | Paul A. Clayton | 2010/09/25 10:28 AM |
'dynamic fallback'? | Linus Torvalds | 2010/09/25 12:23 PM |
'dynamic fallback'? | blaine | 2010/09/25 01:16 PM |
Cliff Click Jr. on Azul's HTM | Paul A. Clayton | 2010/09/24 01:19 PM |
Transactional memory | Foo_ | 2010/09/24 02:08 AM |
T3 announced | blaine | 2010/09/21 10:43 AM |
no news from Fujitsu | Max | 2010/09/21 09:37 PM |