Workarounded problem by 1) adding backgromg CGROUP
--- /etc/cgconfig.conf-20110526 2011-05-26 08:49:07.794303903 +0300 +++ /etc/cgconfig.conf 2011-05-26 08:49:49.666429924 +0300 @@ -24,3 +24,8 @@ net_cls = /sys/fs/cgroup/net_cls; }
+group background { + cpu { + cpu.shares = 1; + } +}
2) telling boinc-client service to use cpu:/background group
--- /etc/sysconfig/boinc-client-20110526 2011-05-26 08:51:06.530832500 +0300 +++ /etc/sysconfig/boinc-client 2011-05-26 08:51:37.530188219 +0300 @@ -40,3 +40,5 @@ #BOINCOPTS="--check_all_logins" # The default is no options. #BOINCOPTS= + +CGROUP_DAEMON="cpu:/background"
After that BOINC client seems to work OK in background (tested on 2 systems: both Fedora 15 x86_64)
I guess it would be good idea if this would happen automatically without need to additionally hack config files.
Workarounded problem by
1) adding backgromg CGROUP
--- /etc/cgconfig. conf-20110526 2011-05-26 08:49:07.794303903 +0300 cgroup/ net_cls;
+++ /etc/cgconfig.conf 2011-05-26 08:49:49.666429924 +0300
@@ -24,3 +24,8 @@
net_cls = /sys/fs/
}
+group background {
+ cpu {
+ cpu.shares = 1;
+ }
+}
2) telling boinc-client service to use cpu:/background group
--- /etc/sysconfig/ boinc-client- 20110526 2011-05-26 08:51:06.530832500 +0300 boinc-client 2011-05-26 08:51:37.530188219 +0300 "--check_ all_logins" DAEMON= "cpu:/backgroun d"
+++ /etc/sysconfig/
@@ -40,3 +40,5 @@
#BOINCOPTS=
# The default is no options.
#BOINCOPTS=
+
+CGROUP_
After that BOINC client seems to work OK in background (tested on 2
systems: both Fedora 15 x86_64)
I guess it would be good idea if this would happen automatically without need
to additionally hack config files.