Transparent Hugepages Are Coming To RISC-V On Linux

Written by Michael Larabel in RISC-V on 12 June 2021 at 02:00 AM EDT. 7 Comments
RISC-V
The Linux kernel's RISC-V support continues picking up remaining features not yet wired up beyond the base architecture support. The latest is transparent hugepages (THP) to be supported for RISC-V with Linux 5.14.

Following recent RISC-V kernel additions like XIP for execute in place, support for KProbes and other features, and hardware specific work like SiFive FU740 SoC support, the latest RISC-V kernel action is transparent hugepages now being ready.

Transparent Hugepages is the Linux memory management functionality to reduce TLB overhead for page lookups and improve performance particularly for systems with large amounts of memory. THP can improve performance except for some workloads like some database servers while providing the hugepages support in a transparent manner without any extra work/changes by the application.

Thanks to kernel work by Huawei engineers, THP support on 64-bit RISC-V is now ready and part of RISC-V's "for-next" branch of the Linux kernel.

This RISC-V THP support that is queued into the "next" branch should be merged for the Linux 5.14 cycle in the coming weeks.
Related News
About The Author
Michael Larabel

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via MichaelLarabel.com.

Popular News This Week