Download more sensible "number of core" tasks on multicore projects

Message boards : Questions and problems : Download more sensible "number of core" tasks on multicore projects
Message board moderation

To post messages, you must log in.

AuthorMessage
Profile Keith Myers
Volunteer tester
Help desk expert
Avatar

Send message
Joined: 17 Nov 16
Posts: 867
United States
Message 100338 - Posted: 19 Aug 2020, 0:50:19 UTC - in response to Message 100337.  

I have two machines which have 24 cores. If I assign them to do Milkyway, they get the largest multicore tasks possible from that project - 16 core tasks. This leaves 8 cores free. Couldn't Boinc either:

Ask for two 12 core tasks.

Download from my second highest weighted project some single core tasks?

Use a app_config and set the MT task to use 12 threads per task so that you can run two tasks per machine.

Or set to use 4 threads per tasks and run six tasks per machine concurrently. Just have to set the MT application up correctly.

The BOINC documentation is here. https://boinc.berkeley.edu/wiki/Client_configuration#Application_configuration

The section on app_config gives an example.

<app_config>
   [<app>
      <name>Application_Name</name>
      <max_concurrent>1</max_concurrent>
      [<report_results_immediately/>]
      [<fraction_done_exact/>]
      <gpu_versions>
          <gpu_usage>.5</gpu_usage>
          <cpu_usage>.4</cpu_usage>
      </gpu_versions>
    </app>]
   ...
   [<app_version>
       <app_name>Application_Name</app_name>
       [<plan_class>mt</plan_class>]
       [<avg_ncpus>x</avg_ncpus>]
       [<ngpus>x</ngpus>]
       [<cmdline>--nthreads 7</cmdline>]
   </app_version>]
   ...
   [<project_max_concurrent>N</project_max_concurrent>]
   [<report_results_immediately/>]
</app_config>


The key part is just specifying the --nthreads value you desire.
ID: 100338 · Report as offensive

Message boards : Questions and problems : Download more sensible "number of core" tasks on multicore projects

Copyright © 2024 University of California.
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.