Software Linux Reviews & Articles

There have been 904 Linux hardware reviews and benchmark articles on Phoronix for software. Separately, check out our news section for related product news.

Initial Benchmarks Of The Intel Downfall Mitigation Performance Impact
Initial Benchmarks Of The Intel Downfall Mitigation Performance Impact

With yesterday's disclosure of the Intel Downfall speculative execution vulnerability and the updated CPU microcode and Linux kernel patches I have been very busy testing the performance impact of this mitigation. Here are some initial numbers and workloads I have found to be impacted as a result of this security mitigation for Skylake to Icelake/Tigerlake client and server processors.

9 August 2023 - 46 Comments
LLVM Clang 16 vs. GCC 13 Compiler Performance On AMD 4th Gen EPYC "Genoa"
LLVM Clang 16 vs. GCC 13 Compiler Performance On AMD 4th Gen EPYC "Genoa"

With the recent stable releases of LLVM's Clang 16 and GCC 13 compilers there is now initial AMD Zen 4 "znver4" support in these open-source compilers. Curious about the performance difference between these two compilers on the very newest AMD 4th Gen EPYC "Genoa" server processors, I ran some LLVM Clang 16.0 and GCC 13.1 benchmarks on the flagship EPYC 9654 2P Linux server.

30 May 2023 - 12 Comments
LLVM Clang 16 vs. GCC 13 Compiler Performance On Intel Raptor Lake
LLVM Clang 16 vs. GCC 13 Compiler Performance On Intel Raptor Lake

For those wondering how the recent releases of the Clang 16 and GCC 13 are competing for the fastest generated binaries of these leading open-source compilers, here is a fresh round of benchmarks from an Intel Core i9 13900K "Raptor Lake" system looking at the performance for a variety of C/C++ workloads built under each of these compilers.

11 May 2023 - 35 Comments
Intel's One Line Of Linux Code For Speeding-Up Sapphire Rapids On Ubuntu
Intel's One Line Of Linux Code For Speeding-Up Sapphire Rapids On Ubuntu

Recently I noticed out-of-the-box on Ubuntu Linux the performance of Intel Xeon Scalable "Sapphire Rapids" processors was much improved for some workloads compared to tests done just weeks ago on the same Sapphire Rapids server. It ended up being an issue coming full-circle and ultimately boils down to one line of code added within the Linux kernel.

4 May 2023 - 9 Comments
Ryzen Mobile Power/Performance With Linux 6.3's New AMD P-State EPP Driver
Ryzen Mobile Power/Performance With Linux 6.3's New AMD P-State EPP Driver

With Linux 6.3 there is the new AMD P-State EPP driver code for supporting the ACPI Energy Performance Preference (EPP) to further enhance the power efficiency and performance of modern AMD systems on Linux. Last week I ran some benchmarks of AMD EPYC with the new AMD P-State EPP mode while in today's article is a look at the laptop impact with Ryzen Mobile when comparing ACPI CPUFreq, the existing AMD P-State driver, and the new AMD P-State EPP mode and its multiple different preferences.

12 April 2023 - 34 Comments
Intel Linux Optimizations Help AMD EPYC "Genoa" Improve Scaling To 384 Threads
Intel Linux Optimizations Help AMD EPYC "Genoa" Improve Scaling To 384 Threads

Last month I wrote about Intel's Linux kernel engineering improvements to help enhance CPU scaling across various workloads by addressing low-level bottlenecks within the kernel. It's an area we'll likely see Intel continue to invest in as Sierra Forest comes next year with 144 E cores per socket. Already with the Linux kernel patches Intel is carrying at the moment via their in-house distribution, there are some significant benefits for Xeon Scalable Sapphire Rapids. I was curious to see how this Intel-focused work impacted AMD EPYC servers and thus in today's article is a similar analysis using two AMD EPYC 9654 "Genoa" flagship processors while evaluating Intel's Linux kernel optimizations.

6 April 2023 - 13 Comments
AMD P-State EPP Performance With EPYC On Linux 6.3
AMD P-State EPP Performance With EPYC On Linux 6.3

Among the many new features coming in Linux 6.3 -- including many AMD additions -- is the AMD P-State EPP "Energy Performance Preference" support being merged for modern Ryzen and EPYC systems. AMD P-State EPP can further help tune the performance and power efficiency of AMD Linux systems beyond the existing basic AMD P-State driver support and address some existing deficiencies. Here are some benchmarks of the AMD P-State and ACPI CPUFreq driver configurations benchmarked on an EPYC Milan-X server with the in-development Linux 6.3 kernel.

3 April 2023 - 9 Comments
Intel Linux Kernel Optimizations Show Huge Benefit For High Core Count Servers
Intel Linux Kernel Optimizations Show Huge Benefit For High Core Count Servers

Earlier this month I wrote about Intel engineers working on more big optimizations to the Linux kernel with a focus on enhancing the kernel's performance at high core counts. The numbers shared then were very promising and since then I've had more time looking at the performance impact of Intel's stellar software optimization work and its impact on real-world workloads. Here is a look at how Intel's pending kernel optimization patches are a huge deal for today's high core count servers.

29 March 2023 - 19 Comments
Embree 4.0 Is Running Well On Intel 4th Gen Xeon Scalable "Sapphire Rapids"
Embree 4.0 Is Running Well On Intel 4th Gen Xeon Scalable "Sapphire Rapids"

This week Intel released Embree 4.0 as the newest version of their open-source, high performance ray-tracing library. While the headline feature is now having support for GPU acceleration with SYCL to take advantage of Arc Graphics and other GPU hardware with SYCL support, for those that have long been using Embree on CPUs its performance has also improved. Here are some initial CPU-based benchmarks I did this week on Embree 4.0 with Intel's new 4th Gen Xeon Scalable "Sapphire Rapids" processors.

10 February 2023 - 8 Comments
Linux Schedutil Governor's Quirky Behavior Persists In 2023
Linux Schedutil Governor's Quirky Behavior Persists In 2023

Earlier this week I posted benchmarks looking at how the AMD Ryzen Threadripper 3990X performance has evolved in the three years to the day since that 64-core / 128-thread HEDT chip launched. While overall the Threadripper 3990X performance has evolved nicely under Linux since 2020, when it came to the video encoding tests in particular they performed worse overall. As I had raised in that earlier article and now elaborated with some follow-up tests, that regression is driven by the default "schedutil" frequency scaling governor used by default.

9 February 2023 - 26 Comments
Linux Developers Evaluating New "DOITM" Security Mitigation For Latest Intel CPUs
Linux Developers Evaluating New "DOITM" Security Mitigation For Latest Intel CPUs

Last summer Intel published guidance around the Data Operand Independent Timing (DOIT) instruction mode that can be enabled with recent generations of Intel processors to ensure constant time execution for a subset of the Intel instruction set, which can be particularly important for cryptographic algorithms. Linux kernel developer discussions fizzled out last year over handling this DOIT functionality for what is described as a CPU vulnerability with recent Intel CPUs. However, now a Linux kernel patch from a Google developer would enable this change unconditionally for newer Intel CPUs but raises performance concerns.

27 January 2023 - 34 Comments
AMD 4th Gen EPYC "Genoa" To Enjoy Slightly Better Performance With Linux 6.3
AMD 4th Gen EPYC "Genoa" To Enjoy Slightly Better Performance With Linux 6.3

Expected to be squared away in time for the Linux 6.3 kernel cycle, which is kicking off in February, is Automatic IBRS as a new feature of Zen 4 processors. The patches already have been queued up into TIP's x86/cpu branch so barring any issues will be all wired up for this next kernel version. Automatic IBRS can provide better performance than the Retpolines implementation used currently on Zen 4 and prior CPUs as part of the Spectre V2 mitigations. With the switch over to Automatic IBRS for Zen 4, it means better performance in some areas as shown by these benchmarks today with AMD 4th Gen EPYC "Genoa" processors.

24 January 2023 - 4 Comments
Linux 6.3 To Squeeze A Bit More Performance Out Of AMD Zen 4 CPUs
Linux 6.3 To Squeeze A Bit More Performance Out Of AMD Zen 4 CPUs

As I wrote about earlier this week, Linux 6.3 is positioned to support AMD Zen 4's Automatic IBRS feature. AMD's Linux enablement code around Automatic IBRS has been undergoing review the past few months and now via TIP's x96/cpu Git branch is to be sent in next month for the Linux 6.3 merge window. I've run some preliminary benchmarks of the Automatic IBRS support on Zen 4 and it's looking positive for further enhancing the performance of AMD's new Ryzen 7000 series and EPYC 9004 series processors.

19 January 2023 - 4 Comments
Linux 6.2's Call Depth Tracking Helps Recover Lost Performance On Intel Skylake CPUs
Linux 6.2's Call Depth Tracking Helps Recover Lost Performance On Intel Skylake CPUs

When the Retbleed security vulnerability was introduced earlier this year mitigating it for Intel Skylake and Skylake-derived CPU cores required imposing Indirect Branch Restricted Speculation (IBRS) that further tanked the out-of-the-box performance for these aging Intel CPUs. But being introduced now with Linux 6.2 is a new mitigation technique named Call Depth Tracking that is helping recover some of that lost performance and in turn extending the usefulness of the Skylake-derived processors still in service.

28 December 2022 - 21 Comments
AOCC 4.0 Shows The Strong Advantages Of Compiler Optimizations With 4th Gen AMD EPYC CPUs
AOCC 4.0 Shows The Strong Advantages Of Compiler Optimizations With 4th Gen AMD EPYC CPUs

Last month when AMD launched the EPYC 9004 "Genoa" series they also published AOCC 4.0 as the newest version of the AMD Optimizing C/C++ Compiler derived from LLVM/Clang and tailored to their latest Zen microarchitecture. At the time I ran some AOCC 4.0 benchmarks on the Ryzen 7000 series and compared it to GCC and Clang. Since then I've had the time on my Genoa test rig to look at how well AOCC 4.0 is performing and in this article are some benchmarks with the EPYC 9374F processors between GCC and AOCC 4.0.

16 December 2022 - 14 Comments
Upgrading Linux 5.15 LTS To Linux 6.1 Can Yield Additional Performance For AMD EPYC "Milan" Servers
Upgrading Linux 5.15 LTS To Linux 6.1 Can Yield Additional Performance For AMD EPYC "Milan" Servers

Released on Sunday was Linux 6.1 and in addition to having many new features making it all the more exciting is that it's expected to be this year's Long-Term Support (LTS) kernel release. As such it will see widespread adoption particularly among servers and much interest from the hyperscalers. For those weighing an upgrade from last year's Linux 5.15 LTS kernel, Linux 6.1 with initial testing on an AMD EPYC Milan-X 2P server has shown a nice speed bump is possible across a wide-range of workloads.

13 December 2022 - 5 Comments
Intel Raptor Lake Mitigation Impact Performance Comparison
Intel Raptor Lake Mitigation Impact Performance Comparison

A recurring question that has come up by readers since the recent launch of the Intel 13th Gen Core "Raptor Lake" processors has been whether it's still worthwhile running with the "mitigations=off" Linux kernel option to disable software-controlled CPU security mitigations to increase performance. For production systems that is never recommended due to the security risk, but for those wondering, here is a brief look at the mitigation situation on Raptor Lake with the flagship Core i9 13900K.

7 December 2022 - 2 Comments
A Fresh Look At The Asahi Linux Performance On Apple's M2
A Fresh Look At The Asahi Linux Performance On Apple's M2

Back during the summer once Asahi Linux introduced initial Apple M2 SoC support I ran many Apple M2 Linux benchmarks including a look at how the M2 competes with AMD and Intel laptop processors. With months having passed since then and the Apple M1/M2 Linux support has continued to advance upstream as well as more work hitting the Asahi Linux tree, here is a fresh look at where the performance of the M2 is currently at compared to that initial at-launch support.

5 December 2022 - 13 Comments
The Intel Core i9 13900K "Raptor Lake" Performance From Linux 5.15 To Linux 6.1
The Intel Core i9 13900K "Raptor Lake" Performance From Linux 5.15 To Linux 6.1

For those of you upgrading to an Intel 13th Gen Core "Raptor Lake" system this holiday season, here are some benchmarks looking at how the varying kernel versions affect the Core i9 13900K flagship performance. Testing started using the Linux 5.15 LTS kernel shipped by Ubuntu 22.04 LTS currently and ends with the Linux 6.1 Git snapshot of that kernel nearing its official release and what is expected to be this year's LTS kernel version.

28 November 2022 - 11 Comments
AMD AOCC 4.0 vs. GCC vs. LLVM Clang Compiler Benchmarks On Zen 4
AMD AOCC 4.0 vs. GCC vs. LLVM Clang Compiler Benchmarks On Zen 4

Last week when launching the AMD EPYC 9004 "Genoa" processors, AMD released AOCC 4.0 as the newest version of their optimizing C/C++ compiler that now supports their Zen 4 micro-architecture. Last week I ran some initial AOCC 4.0 benchmarks and this LLVM/Clang downstream was looking rather favorable in relation to upstream LLVM/Clang, while since then I've been able to conduct more thorough benchmarks across a wide variety of C/C++ open-source workloads. Here is that more extensive round of AOCC 4.0 benchmarking against the open-source LLVM/Clang and AOCC compilers.

18 November 2022 - 10 Comments
AMD AOCC 4.0 Arrives For Squeezing More Performance Out Of Zen 4
AMD AOCC 4.0 Arrives For Squeezing More Performance Out Of Zen 4

On Thursday when launching AMD 4th Gen EPYC Genoa processors, AMD also published AOCC 4.0 as the newest version of the AMD Optimizing C/C++ Compiler. I've been putting it through its paces the past day and continues showing the positive performance impact of proper compiler tuning.

10 November 2022 - 21 Comments
Linux 6.1 Features Include Initial Rust Code, MGLRU, New AMD CPU Features, More Security
Linux 6.1 Features Include Initial Rust Code, MGLRU, New AMD CPU Features, More Security

Now that Linux 6.1-rc1 was released, here is my look at all of the interesting kernel changes and new features that landed over the past two weeks. Linux 6.1 is shaping up to be another exciting kernel with many new software features, new hardware enablement work, and other changes for this end-of-year 2022 kernel version that is also likely to be the next Linux LTS release.

17 October 2022 - 11 Comments
AMD Ryzen 9 7950X P-State/CPUFreq Frequency Scaling Performance On Linux
AMD Ryzen 9 7950X P-State/CPUFreq Frequency Scaling Performance On Linux

For those wondering the difference using the aging ACPI CPUFreq driver or the newer AMD P-State CPU frequency scaling drivers make for modern Ryzen 7000 "Zen 4" desktops, here are some CPUFreq/P-State driver tests using the Ryzen 9 7950X as well as testing the various governor options and looking at the impact on the CPU power consumption, peak frequency, and thermals too.

10 October 2022 - 24 Comments
AMD Cloud Platform Makes It Easy To Try Out AMD's Latest CPUs, Accelerators & ROCm Software
AMD Cloud Platform Makes It Easy To Try Out AMD's Latest CPUs, Accelerators & ROCm Software

Last week at Intel's Innovation conference the Intel Developer Cloud "DevCloud" was announced, while on the AMD side there is already something similar: the AMD Cloud Platform. At the tail end of 2021, AMD announced the Accelerator Cloud as a way for trying out the latest EPYC CPUs and Instinct accelerators complete with a pre-configured ROCm compute software stack. The AMD Cloud Platform is a currently parallel effort to the Accelerator Cloud with the former intended more for developers while the latter is more customer-oriented. After trying out the AMD Cloud Platform, it's indeed an easy way to evaluate the latest AMD data center wares while having a easy-to-deploy, pre-configured software environment.

6 October 2022 - 8 Comments

904 software articles published on Phoronix.