Adding breaktrace & disabling timer migration 77/34477/2
authorkalyanreddy <reddyx.gundarapu@intel.com>
Tue, 9 May 2017 09:29:00 +0000 (14:59 +0530)
committerKalyan reddy Gundarapu <reddyx.gundarapu@intel.com>
Tue, 9 May 2017 13:17:28 +0000 (13:17 +0000)
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>
ci/envs/guest-setup1.sh
docker_image_build/Dockerfile
tests/kvmfornfv_cyclictest_hostenv_guestenv.yaml

index 678baa4..6d790a0 100755 (executable)
@@ -24,3 +24,6 @@ set_irq_affinity
 # 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
index 6af1176..f292bf2 100644 (file)
@@ -4,7 +4,7 @@
 #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
index 0a35e95..3f477f4 100644 (file)
@@ -5,7 +5,7 @@
 # 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"
@@ -15,6 +15,7 @@ scenarios:
   type: Cyclictest
   options:
     affinity: 1
+    breaktrace: 1200000
     interval: 1000
     priority: 99
     loops: 600000