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: 11
Posts: 11   Pages: 2   [ 1 2 | Next Page ]
[ Jump to Last Post ]
Post new Thread
Author
Previous Thread This topic has been viewed 890 times and has 10 replies Next Thread
39er
Cruncher
Canada
Joined: Aug 10, 2006
Post Count: 28
Status: Offline
Project Badges:
Reply to this Post  Reply with Quote 
Throttling the CPU - How?

I just recently installed BOINC on my Linux PC (SuSe 10.1) and the CPU runs flat out. I wish to reserve some computing power for other tasks. How would I accomplish this?. Suggestions welcome. Thank you.

- 39er
[Mar 14, 2007 6:04:14 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 
Re: Throttling the CPU - How?

What version are u running? It (throttle) is available on 5.8.15, but at this time can cause file corruption for Fight AIDS and Help Defeat Cancer project on the Linux and Mac platform. See this thread for settings it locally: http://www.worldcommunitygrid.org/forums/wcg/viewthread?thread=12230
----------------------------------------
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 14, 2007 6:11:17 PM]
[Mar 14, 2007 6:10:35 PM]   Link   Report threatening or abusive post: please login first  Go to top 
39er
Cruncher
Canada
Joined: Aug 10, 2006
Post Count: 28
Status: Offline
Project Badges:
Reply to this Post  Reply with Quote 
Re: Throttling the CPU - How?

Thank you for your reply. I am running Boinc version 5.4.11_i686. Based on your suggested message threads, I understand that I would not be able to throttle the CPU down.
-39er
[Mar 14, 2007 9:24:12 PM]   Link   Report threatening or abusive post: please login first  Go to top 
retsof
Former Community Advisor
USA
Joined: Jul 31, 2005
Post Count: 6824
Status: Offline
Project Badges:
Reply to this Post  Reply with Quote 
Re: Throttling the CPU - How?

I wish to reserve some computing power for other tasks.


Normally there shouldn't be any reason to "reserve" a percentage for other tasks. Since BOINC runs at the lowest priority, it slows down or stops for other things. The design is to use all that is left.

Throttling is usually only needed for a laptop that is running hot. These desktops run all day and night at 100% with no problems.
----------------------------------------
SUPPORT ADVISOR
Work+GPU i7 8700 12threads
School i7 4770 8threads
Default+GPU Ryzen 7 3700X 16threads
Ryzen 7 3800X 16 threads
Ryzen 9 3900X 24threads
Home i7 3540M 4threads50%
----------------------------------------
[Edit 3 times, last edit by retsof at Mar 15, 2007 12:09:39 AM]
[Mar 15, 2007 12:05:46 AM]   Link   Report threatening or abusive post: please login first  Go to top 
D_T_G
Advanced Cruncher
Poland
Joined: Jan 25, 2007
Post Count: 56
Status: Offline
Project Badges:
Reply to this Post  Reply with Quote 
Re: Throttling the CPU - How?

I wish to reserve some computing power for other tasks.


Normally there shouldn't be any reason to "reserve" a percentage for other tasks. Since BOINC runs at the lowest priority, it slows down or stops for other things. The design is to use all that is left.

Throttling is usually only needed for a laptop that is running hot. These desktops run all day and night at 100% with no problems.


Nice! Errrr - I mean - "nice" - in a unix world processes with the lowest priority are called "nice" tongue The bigger problem is with RAM, especially whilst crunching 2*hdc - it can sometimes take even more RAM than I phisically have (1024) and I find it little annoying in the situation like this (has happened to me today):

1)

screen #1

2)
screen #2

d oh

[BOINC v.5.8.15 for i686-pc-linux-gnu @ OpenSUSE 10.2]
----------------------------------------
----------------------------------------
[Edit 1 times, last edit by D_T_G at Mar 15, 2007 9:59:02 PM]
[Mar 15, 2007 9:56:55 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 
Re: Throttling the CPU - How?

Both pics show 324mb ram use for 1 HDC job and 2 combined topping 520mb...... wrong PIC or misunderstanding my part? We certainly cant scroll to the right to what u saw... the swap file use or a peak ram column?

If u repost, use the 800x600 forum format...we can zoom in if need be.

Peak usages i've seen were 1085mb, but only when i have it available, else it just spills over into the VM.
----------------------------------------
WCG Global & Research > Make Proposal Help: Start Here!
Please help to make the Forums an enjoyable experience for All!
----------------------------------------
[Edit 2 times, last edit by Sekerob at Mar 15, 2007 10:27:22 PM]
[Mar 15, 2007 10:24:04 PM]   Link   Report threatening or abusive post: please login first  Go to top 
D_T_G
Advanced Cruncher
Poland
Joined: Jan 25, 2007
Post Count: 56
Status: Offline
Project Badges:
Reply to this Post  Reply with Quote 
Re: Throttling the CPU - How?

Both pics show 324mb ram use for 1 HDC job and 2 combined topping 520mb...... wrong PIC or misunderstanding my part? We certainly cant scroll to the right to what u saw... the swap file use or a peak ram column?


It happens rarely (combining 2 hdc taking >1024), I remember only one such situation, I just hadn't made a shot. What I wanted to show with those pics is not that it can take more RAM than I have, but to point out not quite smart scheduling. You see - BOINC tries to be "transparent" for the users with processes priority ("nice") and I would expect the same with RAM usage. I'm going to try to explain it now. hdc is deffinitely the most RAM demanding app from WCG, if the cpu crunches hdc - it takes quite a lot of it, moreover it can't withdraw to other apps (with "higher" priority) willing more than left, as it does with cpu time. OK, "it's a feature not a bug". But the situation on a dual core is a little different. If one core crunches hdc, and second has just finished some task, and e.g. it can choose between fcg1 and hdc - IMO it should take fcg1, because: it continues to be more "transparent" for other apps. I don't consider the situation when there are only hdc's in a queue, but some less and some more demanding RAM WU. IMO it would be a "nice" feature, but if not - it's not a bug, my previous post was only for sharing my observation that "there is a bigger problem with RAM than with process priority/cpu usage (at least for me)". I hope you understand what I mean, don't you?

Regards, D_T_G.
----------------------------------------
----------------------------------------
[Edit 1 times, last edit by D_T_G at Mar 15, 2007 11:01:58 PM]
[Mar 15, 2007 10:59:07 PM]   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: Throttling the CPU - How?

Hi D_T_G,
This is a problem that BOINC does not handle well. You should not run 2 HDC jobs at the same time unless you have something like 1.5 GB ram but BOINC does not check. If you have enough ram for 1 HDC job, it will cheerfully start as many HDC jobs as you allow it to run.

The only solution I can suggest is to run only 1 thread or else do not run HDC. Then this problem will never occur. Of course, you can manually SUSPEND any extra HDC jobs if you happen to notice that 2 are trying to run at the same time.

Added: See Sekerob below on how to set up the new conditions in BOINC 5.8 to avoid this problem. Something I had not thought of! smile

Lawrence
----------------------------------------
[Edit 1 times, last edit by Former Member at Mar 16, 2007 1:35:49 AM]
[Mar 15, 2007 11:11:21 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 
Re: Throttling the CPU - How?

BOINC 5.8 is much smarter than some give it credit. Use the Idle and Busy memory functions that can be set in the general_prefs_override.xml. Set 'Busy' to e.g. 60% and the HDC job will be suspended when it hits the limit and show a 'waiting for memory' message in the task tab. It will move on to the next job in queue until it finds a job that fits in the restricted resource.

WCG elected to combine both in a single option and set default to 100%. Several posts on these fora discuss the 2 new memory features and how set it up in the general_prefs_override.xml. Original BOINC defaults are 50 Busy and 90 idle.

cheers

PS, set 'Leave in Memory' to NO as BOINC 5.8.15 is smart about project switching and checkpoint saving too. The Yes now merely helps for those on RAM galore as it speeds up job changing.... it's does not have to fetch it from disk.

Since HDC is in limited supply it's anyway advised to have a multi project selection in the device profile, so that it has an escape route if HDC runs low. That said, if only on HDC, tick that alternate work box, so if HDC is not available, BOINC will fetch other projects work.
----------------------------------------
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 16, 2007 12:39:42 AM]
[Mar 16, 2007 12:38:02 AM]   Link   Report threatening or abusive post: please login first  Go to top 
39er
Cruncher
Canada
Joined: Aug 10, 2006
Post Count: 28
Status: Offline
Project Badges:
Reply to this Post  Reply with Quote 
Re: Throttling the CPU - How?

Gentlemen,
This is advanced discussion for me at the moment. I am still struggling with basics. Thus far I am starting boinc manually from my home directory and I do not see any of the screens produced by the manager.
Essentially, I have to reshuffle boinc files into different directories and start it automatically. But this will be the topic of a new thread.

I shall continue with boinc 5.4.11.... because I am only interested to process cancer and aids projects.

Thank you very much for your assistance thus far.

39er
[Mar 16, 2007 2:21:35 PM]   Link   Report threatening or abusive post: please login first  Go to top 
Posts: 11   Pages: 2   [ 1 2 | Next Page ]
[ Jump to Last Post ]
Post new Thread