Discussion:
[Sks-devel] OCaml vs hyperthreading
Andrew Gallagher
2017-06-26 16:16:02 UTC
Permalink
Since SKS is written in OCaml, this might be of interest to keyserver
operators.

OCaml appears to make (dis?)optimisations that trigger a rare Intel
hyperthreading bug with increased probability. This only happens on
Skylake and Kaby Lake processors. For Skylake (Xeon v5, Core iX-6XXX and
similar), Debian has updated microcode packages available that solve the
issue. For Kaby Lake (Xeon v6, Core iX-7XXX and similar*), the only
foolproof method appears to be to disable hyperthreading and wait for a
vendor patch to drop.

https://lists.debian.org/debian-devel/2017/06/msg00308.html

Andrew.

(*) but some i7-7XXX and i9-7XXX are Skylake; full lists at
https://ark.intel.com/products/codename/37572/Skylake and
https://ark.intel.com/products/codename/82879/Kaby-Lake
Kristian Fiskerstrand
2017-06-26 16:46:41 UTC
Permalink
Post by Andrew Gallagher
OCaml appears to make (dis?)optimisations that trigger a rare Intel
hyperthreading bug with increased probability.
The way I'm reading it is; When ocaml breaks it is due to a processor
misbehaving :)
--
----------------------------
Kristian Fiskerstrand
Blog: https://blog.sumptuouscapital.com
Twitter: @krifisk
----------------------------
Public OpenPGP keyblock at hkp://pool.sks-keyservers.net
fpr:94CB AFDD 3034 5109 5618 35AA 0B7F 8B60 E3ED FAE3
----------------------------
"By three methods we may learn wisdom: First, by reflection, which is
noblest; Second, by imitation, which is easiest; and third by
experience, which is the bitterest."
(Confucius)
Kristian Fiskerstrand
2017-07-06 07:39:09 UTC
Permalink
Post by Andrew Gallagher
Since SKS is written in OCaml, this might be of interest to keyserver
operators.
This article might be of interest related to the intel microcode issue:
https://tech.ahrefs.com/skylake-bug-a-detective-story-ab1ad2beddcd
--
----------------------------
Kristian Fiskerstrand
Blog: https://blog.sumptuouscapital.com
Twitter: @krifisk
----------------------------
Public OpenPGP keyblock at hkp://pool.sks-keyservers.net
fpr:94CB AFDD 3034 5109 5618 35AA 0B7F 8B60 E3ED FAE3
----------------------------
"Money is better than poverty, if only for financial reasons."
(Woody Allen)
Loading...