From: Ian Campbell Date: Wed, 9 Sep 2009 17:08:59 +0000 (+0100) Subject: Increase the default priority of vswitchd and brcompatd X-Git-Tag: v0.99.0~110 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=44cb492f4674890732bccd2c32d7744372692577;p=sliver-openvswitch.git Increase the default priority of vswitchd and brcompatd Our hope is that this will resolve many of the issues we have seen where temporary delays in the forwarding of packets have caused issues of various types. --- diff --git a/xenserver/etc_init.d_vswitch b/xenserver/etc_init.d_vswitch index ae0b60682..3cfdd5f05 100755 --- a/xenserver/etc_init.d_vswitch +++ b/xenserver/etc_init.d_vswitch @@ -33,7 +33,7 @@ test -e /etc/sysconfig/vswitch && . /etc/sysconfig/vswitch : ${VSWITCHD_CONF:=/etc/ovs-vswitchd.conf} : ${VSWITCHD_PIDFILE:=/var/run/ovs-vswitchd.pid} : ${VSWITCHD_RUN_DIR:=/var/xen/vswitch} -: ${VSWITCHD_PRIORITY:=-5} +: ${VSWITCHD_PRIORITY:=-10} : ${VSWITCHD_LOGFILE:=/var/log/ovs-vswitchd.log} : ${VSWITCHD_FILE_LOGLEVEL:=} : ${VSWITCHD_SYSLOG_LOGLEVEL:=WARN} @@ -46,7 +46,7 @@ test -e /etc/sysconfig/vswitch && . /etc/sysconfig/vswitch # Config variables specific to ovs-brcompatd : ${BRCOMPATD_PIDFILE:=/var/run/ovs-brcompatd.pid} : ${BRCOMPATD_RUN_DIR:=/var/xen/vswitch} -: ${BRCOMPATD_PRIORITY:=-5} +: ${BRCOMPATD_PRIORITY:=-10} : ${BRCOMPATD_LOGFILE:=/var/log/ovs-brcompatd.log} : ${BRCOMPATD_FILE_LOGLEVEL:=} : ${BRCOMPATD_SYSLOG_LOGLEVEL:=INFO} diff --git a/xenserver/root_vswitch_scripts_sysconfig.template b/xenserver/root_vswitch_scripts_sysconfig.template index 295392ee9..f848e7b42 100644 --- a/xenserver/root_vswitch_scripts_sysconfig.template +++ b/xenserver/root_vswitch_scripts_sysconfig.template @@ -41,7 +41,7 @@ # VSWITCHD_PRIORITY: "nice" priority at which to run ovs-vswitchd and related # processes. -# VSWITCHD_PRIORITY=-5 +# VSWITCHD_PRIORITY=-10 # VSWITCHD_LOGFILE: File to send the FILE_LOGLEVEL log messages to. # VSWITCHD_LOGFILE=/var/log/ovs-vswitchd.log @@ -103,7 +103,7 @@ # BRCOMPATD_PRIORITY: "nice" priority at which to run ovs-vswitchd and related # processes. -# BRCOMPATD_PRIORITY=-5 +# BRCOMPATD_PRIORITY=-10 # BRCOMPATD_LOGFILE: File to send the FILE_LOGLEVEL log messages to. # BRCOMPATD_LOGFILE=/var/log/ovs-brcompatd.log