aboutsummaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to 'config')
-rw-r--r--config/odp-linux-generic.conf25
1 files changed, 14 insertions, 11 deletions
diff --git a/config/odp-linux-generic.conf b/config/odp-linux-generic.conf
index bddc92dd4..4fe02cf29 100644
--- a/config/odp-linux-generic.conf
+++ b/config/odp-linux-generic.conf
@@ -16,7 +16,7 @@
# Mandatory fields
odp_implementation = "linux-generic"
-config_file_version = "0.0.1"
+config_file_version = "0.1.0"
# Shared memory options
shm: {
@@ -73,14 +73,17 @@ sched_basic: {
# 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
+ # Burst size configuration per priority. The first array element
+ # represents the highest queue priority. The scheduler tries to get
+ # burst_size_default[prio] events from a queue and stashes those that
+ # cannot be passed to the application immediately. More events than the
+ # default burst size may be returned from application request, but no
+ # more than burst_size_max[prio].
+ #
+ # Large burst sizes improve throughput, but decrease application
+ # responsiveness to higher priority events due to head of line blocking
+ # caused by a burst of lower priority events.
+ burst_size_default = [ 32, 32, 32, 32, 32, 16, 8, 4]
+ burst_size_max = [255, 255, 255, 255, 255, 16, 16, 8]
+
}