Connect with us

Tech

Kernel Optimizations, XZ, AMD ZLUDA, NOVA, EPYC 4004 & Other H1’2024 Highlights

Published

on

Kernel Optimizations, XZ, AMD ZLUDA, NOVA, EPYC 4004 & Other H1’2024 Highlights

With the first half of the year drawing to a close, here is a look back at the most popular content on Phoronix so far in 2024. Year to date there has been 1,530 original news articles so far and 78 featured Linux hardware reviews / multi-page benchmark articles written by your’s truly. There has been a lot happening in 2024 from Linux kernel improvements to exciting new hardware and other open-source advances.

Below is a look at the most popular Linux-minded news and reviews so far of 2024. There’s even more coming for H2… But as a friendly reminder, if you enjoy the daily original content on Phoronix, please do not use any ad-blocker when browsing this site otherwise please consider joining Phoronix Premium to view the website ad-free, multi-page articles on a single page, native dark mode, and other benefits. Tips via PayPal and Stripe are welcome and appreciated for helping during these difficult times for web publishers.

The most popular news for H1’2024 included:

HDMI Forum Rejects Open-Source HDMI 2.1 Driver Support Sought By AMD
One of the limitations of AMD’s open-source Linux graphics driver has been the inability to implement HDMI 2.1+ functionality on the basis of legal requirements by the HDMI Forum. AMD engineers had been working to come up with a solution in conjunction with the HDMI Forum for being able to provide HDMI 2.1+ capabilities with their open-source Linux kernel driver, but it looks like those efforts for now have concluded and failed.

Linux 6.8 Network Optimizations Can Boost TCP Performance For Many Concurrent Connections By ~40%
Beyond the usual new wired/wireless network hardware support and the other routine churn in the big Linux networking subsystem, the Linux 6.8 kernel is bringing some key improvements to the core networking code that can yield up to a ~40% improvement for TCP performance when encountering many concurrent network connections.

A 2024 Discussion Whether To Convert The Linux Kernel From C To Modern C++
A six year old Linux kernel mailing list discussion has been reignited over the prospects of converting the Linux kernel to supporting modern C++ code.

Linux 6.10 Honors One Last ReiserFS Request Made By Hans Reiser
While ReiserFS is obsolete and will eventually be dropped from the upstream Linux kernel in Linux 6.10 is one last ReiserFS change that was requested by former lead developer Hans Reiser.

Rust-Written Linux Scheduler Showing Promising Results For Gaming Performance
A Canonical engineer has been experimenting with implementing a Linux scheduler within the Rust programming language. His early results are interesting and hopeful around the potential of a Rust-based scheduler that works via sched_ext for implementing a scheduler using eBPF that can be loaded during run-time.

AMD Publishes XDNA Linux Driver: Support For Ryzen AI On Linux
With the AMD Ryzen 7040 series “Ryzen AI” was introduced as leveraging Xilinx IP onboard the new Zen 4 mobile processors. Ryzen AI is beginning to work its way out to more processors while it hasn’t been supported on Linux. Then in October was AMD wanting to hear from customer requests around Ryzen AI Linux support. Well, today they did their first public code drop of the XDNA Linux driver for providing open-source support for Ryzen AI.

Core NGINX Developer Forks Web Server Into Freenginx
Maxim Dounin as one of the longtime core developers of the Nginx web server announced the creation today of a new fork of the project called Freenginx.

Windows NT Sync Driver Proposed For The Linux Kernel – Better Wine Performance
Following discussions from last year’s Linux Plumbers Conference, a Windows NT synchronization primitive driver has been proposed for the Linux kernel. This driver would expose /dev/ntsync as a new character device for implementing some of the Windows NT synchronization primitives directly within the Linux kernel. In turn this would help the performance of some Windows games/applications running on Linux via Wine and in some cases would mean significantly better performance.

Ubuntu Looking At Discontinuing Its Source ISOs
Ubuntu’s install media (ISO) generation recently broke the assembly of source ISOs. These are the ISOs containing all of the source code packages to Ubuntu Linux with the original motivation of helping GPL license compliance and ensuring the code is easily accessible. But the usefulness in practice is limited and now instead Ubuntu developers are considering the discontinuing of source ISOs.

XZ Struck By Malicious Code That Could Allow Unauthorized Remote System Access
Red Hat today issued an “urgent security alert” for Fedora 41 and Fedora Rawhide users over XZ. Yes, the XZ tools and libraries for this compression format. Some malicious code was added to XZ 5.6.0/5.6.1 that could allow unauthorized remote system access.

Red Hat’s Long, Rust’ed Road Ahead For Nova As Nouveau Driver Successor
Red Hat’s display driver team has recently been devising plans for Nova, a new to-be-developed Linux DRM kernel driver written in Rust for open-source NVIDIA graphics support as the successor/replacement to Nouveau for newer NVIDIA GPU generations supporting the GPU System Processor (GSP). Making this effort all the more involved is being written in Rust at a time when various kernel abstractions are still being devised and not yet upstreamed.

The Linux Kernel Prepares For Rust 1.77 Upgrade
With Linux 6.8 the kernel’s Rust code was brought up to Rust 1.75 while new patches posted this weekend port the code over to Rust 1.76 and then the upcoming Rust 1.77.

Linus Torvalds Hits Nasty Performance Regression With Early Linux 6.8 Code
It’s not too often hearing Linus Torvalds himself raising the alarm bells over performance regressions of the Linux kernel, but that happened this evening with the ongoing Linux 6.8 merge window. Torvalds’ AMD Ryzen Threadripper system suddenly was suffering from much longer build times at least as a result of new code for this kernel.

GitHub Disables The XZ Repository Following Today’s Malicious Disclosure
Today’s disclosure of XZ upstream release packages containing malicious code to compromise remote SSH access has certainly been an Easter weekend surprise… The situation only looks more bleak over time with how the upstream project was compromised while now the latest twist is GitHub disabling the XZ repository in its entirety.

NVIDIA’s Open GPU Linux Kernel Driver Will Soon Be The Default For Turing & Newer GPUs
While we are all waiting for the NVIDIA R555 series Linux driver beta that is expected to debut as soon as next week based on prior information with Wayland improvements (explicit sync) and more, with the NVIDIA R560 series Linux driver successor is a very interesting change: NVIDIA is planning on defaulting to using their open-source GPU kernel driver by default for GeForce RTX 2000 “Turing” GPUs and newer.

Rust-Written LAVD Kernel Scheduler Shows Promising Results For Linux Gaming
Changwoo Min with Igalia presented yesterday at Open-Source Summit North America on optimizing the kernel’s scheduler for Linux gaming. Of course, the motivation is around Valve’s Steam Deck but for Linux gaming at large to benefit too from this scheduler work to ideally yield less stuttering during gameplay.

Microsoft Rolling Out New Windows Subsystem For Linux “WSL” Features For 2024
Given Microsoft’s recent BUILD conference, Microsoft has announced a number of sizable updates to Windows Subsystem for Linux (WSL).

GCC 14 Boasts Nice ASCII Art For Visualizing Buffer Overflows
David Malcolm of Red Hat’s compiler team is out with his annual blog post summarizing the static analysis improvements to find with the upcoming GCC 14 stable compiler release.

Orange Pi Neo Coming As A Ryzen 7 + Linux Powered Handheld Device
When hearing of “Orange Pi Neo” this weekend from sources at FOSDEM 2024, I just assumed it was yet another Orange Pi single board computer… But then to hear it’s a handheld game console from Orange Pi again gives off the impression of some low-power ARM device. It turns out though that the Orange Pi Neo is a forthcoming AMD Ryzen powered handheld gaming console.

Amazon Cloud Traffic Is Suffocating Fedora’s Mirrors
A massive uptick in traffic to Fedora’s package mirrors is causing problems for the Linux distribution. Some five million additional systems have started putting additional strain on Fedora’s mirror resources since March and appear to be coming from Amazon’s cloud.

And the most popular featured reviews:

AMD Quietly Funded A Drop-In CUDA Implementation Built On ROCm: It’s Now Open-Source
While there have been efforts by AMD over the years to make it easier to port codebases targeting NVIDIA’s CUDA API to run atop HIP/ROCm, it still requires work on the part of developers. The tooling has improved such as with HIPIFY to help in auto-generating but it isn’t any simple, instant, and guaranteed solution — especially if striving for optimal performance. Over the past two years AMD has quietly been funding an effort though to bring binary compatibility so that many NVIDIA CUDA applications could run atop the AMD ROCm stack at the library level — a drop-in replacement without the need to adapt source code. In practice for many real-world workloads, it’s a solution for end-users to run CUDA-enabled software without any developer intervention. Here is more information on this “skunkworks” project that is now available as open-source along with some of my own testing and performance benchmarks of this CUDA implementation built for Radeon GPUs.

Framework Laptop 16 Delivers Great Linux Support & Performance, Excellent Customizability
The review embargo has now expired on the Framework Laptop 16, the latest innovative and upgradeable laptop from this company that has made quite a name for itself with modular and user-upgradeable laptop designs for both AMD and Intel. The new Framework Laptop 16 offers even more customizability around the keyboard/touchpad and other options including over using a Radeon RX 7700S graphics module and more. Besides the immense customizability options and upgrades available with the Framework Laptop 16, the new model employs the AMD Ryzen 7040HS processor for even greater performance over the AMD Ryzen 7040U found with the latest Framework 13 model.

AMD Ryzen 5 8500G: A Surprisingly Fascinating Sub-$200 CPU
After reviewing the Ryzen 7 8700G and the Ryzen 5 8600G as these new Zen 4 processors with RDNA3 integrated graphics, the latest AMD 8000G series CPU in the Linux benchmarking lab at Phoronix is the Ryzen 5 8500G. The Ryzen 5 8500G is a 6-core / 12-thread processor with RDNA3 graphics that retails for just $179 USD. Here’s a look at how it’s performing against other AMD and Intel processors on Ubuntu Linux. The Ryzen 5 8500G ends up being decent on the GPU side but making me genuinely excited is the Zen 4C prospects in the low-power space for AI workloads at the edge, low power servers, and other different deployments for great low-power performance. Under load this AVX-512 wielding budget desktop processor was typically pulling 50 Watts or less!

Ubuntu 24.04 Boosts Performance, Outperforming Windows 11 On The AMD Ryzen Framework 16 Laptop
With the Framework 16 laptop one of the performance pieces I’ve been meaning to carry out has been seeing out Linux performs against Microsoft Windows 11 for this AMD Ryzen 7 7840HS powered modular/upgradeable laptop. Recently getting around to it in my benchmarking queue, I also compared the performance of Ubuntu 23.10 to the near final Ubuntu 24.04 LTS on this laptop up against a fully-updated Microsoft Windows 11 installation.

AMD Ryzen 7 8700G Linux Performance
Today the review embargo lifts on the new AMD Ryzen 7 8700G and Ryzen 5 8600G desktop APUs. Announced back during CES, the Ryzen 8000G series pairs Zen 4 CPU cores with RDNA3 graphics and now also boasting Ryzen AI support too. Today’s launch article is focusing on the AMD Ryzen 7 8700G Linux performance.

35-Way Linux GPU Graphics Comparison, Initial NVIDIA RTX 40 SUPER Linux Benchmarks
Here’s a fresh look at the AMD Radeon versus NVIDIA GeForce Linux graphics/gaming performance across a variety of workloads as well as our first look at the GeForce RTX 4070 series and RTX 4080 SUPER performance. With recently receiving the rest of the GeForce RTX 40 series line-up currently released, we’re now able to share a comprehensive look at how the NVIDIA GeForce RTX 40 series versus AMD Radeon RX 7000 series performance is under Linux.

FreeBSD 14.1 vs. DragonFlyBSD 6.4 vs. NetBSD 10 vs. Linux Benchmarks
After last week looking at how FreeBSD 14.1 has improved performance over FreeBSD 14.0, here is an expanded cross-OS comparison now looking at how the new FreeBSD 14.1 stable release compares to the recently released NetBSD 10.0, the current DragonFlyBSD 6.4 release, and then CentOS Stream 9 and Ubuntu 24.04 LTS for some Linux comparison data points.

The Incredible Performance & Power Efficiency Of AMD Zen 1 vs. Zen 4C
While we are beginning to see AMD Zen 4C cores in client systems, these smaller cores have already proven themselves very interesting and capable with the AMD EPYC Bergamo high core count server processors and the extremely power efficient EPYC 8004 “Siena” processors. For showing how far Zen has come in power efficiency, I thought it would be fun to show how the original flagship EPYC 7601 “Zen 1” processor with 32-cores / 64-threads compared to Zen 4C with the EPYC 8324P(N) 32-core processors. But as that isn’t even the top-end Siena part, I also tossed in the 64-core EPYC 8534PN too for a top of stack look for the current EPYC 8004 line-up.

Intel Core i3 14100 / i5 14500 vs. AMD Ryzen 5 8500G / 8600G In 500+ Benchmarks
As part of the recent AMD Ryzen 5 8500G and 8600G Linux reviews I ended up picking up the Core i3 14100 and Core i5 14500 Raptor Lake Refresh processors for the similarly-priced Intel competition. It’s not too often receiving review samples from Intel of the lower-end processor SKUs, so I’m back around today with even more benchmarks of these lower-tier AMD and Intel processors. In this article are 500+ benchmarks looking at the CPU and iGPU performance of the Intel Core i3 14100 and Core i5 14500 processors up against the AMD Ryzen 5 8500G and Ryzen 5 8600G processors under Ubuntu Linux.

AMD EPYC 4004 Benchmarks: Outperforming Intel Xeon E-2400 With Performance, Efficiency & Value
Over the past several years we have seen AMD Ryzen processors being used for low-cost servers, budget web hosting platforms, game servers, and more. Since the Ryzen 5000 series we have seen the likes of ASRock Rack and Supermicro putting out interesting budget-friendly Ryzen servers and that has ramped up even more with AMD Ryzen 7000 series server performance being stellar thanks to AVX-512 and other improvements making it more practical for such workloads. AMD has now solidified its positioning for entry-level servers with the introduction of the EPYC 4004 series processors. The EPYC 4004 series is derived from the Ryzen 7000 series offerings to facilitate cost conscious server options and putting the Intel Xeon E-2400 series in the crosshairs. In this review is a look at the EPYC 4004 series along with benchmarks of nearly the entire EPYC 4004 product stack compared to Intel’s current top-end Xeon E-2400 series processor, the Intel Xeon E-2488 Raptor Lake.

Continue Reading