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.

관련 기사

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.

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.

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.

 

 

 

이 웹사이트는 쿠키를 사용합니다

사이트를 개선하기 위해 분석을 위한 쿠키를 사용합니다. 자세한 내용은 개인정보 보호 정책을 읽으세요.
거부