Message boards :
Number crunching :
cpu usage
Message board moderation
Author | Message |
---|---|
nairb Send message Joined: 17 Feb 09 Posts: 24 Credit: 3,267,551 RAC: 1,178 ![]() ![]() |
On both the win10 & linux machines the nbody tasks only seem to use about 90% of the cpu. Both have the cpu usage set to 100% on the computing prefs. Other projects use the full cpu (100%). Is this typical of the nbody process?? Ta Nairb |
diego Send message Joined: 9 Jun 22 Posts: 2 Credit: 8,588,417 RAC: 31,436 ![]() |
same here, n-body (12 CPUs) using 82%... |
Link![]() Send message Joined: 19 Jul 10 Posts: 397 Credit: 17,517,035 RAC: 11,835 ![]() ![]() |
IIRC the solution is to run more than one task concurrently with app_config.xml file. <app_config> <app> <name>milkyway_nbody</name> <max_concurrent>3</max_concurrent> </app> <app_version> <app_name>milkyway_nbody</app_name> <plan_class>mt</plan_class> <avg_ncpus>4.0</avg_ncpus> <cmdline>--nthreads 4</cmdline> </app_version> </app_config> This will run 3 n-Body tasks with each 4 threads on a 12 core CPU. If that isn't enough, you can try "--nthreads 5" without changing anything else, but you'll have to see, if that really improves the throughput. Don't do it, if the CPU also needs to feed a GPU. . ![]() |
diego Send message Joined: 9 Jun 22 Posts: 2 Credit: 8,588,417 RAC: 31,436 ![]() |
thanksss, 95% now |
©2023 Astroinformatics Group