How to debug (not) respecting computing preferences

Message boards : BOINC client : How to debug (not) respecting computing preferences
Message board moderation

To post messages, you must log in.

AuthorMessage
Vratislav Podzimek

Send message
Joined: 22 Nov 11
Posts: 2
Czech Republic
Message 54121 - Posted: 15 May 2014, 8:28:00 UTC

I have a problem with BOINC that on my Fedora 20 systems, it ignores the CPU usage restriction in computing preferences (i.e. it runs even if a non-BOINC CPU usage is 700 %). On Fedora 19 everything is okay and BOINC computations are suspended when high CPU usage appears on the system. A weird thing is that on both Fedora 19 and Fedora 20 I have the same version of BOINC and the same kernel. Could anybody please suggest me any way how to debug the issue to find out what causes the difference? Thanks!
ID: 54121 · Report as offensive
ChristianB
Volunteer developer
Volunteer tester

Send message
Joined: 4 Jul 12
Posts: 321
Germany
Message 54129 - Posted: 15 May 2014, 17:37:11 UTC
Last modified: 15 May 2014, 17:50:36 UTC

I assume you have a recent version of BOINC (7.2.x) running.

I backtracked the variable non_boinc_cpu_usage from the suspend reason in client/cs_prefs.cpp:250 to client/app.cpp:451
There a procinfo object is used to gather the information. So basically the function procinfo_setup in lib/procinfo_unix.cpp:173 (see line 224 for the logic) is gathering all the data.

There could be a problem accessing your /proc in Fedora 20 or there was a change from 19 to 20. But I guess that client/app.cpp line 454 is the cuplrit, but I didn't check further.

You could turn on the mem_usage_debug log flag on and look for "[mem_usage] non-BOINC CPU usage:" in the client log.
ID: 54129 · Report as offensive

Message boards : BOINC client : How to debug (not) respecting computing preferences

Copyright © 2024 University of California.
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.