From 1a488af91a583fc7160f94be0da10671150b626a Mon Sep 17 00:00:00 2001 From: Jan Safranek Date: Tue, 22 Dec 2009 09:23:42 +0100 Subject: [PATCH] Add sample /etc/sysconfig/cgconfig Feel free to rephrase it's content, I could not find any better words to describe sysdefault group usability. Changelog: - set the default to 'yes' Signed-off-by: Jan Safranek --- samples/Makefile.am | 2 +- samples/cgconfig.sysconfig | 12 ++++++++++++ 2 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 samples/cgconfig.sysconfig diff --git a/samples/Makefile.am b/samples/Makefile.am index 347dd604..1bca4a1e 100644 --- a/samples/Makefile.am +++ b/samples/Makefile.am @@ -1 +1 @@ -EXTRA_DIST = cgconfig.conf cgred.conf cgrules.conf +EXTRA_DIST = cgconfig.conf cgred.conf cgrules.conf cgconfig.sysdefault diff --git a/samples/cgconfig.sysconfig b/samples/cgconfig.sysconfig new file mode 100644 index 00000000..5a61bf6e --- /dev/null +++ b/samples/cgconfig.sysconfig @@ -0,0 +1,12 @@ +# Service cgconfig can create a default group in all mounted hierarchies and +# move all processes there on boot. If no default rule is specified in +# /etc/cgrules.conf, the default group is named '/sysdefault'. +# This automatically created group(s) can be useful e.g. when using 'cpu' +# controller to limit cpu.shares of this default group and allowing some more +# important group take most of the CPU. +# +# By default, create these groups: +CREATE_DEFAULT=yes + +# Uncomment following line to disable creation of the default group on startup: +# CREATE_DEFAULT=no -- 2.47.2