Slashdot Mirror


How Do Spectre/Meltdown Fixes Affect The Linux Kernel? (phoronix.com)

"Using the newly minted Linux 4.19 feature code, fresh benchmarks were carried out looking at the performance cost of Spectre/Meltdown/Foreshadow mitigations on Intel Xeon v. AMD EPYC CPUs," writes an anonymous Slashdot reader: Workloads affected by these CPU vulnerabilities mainly deal with I/O and frequent kernel calls while CPU bound tests are still found to be minimally impacted. When toggling these mitigations on Linux 4.19, Intel Xeon CPUs were found to be 10~15% slower with the default kernel while AMD EPYC CPUs dropped to about 5% slower.

3 of 29 comments (clear)

  1. Re:EPYC problem by Tough+Love · · Score: 4, Informative

    The only problem with AMD processors is they don't implement transactional memory operations.

    I can understand your concern if you need this for research, but as an optimization, transactional memory has so far proved pretty underwhelming.

    --
    When all you have is a hammer, every problem starts to look like a thumb.
  2. Re: Haven't noticed much by Tough+Love · · Score: 3

    Basically, this completely erases Intel's single thread advantage over AMD. I am sure that Intel will fix their speculative execution blunders in some future processor generation, I suspect it can be fixed without any slowdown, just re-engineering and maybe a bunch more transistors in the cache and dispatch logic. But by the time Intel does fix it AMD will already be shipping 7nm processors. So I don't see Intel getting back into the high end processor lead any time soon.

    It's a one-two-three whammy for Intel. Almost starting to feel sorry for them. Almost.

    --
    When all you have is a hammer, every problem starts to look like a thumb.
  3. Re:EPYC problem by dmpot · · Score: 4, Informative

    The only problem with AMD processors is they don't implement transactional memory operations.

    Aside some very specific use cases, transactional memory does not offer much in terms of performance. Moreover, transactional memory helps a lot with Timing Side Channel Attacks against the kernel. For example: https://www.blackhat.com/docs/...