Difference between revisions of "Talk:Cgroups"

From ArchWiki
Jump to: navigation, search
m (Out-of-date and missing information: signature)
 
(8 intermediate revisions by 5 users not shown)
Line 3: Line 3:
  
 
The bash script in question appears to be out-of-date, does anyone have an updated version? [[User:RunningDroid|RunningDroid]] ([[User talk:RunningDroid|talk]]) 19:48, 9 June 2013 (UTC)
 
The bash script in question appears to be out-of-date, does anyone have an updated version? [[User:RunningDroid|RunningDroid]] ([[User talk:RunningDroid|talk]]) 19:48, 9 June 2013 (UTC)
 +
 +
== Help me understand cgroups ==
 +
 +
The matlab example given to me is a reason NOT to use cgroups.  Why in the world would we want to limit a calculation intensive operation like this it 75 % of the CPU resources?  Just nice matlab down to -19 and let it do its thing,  I do this all the time with makepkg while I compile for hours.  I can use the system and I do not experience any lags while makepkg is calling gcc using all my cores.
 +
 +
== Out-of-date and missing information ==
 +
 +
This article is a bit outdated.
 +
 +
Wishlist:
 +
* Split the [[Cgroups#Ad-hoc groups]] section into different libcgroup/cgm sections
 +
* Mention systemd-run and add other systemd service examples and references
 +
* Mention difference between cgroups v1 and v2 (merged in Linux 4.5)
 +
* Add specific examples for controlling memory for a new process (libcgroup / cgm / others?)
 +
* Compare ulimit/setrlimit/limits.conf vs. nice vs. cgroups.
 +
[[User:Lekensteyn|Lekensteyn]] ([[User talk:Lekensteyn|talk]]) 23:23, 9 February 2016 (UTC)

Latest revision as of 23:24, 9 February 2016

Perhaps this page should include how to do the famous 200 line kernel patch 4 line bash script? ie. http://www.webupd8.org/2010/11/alternative-to-200-lines-kernel-patch.html --Unhammer 08:09, 11 January 2011 (EST)

The bash script in question appears to be out-of-date, does anyone have an updated version? RunningDroid (talk) 19:48, 9 June 2013 (UTC)

Help me understand cgroups

The matlab example given to me is a reason NOT to use cgroups. Why in the world would we want to limit a calculation intensive operation like this it 75 % of the CPU resources? Just nice matlab down to -19 and let it do its thing, I do this all the time with makepkg while I compile for hours. I can use the system and I do not experience any lags while makepkg is calling gcc using all my cores.

Out-of-date and missing information

This article is a bit outdated.

Wishlist:

  • Split the Cgroups#Ad-hoc groups section into different libcgroup/cgm sections
  • Mention systemd-run and add other systemd service examples and references
  • Mention difference between cgroups v1 and v2 (merged in Linux 4.5)
  • Add specific examples for controlling memory for a new process (libcgroup / cgm / others?)
  • Compare ulimit/setrlimit/limits.conf vs. nice vs. cgroups.

Lekensteyn (talk) 23:23, 9 February 2016 (UTC)