Skip to content

plan_class without <max_threads> uses always only 1 thread #1879

Description

@UweBeckert

This plan_class:

     <plan_class>
         <name>                  16t          </name>
         <min_ncpus>             16           </min_ncpus>
         <nthreads_cmdline/>
     </plan_class>

Uses only 1 thread. It sends to the client

     <platform>windows_x86_64</platform>
     <plan_class>16t</plan_class>
     <avg_ncpus>1.000000</avg_ncpus>
     <max_ncpus>1.000000</max_ncpus>
     <flops>3718491507.830066</flops>
     <cmdline> --nthreads 1</cmdline>

But if I extend the plan_class with

<max_threads>           512          </max_threads>

It sends 16 threads to the client.

max_threads should be considered as very big or at least min_ncpus if missing. But it shouldn't be 1 as default.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    • Status
      Backlog

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions