Author Topic: Intel's Skylake and Kaby Lake CPUs have nasty hyper-threading bug  (Read 2060 times)

0 Members and 1 Guest are viewing this topic.

Offline Suppressed

  • Hero Member
  • *****
  • Posts: 12,921
  • Gender: Male
    • Avatar
Intel's Skylake and Kaby Lake CPUs have nasty hyper-threading bug
Debian devs noticed errata to deep docs and now the fit's hitting the shan
By Richard Chirgwin 25 Jun 2017 at 23:22

During April and May, Intel started updating its processor documentation with a new errata note – and over the weekend we learned why: the Skylake and Kaby Lake silicon has a hyper-threading bug.

The erratum is described in detail on a Debian mailing list, and affects Skylake and Kaby Lake Intel Core processors (in desktop, high-end desktop, embedded and mobile platforms), Xeon v5 and v6 server processors, and some Pentium models.

The Debian advisory says affected users need to disable hyper-threading “immediately” in their BIOS or UEFI settings, because the processors can “dangerously misbehave when hyper-threading is enabled.”

Symptoms can include “application and system misbehaviour, data corruption, and data loss”.

[...]

Excerpt.  Read more, and fixes, at http://www.theregister.co.uk/2017/06/25/intel_skylake_kaby_lake_hyperthreading/
+++++++++
“In the outside world, I'm a simple geologist. But in here .... I am Falcor, Defender of the Alliance” --Randy Marsh

“The most effectual means of being secure against pain is to retire within ourselves, and to suffice for our own happiness.” -- Thomas Jefferson

“He's so dumb he thinks a Mexican border pays rent.” --Foghorn Leghorn

Offline Suppressed

  • Hero Member
  • *****
  • Posts: 12,921
  • Gender: Male
    • Avatar
Re: Intel's Skylake and Kaby Lake CPUs have nasty hyper-threading bug
« Reply #1 on: June 27, 2017, 02:44:54 pm »
because the processors can “dangerously misbehave when hyper-threading is enabled.”

It's awful, I tell ya.  My i7 has been out drinking and pirating all night.  At least I haven't seen it smoking yet.
+++++++++
“In the outside world, I'm a simple geologist. But in here .... I am Falcor, Defender of the Alliance” --Randy Marsh

“The most effectual means of being secure against pain is to retire within ourselves, and to suffice for our own happiness.” -- Thomas Jefferson

“He's so dumb he thinks a Mexican border pays rent.” --Foghorn Leghorn

Offline endicom

  • Hero Member
  • *****
  • Posts: 10,113
Re: Intel's Skylake and Kaby Lake CPUs have nasty hyper-threading bug
« Reply #2 on: June 27, 2017, 02:57:00 pm »


Su what?

BassWrangler

  • Guest
Re: Intel's Skylake and Kaby Lake CPUs have nasty hyper-threading bug
« Reply #3 on: June 27, 2017, 04:00:21 pm »
Some discussion on this topic at lunch yesterday, including a former Intel employee. The consensus was that this is a nothingburger. Intel has had the microcode patch for some time. The bug is the kind of thing that occurs so infrequently that you are only likely to see it in a test lab. By all means, install the patch, but it is nothing to worry about.
« Last Edit: June 27, 2017, 04:01:30 pm by BassWrangler »

Offline Suppressed

  • Hero Member
  • *****
  • Posts: 12,921
  • Gender: Male
    • Avatar
Re: Intel's Skylake and Kaby Lake CPUs have nasty hyper-threading bug
« Reply #4 on: June 27, 2017, 04:26:14 pm »
Some discussion on this topic at lunch yesterday, including a former Intel employee. The consensus was that this is a nothingburger. Intel has had the microcode patch for some time. The bug is the kind of thing that occurs so infrequently that you are only likely to see it in a test lab. By all means, install the patch, but it is nothing to worry about.

For the less tech-savvy, how is the patch installed?  At what level does it operate?
+++++++++
“In the outside world, I'm a simple geologist. But in here .... I am Falcor, Defender of the Alliance” --Randy Marsh

“The most effectual means of being secure against pain is to retire within ourselves, and to suffice for our own happiness.” -- Thomas Jefferson

“He's so dumb he thinks a Mexican border pays rent.” --Foghorn Leghorn

BassWrangler

  • Guest
Re: Intel's Skylake and Kaby Lake CPUs have nasty hyper-threading bug
« Reply #5 on: June 28, 2017, 02:37:45 am »
For the less tech-savvy, how is the patch installed?  At what level does it operate?

@Suppressed

Sorry for the slow response. I seldom notice replies on this forum, because the forum software doesn't notify of them unless someone includes the @ username tag in the reply (my one most-wanted feature for this forum is to fix this).

Most microprocessors have a table that contains "microcode". Assembly language instructions are decoded into bits that control which internal portions of the microprocessor are activated, where the data is routed (to an internal register, to external memory, etc.). The table of mappings from assembly language instructions to these bits is called microcode. I am told for Intel microprocessors its fairly sophisticated in that it can actually, although sometimes with a performance impact, make more substantive changes to how an instruction is implemented. The microcode is stored in nonvolatile memory within the processor. There is a special processor register that if written to will tell the processor to go load the updated microcode from some address in memory. It will then read the update from this address in memory and update this internal microcode table. Once updated, there is no need to keep the update around or apply it again.

In some cases, the update is actually applied via a BIOS update. You update the BIOS with a version that contains the microcode patch. At boot time, the BIOS checks the processor to see if the microcode has been updated. If not, it goes through the process I described above. Other systems have an OS module that will do the update without involving the BIOS. For Linux it is just a package you install like any other package, except that because it is not open source, you will typically need to explicitly install it (i.e. the microcode update driver won't get installed by default during the OS installation). Microsoft will likely just push the update out during their normal update/patch process. AFAIK, they have not done this yet - at least the non-insider releases. I was told at lunch that the Windows Servers that host Microsoft Azure had already been updated, though, and in fact this happened some time ago. The patch from Intel has been out publicly since May.

If you're running Linux, you can track down the update and install it. If you're running Windows, I would just wait for it. My guess is it'll be in the next monthly windows update cycle (just a guess - I have no insider knowledge). If you're running Macs, I am not sure. Apple tends to batch updates and release less frequently, so it might be awhile.

But as I said before, it's nothing to lose sleep over. I'm not planning on doing anything special for my various desktops here.




« Last Edit: June 28, 2017, 02:44:55 am by BassWrangler »