Welcome to MilkyWay@home

nbody.40 : non respect multi-core spec

Message boards : Number crunching : nbody.40 : non respect multi-core spec
Message board moderation

To post messages, you must log in.

AuthorMessage
OlaV_Ouafouaf

Send message
Joined: 29 Dec 07
Posts: 6
Credit: 586,594
RAC: 0
Message 46972 - Posted: 5 Apr 2011, 11:07:41 UTC

On my pc, tasks "de_nbody_orphan_test_2model_4_..."
are running on my two cores at the same time suspending the other tasks on the second processor(core).

My conf :
AMD X2 Dual cores proc
Boinc mgr 6.12.19
no GPU available
Running on 100% processor
using 70% of time processor

Hope this will help
Thxs
ID: 46972 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Len LE/GE

Send message
Joined: 8 Feb 08
Posts: 261
Credit: 104,050,322
RAC: 0
Message 46973 - Posted: 5 Apr 2011, 11:27:49 UTC

The new app is multithreading (see the 'mt' at the end if the exe name).
It is written to work that way. If you want it to run on 1 core only like the previous app, you need to use an app_info.xml and set nthreads=1 in there. For that see the n-body 0.40 thread in the news section.
ID: 46973 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
OlaV_Ouafouaf

Send message
Joined: 29 Dec 07
Posts: 6
Credit: 586,594
RAC: 0
Message 46975 - Posted: 5 Apr 2011, 13:29:11 UTC

Ok I understand it, but in my mind, boinc should run in a "set and forget" mode, able to live with other boinc project and running in a very low priority.

In this idea multi-threaded app should run on one core at time by default.
The app_info.xml should be used to set a non-standard mode (in a boinc point of view) like using a few core at the same time.

Do I'm wrong ?

OlaV+++
ID: 46975 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Matt Arsenault
Volunteer moderator
Project developer
Project tester
Project scientist

Send message
Joined: 8 May 10
Posts: 576
Credit: 15,979,383
RAC: 0
Message 46977 - Posted: 5 Apr 2011, 14:45:06 UTC - in response to Message 46975.  

Ok I understand it, but in my mind, boinc should run in a "set and forget" mode, able to live with other boinc project and running in a very low priority.

In this idea multi-threaded app should run on one core at time by default.
The app_info.xml should be used to set a non-standard mode (in a boinc point of view) like using a few core at the same time.

Do I'm wrong ?

OlaV+++
BOINC instructs it how many threads to use. It's usually a more effective use of your processor to have the single task running on all cores than running separate things on each CPU. The BOINC scheduler should swap it for other tasks at different times, so it's not like it should be preventing other tasks from ever running. If you set it to a number of threads < number of CPUs, it should use some number of CPUs for it, and put other jobs on the remaining CPUs.
ID: 46977 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote

Message boards : Number crunching : nbody.40 : non respect multi-core spec

©2024 Astroinformatics Group