Phoronix benchmarks madvise versus always transparent hugepages on Linux 6.18

Phoronix has published benchmarks comparing the performance of 'madvise' and 'always' modes for Transparent Hugepages (THP) on the Linux 6.18 LTS kernel. The tests address varying defaults across Linux distributions and respond to a reader request for modern data. Conducted on an AMD EPYC server running Ubuntu, the review highlights configuration options for THP without altering hardware or software.

Transparent Hugepages (THP) are a Linux kernel feature designed to improve memory management by using larger page sizes, potentially boosting performance. However, distributions differ in their default settings: Fedora Workstation and Ubuntu opt for the 'madvise' mode, where applications must explicitly request huge pages, while CachyOS and openSUSE use 'always', applying huge pages by default.

A Phoronix Premium supporter prompted these benchmarks to evaluate the impact of these modes on contemporary workloads. The tests were performed on an Ubuntu 26.04 development snapshot equipped with the Linux 6.18 LTS kernel, running on a single-socket Supermicro server powered by an AMD EPYC 9655P processor.

To switch modes, users can write 'always' or 'madvise' to the sysfs file at /sys/kernel/mm/transparent_hugepage/enabled, or set the boot parameter transparent_hugepages=always. For the benchmarks, the only change was rebooting into the alternative THP configuration, ensuring a controlled comparison.

This review provides fresh reference data for Linux server administrators considering THP defaults, covering a variety of workloads to inform decisions on performance tuning in modern environments.

Relaterte artikler

The Intel Xe graphics driver is set to add support for Transparent Huge Pages (THP) to deliver significant improvements in Shared Virtual Memory (SVM) performance. This development aims to enhance efficiency in Linux environments. Phoronix reports the changes as a key update for open-source graphics.

Rapportert av AI

Early tests of the Linux 6.19 development kernel on a dual AMD EPYC 9965 processor server reveal strong performance in high-performance computing workloads. Despite some scheduler issues, the kernel shows promising results for AI and HPC applications. These benchmarks compare it against the stable Linux 6.18 version.

AMD is updating its HSMP Linux driver to support the Zen 6 EPYC processors. The changes include finer power controls for these server chips.

Rapportert av AI

Phoronix has reported on updated Linux patches aimed at managing out-of-memory behavior through BPF technology. These developments focus on improving how the Linux kernel handles memory shortages. The updates are part of ongoing efforts in open-source Linux advancements.

 

 

 

Dette nettstedet bruker informasjonskapsler

Vi bruker informasjonskapsler for analyse for å forbedre nettstedet vårt. Les vår personvernerklæring for mer informasjon.
Avvis