aboutsummaryrefslogtreecommitdiff
path: root/config/odp-linux-generic.conf
diff options
context:
space:
mode:
authorPetri Savolainen <petri.savolainen@linaro.org>2018-10-25 16:53:39 +0300
committerMaxim Uvarov <maxim.uvarov@linaro.org>2018-10-31 23:15:41 +0300
commit297cd7e9f93e31dd5a640b707895d702d17b30ae (patch)
treeeec95d56a3955d7d004df9dfb9e2d57fbb416631 /config/odp-linux-generic.conf
parentd945bf9517ab5abfc59447ab30456d1ca9716a5a (diff)
linux-gen: config: add schedule group config file options
Added options to disable unused automatic schedule groups. Signed-off-by: Petri Savolainen <petri.savolainen@linaro.org> Reviewed-by: Bill Fischofer <bill.fischofer@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
Diffstat (limited to 'config/odp-linux-generic.conf')
-rw-r--r--config/odp-linux-generic.conf13
1 files changed, 12 insertions, 1 deletions
diff --git a/config/odp-linux-generic.conf b/config/odp-linux-generic.conf
index 2417d23f2..4585a8964 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.2"
+config_file_version = "0.1.3"
# Shared memory options
shm: {
@@ -114,4 +114,15 @@ sched_basic: {
burst_size_default = [ 32, 32, 32, 32, 32, 16, 8, 4]
burst_size_max = [255, 255, 255, 255, 255, 16, 16, 8]
+ # Automatically updated schedule groups
+ #
+ # API specification defines that ODP_SCHED_GROUP_ALL,
+ # _WORKER and _CONTROL are updated automatically. These options can be
+ # used to disable these group when not used. Set value to 0 to disable
+ # a group. Performance may improve when unused groups are disabled.
+ group_enable: {
+ all = 1
+ worker = 1
+ control = 1
+ }
}