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.

Makala yanayohusiana

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.

Imeripotiwa na 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.

Phoronix has benchmarked FreeBSD 15.0 against Ubuntu 24.04.3 LTS and Ubuntu 25.10 on an AMD EPYC server to assess performance differences. The tests highlight FreeBSD's compatibility while other BSD variants failed to boot on the hardware.

Imeripotiwa na AI

Rising RAM prices driven by AI data center demand are prompting Linux users to optimize existing hardware. A recent Hackaday article highlights the kernel's built-in compression features to stretch available memory. Tools like zram-tools for Debian and systemd-zram-generator for Ubuntu enable this functionality.

Ijumaa, 16. Mwezi wa kwanza 2026, 20:21:37

AMD EPYC 8004 Siena shows Linux performance gains over two years

Ijumaa, 16. Mwezi wa kwanza 2026, 02:38:34

Linux 7.0 eyes default Intel TSX enablement for performance gains

Alhamisi, 8. Mwezi wa kwanza 2026, 16:22:33

Phoronix compares Linux 6.18 LTS with Liquorix kernel on Threadripper

Jumapili, 4. Mwezi wa kwanza 2026, 08:19:29

AMD posts Linux driver patches for batch userptr allocation

Jumamosi, 3. Mwezi wa kwanza 2026, 01:20:17

RADV Vulkan Driver Update Fixes VM Faults on Early AMD GCN GPUs

Jumatatu, 29. Mwezi wa kumi na mbili 2025, 09:18:46

CachyOS benchmarked on AMD EPYC ahead of 2026 Server Edition

Jumamosi, 27. Mwezi wa kumi na mbili 2025, 20:26:59

Erofs advances container efficiency with page cache sharing

Jumatano, 24. Mwezi wa kumi na mbili 2025, 12:43:31

Page cache sharing benefits EROFS containers

Ijumaa, 19. Mwezi wa kumi na mbili 2025, 10:29:58

Linux 6.18 LTS upgrade boosts AMD EPYC Turin performance

Ijumaa, 12. Mwezi wa kumi na mbili 2025, 02:59:15

Linux 6.19 includes x2APIC patches for AMD SVM

 

 

 

Tovuti hii inatumia vidakuzi

Tunatumia vidakuzi kwa uchambuzi ili kuboresha tovuti yetu. Soma sera ya faragha yetu kwa maelezo zaidi.
Kataa