LINUX USERS could see an 8,000 per cent rise in CPU latency after applying Meltdown patches, according to new research by Netflix.
Brendan Gregg, who is part of the team that ensures that Netflix performs as planned, says that the Linux fix causes a huge strain on the CPU leading to the “largest kernel performance regressions I’ve ever seen”.
The technique is called Kernel Page Table Isolation (KPTI) and does pretty much what it says – it makes sure that the page tables for users are different for the ones used by the machine.
Netflix is estimated to have a fairly low level of latency rise – between 0.1 and six percent. But others could see a huge rise, in the hundreds or into those thousands.
“Where you are on that spectrum depends on your syscall and page fault rates, due to the extra CPU cycle overheads, and your memory working set size, due to TLB flushing on syscalls and context switches.”
Meltdown and Spectre have primarily affected Intel chips at a structural level, but all chip makers and operating systems are having to ensure that they are immune.
Intel has warned from the outset that a performance drop was likely, but Linux creator Linus Torvalds has already made clear that he thinks that the Intel mitigations are “very much part of the whole ‘this is complete garbage’ issue.”
He added: “”WHAT THE F*CK IS GOING ON? And that’s actually ignoring [a] much _worse_ issue, namely that the whole hardware interface is literally mis-designed by morons.”
Google has offered its own patch for Spectre, known as Reptoline, which it claims will have no or at least negligible impact on performance. However, Meltdown is the bigger problem, and that’s the one causing the bigger headache to fix without borking everyone’s machines.
As yet, neither Meltdown or Spectre are thought to have affected anyone’s machines in a real-world situation, but Pandora is well and truly outside the box. µ
Source : Inquirer