Re:Errata prompt Intel to disable TSX in Haswell, early Broa...
by mnarayan01 on Tuesday August 12, 2014 @03:22PM
(#8169619)
The techreport.com article says:
Looking at your wiki links though, I would think this would be awesome for almost any high-performance multi-threaded program. Am I wrong about that?
[ Parent
| on HN ]
Re:Errata prompt Intel to disable TSX in Haswell, early Broa...
by sdab on Tuesday August 12, 2014 @03:28PM
(#8169653)
In theory yes, though thinking in terms of transactions is subtly different from thinking in terms of threading critical sections. Particularly, they differ in how they handle contention. Locks block while transactions abort/fail. Simply retry-ing a transaction is also not a good idea which is why it is currently suggested to fallback on locks [1]. So I assume the suggestion of using it for dbs is because it would be more straight-forward as dbs are already used to transactions.
1. https://software.intel.com/en-us/blogs/2013/06/23/tsx-fallba...
Re:Errata prompt Intel to disable TSX in Haswell, early Broa...
by blt on Tuesday August 12, 2014 @04:30PM
(#8169971)
It won't make any difference if the load is embarrassingly parallel, like rendering one frame of video per core. In those cases the amount of independent work is huge compared to time spent dealing with locks.
Re:Errata prompt Intel to disable TSX in Haswell, early Broa...
by colanderman on Tuesday August 12, 2014 @04:27PM
(#8169960)
The idea with HLE at least, was that anywhere you had a highly contended lock that protected not-highly-write-contended data, it was a drop-in performance boost. Really sucks that they had to pull the plug on it.