summaryrefslogtreecommitdiffstats
path: root/vpp/conf/startup.conf
diff options
context:
space:
mode:
authorPavel Kotucek <pkotucek@cisco.com>2016-09-23 08:54:14 +0200
committerDamjan Marion <dmarion.lists@gmail.com>2016-09-27 19:35:24 +0000
commitc08a1ed69639a7ee0579c6e41f8e21f8fc595530 (patch)
treef69fd1b7e56136d2b950fe0b001b7148e811e6d2 /vpp/conf/startup.conf
parentaf405f77c74d8b41523d4e7f39a91c7aec2fd93c (diff)
Scheduler policy & priority config, few minor fixes (VPP-425)
- scheduler-prio -> scheduler-priority - improve formatting of "show threads" output - add description to "startup.conf" - bail out of priority is set without rr or fifo policy Change-Id: Idf897f7603d989d6c2d0093eea89c5d1653eaa8c Signed-off-by: Pavel Kotucek <pkotucek@cisco.com>
Diffstat (limited to 'vpp/conf/startup.conf')
-rw-r--r--vpp/conf/startup.conf10
1 files changed, 10 insertions, 0 deletions
diff --git a/vpp/conf/startup.conf b/vpp/conf/startup.conf
index f9f4690d..84a02647 100644
--- a/vpp/conf/startup.conf
+++ b/vpp/conf/startup.conf
@@ -20,6 +20,16 @@ cpu {
## Set logical CPU core(s) where worker threads are running
## by default there is no worker threads started
# corelist-workers 2-3,18-19
+
+ ## Set scheduling policy and priority of main and worker threads
+
+ ## Scheduling policy options are: other (SCHED_OTHER), batch (SCHED_BATCH)
+ ## idle (SCHED_IDLE), fifo (SCHED_FIFO), rr (SCHED_RR)
+ # scheduler-policy fifo
+
+ ## Scheduling priority is used only for "real-time policies (fifo and rr),
+ ## and has to be in the range of priorities supported for a particular policy
+ # scheduler-priority 50
}
dpdk {