Posts by Aurum

1) Message boards : Number crunching : How do I get YAFU to stop sending me tasks that use up 100% of my cores? (Message 1344)
Posted 27 Dec 2018 by Aurum
Post:
Hi YoYo, When you define your own class plans (<plan_class>16t</plan_class> & <plan_class>32t</plan_class>) don't you have to pass the client your plan_class_spec.xml file???
https://boinc.berkeley.edu/trac/wiki/AppPlanSpec

This app_config.xml is not working to control number of threads used:
   <app>
      <name>yafu-16t</name>
   </app>
   <app_version>
      <app_name>yafu-16t</app_name>
      <plan_class>16t</plan_class>
      <cmdline>--nthreads 16</cmdline>
      <nthreads_cmdline>1</nthreads_cmdline>
   </app_version>
   <app>
      <name>yafu-32t</name>
   </app>
   <app_version>
      <app_name>yafu-32t</app_name>
      <plan_class>32t</plan_class>
      <cmdline>--nthreads 32</cmdline>
      <nthreads_cmdline>1</nthreads_cmdline>
   </app_version>
My client_state.xml file says:
<app_version>
    <app_name>yafu-32t</app_name>
    <version_num>13401</version_num>
    <platform>x86_64-pc-linux-gnu</platform>
    <avg_ncpus>40.000000</avg_ncpus>
    <flops>122619847136.720169</flops>
    <plan_class>32t</plan_class>
    <api_version>7.1.0</api_version>
    <cmdline>--nthreads 32</cmdline>
And 32t still takes all 40 CPU threads.
https://boinc.berkeley.edu/trac/wiki/AppPlan#Predefinedplanclasses

BTW, can't see the check marks in my Yafu Preferences Run only the selected applications.
2) Message boards : Number crunching : How do I get YAFU to stop sending me tasks that use up 100% of my cores? (Message 1343)
Posted 26 Dec 2018 by Aurum
Post:
I think your app_config.xml should be more like:
<app_config>
<app>
<name>yafu-8t</name>
<max_concurrent>4</max_concurrent>
<fraction_done_exact/>
</app>
<app_version>
<app_name>yafu-8t</app_name>
<plan_class>mt</plan_class>
<cmdline>--nthreads 12</cmdline>
<avg_ncpus>12</avg_ncpus>
</app_version>
</app_config>

I suspect <avg_ncpus>12</avg_ncpus> is not needed if <cmdline>--nthreads 12</cmdline> is issued.
Edit: Tried it sans <avg_ncpus> and Yafu wants every thread I've got. Need to include it.

See: https://boinc.berkeley.edu/trac/wiki/AppPlanSpec and https://boinc.berkeley.edu/trac/wiki/AppPlan#Predefinedplanclasses







Datenschutz / Privacy Copyright © 2011-2019 Rechenkraft.net e.V. & yoyo