Welcome to MilkyWay@home

N-body sim processing time issues


Advanced search

Message boards : Number crunching : N-body sim processing time issues
Message board moderation

To post messages, you must log in.

AuthorMessage
hoolibas

Send message
Joined: 7 Sep 14
Posts: 3
Credit: 657,258
RAC: 0
500 thousand credit badge6 year member badge
Message 69628 - Posted: 29 Mar 2020, 14:19:16 UTC

I have several N-Body sim tasks on one of my PCs (core 2 quad). All require 3 CPUs, when it comes time for them to process, the roughly 3 hour task turns into "elapsed - ~8:30:00 ; remaining (est) - 23 days x hours, etc" Which would put the task (well) past the deadline.
If I suspend all processing and restart BOINC, the Elapsed time drops (usually significantly) and the remaining estimate goes back to a reasonable duration, only to hyper-inflate once the task start running again.

Is there anything I can do or should I just bail on these tasks? And if no other option; how can I prevent this one PC from getting them again but leave my other PC able to get them?
ID: 69628 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Profileearthbilly
Avatar

Send message
Joined: 1 Dec 18
Posts: 10
Credit: 982,422,242
RAC: 208,915
500 million credit badge1 year member badge
Message 69629 - Posted: 30 Mar 2020, 18:48:29 UTC - in response to Message 69628.  

I have several N-Body sim tasks on one of my PCs (core 2 quad). All require 3 CPUs, when it comes time for them to process, the roughly 3 hour task turns into "elapsed - ~8:30:00 ; remaining (est) - 23 days x hours, etc" Which would put the task (well) past the deadline.
If I suspend all processing and restart BOINC, the Elapsed time drops (usually significantly) and the remaining estimate goes back to a reasonable duration, only to hyper-inflate once the task start running again.

Is there anything I can do or should I just bail on these tasks? And if no other option; how can I prevent this one PC from getting them again but leave my other PC able to get them?


!!!There is a way to stop N-Body tasks but it will stop them on every computer listed with your account. You can make a new account for restricting just to that computer, BUT, probably there are too many background programs running if you use Windows 10. By terminating all the junk and unused apps in your app page that are not nessessary for proper running and for BOINC you may find your core 2 quad has new life. Be careful not to terminate an app you don't know what it does, it may be needed.


I go to Windows settings and turn off all apps in privacy. Select each windows permission and app permission one at a time in the left menu and turn them all off.

Then select APPS in windows settings and pick every app you know you don't use and after clicking the app select advanced options and click "terminate". One in particular that helps the most is terminating Microsoft Photos. Terminate all the games, 3-d viewer, camera, feedback hub, get help, groove music, mail and calendar, maps, messaging, Microsoft photos, store, mixed reality portal, mobile plans, movies and tv, one note, Paint 3-d, people, print 3-d, snip n sketch, sticky notes, all three x-boxes, phone.

This will clear up a huge amount of background stuff and give N-BODY a chance to run. Don't bother uninstalling them because Microsoft will just re-download them. Terminating them solves the background apps hogging compute power.

Hope this helps you.
100% POWERED BY SOLAR, SUNNY REGARDS
ID: 69629 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
hoolibas

Send message
Joined: 7 Sep 14
Posts: 3
Credit: 657,258
RAC: 0
500 thousand credit badge6 year member badge
Message 69630 - Posted: 30 Mar 2020, 23:07:51 UTC

I've already pruned all of that stuff. right now the PC is set to have 75% of processors to handle BOINC tasks (for 90% of time), leaving 1 core to handle the Windows processes. As it is, it's currently running at ~72% of CPU utilization working on one of the 3-CPU tasks.

However the ~3 hour tasks inflate to days worth of processing.
ID: 69630 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Profileearthbilly
Avatar

Send message
Joined: 1 Dec 18
Posts: 10
Credit: 982,422,242
RAC: 208,915
500 million credit badge1 year member badge
Message 69631 - Posted: 31 Mar 2020, 14:57:19 UTC - in response to Message 69630.  

I looked at your computers and tasks. It looks like you just joined this computer?

Sounds like you are familiar with the resource monitor. Are there any tasks besides milkyway that are constantly running in the CPU column? The next to last column on the right? And in the CPU graph, is there a steady CPU usage graph or does it look like a heartbeat?

Are you using any temperature apps?

I would try using only 52% cpu just to see if itl run 2 processor tasks better, for a test. Have you tried already?

Do you use anything like AVG Tuneup? And have you updated all your drivers with something like AVG Driver Updater?

You could run a free hardware test like UserBenchMark if not already tried. With BOINC Manager suspended.

Just thinking outloud;-)
100% POWERED BY SOLAR, SUNNY REGARDS
ID: 69631 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
hoolibas

Send message
Joined: 7 Sep 14
Posts: 3
Credit: 657,258
RAC: 0
500 thousand credit badge6 year member badge
Message 69632 - Posted: 31 Mar 2020, 18:43:09 UTC

It's a computer that has been on previously. It's just been thru a move and a couple reformats (and renames). It runs single core tasks fine, it's been steadily crunching away at tasks for Milkyway, Rosetta, and Asteroids @home since I reinstalled BOINC. It just seems hit or miss on the 3-CPU processes.

Since the deadline was looming and advice was rolling in slow, I abandoned the tasks so that they go back into the pool for crunching/validation.
ID: 69632 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Profileearthbilly
Avatar

Send message
Joined: 1 Dec 18
Posts: 10
Credit: 982,422,242
RAC: 208,915
500 million credit badge1 year member badge
Message 69634 - Posted: 1 Apr 2020, 0:09:44 UTC - in response to Message 69632.  

Perfect time for trying 52%. I only open up five processors for N-body tasks with 1 to 3 GPU's running too, with an i7 four core 8 processor. the tasks get done from 55 minutes to 2 hours 45 minutes. Some are bigger than others.
100% POWERED BY SOLAR, SUNNY REGARDS
ID: 69634 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Profileearthbilly
Avatar

Send message
Joined: 1 Dec 18
Posts: 10
Credit: 982,422,242
RAC: 208,915
500 million credit badge1 year member badge
Message 69635 - Posted: 1 Apr 2020, 0:16:46 UTC - in response to Message 69634.  

Then if the GPU tasks run out I sometimes get a few 6 core N-body tasks and they run OK but a little slower.
100% POWERED BY SOLAR, SUNNY REGARDS
ID: 69635 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Profileearthbilly
Avatar

Send message
Joined: 1 Dec 18
Posts: 10
Credit: 982,422,242
RAC: 208,915
500 million credit badge1 year member badge
Message 69636 - Posted: 1 Apr 2020, 3:00:30 UTC - in response to Message 69635.  

Hoolabis you could upgrade to an X3370 CPU if all else fails. $42. Several used for sale on ebay.
100% POWERED BY SOLAR, SUNNY REGARDS
ID: 69636 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Computer 1

Send message
Joined: 27 Aug 20
Posts: 2
Credit: 6,172,688
RAC: 78,782
5 million credit badge
Message 70076 - Posted: 29 Aug 2020, 19:31:43 UTC

I have Ryzen 3900x with 64 GB ram, I just had n-body use 16 cores for 1 day 18 hrs with 10 hrs remaining. After reading through some posts, I shut down bionic, restarted it. it now says that it has been running 58 mins with 11 mins left to finish but it is waiting to run. if this keeps up I will remove this program as I am the one paying the electric bill, I feel that if you cant keep this corrected, I will not spend my money on your messed up WU's.
ID: 70076 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Profilemikey
Avatar

Send message
Joined: 8 May 09
Posts: 2425
Credit: 451,077,565
RAC: 24,346
300 million credit badge10 year member badgeextraordinary contributions badge
Message 70083 - Posted: 30 Aug 2020, 3:12:51 UTC - in response to Message 70076.  

I have Ryzen 3900x with 64 GB ram, I just had n-body use 16 cores for 1 day 18 hrs with 10 hrs remaining. After reading through some posts, I shut down bionic, restarted it. it now says that it has been running 58 mins with 11 mins left to finish but it is waiting to run. if this keeps up I will remove this program as I am the one paying the electric bill, I feel that if you cant keep this corrected, I will not spend my money on your messed up WU's.


Just go into the Boinc Manager and click Suspend on the MilkyWay Project, that way it will stop what it's doing and not get any new tasks. You can then abort all the workunits, click update on the MilkyWay Project and they will be gone and your pc is yours again.

The n-body workunits use every cpu core you allow Boinc to use and will wait for them to be free if they aren't all free. So apparently you have allowed Boinc to use 16 cpu cores so that's what the n-body tasks are trying to do. If you want it to use less cpu cores you can use an app_config file but if you don't know how it's not exactly a plug and play thing but here's an app_config file that tells MilkyWay to only use 2 cpu cores on the n-body workunits.

<app_config>

<app>
<name>milkyway</name>
<gpu_versions>
<gpu_usage>0.5</gpu_usage>
<cpu_usage>0.5</cpu_usage>
</gpu_versions>
</app>
<app_version>
<app_name>milkyway_nbody</app_name>
<max_concurrent>1</max_concurrent>
<plan_class>mt</plan_class>
<avg_ncpus>2</avg_ncpus>
<cmdline>--nthreads 2</cmdline>
</app_version>
</app_config>

Fewer cpu cores means longer tasks so you will have to play with it to find a sweet spot, but any tasks you have on your pc will be crunched using the old settings and only NEW tasks will use any changes.
ID: 70083 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Bill
Avatar

Send message
Joined: 8 Jan 18
Posts: 42
Credit: 22,398,712
RAC: 48,150
20 million credit badge2 year member badge
Message 70087 - Posted: 30 Aug 2020, 19:57:28 UTC - in response to Message 70083.  

I have Ryzen 3900x with 64 GB ram, I just had n-body use 16 cores for 1 day 18 hrs with 10 hrs remaining. After reading through some posts, I shut down bionic, restarted it. it now says that it has been running 58 mins with 11 mins left to finish but it is waiting to run. if this keeps up I will remove this program as I am the one paying the electric bill, I feel that if you cant keep this corrected, I will not spend my money on your messed up WU's.


Just go into the Boinc Manager and click Suspend on the MilkyWay Project, that way it will stop what it's doing and not get any new tasks. You can then abort all the workunits, click update on the MilkyWay Project and they will be gone and your pc is yours again.

The n-body workunits use every cpu core you allow Boinc to use and will wait for them to be free if they aren't all free. So apparently you have allowed Boinc to use 16 cpu cores so that's what the n-body tasks are trying to do. If you want it to use less cpu cores you can use an app_config file but if you don't know how it's not exactly a plug and play thing but here's an app_config file that tells MilkyWay to only use 2 cpu cores on the n-body workunits.

<app_config>

<app>
<name>milkyway</name>
<gpu_versions>
<gpu_usage>0.5</gpu_usage>
<cpu_usage>0.5</cpu_usage>
</gpu_versions>
</app>
<app_version>
<app_name>milkyway_nbody</app_name>
<max_concurrent>1</max_concurrent>
<plan_class>mt</plan_class>
<avg_ncpus>2</avg_ncpus>
<cmdline>--nthreads 2</cmdline>
</app_version>
</app_config>

Fewer cpu cores means longer tasks so you will have to play with it to find a sweet spot, but any tasks you have on your pc will be crunched using the old settings and only NEW tasks will use any changes.


Mikey, I appreciate that you are offering to help, but why are you posting my app_config from this thread that is having problems? At least trim out the section for the Milkyway Separation tasks that are using 1/2 a CPU and GPU, it isn't relevant to this particular subject.
ID: 70087 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Profilemikey
Avatar

Send message
Joined: 8 May 09
Posts: 2425
Credit: 451,077,565
RAC: 24,346
300 million credit badge10 year member badgeextraordinary contributions badge
Message 70088 - Posted: 30 Aug 2020, 23:14:51 UTC - in response to Message 70087.  

I have Ryzen 3900x with 64 GB ram, I just had n-body use 16 cores for 1 day 18 hrs with 10 hrs remaining. After reading through some posts, I shut down bionic, restarted it. it now says that it has been running 58 mins with 11 mins left to finish but it is waiting to run. if this keeps up I will remove this program as I am the one paying the electric bill, I feel that if you cant keep this corrected, I will not spend my money on your messed up WU's.


Just go into the Boinc Manager and click Suspend on the MilkyWay Project, that way it will stop what it's doing and not get any new tasks. You can then abort all the workunits, click update on the MilkyWay Project and they will be gone and your pc is yours again.

The n-body workunits use every cpu core you allow Boinc to use and will wait for them to be free if they aren't all free. So apparently you have allowed Boinc to use 16 cpu cores so that's what the n-body tasks are trying to do. If you want it to use less cpu cores you can use an app_config file but if you don't know how it's not exactly a plug and play thing but here's an app_config file that tells MilkyWay to only use 2 cpu cores on the n-body workunits.

<app_config>

<app>
<name>milkyway</name>
<gpu_versions>
<gpu_usage>0.5</gpu_usage>
<cpu_usage>0.5</cpu_usage>
</gpu_versions>
</app>
<app_version>
<app_name>milkyway_nbody</app_name>
<max_concurrent>1</max_concurrent>
<plan_class>mt</plan_class>
<avg_ncpus>2</avg_ncpus>
<cmdline>--nthreads 2</cmdline>
</app_version>
</app_config>

Fewer cpu cores means longer tasks so you will have to play with it to find a sweet spot, but any tasks you have on your pc will be crunched using the old settings and only NEW tasks will use any changes.


Mikey, I appreciate that you are offering to help, but why are you posting my app_config from this thread that is having problems? At least trim out the section for the Milkyway Separation tasks that are using 1/2 a CPU and GPU, it isn't relevant to this particular subject.


I didn't realize I did that, I copied it from a friend who said it works fine.
ID: 70088 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote

Message boards : Number crunching : N-body sim processing time issues

©2020 Astroinformatics Group