Intel Exploring Cgroups Support For DRM Driver Management

Written by Michael Larabel in Intel on 20 January 2018 at 08:11 AM EST. 1 Comment
INTEL
An Intel open-source driver developer has posted preliminary patches taking Cgroups v2 to DRM driver management.

Cgroups today can be used for restricting CPU and memory usage to a collection of processes (among other functionality), while soon it may be possible to use Cgroups for limiting the GPU. With the initial patches posted on Friday, the cgroups support is wired through with the Intel DRM driver for restricting the GPU priority. This Cgroups-style management could also be extended for limiting the amount of video memory accessible to the set of processes and other possible graphics processor restrictions.

Matthew Roper's initial Intel DRM patches for cgroups management can be found on intel-gfx. Wiring up this initial infrastructure with allowing limits on GPU priority came in less than one thousand lines of new kernel code. A test application for user-space is said to be on the way soon.
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