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.

2 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: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/...