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: 7
[ Jump to Last Post ]
Post new Thread
Author
Previous Thread This topic has been viewed 1279 times and has 6 replies Next Thread
Former Member
Cruncher
Joined: May 22, 2018
Post Count: 0
Status: Offline
Reply to this Post  Reply with Quote 
CPU Usage (Linux, Ubuntu 14.04)

Hi,

I'm running BOINC manager (current version) on Ubuntu 14.04. I have Intel 4-core processor, and it uses all 4 cores. However even after setting use no more then 40% of CPU power in advanced options I still see (and hear) that CPU is working very hard.
Check for yourself:


Should I set limit to 10% to achieve 40%?? Is that normal?
[May 7, 2014 9:45:32 AM]   Link   Report threatening or abusive post: please login first  Go to top 
ryan222h
Senior Cruncher
Joined: Sep 4, 2006
Post Count: 425
Status: Offline
Reply to this Post  Reply with Quote 
Re: CPU Usage (Linux, Ubuntu 14.04)

The way that boinc schedules cpu usage with a setting like that is it uses the CPU at 100% but only for 40% of the time. For instance it would use the CPU for 4 seconds out of every 10 at 100% and the rest of the time is 0%. This is what I have experienced before. However it seems your CPU usage never drops to 0 which suggests maybe another program/process is taking up CPU power?
----------------------------------------

----------------------------------------
[Edit 2 times, last edit by ryan222h at May 7, 2014 1:01:06 PM]
[May 7, 2014 12:39:40 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: CPU Usage (Linux, Ubuntu 14.04)

Back in school we learned that 40/100th could be reduced to 2/5th or 2 seconds out of 5 tongue.

There are a few builds of 7.2 that were set to cpu time schedule at the sub-second level, so 2/5th of a second run in the example and 3/5th pause. This caused some projects grieve, but worked well with the tests i conducted on wcg sciences, it implemented on insistence of wcg cool. The processor load graph would thus, if left default to only update once every second, show a flattish load line, no revving of the fans at all at that level.

Really do not know if the official 7.2.47 wcg build has this function still in, but afaicr it was pulled from the regular berkeley builds well before this release number.

So much for my take on a brief history in time.
[May 7, 2014 2:05:04 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: CPU Usage (Linux, Ubuntu 14.04)

About fanrevving, the well known optimal setting in case of boinc is 50 percent. 1 second run, 1 second pause. Usually it does not cause this on laptops, the irritating part. Also, the cpu time control was created for laptops and their overheating risk. Desktops don't need that in 99 out of 100 cases. Keep the dust out, remove it quarterly and never a hot processor. My desktop runs about 53 celcius full out, on air.
[May 7, 2014 2:29:51 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: CPU Usage (Linux, Ubuntu 14.04)

Thanks. After I turned off background processes it seems to work properly, and indeed it jumps to 100%, and then almost to 0. Thx.
[May 8, 2014 8:31:31 AM]   Link   Report threatening or abusive post: please login first  Go to top 
BobCat13
Senior Cruncher
Joined: Oct 29, 2005
Post Count: 295
Status: Offline
Project Badges:
Reply to this Post  Reply with Quote 
Re: CPU Usage (Linux, Ubuntu 14.04)

LukeSkywalker,

There is a solution to make the CPUs run at a smooth limited pace instead of the see-saw 100%/0% used by the boinc client. Follow the instructions on this page to setup cpulimit as a daemon:
http://ubuntuforums.org/showthread.php?t=992706

I changed the CPU_LIMIT=20 and BLACK_PROCESSES_LIST= to

CPU_LIMIT=50
BLACK_PROCESSES_LIST="wcgrid|poempp"

as I had 3 WCG and 1 POEM task running on a quad core and all 4 cores dropped from approximately 100% to varying between 48% to 52% (using top to monitor). Just be sure to set the cpu setting to 100% in Boinc Manager's advanced settings, if using cpulimit to control the processors.
----------------------------------------
[Edit 1 times, last edit by BobCat13 at May 9, 2014 1:49:21 AM]
[May 8, 2014 11:04:19 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: CPU Usage (Linux, Ubuntu 14.04)

Also, System Monitor itself uses at least 5 to 10% of cpu.
That's what it seems to do on my new Linux.
[May 11, 2014 11:19:46 PM]   Link   Report threatening or abusive post: please login first  Go to top 
[ Jump to Last Post ]
Post new Thread