Index  | Recent Threads  | Unanswered Threads  | Who's Active  | Guidelines  | Search
 

Quick Go »
No member browsing this thread
Thread Status: Active
Total posts in this thread: 5
[ Jump to Last Post ]
Post new Thread
Author
Previous Thread This topic has been viewed 677 times and has 4 replies Next Thread
Former Member
Cruncher
Joined: May 22, 2018
Post Count: 0
Status: Offline
Reply to this Post  Reply with Quote 
confused [RESOLVED] max_cpus doesn't work, why? (debian)

Hi everybody,

my problem:
I am running BOINC 5.10.21 on a Debian Etch QuadCore computer. As the server is needed for critical operations during the day I try to have different usage off the boinc-programm over the whole day. So I wrote a little "script" which loads specific settings at specific times:
--------
crontab shows:
0 0 * * * cd /home/wcgboinc/BOINC/; cp global_prefs_override.xml_high global_prefs_override.xml; ./boinc_cmd --read_global_prefs_override
0 1 * * * cd /home/wcgboinc/BOINC/; cp global_prefs_override.xml_ultra global_prefs_override.xml; ./boinc_cmd --read_global_prefs_override
0 10 * * * cd /home/wcgboinc/BOINC/; cp global_prefs_override.xml_high global_prefs_override.xml; ./boinc_cmd --read_global_prefs_override
0 11 * * * cd /home/wcgboinc/BOINC/; cp global_prefs_override.xml_mid global_prefs_override.xml; ./boinc_cmd --read_global_prefs_override
0 13 * * * cd /home/wcgboinc/BOINC/; cp global_prefs_override.xml_low global_prefs_override.xml; ./boinc_cmd --read_global_prefs_override
0 23 * * * cd /home/wcgboinc/BOINC/; cp global_prefs_override.xml_mid global_prefs_override.xml; ./boinc_cmd --read_global_prefs_override
----------
As an example for one of these config files:
global_prefs_override.xml_ultra:

<global_preferences>
<cpu_usage_limit>95</cpu_usage_limit>
<ram_max_used_busy_pct>4</ram_max_used_busy_pct>
<ram_max_used_idle_pct>8</ram_max_used_idle_pct>
<max_cpus>4</max_cpus>
</global_preferences>
---------------------
So I copy different global_prefs_overrides and run the --read_global_prefs_override command. In general it works fine exept one point.

Have a look at my MRTG site: http://85.14.220.37/mrtg/

Here you can see, that there are different level in usage over the whole day. But my problem is, that in the night, when my server could run at >90% on boinc it only uses two cores. As you can see above the settings should tell the computer to use all 4 cores. So the load is just half as maximum possible.

I think at the fist day on which I installed the programm it automatically used all 4 cores.

Any ideas how to get boinc run on 100% during night?

Thanks,
Leo
----------------------------------------
[Edit 1 times, last edit by Former Member at Mar 8, 2008 11:03:01 PM]
[Mar 7, 2008 9:35:08 AM]   Link   Report threatening or abusive post: please login first  Go to top 
Former Member
Cruncher
Joined: May 22, 2018
Post Count: 0
Status: Offline
Reply to this Post  Reply with Quote 
Re: max_cpus doesn't work, why? (debian)

I think I could solve this problem by myself. I think it was because of to less ram allowed -.-
I'll try and tell you soon ;)
[Mar 7, 2008 10:26:15 AM]   Link   Report threatening or abusive post: please login first  Go to top 
Sekerob
Ace Cruncher
Joined: Jul 24, 2005
Post Count: 20043
Status: Offline
Reply to this Post  Reply with Quote 
Re: max_cpus doesn't work, why? (debian)

That's possible. With less memory allowed than needed for 4 concurrent jobs, 1 or more will go into the "waiting for memory" state.

You are probably aware that each time you change the permitted cores, a benchmark will be initiated.

Anyway, let us know if something more crops up.

ciao
----------------------------------------
WCG Global & Research > Make Proposal Help: Start Here!
Please help to make the Forums an enjoyable experience for All!
[Mar 7, 2008 10:53:22 AM]   Link   Report threatening or abusive post: please login first  Go to top 
Former Member
Cruncher
Joined: May 22, 2018
Post Count: 0
Status: Offline
Reply to this Post  Reply with Quote 
Re: max_cpus doesn't work, why? (debian)

I was a problem of to less RAM allowed.
With this settings it works fine:


<global_preferences>
<cpu_usage_limit>95</cpu_usage_limit>
<ram_max_used_busy_pct>15</ram_max_used_busy_pct>
<ram_max_used_idle_pct>15</ram_max_used_idle_pct>
<max_cpus>4</max_cpus>
</global_preferences>
[Mar 8, 2008 5:39:17 PM]   Link   Report threatening or abusive post: please login first  Go to top 
Sekerob
Ace Cruncher
Joined: Jul 24, 2005
Post Count: 20043
Status: Offline
Reply to this Post  Reply with Quote 
[RESOLVED] max_cpus doesn't work, why? (debian) - Not all Cores Used Due Mem.Prefs.

15% of 4gb is just 600mb which is for some job combinations borderline.

plz see this FAQ for a project matrix: http://www.worldcommunitygrid.org/forums/wcg/viewthread?thread=17855

Can you please edit and add/insert [RESOLVED] into the title of the opening report post like the sample of this reply. The next one with the problem will know there is an answer

Edit: The spelling gremlin stuck again.
----------------------------------------
WCG Global & Research > Make Proposal Help: Start Here!
Please help to make the Forums an enjoyable experience for All!
----------------------------------------
[Edit 1 times, last edit by Sekerob at Mar 8, 2008 5:51:38 PM]
[Mar 8, 2008 5:49:50 PM]   Link   Report threatening or abusive post: please login first  Go to top 
[ Jump to Last Post ]
Post new Thread