DRM TTM Hugepage Support Lands In Linux 5.7

Written by Michael Larabel in Linux Kernel on 5 April 2020 at 05:57 AM EDT. 1 Comment
LINUX KERNEL
The work led by VMware on allowing the Direct Rendering Manager's TTM memory management code support huge page tables has been added to Linux 5.7.

This is the work by VMware initially for their VMWgfx driver but also of relevance to other DRM drivers employing TTM for supporting huge and giant page-table entries. This TTM hugepages support is intended to reduce CPU usage and lower TLB misses. Under a VMware test program just doing some example memory mapping and unmapping, the time to execute was about halved.

This DRM TTM hugepage support was merged. For Linux 5.7 just the VMware VMWGFX driver is employing this new capability while with time the other TTM-based drivers like AMDGPU will likely hook into it as well.

This pull came in secondary to the main DRM pull request with all of the other graphics/display driver improvements for Linux 5.7.
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