diff options
author | Matias Elo <matias.elo@nokia.com> | 2018-04-04 14:30:11 +0300 |
---|---|---|
committer | Matias Elo <matias.elo@nokia.com> | 2018-04-26 10:04:51 +0300 |
commit | 94ef2a5f39d136822e05c7b2d43a4baf55210042 (patch) | |
tree | 36d8b198d995767e638d0e36e2a975e9f0f8dade /config | |
parent | 9f124353fdd88e0a4fdb4a14234b7699dfc273db (diff) |
Port bcd246e "linux-gen: sched: configurable priority spread"
Signed-off-by: Matias Elo <matias.elo@nokia.com>
Diffstat (limited to 'config')
-rw-r--r-- | config/odp-linux-dpdk.conf | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/config/odp-linux-dpdk.conf b/config/odp-linux-dpdk.conf index 0c4c5781f..33296080c 100644 --- a/config/odp-linux-dpdk.conf +++ b/config/odp-linux-dpdk.conf @@ -38,3 +38,12 @@ queue_basic: { # Default queue size. Value must be a power of two. default_queue_size = 4096 } + +sched_basic: { + # Priority level spread. Each priority level is spread into multiple + # scheduler internal queues. A higher spread value typically improves + # parallelism and thus is better for high thread counts, but causes + # uneven service level for low thread counts. Typically, optimal + # value is the number of threads using the scheduler. + prio_spread = 4 +} |