Chris's Wiki :: blog/linux/CGroupsPerUser Commentshttps://utcc.utoronto.ca/~cks/space/blog/linux/CGroupsPerUser?atomcommentsDWiki2020-05-15T12:43:50ZRecent comments in Chris's Wiki :: blog/linux/CGroupsPerUser.By lilydjwg on /blog/linux/CGroupsPerUsertag:CSpace:blog/linux/CGroupsPerUser:01937392ba4fb174f145599a8737b8b1a29a6f63lilydjwg<div class="wikitext"><p>This now works with some simple systemd configurations, i.e. create a user-.slice.d/resources.conf and put</p>
<pre>
[Slice]
CPUWeight=100
</pre>
<p>in it. At least it works for unified cgroups (cgroup2).</p>
</div>2020-05-15T12:43:50ZBy Gustavo Homem on /blog/linux/CGroupsPerUsertag:CSpace:blog/linux/CGroupsPerUser:31ce319321a064d7df3f30ac41e6163e9029ba71Gustavo Homemhttp://blog.angulosolido.pt<div class="wikitext"><p>We looked at the problem and apparently the only missing thing is a way to create the user cgroup on the fly. If cgroups are pre-created the PAM module classifies the processes correctly and fair sharing works great.</p>
<p>Another problem we found was the lack of documentation on how to get things done. Your post was helpful in that regard.</p>
<p>Our contribution is here:</p>
<p><a href="http://blog.angulosolido.pt/2013/11/fair-share-user-scheduling-on-linux.html">http://blog.angulosolido.pt/2013/11/fair-share-user-scheduling-on-linux.html</a></p>
</div>2013-12-01T02:35:14ZBy Chris Siebenmann on /blog/linux/CGroupsPerUsertag:CSpace:blog/linux/CGroupsPerUser:3369e15c7baad21e1d4c8895efaeefbad161bb53Chris Siebenmann<div class="wikitext"><p>That's an interesting and hopeful development (and thank you for
mentioning it here). I'll cross my fingers that this patch is accepted
and then makes it into some future Ubuntu LTS version.</p>
</div>2012-12-01T06:47:20ZFrom 108.90.245.135 on /blog/linux/CGroupsPerUsertag:CSpace:blog/linux/CGroupsPerUser:e2693ec7b9df7e192f0dcab3c9f7319013f54b9cFrom 108.90.245.135<div class="wikitext"><p>looks like someone wrote some patches for this here. </p>
<p><a href="http://sourceforge.net/mailarchive/message.php?msg_id=30126705">http://sourceforge.net/mailarchive/message.php?msg_id=30126705</a></p>
<p>This would enable what your talking about.</p>
</div>2012-12-01T04:55:16ZFrom 77.249.14.105 on /blog/linux/CGroupsPerUsertag:CSpace:blog/linux/CGroupsPerUser:c9b0e83c09275637a4274cac0f813a2f0df19bc5From 77.249.14.105<div class="wikitext"><p>that is provided ubuntu uses systemd. I would not hold my breath.</p>
<p>Right now it is only in fedora 15, so it is safe to assume systemd will be in a technology preview for rhel 6.3 or 6.4 (one year from now); then one higher for production. If you need this functionality, use another vendor :-) like scientific linux (if you will not pay for rhel licenses, that is).</p>
</div>2011-06-17T07:50:49Z