BOINC, systemd and Linux process priority, next
In my previous post I believed to have my problem solved, the BOINC daemon was leaving system resources free if needed.
To do so I had configured systemd to allocate the lowest priority to the cgroup containing BOINC compute processes:
sudo systemctl set-property boinc.service CPUWeight=1
This attribute is not available in systemd versions before 231, when it replaced the CPUShares attributes.
The equivalent setting for those versions is:
systemctl set-property boinc.service CPUShares=2
This change reflects a change in the kernel configuration for cgroups. The cpu.shares attributes was replaced by cpu.weight. This change was not merged into the main Linux branch, as such systemd has to convert the CPUWeight value to its cpu.shares equivalent on my system.
However I noticed that playing videos on my system was having some slow downs. By doing the experiment previously described again, I got different results showing that BOINC was still not releasing all CPU resources when needed.
After reading some documentation as the systemd manual page about resource management and the kernel documentation about cgroups, I was able to understand better the problem.
Cgroups are hierarchically organized. CPU resources defined by a cgroup are shared by cgroups …
more ...