You are not logged in.

#1 2013-05-26 14:26:11

clayman
Member
Registered: 2013-05-26
Posts: 19

BOINC w/ cgroups?

Hi all,

as you probably know, with the release of Linux 3.9.3 the ondemand CPU governor has been dropped in favor of the pstates driver. However, I was using the governor's ability to ignore niced processes to prevent my installation of BOINC from (over)heating my work notebook's CPU (as outlined in BOINC's Archlinux Wiki page).

I'd like to have that old behavior back if possible so I asked around in a few places including Theodore Ts'o's Google Plus page and was given advice to look into cgroups. I am not very familiar with those (yet) so I'd like to get some input from you guys on how cgroups can be used to alleviate the load induced by BOINC. Or maybe that can be carried out by the BOINC package itself?

Thanks a lot in advance for any suggestions. smile

Clayman

Offline

#2 2013-05-26 14:46:22

progandy
Member
Registered: 2012-05-17
Posts: 5,322

Re: BOINC w/ cgroups?

Are you using the stock kernel with BOINC as a systemd service? Then you could try to use the cpu controller cgroup to limit it.


| alias CUTF='LANG=en_XX.UTF-8@POSIX ' | alias ENGLISH='LANG=C.UTF-8 ' |

Offline

#3 2013-05-26 15:34:35

clayman
Member
Registered: 2013-05-26
Posts: 19

Re: BOINC w/ cgroups?

Thanks for your reply, progandy. I do use systemd-based BOINC service but as far as kernel, I use the ck-patched kernel. I assume it should be possible to use the same approach with that as well, right?

I have also just found the cgroup page on Arch's Wiki, which I'm going to check out but I would welcome it if you elaborated a bit more on your suggestion. smile

Offline

#4 2013-05-26 16:44:02

progandy
Member
Registered: 2012-05-17
Posts: 5,322

Re: BOINC w/ cgroups?

the ck patchset uses the BFS scheduler which does not support cgroups, so this is not possible. Maybe try cpulimit or limitcpu

Last edited by progandy (2013-05-26 16:44:33)


| alias CUTF='LANG=en_XX.UTF-8@POSIX ' | alias ENGLISH='LANG=C.UTF-8 ' |

Offline

#5 2013-05-27 04:22:42

clayman
Member
Registered: 2013-05-26
Posts: 19

Re: BOINC w/ cgroups?

Okay, I'll check them out. Thanks again. smile

Offline

Board footer

Powered by FluxBB