Multicore thread efficiency

Message boards : Client : Multicore thread efficiency
Message board moderation

To post messages, you must log in.

AuthorMessage
Profile Zanthius
Project donor

Send message
Joined: 24 Mar 05
Posts: 94
Credit: 1,627,664
RAC: 0
Message 6104 - Posted: 16 Jun 2007, 0:35:11 UTC

Just wondering which would be best, currently the 450 session has blender running with 2 threads (will this always be the case, or is it up to the author of the session to set the threads?), is it best to run 2 blenders, so each blender will use 2 cores (on my quad core), or to run 4 blenders and have them use a core each? (Substitute 4 for 2 if you’re running a dual core)

Thanks.
ID: 6104 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
noderaser
Project donor
Avatar

Send message
Joined: 28 Mar 06
Posts: 516
Credit: 1,567,702
RAC: 0
Message 6106 - Posted: 16 Jun 2007, 1:22:06 UTC
Last modified: 16 Jun 2007, 1:23:08 UTC

As far as I know, BOINC will only run one application on each processor core, and never use mulitple cores to work on one task. If your quad-core is only running two tasks, you may wish to check your General BOINC preferences; I believe the default setting for \"On multiprocessors, use at most\" is 2 processors. You\'ll need to set it to 4 in order to take advantage of all available processor cores.

By the way, you\'re running double posts.
Click here to see My Detailed BOINC Stats
ID: 6106 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Profile Janus
Volunteer moderator
Project administrator
Avatar

Send message
Joined: 16 Jun 04
Posts: 4574
Credit: 2,100,463
RAC: 8
Message 6108 - Posted: 16 Jun 2007, 6:16:26 UTC

Part of the development in BOINC the next year or so is going to focus on enabling applications to use multiple processors for the same workunit. BURP will be making use of this as quickly as possible to get a faster turnaround-time per workunit.
The fact that each workunit may consume quite an amount of RAM makes it interesting to get the option to simply run a single workunit faster.

Also we will start seeing 4-, 8- and 16-core machines being more common during the next couple of years, which makes this an important thing to look into.

However, this feature is not quite ready yet.
ID: 6108 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Profile Zanthius
Project donor

Send message
Joined: 24 Mar 05
Posts: 94
Credit: 1,627,664
RAC: 0
Message 6110 - Posted: 16 Jun 2007, 13:07:19 UTC - in response to Message 6108.  
Last modified: 16 Jun 2007, 13:16:23 UTC

Part of the development in BOINC the next year or so is going to focus on enabling applications to use multiple processors for the same workunit. BURP will be making use of this as quickly as possible to get a faster turnaround-time per workunit.
The fact that each workunit may consume quite an amount of RAM makes it interesting to get the option to simply run a single workunit faster.

Also we will start seeing 4-, 8- and 16-core machines being more common during the next couple of years, which makes this an important thing to look into.

However, this feature is not quite ready yet.


Thanks Janus,

True, BOINC will only spawn one process pre core, but the one process is using more than one thread.

I\'ve just had a look at the threads that blender have spawned on the 450 session, and it\'s showing 2. I currently have 3 blenders running, and it\'s displaying 2 blenders using 1 out of 2 threads, and one blender using 2 out of 2 threads. So it looks like I will be able to use 100% processor with only 2 blenders running.

I dont know if it is one of my settings that have caused this.

I can post a pic of the blender threads in use if you want.

Thanks.

Edit: may have spoke too soon, i re-run the report, and it\'s showing one blender with 3 threads and one blender with 1 thread. Looks like it will be more efficient at the moment to run one blender / core.
ID: 6110 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Profile Janus
Volunteer moderator
Project administrator
Avatar

Send message
Joined: 16 Jun 04
Posts: 4574
Credit: 2,100,463
RAC: 8
Message 6116 - Posted: 18 Jun 2007, 11:07:04 UTC - in response to Message 6110.  

I can post a pic of the blender threads in use if you want.

Please do that. Blender is supposed to run between 1 and 8 threads where only 1 will be the working thread (the one utilizing CPU power).
ID: 6116 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Profile Zanthius
Project donor

Send message
Joined: 24 Mar 05
Posts: 94
Credit: 1,627,664
RAC: 0
Message 6122 - Posted: 19 Jun 2007, 4:06:52 UTC - in response to Message 6116.  

I can post a pic of the blender threads in use if you want.

Please do that. Blender is supposed to run between 1 and 8 threads where only 1 will be the working thread (the one utilizing CPU power).


http://zanthius.com.au/blenderthreads.jpg

Looks like you were right, 2 threads used, but only 25% CPU usage.
ID: 6122 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote

Message boards : Client : Multicore thread efficiency