summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkalyanreddy <reddyx.gundarapu@intel.com>2017-05-09 14:59:00 +0530
committerKalyan reddy Gundarapu <reddyx.gundarapu@intel.com>2017-05-09 13:17:28 +0000
commitd8eeb9b99d73f72c6a2cc61c05cdc727fdae4910 (patch)
treea695660761f4543e51cadadb00293b28b7f1ce9a
parent4038e157f640ad185d5469c146c8f0faf23dd3ec (diff)
Adding breaktrace & disabling timer migration
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>
-rwxr-xr-xci/envs/guest-setup1.sh3
-rw-r--r--docker_image_build/Dockerfile2
-rw-r--r--tests/kvmfornfv_cyclictest_hostenv_guestenv.yaml3
3 files changed, 6 insertions, 2 deletions
diff --git a/ci/envs/guest-setup1.sh b/ci/envs/guest-setup1.sh
index 678baa43b..6d790a080 100755
--- a/ci/envs/guest-setup1.sh
+++ b/ci/envs/guest-setup1.sh
@@ -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
diff --git a/docker_image_build/Dockerfile b/docker_image_build/Dockerfile
index 6af1176f4..f292bf2f5 100644
--- a/docker_image_build/Dockerfile
+++ b/docker_image_build/Dockerfile
@@ -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
diff --git a/tests/kvmfornfv_cyclictest_hostenv_guestenv.yaml b/tests/kvmfornfv_cyclictest_hostenv_guestenv.yaml
index 0a35e95a3..3f477f44e 100644
--- a/tests/kvmfornfv_cyclictest_hostenv_guestenv.yaml
+++ b/tests/kvmfornfv_cyclictest_hostenv_guestenv.yaml
@@ -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