Re: [PATCH RFC 8/9] drm/i915: Allow default context priority to be set via cgroup parameter

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Quoting Chris Wilson (2018-01-20 09:36:10)
> Quoting Matt Roper (2018-01-20 01:51:40)
> > GPU contexts are usually created with "normal" priority as a starting point and
> > then may be adjusted from their either via explicit methods (context_set_param)
> > or implicit methods (boosts/penalization due to runtime behavior).  Let's allow
> > a system integrator to override this starting GPU priority for a group of
> > processes by setting a parameter on the cgroup that these processes belong to.
> 
> You are still allowing a process to undo the cgroup by changing its
> own priority. What you want I think is a priority-offset or somesuch.

Along this vein, it's worthwhile pointing out that the current scheduler
is not even close to being the cgroup-enabled CFS implementation it
needs to be to call itself a scheduler. (It's more or less a no-op
scheduler.) It may be premature to start exposing hooks into it.
-Chris
_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/intel-gfx




[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux