From 9ada1609d84cc954c9235e6bd056850c10dfccc5 Mon Sep 17 00:00:00 2001 From: Xavier Simonart Date: Fri, 28 Jun 2019 15:47:55 +0200 Subject: Add option to change scheduler policy to SCHED_RR and increase scheduler priority Set "realtime scheduling=yes" option to change Linux scheduler policy to SCHED_RR and increase the priority to the maximum possible for the policy. Change-Id: I3ecef5cbc3816cf2b56364bb4e806ae5ac093c23 Signed-off-by: Xavier Simonart --- VNFs/DPPD-PROX/lconf.h | 1 + 1 file changed, 1 insertion(+) (limited to 'VNFs/DPPD-PROX/lconf.h') diff --git a/VNFs/DPPD-PROX/lconf.h b/VNFs/DPPD-PROX/lconf.h index 4bfa705d..8ac1112e 100644 --- a/VNFs/DPPD-PROX/lconf.h +++ b/VNFs/DPPD-PROX/lconf.h @@ -52,6 +52,7 @@ struct lconf_msg { #define LCONF_FLAG_TX_DISTR_ACTIVE 0x00000004 #define LCONF_FLAG_RX_BW_ACTIVE 0x00000008 #define LCONF_FLAG_TX_BW_ACTIVE 0x00000010 +#define LCONF_FLAG_SCHED_RR 0x00000020 struct lcore_cfg { /* All tasks running at the moment. This is empty when the core is stopped. */ -- cgit 1.2.3-korg