Linux Patches Would Allow RISC-V To Use A 64K Page Size

Written by Michael Larabel in RISC-V on 5 December 2024 at 06:04 AM EST. Add A Comment
RISC-V
Patches from a Bytedance engineer for the Linux kernel allow for overcoming the current 4K page size limitation of RISC-V and introduce a new 64K page size option.

The "request for comments" patches from Bytedance engineer Xu Lu allow for overcoming the limitation of the MMU and allow for a larger bage size on RISC-V beyond the current 4K page size.
"This patch series attempts to break through the limitation of MMU and supports larger base page on RISC-V, which only supports 4K page size now. The key idea is to always manage and allocate memory at a granularity of 64K and use SVNAPOT to accelerate address translation."

No performance benchmarks were shown of this new 64K page size option for RISC-V, but on ARM it can equate to a significant performance improvement for a 64K vs. 4K page size.

64K RISC-V page size


Those interested can find the 64K RISC-V page size kernel patch series with all 21 patches in full via the kernel mailing list.
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