lkml.org 
[lkml]   [2022]   [Oct]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRE: [RFD] resctrl: reassigning a running container's CTRL_MON group
Date
> I am not viewing this as "secretly-two-control-groups" - there would still be
> only one parent CTRL_MON group that dictates all the allocations. MON groups already
> have a CLOSID (PARTID) property but at this time it is always identical to the parent
> CTRL_MON group. The difference introduced is that some of the child MON groups
> may have a different CLOSID (PARTID) from the parent.

What would be the resctrl file system operation to change the CLOSID of a child
CTRL_MON group?

I followed the "use rename" so the user would:

# mv /sys/fs/resctrl/g1/mon_groups/work1 /sys/fs/resctrl/g2/mon_groups/

to keep the same RMID, but move from "g1" to "g2" to get a different class of service.

-Tony
\
 
 \ /
  Last update: 2022-10-21 22:23    [W:0.312 / U:0.452 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site