aboutsummaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorMatias Elo <matias.elo@nokia.com>2022-07-15 16:39:14 +0300
committerMatias Elo <matias.elo@nokia.com>2022-09-07 13:48:45 +0300
commite10feab32a9950f90e276662bb244c8e81d42553 (patch)
tree0aca4e09d6827ba25ee8d9bc3764afcd5e4c83b4 /config
parent017bdcdb4a100c32583ddaf99ace7997d73b1510 (diff)
linux-gen: sched: add configuration options for per queue type burst sizes
Add new configuration file options for adjusting scheduler burst sizes per scheduled queue type. Use 32-bit fast path variables for improved arithmetic operation performance. Signed-off-by: Matias Elo <matias.elo@nokia.com> Reviewed-by: Tuomas Taipale <tuomas.taipale@nokia.com> Reviewed-by: Petri Savolainen <petri.savolainen@nokia.com>
Diffstat (limited to 'config')
-rw-r--r--config/odp-linux-generic.conf12
1 files changed, 11 insertions, 1 deletions
diff --git a/config/odp-linux-generic.conf b/config/odp-linux-generic.conf
index 9c5e85242..f8accd07f 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.1.21"
+config_file_version = "0.1.22"
# System options
system: {
@@ -211,6 +211,16 @@ sched_basic: {
burst_size_default = [ 32, 32, 32, 32, 32, 16, 8, 4]
burst_size_max = [255, 255, 255, 255, 255, 16, 16, 8]
+ # Burst size configuration per priority for each scheduled queue type.
+ # Overrides default values set in 'burst_size_default' and
+ # 'burst_size_max' if != 0.
+ burst_size_parallel = [0, 0, 0, 0, 0, 0, 0, 0]
+ burst_size_max_parallel = [0, 0, 0, 0, 0, 0, 0, 0]
+ burst_size_atomic = [0, 0, 0, 0, 0, 0, 0, 0]
+ burst_size_max_atomic = [0, 0, 0, 0, 0, 0, 0, 0]
+ burst_size_ordered = [0, 0, 0, 0, 0, 0, 0, 0]
+ burst_size_max_ordered = [0, 0, 0, 0, 0, 0, 0, 0]
+
# Automatically updated schedule groups
#
# DEPRECATED: use odp_schedule_config() API instead