Cliff Click Jr. on Azul's HTM

By: Paul A. Clayton (paaronclayton.delete@this.gmail.com), September 24, 2010 2:19 pm
Room: Moderated Discussions
David Kanter (dkanter@realworldtech.com) on 9/24/10 wrote:
---------------------------
[snip]
>I think Azul had something much simpler than TM. I think they are now porting
>to nehalem-ex, so they clearly don't need TM for some of their stuff.

http://www.azulsystems.com/blog/cliff-click/2009-02-25-and-now-some-hardware-transactional-memory-comments

Some interesting quotes:
"Software heuristics determine when to try the HTM (uncontended locks are much cheaper using a cache-hitting CAS)"

"we had lots of teething problems with the software heuristic that used to cause 10-20% slowdowns due to endless fail/retry loops"

"HTM failure appears to nearly always be due to conflict and not capacity"

"Why make the code XTN-friendly when they can make it lock-friendly as well, and have it run fine on all gear (and not just HTM-enabled gear)?"

"It's not the case that they need to write some uber-hard-to-maintain code to get performance. Instead it's the case that they have no clue which locks need to be "cracked" to get a speedup, and once that's pointed out the fixes are generally straightforward."

(A bit discouraging that TM might not be a generally
significant win even if universally supported.)


Paul A. Clayton
just a technophile
< Previous Post in ThreadNext Post in Thread >
TopicPosted ByDate
T3 announcedMax2010/09/21 04:42 AM
  T3 announcedsomeone2010/09/21 05:53 AM
    T3 announcedanon2010/09/21 06:05 AM
      T3 announcedlurker2010/09/21 07:11 AM
      T3 announcedJesper Frimann2010/09/21 07:21 AM
      T3 announcedPhil2010/09/22 12:59 AM
        T3 announcedMichael S2010/09/22 06:16 AM
  T3 announcedLinus Torvalds2010/09/21 07:15 AM
    T3 announcedanon2010/09/21 09:31 AM
      Transactional memory Paul A. Clayton2010/09/21 10:52 AM
        Transactional memory Linus Torvalds2010/09/21 12:21 PM
          Transactional memory Paul A. Clayton2010/09/23 07:30 AM
            Transactional memory Linus Torvalds2010/09/23 08:01 AM
              Transactional memory David Kanter2010/09/24 12:05 AM
                Transactional memory Linus Torvalds2010/09/24 07:59 AM
                  Transactional memory David Kanter2010/09/25 09:27 AM
                    'dynamic fallback'?Paul A. Clayton2010/09/25 11:28 AM
                      'dynamic fallback'?Linus Torvalds2010/09/25 01:23 PM
                        'dynamic fallback'?blaine2010/09/25 02:16 PM
                Cliff Click Jr. on Azul's HTMPaul A. Clayton2010/09/24 02:19 PM
              Transactional memory Foo_2010/09/24 03:08 AM
    T3 announcedblaine2010/09/21 11:43 AM
      no news from FujitsuMax2010/09/21 10:37 PM
Reply to this Topic
Name:
Email:
Topic:
Body: No Text
How do you spell avocado?