This patch is used to update yardstick branch and provide
breaktrace value for executing cyclictest. Also used to
disable kernel timer migration on guest.
Change-Id: I44237b6a3711aa22bcabd0aaad199057efa38137
Signed-off-by: Gundarapu Kalyan Reddy <reddyx.gundarapu@intel.com>
# Disable RT throttling
echo -1 > /proc/sys/kernel/sched_rt_period_us
echo -1 > /proc/sys/kernel/sched_rt_runtime_us
+
+# Disable the timer migration
+echo 0 > /proc/sys/kernel/timer_migration
#kvmfornfv1 image has all dependency packages installed.
#
FROM kvmfornfv1:latest
-RUN cd /root && git clone https://gerrit.opnfv.org/gerrit/p/yardstick.git -b stable/danube
+RUN cd /root && git clone https://gerrit.opnfv.org/gerrit/p/yardstick.git
RUN sed -i -e "s/3600/9000/g" /root/yardstick/yardstick/ssh.py
RUN cd /root/yardstick && python setup.py install
WORKDIR /root
# For this sample just like running the command below on the test vm and
# getting latencies info back to the yardstick.
#
-# sudo bash cyclictest -a 1 -i 1000 -p 99 -l 1000 -t 1 -h 90 -m -n -q
+# sudo bash cyclictest -a 1 -b 1200000 -i 1000 -p 99 -l 1000 -t 1 -h 90 -m -n -q
#
schema: "yardstick:task:0.1"
type: Cyclictest
options:
affinity: 1
+ breaktrace: 1200000
interval: 1000
priority: 99
loops: 600000