aboutsummaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorMatias Elo <matias.elo@nokia.com>2018-07-26 14:19:31 +0300
committerMatias Elo <matias.elo@nokia.com>2018-07-26 14:41:38 +0300
commitba82f67d9286b8dc51b4f5d9c22aee29f7f6920b (patch)
tree1d9a93d7aa2cd0288e31e4a071b41aca761d7743 /config
parent772dce81a582bccab74f3ba5f3b089345fd5dd91 (diff)
Port ee6fdca6 "linux-gen: sched: configurable default burst size"
Signed-off-by: Matias Elo <matias.elo@nokia.com>
Diffstat (limited to 'config')
-rw-r--r--config/odp-linux-dpdk.conf11
1 files changed, 11 insertions, 0 deletions
diff --git a/config/odp-linux-dpdk.conf b/config/odp-linux-dpdk.conf
index 33296080c..963ab97f3 100644
--- a/config/odp-linux-dpdk.conf
+++ b/config/odp-linux-dpdk.conf
@@ -46,4 +46,15 @@ sched_basic: {
# uneven service level for low thread counts. Typically, optimal
# value is the number of threads using the scheduler.
prio_spread = 4
+
+ # Default burst sizes for high and low priority queues. The default
+ # and higher priority levels are considered as high. Scheduler
+ # rounds up number of requested events up to these values. In general,
+ # larger requests are not round down. So, larger bursts than these may
+ # received when requested. A large burst size improves throughput,
+ # but decreases application responsiveness to high priority events
+ # due to head of line blocking cause by a burst of low priority
+ # events.
+ burst_size_hi = 32
+ burst_size_low = 16
}