diff options
author | Matias Elo <matias.elo@nokia.com> | 2021-03-03 14:48:53 +0200 |
---|---|---|
committer | Matias Elo <matias.elo@nokia.com> | 2021-03-12 09:29:31 +0200 |
commit | 4ba3f5d74e0a7ecddd87820616a6345a71a7a572 (patch) | |
tree | d76a319ce0e29130d82f6408a725f2941d27441e /config | |
parent | 71b14e62694411f06478b337dbaeccd5db6630de (diff) |
Port 11ed8e34d "linux-gen: thread: read maximum number of threads from config file"
Port original commit from linux-generic.
Signed-off-by: Matias Elo <matias.elo@nokia.com>
Reviewed-by: Jere Leppänen <jere.leppanen@nokia.com>
Diffstat (limited to 'config')
-rw-r--r-- | config/odp-linux-dpdk.conf | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/config/odp-linux-dpdk.conf b/config/odp-linux-dpdk.conf index 57090a65f..4594ba997 100644 --- a/config/odp-linux-dpdk.conf +++ b/config/odp-linux-dpdk.conf @@ -16,7 +16,7 @@ # Mandatory fields odp_implementation = "linux-dpdk" -config_file_version = "0.1.9" +config_file_version = "0.1.10" # System options system: { @@ -29,6 +29,12 @@ system: { # odp_cpu_hz_max_id() calls on platforms where max frequency isn't # available using standard Linux methods. cpu_mhz_max = 1400 + + # Maximum number of ODP threads that can be created. + # odp_thread_count_max() returns this value or the build time + # maximum ODP_THREAD_COUNT_MAX, whichever is lower. This setting + # can be used to reduce thread related resource usage. + thread_count_max = 256 } # Pool options |