Software Linux Reviews & Articles

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

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
Disabling Spectre V2 Mitigations Is What Can Impair AMD Ryzen 7000 Series Performance
Disabling Spectre V2 Mitigations Is What Can Impair AMD Ryzen 7000 Series Performance

Last week I shared some initial numbers how surprisingly when disabling Zen 4 CPU security mitigations can actually *hurt* the Ryzen 7000 series CPU performance. While conventional wisdom and with past Intel/AMD processors yield better performance when disabling the CPU security mitigations, with the Ryzen 9 7950X it was found to be basically the opposite. I have since conducted more tests and using an AMD Ryzen 5 7600X to confirm the earlier results and dig deeper into the data.

4 October 2022 - 44 Comments
AMD Rembrandt CPUFreq vs. AMD P-State Linux Testing
AMD Rembrandt CPUFreq vs. AMD P-State Linux Testing

Before getting busy with the AMD Ryzen 7000 "Zen 4" desktop testing, I recently wrapped up some benchmarks looking at the ACPI CPUFreq vs. AMD P-State frequency scaling drivers and various governor options for the AMD Ryzen 6000 "Rembrandt" mobile SoCs. If you are curious about the impact of CPUFreq/P-State and the various governors for the latest AMD laptops running Linux, this round of testing is for you.

3 October 2022 - 18 Comments
Blender 3.3 AMD Radeon HIP vs. NVIDIA CUDA/OptiX Performance
Blender 3.3 AMD Radeon HIP vs. NVIDIA CUDA/OptiX Performance

Earlier this month Blender 3.3 released and in addition to introducing an Intel oneAPI back-end, it's notable for bringing improvements to the AMD HIP back-end for Radeon GPUs. Significant on the AMD side is extending GPU support back to GFX9/Vega. Thus it's a good time for a fresh round of benchmarking for showing how the AMD Radeon HIP performance against that of NVIDIA's existing CUDA and OptiX back-ends.

22 September 2022 - 28 Comments
Following Retbleed, The Combined CPU Security Mitigation Impact For AMD Zen 2 / Ryzen 9 3950X
Following Retbleed, The Combined CPU Security Mitigation Impact For AMD Zen 2 / Ryzen 9 3950X

Following the July disclosure of the Retbleed CPU security vulnerability affecting older processors and an AMD change made in August, here is a fresh look at the performance impact of the Retbleed mitigations on Linux, including if opting for the IBPB-based Retbleed mitigation, and the accumulated CPU security mitigation impact for Zen 2 with the flagship Ryzen 9 3950X processor.

6 September 2022 - 36 Comments
GCC vs. LLVM Clang Compilers For The Apple M2 On Linux
GCC vs. LLVM Clang Compilers For The Apple M2 On Linux

With the Apple M2 running Asahi Linux you may be wondering whether it's better to use the GCC compiler as is the default on upstream Arch Linux or whether going for LLVM Clang will yield better performance given all the LLVM/Clang usage by AArch64 vendors, including Apple's own Xcode compiler toolchain making use of it. If you are wondering about GCC vs. Clang for building binaries on the Apple M2, here are some benchmarks.

1 September 2022 - 12 Comments
AMD Ryzen 7 PRO 6850U: ACPI Platform Profile Low-Power vs. Balanced vs. Performance
AMD Ryzen 7 PRO 6850U: ACPI Platform Profile Low-Power vs. Balanced vs. Performance

As with many new Intel/AMD laptops these days, the recently launched Lenovo ThinkPad X13 Gen3 with AMD Ryzen 7 PRO 6850U "Rembrandt" SoC boasts ACPI Platform Profile support that is exposed under Linux for switching between low-power, balanced (default), and performance modes. For those curious about this ACPI Platform Profile impact, here are some benchmarks from this 6850U laptop under Ubuntu Linux and its impact on power and thermal efficiency too.

5 August 2022 - 12 Comments
Retbleed Impact, Overall CPU Security Mitigation Cost For Intel Xeon E3 v5 Skylake
Retbleed Impact, Overall CPU Security Mitigation Cost For Intel Xeon E3 v5 Skylake

Since the disclosure of Retbleed earlier this month as the newest CPU security vulnerability around speculative execution, I've posted some Intel/AMD benchmarks looking at the mitigation cost for the affected older generations of processors. Last week I also looked at the accumulated CPU mitigation cost on AMD Zen 1. Today is a similar comparison over on the Intel Xeon E3 v5 "Skylake" side with looking at the cost of just the Retbleed mitigations and then the overall CPU mitigation cost when toggling all of the various vulnerabilities with the "mitigations=off" flag.

28 July 2022 - 39 Comments
AMD Zen 1 Linux Performance Hit From Retbleed, Accumulated CPU Mitigation Impact

Last week I posted my initial benchmarks for the Linux impact of mitigating Retbleed as the newest CPU speculative execution vulnerability. As noted in the prior Retbleed articles, on the AMD side it's Zen 1/1+/2 processors affected as well as older Bulldozer CPUs. That earlier article included Zen 2 benchmarks while in this article are Zen 1 tests given its situation is slightly different.

20 July 2022 - 39 Comments
GCC 12 Compiler Optimization Tuning With The AMD Ryzen Threadripper 3990X
GCC 12 Compiler Optimization Tuning With The AMD Ryzen Threadripper 3990X

Following the recent discussions about -O3'ing the Linux kernel and other compiler optimizations, a request came in to see some fresh GCC compiler optimization benchmarks with the recently released GCC 12. So here is a fresh look at various GCC optimization levels up through -Ofast as well as with link-time optimizations (LTO) and "-march=native" tuning on the new GCC 12 with the mature AMD Ryzen Threadripper 3990X platform.

19 July 2022 - 16 Comments
An Important Note On The Alder Lake Mobile Power/Performance With Linux 5.19
An Important Note On The Alder Lake Mobile Power/Performance With Linux 5.19

After dealing with the Intel Alder Lake P GuC firmware breakage around Linux 5.19 Git that is now to be addressed by the upstream Intel developers, it was on to performance testing the shiny new Core i7 1280P with this kernel due to be released as stable within the next two weeks... For those concerned about maximum performance, there was a glaring performance regression for this Alder Lake P on the new kernel being released as stable later this month. Well, a default change in performance/behavior at least but the power efficiency / performance-per-Watt tended to be better on this new kernel.

18 July 2022 - 25 Comments
Benchmarking The Linux Mitigated Performance For Retbleed: It's Painful
Benchmarking The Linux Mitigated Performance For Retbleed: It's Painful

Yesterday Retbleed was made public as a new speculative execution attack exploiting return instructions. While the "good" news is Retbleed only impacts prior generations of AMD and Intel processors, the bad news is the mitigated performance impact on Linux is quite severe. Since yesterday I have been benchmarking the newly-merged Linux patches on various Intel and AMD processors affected by Retbleed. It's very bad if you are on an affected processor.

13 July 2022 - 74 Comments
Benchmarking The Linux Kernel With An "-O3" Optimized Build
Benchmarking The Linux Kernel With An "-O3" Optimized Build

Stemming from last weeks Linux kernel patches suggesting an -O3 experimental option for all CPU architectures and Linus Torvalds rather quickly shooting it down, here are some fresh benchmarks looking at the Linux kernel performance when the kernel image is rebuilt with the -O3 optimization level rather than -O2.

29 June 2022 - 101 Comments
The Performance Cost To A Proposed Fedora 37 CFLAGS/CXXFLAGS Change
The Performance Cost To A Proposed Fedora 37 CFLAGS/CXXFLAGS Change

Coming about last week was a Fedora 37 change proposal to improve the profiling and debugging of Fedora packages but with possible performance costs. That suggested change is about adding "-fno-omit-frame-pointer" to the default CFLAGS/CXXFLAGS when building packages so the frame pointer is always available for improving the debugging/profiling of the stock Fedora packages. Unfortunately, it can come with significant performance costs as these benchmarks show.

27 June 2022 - 45 Comments
Linux Full Disk Encryption Performance For The AMD Ryzen 7 PRO / HP Dev One
Linux Full Disk Encryption Performance For The AMD Ryzen 7 PRO / HP Dev One

One of the great defaults when installing Pop!_OS or receiving a pre-loaded laptop/desktop from System76 or the new HP Dev One is that it encourages full-disk encryption and prominently shown during the install process. I highly recommend full-disk encryption especially for laptops. As it's been a few years since running benchmarks looking at the overhead of LUKS encryption, here are some benchmarks of Pop!_OS 22.04 on the HP Dev One with the full disk encryption enabled and then a fresh install without encryption.

24 June 2022 - 27 Comments
Amazon Graviton3 Compiler Tuning Benchmarks For The Arm Neoverse-V1 Cores
Amazon Graviton3 Compiler Tuning Benchmarks For The Arm Neoverse-V1 Cores

Stemming from my recent AWS Graviton3 benchmarks and looking at Graviton3 against Intel Xeon and AMD EPYC, a number of Phoronix readers expressed interest in seeing some compiler tuning benchmarks for the Graviton3 around its Arm Neoverse-V1 cores with SVE support. Here are some benchmarks for those interested in the compiler tuning impact for this new high performance Arm cloud processor.

20 June 2022 - 7 Comments
AMD HIP vs. NVIDIA CUDA vs. NVIDIA OptiX On Blender 3.2
AMD HIP vs. NVIDIA CUDA vs. NVIDIA OptiX On Blender 3.2

Last week with the release of Blender 3.2 bringing AMD HIP support for Linux to provide for Radeon GPU acceleration, I posted some initial benchmarks of AMD Radeon RX 6000 series with HIP against NVIDIA RTX with OptiX. There was interest by some Phoronix readers in also seeing NVIDIA CUDA results even though OptiX is in good shape with RTX GPUs, so with that here are results of NVIDIA CUDA vs. NVIDIA OptiX vs. AMD HIP with Blender 3.2 on Ubuntu Linux.

14 June 2022 - 28 Comments
Python 3.11 Is Much Faster, But Pyston & PyPy Still Show Advantages
Python 3.11 Is Much Faster, But Pyston & PyPy Still Show Advantages

There was much interest in the recent Python 3.11 beta benchmarks showing much performance uplift from this in-development version of Python compared to prior 3.x releases. While Python 3.11 performance is looking great and huge advantages compared to prior versions, there are also alternative Python implementations like PyPy and Pyston. Stemming from Phoronix reader requests, here are benchmarks showing how Python 3.11 beta performance compares to those alternative Python implementations.

9 June 2022 - 33 Comments
Python 3.11 Performance Benchmarks Are Looking Fantastic
Python 3.11 Performance Benchmarks Are Looking Fantastic

Last month Python 3.11 Beta 1 was released as their first preview of this major update to the Python programming language. Besides new language features and other improvements, Python 3.11 performance is looking fantastic with very nice performance uplift over prior Python 3.x releases.

6 June 2022 - 64 Comments
Intel AVX-512 A Big Win For... JSON Parsing Performance
Intel AVX-512 A Big Win For... JSON Parsing Performance

In addition to the many HPC workloads and other scientific computing tasks where Intel's AVX-512 performance on their latest processor proves very beneficial, it also turns out AVX-512 can provide significant benefit to a much more mundane web server task: JSON parsing. The simdjson project that is focused on "parsing gigabytes of JSON per second" this week issued simdjson 2.0 and is headlined by an Intel-led contribution of AVX-512 support.

26 May 2022 - 76 Comments
Linux 5.15.35 Released With Important Performance Fix For Intel Alder Lake
Linux 5.15.35 Released With Important Performance Fix For Intel Alder Lake

For those making use of the Linux 5.15 LTS kernel such as Ubuntu 22.04 with using this long-term support kernel by default, Linux 5.15.35 is out today and is a notable point release for back-porting an Intel P-State driver fix for Intel Alder Lake systems that leads to much better performance in properly deciding between P and E core selection. Here are some benchmarks on Ubuntu 22.04 LTS with Linux 5.15.35 against other kernel options.

20 April 2022 - 3 Comments
GCC vs. Clang On The Apple M1 Under Arch-Based Asahi Linux
GCC vs. Clang On The Apple M1 Under Arch-Based Asahi Linux

With the Arch Linux based Asahi Linux running well on the Apple M1 (aside from accelerated graphics and various other features not implemented yet), one of the areas I was curious about was how well LLVM Clang and GCC C/C++ compilers compete when running on the Apple M1 with Linux. In this article are some quick benchmarks looking at how the stock compilers on Asahi currently compare for Apple's Arm-based SoC.

19 April 2022 - 11 Comments
Running AMD EPYC 7773X Milan-X With Linux 5.18's Performance Improvements
Running AMD EPYC 7773X Milan-X With Linux 5.18's Performance Improvements

As previously talked about on Phoronix with the in-development Linux 5.18 kernel there is a change to the Linux kernel scheduler around the NUMA imbalance handling when spanning multiple LLCs as is the case with AMD Zen CPUs. Already I've carried out benchmarks looking at some of the areas where AMD EPYC CPUs are enjoying speed-ups on Linux 5.18. Since benchmarking the AMD EPYC 7773X with its hefty 1.5GB of L3 cache for 2P servers via AMD 3D V-Cache, I've been curious to try this forthcoming kernel on that Milan-X configuration. Here are such benchmarks looking at the AMD EPYC 7773X 2P performance on Ubuntu 22.04 with its default Linux 5.15 kernel against Linux 5.17 stable and then the 5.18 development kernel.

15 April 2022 - 7 Comments
AMD AOCC Performance On EPYC 7773X Milan-X Against GCC, Clang Compilers
AMD AOCC Performance On EPYC 7773X Milan-X Against GCC, Clang Compilers

Last month with the AMD EPYC 7773X Linux benchmarks and Milan-X in the Azure cloud I showed the impressive capabilities of AMD's new Milan-X processors with 768MB of L3 cache per socket (1.5GB cache per 2P server!) for a range of workloads. All of that initial benchmarking as usual was done using the default GCC system compiler across all tested AMD/Intel processors. Of course, there also exists AMD's Optimizing C/C++ Compiler (AOCC) as a downstream of LLVM/Clang with various Zen optimization patches applied. Curious about the AOCC impact for Milan-X, here are some benchmarks looking at the EPYC 7773X 2P performance across AOCC, GCC, and LLVM Clang.

12 April 2022 - 11 Comments
AMD P-State vs. ACPI CPUFreq Testing With Ryzen Laptops On Linux 5.17
AMD P-State vs. ACPI CPUFreq Testing With Ryzen Laptops On Linux 5.17

One of the most prominent features of Linux 5.17 for end-users was the introduction of the AMD P-State driver that is designed to deliver better energy efficiency than the generic ACPI CPUFreq frequency scaling driver relied on by AMD Ryzen processors up to this point. For those wondering how the performance and efficiency currently compare for Ryzen laptops, here are some benchmarks recently carried out on Linux 5.17 for both drivers and testing both the Schedutil and Performance governors.

11 April 2022 - 32 Comments
The Performance Impact Of AMD Changing Their Retpoline Method For Spectre V2
The Performance Impact Of AMD Changing Their Retpoline Method For Spectre V2

Made public this week was the Spectre-BHB / BHI vulnerability and while only Intel and Arm processors are currently believed to be impacted, in the course of that research the folks at VUSec discovered AMD's current Retpoline strategy for Spectre V2 mitigations is not adequate. This has led to a change in behavior for AMD processors and is already applied to the Linux kernel. Here is a look at what it means for desktop and server performance due to the change in return trampoline handling.

11 March 2022 - 14 Comments

905 software articles published on Phoronix.