TSX borked in Haswell and Broadwell

DrMrLordX

Lifer
Apr 27, 2000
22,965
13,058
136
This problem probably won't matter for desktop/mobile Haswell and Broadwell products. But, the real question is:

Does Haswell-E have this problem as well? If so, then that's quite a gaffe.
 

exar333

Diamond Member
Feb 7, 2004
8,518
8
91
Boo. I was hoping TSX was going to start gaining some traction, now this.
 

*NixUser

Member
Apr 25, 2013
29
0
0
Very unfortunate.

Sad for those who paid for a processor model that now has one less feature enabled (specially those who bought locked ones over unlocked models just for TSX).
 

Fjodor2001

Diamond Member
Feb 6, 2010
4,241
597
126
Good thing I just read this. I was considering getting a 4670 instead of a 4670K for a new build, partly due to TSX not being enabled on the 4670K.
 

SOFTengCOMPelec

Platinum Member
May 9, 2013
2,417
75
91
Did Intel know about this a year ago (very approximately), and hope nobody would notice ? (I hope not).

I remember the Pentium divide bug, but my Original Pentium with this bug I'm typing this message on, is not^*&£&%£^&£&%£%&£%*&%$&*$*hdfjhkejldhfehfwehwfheh56335734575474747hdhdhdhdhdhdhdhdhdh affecting anything I do, so I'm fine with it.

All jokes aside, this would completely put me off the upcoming Haswell-E/Haswel-EPs, until this thing is fixed (if they are affected).
 
Last edited:

Khato

Golden Member
Jul 15, 2001
1,301
380
136
Pretty much a given that Intel didn't know about it else they would've had it fixed on Broadwell.

It is kinda sad that it's only being found over a year after release. Goes to show how much use those new instructions are getting eh?
 

SOFTengCOMPelec

Platinum Member
May 9, 2013
2,417
75
91
Pretty much a given that Intel didn't know about it else they would've had it fixed on Broadwell.

It is kinda sad that it's only being found over a year after release. Goes to show how much use those new instructions are getting eh?

They really needed to enable/implement it on most/all of their current cpus, to help make it a success (as already said in this thread).

Good point about they would have removed it on broadwell.

It's also VERY embarrassing that Intel themselves failed to ever notice the bug in their testing/validation programme. They had a lot of stick over not noticing the original pentium divide bug, and said they would massively improve and never repeat the same mistake, with their testing/validation scheme (if I remember correctly).
 
Last edited:

SunnyD

Belgian Waffler
Jan 2, 2001
32,675
146
106
www.neftastic.com
Usually something as major as this results in Intel silently allowing anybody that wants to to be allowed to trade in a retail purchased CPU with the errata for a new CPU revision that has the errata corrected if available. Often times this also will apply to OEM's as well (directly via the OEM though).
 

Nothingness

Diamond Member
Jul 3, 2013
3,315
2,386
136
It is kinda sad that it's only being found over a year after release. Goes to show how much use those new instructions are getting eh?
Why would devs spend time on instructions which are fused off on the vast majority of CPU sold by Intel?
 

SPBHM

Diamond Member
Sep 12, 2012
5,066
418
126
Usually something as major as this results in Intel silently allowing anybody that wants to to be allowed to trade in a retail purchased CPU with the errata for a new CPU revision that has the errata corrected if available. Often times this also will apply to OEM's as well (directly via the OEM though).

it's only fair, the CPU have advertised a feature that does not work properly and is now going to be disabled...
if you feel affected by it you should be able to do something about it,


in reality it's not going to change anything for most users (the time it took for someone to find the problem is very telling), but who knows, if in a few years TSX could be relevant and you can't use it because of this with the old CPUs...
 

SOFTengCOMPelec

Platinum Member
May 9, 2013
2,417
75
91
Why would devs spend time on instructions which are fused off on the vast majority of CPU sold by Intel?

Searching round the web about this, some people reckon that TSX is important to the soon to be released Haswel-E/Haswell-EPs, because with lots of cores, and a server which has database software (or whatever they are doing with it) updated to use TSX, they will be rather disappointed. The Wiki about the TSX instruction reckons that TSX makes a huge speed difference, with lots of cores and big databases.
I still have not been able to confirm one way or other, if Haswel-E/Haswell-EPs are affected, but they could well be. But not definitely, because they have an improved or at least bigger cache (I think), which might mean the bug is not present, as TSX has a lot to do with caches, I believe.

Source

According to benchmarks, TSX can provide around 40% faster applications execution in specific workloads, and 4–5 times more database transactions per second (TPS).

So it sounds like a potentially big deal for servers, depending on how much TSX was going to be implemented, on servers.
 
Last edited:

ShintaiDK

Lifer
Apr 22, 2012
20,378
146
106
Searching round the web about this, some people reckon that TSX is important to the soon to be released Haswel-E/Haswell-EPs, because with lots of cores, and a server which has database software (or whatever they are doing with it) updated to use TSX, they will be rather disappointed. The Wiki about the TSX instruction reckons that TSX makes a huge speed difference, with lots of cores and big databases.
I still have not been able to confirm one way or other, if Haswel-E/Haswell-EPs are affected, but they could well be. But not definitely, because they have an improved or at least bigger cache (I think), which might mean the bug is not present, as TSX has a lot to do with caches, I believe.

It requires software to use it. And there is no commercial software that uses it. By the time it may get here, I bet you those Haswell-EPs have been replaced due to TCO.

The only impact as such to this is slower TSX development by 1-2 years. Not that it was around the corner to begin with.
 

SOFTengCOMPelec

Platinum Member
May 9, 2013
2,417
75
91
It requires software to use it. And there is no commercial software that uses it. By the time it may get here, I bet you those Haswell-EPs have been replaced due to TCO.

The only impact as such to this is slower TSX development by 1-2 years. Not that it was around the corner to begin with.

I agree.
The fact that it has taken over a year (I think), for someone to even notice this problem/bug, tends to show how little TSX has been used so far.

Just don't drive under any bridges, anywhere in the world, until this thing is fixed (Joke).
 
Last edited:

cytg111

Lifer
Mar 17, 2008
26,248
15,662
136
What an elaborate fubar. One of the defining features between K and non-K models ... that whole scheme and segmentation just hit the floor hard. I expect that very same microcode to unlock my 4770 thank you. (yea right, like that is happening).
 

cytg111

Lifer
Mar 17, 2008
26,248
15,662
136
Why would devs spend time on instructions which are fused off on the vast majority of CPU sold by Intel?

Why would they not optimize for performance? Stay ahead of the curve? Why no settle for being second best in their field? Or third? .. Many questions.. even more answers.
 

Redstorm

Senior member
Dec 9, 2004
293
0
76
Haswell-ep and e's are affected by this and will be disabled in microcode..

I wonder if Intel will replace free of charge Haswell-e's affected by this bug when new silicone arrives..
 

Khato

Golden Member
Jul 15, 2001
1,301
380
136
Why would devs spend time on instructions which are fused off on the vast majority of CPU sold by Intel?

Because they should simply be using a library or wrapper for applicable multi-threaded sync functions/shared data applications such that non-compatible CPUs use the legacy path while those supporting TSX can take advantage of it? (Note that this is with respect to the HLE portion - RTM doesn't play as nicely with backwards compatibility.) Which I guess it might be the case that the bug is on the RTM side, since that's more likely to only start being used in software with the ramp up towards HSW server parts... and even if there's only a bug in one but not the other they'd have to disable the entire feature.
 

Magic Carpet

Diamond Member
Oct 2, 2011
3,477
234
106
What an elaborate fubar. One of the defining features between K and non-K models ... that whole scheme and segmentation just hit the floor hard. I expect that very same microcode to unlock my 4770 thank you. (yea right, like that is happening).
Yeah, looks like my 4770K wasn't such a bad buy after all, lol.