A TTM Graphics Performance Fix To Go Into Linux 3.14
![LINUX KERNEL](/assets/categories/linuxkernel.webp)
Thomas Hellstrom of VMware wrote in the patch description on the DRI-devel mailing list, "A performance regression was introduced in TTM in linux 3.13 when we started using VM_PFNMAP for shared mappings. In theory this should've been faster due to less page book-keeping but it appears like VM_PFNMAP + x86 PAT + write-combine is a particularly cpu-hungry combination, as seen by largely increased cpu-usage on r200 GL video playback. Until we've sorted out why, revert to always use VM_MIXEDMAP."
The main bug leading to this Translation Table Maps memory management change being reverted was FreeDesktop.org Bug 75719. Since this Linux 3.13 TTM change, for an old ATI Radeon R200 GPU when using MPlayer video playback with the OpenGL renderer the CPU performance would get chewed up with high processor utilization.
Reverting the TTM change has now been sent in as the only patch of the ttm-fixes-3.14 pull request for landing it in time for Linux 3.14 for other users of the TTM-based DRM drivers that may have also run into performance issues.
1 Comment