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: 8
[ Jump to Last Post ]
Post new Thread
Author
Previous Thread This topic has been viewed 4798 times and has 7 replies Next Thread
Former Member
Cruncher
Joined: May 22, 2018
Post Count: 0
Status: Offline
Reply to this Post  Reply with Quote 
100% CPU usage on multicore

Some of the projects I'm attached to have not been sending out much work lately. I noticed that when BOINC has fewer WUs than cores, it does not use 100% the CPU? Why not? Doesn't it know how to divide 100% of the CPU equally between however many WUs it has? Right now I'm working on only 1 WU and it's only using 13% of the processor because 100/8(cores) is roughly 13. I tried all the settings and preferences and nothing will make it use 100% of the processor.
[Aug 29, 2010 1:54:32 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: 100% CPU usage on multicore

Doesn't it know how to divide 100% of the CPU equally between however many WUs it has?


Hi and welcome to the forums.

The simple answer is No. Each WU can only be processed by one core. The only way to get to 100% CPU usage on multicore machines, is to have at least one WU/core, in your case, at least eight. There's no way around this.

Try selecting more projects, or the option "If there is no work available for my computer for the projects I have selected above, please send me work from another project" in the device profile.
[Aug 29, 2010 2:24: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: 100% CPU usage on multicore

Some of the projects I'm attached to have not been sending out much work lately. I noticed that when BOINC has fewer WUs than cores, it does not use 100% the CPU? Why not? Doesn't it know how to divide 100% of the CPU equally between however many WUs it has? Right now I'm working on only 1 WU and it's only using 13% of the processor because 100/8(cores) is roughly 13. I tried all the settings and preferences and nothing will make it use 100% of the processor.


Hi DainBramaged.

If you haven't done so already have a look at your .

Device Manager page.

Click on a device name or profile name below to view and/or edit its configuration.

These are mine,

On multiprocessors, at most use: 6 processors
On multiprocessors, use: 100 % of processors
[Aug 29, 2010 3:54:17 AM]   Link   Report threatening or abusive post: please login first  Go to top 
JmBoullier
Former Community Advisor
Normandy - France
Joined: Jan 26, 2007
Post Count: 3716
Status: Offline
Project Badges:
Reply to this Post  Reply with Quote 
Re: 100% CPU usage on multicore

DainBramaged ,
Only programs which have been designed and coded as multithtreaded can use multiple cores to do their job, and most programs are not eligible for such a design.

As P . P . L . said, check your processor settings in your profile(s), and if you have ever used them check the same parameters in the Local Preferences of your BOINC client.
Be careful to not confuse "Use no more than xxx % of processor time" and "On multiprocessors, use xxx % of processors". For your problem the latter is the important one.
----------------------------------------
Team--> Decrypthon -->Statistics/Join -->Thread
[Aug 29, 2010 8:48:28 AM]   Link   Report threatening or abusive post: please login first  Go to top 
sk..
Master Cruncher
http://s17.rimg.info/ccb5d62bd3e856cc0d1df9b0ee2f7f6a.gif
Joined: Mar 22, 2007
Post Count: 2324
Status: Offline
Project Badges:
Reply to this Post  Reply with Quote 
Re: 100% CPU usage on multicore

On multiprocessors, at most use: 6 processors
That is fine if you have one system with 6 cores (or you just want to use 6 of 8 cores). If you have more than one system, and you are attached to other projects, it is usually better to set a high CPU value.
On multiprocessors, at most use: 1024 processors [my value]. In a year or two if I have a 48core CPU, that setting is still good. Even in 10 years it will probably by fine.
You can always set local Boinc Manager values.

DainBramaged, perhaps you set this value on another project and have not changed it. Boinc goes by the last configuration; so if you change it here it will go by that value. If you changed it on another web site for another project some time ago Boinc will be going by that. If you have selected to crunch an active project at WCG then you would otherwise have one task per core/thread.

- edited because its just wrong.
----------------------------------------
[Edit 1 times, last edit by skgiven at Aug 29, 2010 11:24:32 AM]
[Aug 29, 2010 10:00:08 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: 100% CPU usage on multicore

This processor number field is redundant to any client of the 6.10 family which will imminently be adopted by WCG for Windows. To test this I set the quad profile to 3 processors on the website (field not available in clients 6.2 and up), and hit update project in agent. BOINC continued running on 4 cores although the log indicates that the new web profile was loaded... client 6.10.58 on Linux.

29/08/2010 12:21:00 World Community Grid General prefs: from World Community Grid (last modified 29-Aug-2010 12:20:05)

If the post 6.2 client is still responding to that field it's a bug in the individual build of the client.

This is an option that is NOT impacted by Run Always/Run Based on Preferences. The Activity menu as the name says are strictly for when a client runs / not runs i.e. the behavioral and network scheduling part of the controls.

Here an extract WCG Web device profile explains the effects of processor number and %. I've inserted the defaults!
If you are using version 6.2 of the software, then the number of processors used will be the lesser of the two fields below. If you are using a version before 6.2, then only the 'at most' field will be used.
On multiprocessors, at most use: X processors (default 16)
On multiprocessors, use: Y % of processors (default 100%)

Want to restore sanity when things act different than the web prefs prescribe, than clear the local preferences and only the web prefs will be used. It's the easiest way to manage multiple devices attached to WCG from 1 screen (there are others web based easy ways, but not discussed here).
----------------------------------------
WCG Global & Research > Make Proposal Help: Start Here!
Please help to make the Forums an enjoyable experience for All!
[Aug 29, 2010 10:36:09 AM]   Link   Report threatening or abusive post: please login first  Go to top 
sk..
Master Cruncher
http://s17.rimg.info/ccb5d62bd3e856cc0d1df9b0ee2f7f6a.gif
Joined: Mar 22, 2007
Post Count: 2324
Status: Offline
Project Badges:
Reply to this Post  Reply with Quote 
Re: 100% CPU usage on multicore

Sekerob is correct, the On multiprocessors, at most use: setting is now redundant. I tested it on Boinc 6.10.58, Vista x64, using another project, tried restarts, Boinc resets... It makes no difference any more.

Perhaps DainBramaged posted here because he got no response elsewhere and just needs to start crunching some WCG tasks!
----------------------------------------
[Edit 1 times, last edit by skgiven at Aug 29, 2010 11:27:11 AM]
[Aug 29, 2010 11:22:44 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: 100% CPU usage on multicore

Glad you were able to confirm doing this from another project website. In principle BOINC only listens to the web prefs of the last website where changes were made. I think those values proliferate to all the grid websites, but not sure about that. Certainly when attaching to a new projects, the new website device profiles pop in the last applicable website device profile settings, which I guess pulls it from the client... sort of deep under the hood fringe interesting to the average cruncher.

To amplify my previous post, the first part of the test was to leave the local prefs in place. Then cleared the local prefs and 4 cores continued running i.e. the processor number field is ignored in 6.10.
----------------------------------------
WCG Global & Research > Make Proposal Help: Start Here!
Please help to make the Forums an enjoyable experience for All!
[Aug 29, 2010 11:48:52 AM]   Link   Report threatening or abusive post: please login first  Go to top 
[ Jump to Last Post ]
Post new Thread