Score:0

Use cgroups to limit *per process*

cw flag

I need to limit the CPU usage of each individual process in a group (not just all processes in the same group).

My current config is like this, and I think it limits the total cpu usage of the processes in the group. I have tried searching for this, but haven't really found anything.

group browsers {
     cpu {
         cpu.cfs_quota_us=1000000000;
     }
}

cgrules.conf:

# user:process                                          subsystems      group
myuser:<...>/chrome                                     cpu             browsers
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.