Intel Xe Driver In Linux 7.1 Enabling THP For Device Pages As A Big SVM Win
- Reference: 0001622711
- News link: https://www.phoronix.com/news/Intel-Xe-THP-For-Device-SVM
- Source link:
Intel engineers have been working in recent months on enabling Transparent Hugepages for GPU memory migration. THP for device pages during migration avoids splitting folios and needing to loop multiple times on all the pages to perform the necessary operations on a page-level basis.
Intel driver engineer Francois Dugast commented on the drastic benefit this THP support for the device pages has with the Intel Xe driver:
"In Xe, this drastically improves performance when using SVM. The GT stats below collected after a 2MB page fault show overall servicing is more than 7 times faster, and thanks to reduced CPU overhead the time spent on the actual copy goes from 23% without THP to 80% with THP:"
Wow! This THP support has quite a big impact and will surely be beneficial for Intel GPU compute, especially with the newly-announced [2]Arc Pro B70 and the like.
This week's Intel Xe pull also introduces the new xe_vm_get_property_ioctl interface that allows user-space to request a list of observed failed page faults from a specified VM.
There is also improved VF FLR synchronization for enhancing Xe VFIO support, an L2 cache flush optimization for Xe3P_LPG, page reclamation fixes, and a variety of other low-level improvements.
The full list of these latest Intel Xe graphics driver changes ready for the Linux 7.1 kernel cycle can be found via [3]this pull request now pending against DRM-Next.
[1] https://www.phoronix.com/search/Linux+7.1
[2] https://www.phoronix.com/news/Intel-Arc-Pro-B70-Announced
[3] https://lore.kernel.org/dri-devel/acS5xmWC3ivPTmyV@gsse-cloud1.jf.intel.com/