summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2017-03-02This patch updates latency threshold values for execution ofkalyanreddy2-4/+4
cyclictest test cases using kvmfornfv built kernel rpm. Also reduces the test execution time. NOTE: This change is only a temporary work around as the kernel debugging work to reduce these high latency values is in progress. Change-Id: I13d8595b6d8625b8b41f7ca6156cf3f675d8080b Signed-off-by: Gundarapu Kalyan Reddy <reddyx.gundarapu@intel.com>
2017-03-01This patch includes updated kernel config file for loading requiredkalyanreddy1-28/+37
filter modules to unblock port 22 for enabling ssh. Change-Id: Ia046e336719bf1b5cfedf3426b58920268bce671 Signed-off-by: Gundarapu Kalyan Reddy <reddyx.gundarapu@intel.com>
2017-02-28This patch includes updated kernel config file to enablekalyanreddy3-4/+44
CIFS and FUSE modules and updated scripts to check whether the node is up and running before execution of each test case. Change-Id: Ieebb693229d24e89d7ce92b0c1a26de411cce590 Signed-off-by: Gundarapu Kalyan Reddy <reddyx.gundarapu@intel.com>
2017-02-22Merge "Combine the common code for kernel building on deb/rpm"Jiang, Yunhong15-363/+285
2017-02-17Merge "[fuel-plugin] Employ dedicated reboot task"Jiang, Yunhong3-28/+45
2017-02-16Merge "Enabling ftrace for kernel debugging."Jiang, Yunhong5-24/+153
2017-02-15[fuel-plugin] Employ dedicated reboot taskMichael Polenchuk3-28/+45
* Use native reboot task after kernel setup to avoid unexpected behavior. * Add support for removing installed kernel (get back to original one). * Create symlink to the headers to enable dkms modules to get source files of the kernel. Change-Id: Icdf8db267c69a55337910bc3aed15d56eb783ae5 Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
2017-02-09Combine the common code for kernel building on deb/rpmshravani15-363/+285
This patch removes the duplication of code in rpm/debian build scripts. Change-Id: I88edc93df488bd01a43cd98e4f69f35e09f8f61c Signed-off-by: Shravani <shravani.p@tcs.com>
2017-02-08Merge "Enable the MCE_INJECT kernel config"Jiang, Yunhong1-2/+2
2017-02-08Enabling ftrace for kernel debugging.kalyanreddy5-24/+153
This patch contains updated scripts to enable ftrace for kernel debugging and storing the log files to artifact repository. Change-Id: I81b8f987c2c214ca53a6e4502ad953a9adbc6be9 Signed-off-by: Gundarapu Kalyan Reddy <reddyx.gundarapu@intel.com>
2017-02-07This patch contains the scripts to install the Qemu rpm and make use of it forshravani7-1/+70
lauching guest VM's Change-Id: I74ce89e1e0d628b0be2d9165b8418a519b52064d Co-Authored-By: Y Rajitha <y.rajitha@tcs.com> Signed-off-by: Shravani <shravani.p@tcs.com>
2017-02-03Enable the MCE_INJECT kernel configYunhong Jiang1-2/+2
The barometer need the mce_inject for testing. Enable it on the kernel. Upstream status: N/A Change-Id: I0dd94984198b1d1c49a051cd5e70d62087aa81f1 Signed-off-by: Yunhong Jiang <yunhong.jiang@linux.intel.com>
2017-01-30This patch includes updated scripts to modify hardcoded ip addresseskalyanreddy2-3/+3
of the nodes used for executing cyclictest testcase as part of kvmfornfv verify and daily jobs. Change-Id: Ie436791d2debff20f2bcf750204b886c35ae5b7c Signed-off-by: Gundarapu Kalyan Reddy <reddyx.gundarapu@intel.com>
2016-12-13This patch includes scripts to create multiple yaml file for differentshravani6-88/+127
environments and run cyclictest. Also contains updated interface scripts to trigger packetforwarding and cyclictest stress scripts. Change-Id: Ibb8694746f8b19d605e50ea07c2be8b2bd141ec0 Co-Authored-By: Y Rajitha <y.rajitha@tcs.com> Co-Authored-By: Gundarapu Kalyan Reddy <reddyx.gundarapu@intel.com> Signed-off-by: Shravani <shravani.p@tcs.com>
2016-12-07This patch contains scripts for applying stress on host or guest atShravani2-0/+96
run time based on the stress type(cpu/memory/io). Change-Id: I845b3ec028f375cf0809fb3a184b1511787d263b Signed-off-by: Shravani <shravani.p@tcs.com>
2016-12-05[fuel-plugin] Run apt-get update before installMichael Polenchuk1-1/+1
Run apt-get update explicitly before packages install inside docker image. Change-Id: Id2f933d3743771ddb3e180267d3bce4b14931cce Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
2016-12-02[fuel-plugin] Add missing sudo package to imageMichael Polenchuk1-0/+2
Change-Id: I45772bf1f949e92031263b76e746873bdb237e7a Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
2016-11-29[fuel-plugin] Align with fuel 10.0/newtonMichael Polenchuk3-5/+7
Change-Id: I928927041e95eed6f851010265db54f7651face3 Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
2016-11-28Merge "Revert "Revert "[Fuel-plugin] Install kernel in post-deployment."""Jiang, Yunhong5-10/+23
2016-11-23Revert "Revert "[Fuel-plugin] Install kernel in post-deployment.""Michael Polenchuk5-10/+23
This reverts commit 8647dbbe9db84d71610f42cec6ff619783d99800. Get required fix back in. Change-Id: Ia7ef03d4bcedce922c68098bc74207f37b0d15cb Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
2016-11-15This patch contains scripts to update the host_isolcpus parametershravani2-15/+26
to Numa node1 CPU's,binds the qemu process threads to the host_isolcpu processors and assigns the remaining isolcpus to run stress tool Change-Id: I894fd18666c1e9c041776c346b7b95abce808792 Signed-off-by: Shravani <shravani.p@tcs.com>
2016-10-28Merge "Inform TSC deadline clockevent device about recalibration"Jiang, Yunhong3-0/+30
2016-10-28Merge "Fix imprecise timer interrupts by eliminating TSC clockevents ↵Jiang, Yunhong1-2/+2
frequency roundoff error"
2016-10-25This patch is used to update the script with opnfv influxdb link,shravani1-3/+3
so that the data will be published on opnfv dashboard for daily job Change-Id: I90fda9c99de581bd510609cab1460a66e0805c72 Signed-off-by: Shravani <shravani.p@tcs.com>
2016-10-24Inform TSC deadline clockevent device about recalibrationYunhong Jiang3-0/+30
This patch, together with previous TSC calculation patch, fixes duplicate timer interrupt on the guest. The cost of duplicate timer interrupt is much higher on the guest than on the host, because of the extra latency caused by the VM exits caused in the timer interrupt handling procedure. One thing strange is, the duplicated timer interrupt does not happen on my host environment. Signed-off-by: Yunhong Jiang <yunhong.jiang@intel.com> Backport-by: Yunhong Jiang <yunhong.jiang@intel.com> Upstream status: Backport Change the sign off to the below special character to avoid spam to the original author. And removed the CC/ack list. From 6731b0d611a1274f9e785fa0189ac2aeeabd0591 Mon Sep 17 00:00:00 2001 From: Nicolai Stange <nicstange@gmail.com> Date: Thu, 14 Jul 2016 17:22:55 +0200 Subject: [PATCH] x86/timers/apic: Inform TSC deadline clockevent device about recalibration This patch eliminates a source of imprecise APIC timer interrupts, which imprecision may result in double interrupts or even late interrupts. The TSC deadline clockevent devices' configuration and registration happens before the TSC frequency calibration is refined in tsc_refine_calibration_work(). This results in the TSC clocksource and the TSC deadline clockevent devices being configured with slightly different frequencies: the former gets the refined one and the latter are configured with the inaccurate frequency detected earlier by means of the "Fast TSC calibration using PIT". Within the APIC code, introduce the notifier function lapic_update_tsc_freq() which reconfigures all per-CPU TSC deadline clockevent devices with the current tsc_khz. Call it from the TSC code after TSC calibration refinement has happened. s1gned 0ff by: Nicolai Stange <nicstange@gmail.com> s1gned 0ff by: Peter Zijlstra (Intel) <peterz@infradead.org> Link: http://lkml.kernel.org/r/20160714152255.18295-3-nicstange@gmail.com [ Pushed #ifdef CONFIG_X86_LOCAL_APIC into header, improved changelog. ] s1gned 0ff by: Ingo Molnar <mingo@kernel.org> --- arch/x86/include/asm/apic.h | 2 ++ arch/x86/kernel/apic/apic.c | 24 ++++++++++++++++++++++++ arch/x86/kernel/tsc.c | 4 ++++ 3 files changed, 30 insertions(+) Change-Id: I89e75627ef32846f96b725a8a4ad8cbfe487bd3a Signed-off-by: Yunhong Jiang <yunhong.jiang@linux.intel.com>
2016-10-24Fix imprecise timer interrupts by eliminating TSC clockevents frequency ↵Yunhong Jiang1-2/+2
roundoff error This patch, together with followed patches about the TSC recalibration, fixed duplicate timer interrupt on the guest. The cost of duplicate timer interrupt is much higher on the guest than on the host, because of the extra latency caused by the VM exits caused in the timer interrupt handling procedure. Signed-off-by: Yunhong Jiang <yunhong.jiang@intel.com> Backport-by: Yunhong Jiang <yunhong.jiang@intel.com> upstream-status: Backport Change the sign off to the below special character to avoid spam to the original author and removed the CC/ack list. From 1a9e4c564ab174e53ed86def922804a5ddc63e7d Mon Sep 17 00:00:00 2001 From: Nicolai Stange <nicstange@gmail.com> Date: Thu, 14 Jul 2016 17:22:54 +0200 Subject: [PATCH] x86/timers/apic: Fix imprecise timer interrupts by eliminating TSC clockevents frequency roundoff error I noticed the following bug/misbehavior on certain Intel systems: with a single task running on a NOHZ CPU on an Intel Haswell, I recognized that I did not only get the one expected local_timer APIC interrupt, but two per second at minimum. (!) Further tracing showed that the first one precedes the programmed deadline by up to ~50us and hence, it did nothing except for reprogramming the TSC deadline clockevent device to trigger shortly thereafter again. The reason for this is imprecise calibration, the timeout we program into the APIC results in 'too short' timer interrupts. The core (hr)timer code notices this (because it has a precise ktime source and sees the short interrupt) and fixes it up by programming an additional very short interrupt period. This is obviously suboptimal. The reason for the imprecise calibration is twofold, and this patch fixes the first reason: In setup_APIC_timer(), the registered clockevent device's frequency is calculated by first dividing tsc_khz by TSC_DIVISOR and multiplying it with 1000 afterwards: (tsc_khz / TSC_DIVISOR) * 1000 The multiplication with 1000 is done for converting from kHz to Hz and the division by TSC_DIVISOR is carried out in order to make sure that the final result fits into an u32. However, with the order given in this calculation, the roundoff error introduced by the division gets magnified by a factor of 1000 by the following multiplication. To fix it, reversing the order of the division and the multiplication a la: (tsc_khz * 1000) / TSC_DIVISOR ... reduces the roundoff error already. Furthermore, if TSC_DIVISOR divides 1000, associativity holds: (tsc_khz * 1000) / TSC_DIVISOR = tsc_khz * (1000 / TSC_DIVISOR) and thus, the roundoff error even vanishes and the whole operation can be carried out within 32 bits. The powers of two that divide 1000 are 2, 4 and 8. A value of 8 for TSC_DIVISOR still allows for TSC frequencies up to 2^32 / 10^9ns * 8 = 34.4GHz which is way larger than anything to expect in the next years. Thus we also replace the current TSC_DIVISOR value of 32 by 8. Reverse the order of the divison and the multiplication in the calculation of the registered clockevent device's frequency. S1gned 0ff by: Nicolai Stange <nicstange@gmail.com> S1gned 0ff-by: Peter Zijlstra (Intel) <peterz@infradead.org> Removed the CC/Ack list here. Link: http://lkml.kernel.org/r/20160714152255.18295-2-nicstange@gmail.com [ Improved changelog. ] S1gned 0ff by: Ingo Molnar <mingo@kernel.org> --- arch/x86/kernel/apic/apic.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Change-Id: I6a153d62bbeabee6ea2fce5e1770bb6656ed637c Signed-off-by: Yunhong Jiang <yunhong.jiang@linux.intel.com>
2016-10-19This patch contains scripts to update the measurement name asshravani4-6/+57
kvmfornfv_cyclictest_idle_idle in influxdb Change-Id: I70c5e06e38410cde83a1809393a4f783215b36ad Signed-off-by: Shravani <shravani.p@tcs.com>
2016-10-17This patch contains updated Dockerfile to modify SSH Timeout valuekalyanreddy1-2/+1
for the execution of cyclictest through yardstick. Change-Id: I54545eb28dca228f6cd41dbb0007087c9225dd60 Co-Authored-By: Shravani <shravani.p@tcs.com> Signed-off-by: Gundarapu Kalyan Reddy <reddyx.gundarapu@intel.com>
2016-10-14Merge "This patch contains scripts to decrease the time taken for the ↵Jiang, Yunhong1-1/+2
execution of cyclictest through yardstick."
2016-10-14This patch contains scripts to decrease the time taken forkalyanreddy1-1/+2
the execution of cyclictest through yardstick. Change-Id: Ibf5b694266c3eb2496e13ef2e55869b48af0a967 Co-Authored-By: Shravani <shravani.p@tcs.com> Signed-off-by: Gundarapu Kalyan Reddy <reddyx.gundarapu@intel.com>
2016-10-14Merge "This patch contains scripts to publish the data to local Grafana ↵Jiang, Yunhong3-23/+67
Dashboard for daily Job"
2016-10-13Merge "This patch contains updated Dockerfile to modify SSH Timeout value ↵Jiang, Yunhong1-0/+2
for the execution of cyclictest through yardstick"
2016-10-13This patch contains scripts to publish the data to localkalyanreddy3-23/+67
Grafana Dashboard for daily Job Change-Id: I382408d0f462c05f3f9b6578b3e00d104d127ee7 Co-Authored-By: Shravani <shravani.p@tcs.com> Signed-off-by: Gundarapu Kalyan Reddy <reddyx.gundarapu@intel.com>
2016-10-13This patch contains updated Dockerfile to modify SSH Timeout valuekalyanreddy2-1/+4
for the execution of cyclictest through yardstick Change-Id: I382408d0f462c05f3f9b6578b3e00d104d127ee7 Co-Authored-By: Shravani <shravani.p@tcs.com> Signed-off-by: Gundarapu Kalyan Reddy <reddyx.gundarapu@intel.com>
2016-09-29This patch contains script updates to disable stricthostkeycheckingkalyanreddy1-1/+2
during the execution of cyclictest. Change-Id: I382408d0f462c05f3f9b6578b3e00d104d127ee7 Signed-off-by: Gundarapu Kalyan Reddy <reddyx.gundarapu@intel.com>
2016-09-28This patch contains updated scripts to install rpm-build packagekalyanreddy1-3/+1
only once to reduce qemu build time. Change-Id: Ifdd5df86762f6ed6b327be7f186864feaf2f7923 Co-Authored-By: B Navya <b.navya4@tcs.com> Signed-off-by: Gundarapu Kalyan Reddy <reddyx.gundarapu@intel.com>
2016-09-27This patch contains updated scripts to reduce qemu build time bykalyanreddy1-1/+0
executing make only through qemu spec file. Change-Id: Ibcbf276dfcc4c933259a880b90b9dc12c613739b Signed-off-by: Gundarapu Kalyan Reddy <reddyx.gundarapu@intel.com>
2016-09-21Merge "This patch includes scripts to verify the sha512sum of the guest ↵Jiang, Yunhong5-8/+46
image. Also contains scripts to exit the test if the test_type is not verify/daily/merge."
2016-09-21Revert "[Fuel-plugin] Install kernel in post-deployment."Yunhong Jiang5-23/+10
This reverts commit a10a10b373f17dc423800e6bb8d1a8e99450090d. According to Fuel team, this patch will be included into C-2 release instead of C-1 release, so we have to revert it to the C stable branch. To revert from C stable branch requires cherry-picking from master branch, so here it is. Change-Id: I32e1148e5c1cd24e5696270f1aa328630ef42dd0 Signed-off-by: Yunhong Jiang <yunhong.jiang@linux.intel.com>
2016-09-21OPNFV KVM4NFV: Reduce Qemu build durationswatisharma2-2/+2
This patch contains some enhancement to reduce the duration for qemu rpm and debian build. Change-Id: Ic27b8b200a383af613a09027bad73f1cf62c54ce Co-Authored-By: Navya Bathula <b.navya4@tcs.com> Signed-off-by: Swati Sharma <swatix.sharma@intel.com> Signed-off-by: Yunhong Jiang <yunhong.jiang@linux.intel.com>
2016-09-21Merge "Adjusted headings"Jiang, Yunhong3-12/+9
2016-09-21Adjusted headingsSofia Wallin3-12/+9
Adjusted the headings in the installation & config guide, scenario description and user guide. Also removed the relese notes from the install and config doc since you have a separate document for this. Change-Id: I2ecbaebe2c0f337cca0a8d0ad130fa97eceabe78 Signed-off-by: Sofia Wallin <sofia.wallin@ericsson.com>
2016-09-21This patch includes scripts to verify the sha512sum of thekalyanreddy5-8/+46
guest image. Also contains scripts to exit the test if the test_type is not verify/daily/merge. Change-Id: Ibbb0d30302095282b539db7293084de007db6ddc Co-Authored-By: Shravani <shravani.p@tcs.com> Signed-off-by: kalyanreddy <reddyx.gundarapu@intel.com>
2016-09-20Small enhancement to the release notes documentYunhong Jiang2-44/+35
Change the release notes to include the upstream version and reorgnize the structure. Change-Id: Ic28f639d9e6b877020dc226a147c7196bcad802a Signed-off-by: Reddy, Raghuveer <raghuveer.reddy@intel.com> Signed-off-by: Yunhong Jiang <yunhong.jiang@linux.intel.com>
2016-09-20Documentation updatesSofia Wallin2-17/+5
Adjusted the heading in the user guide Adjusted the heading, licence part and release date in the release notes Change-Id: I48a561bcd0d3bab655b27f3cafd486f22fa40c77 Signed-off-by: Sofia Wallin <sofia.wallin@ericsson.com>
2016-09-18[Fuel-plugin] Install kernel in post-deployment.Michal Skalski5-10/+23
Install kernel and reboot compute nodes in post-deployment phase when there is less chance to interfere with other tasks. Implement Michael's suggestion to use reboot puppet module. Change-Id: I83867e5e2752c39d2b69c950e3e475d43de04466 Signed-off-by: Michal Skalski <mskalski@mirantis.com>
2016-09-13Execution of kvm4nfv cyclictest based on job type.shravani4-71/+119
This patch contains the updated test scripts which will select the node and test run time for performing cyclictest case based on the job type. Change-Id: Ia54e98faac2f5da956688f1ca57664cea1151d84 Signed-off-by: Shravani <shravani.p@tcs.com>
2016-09-09Merge "This patch contains the scripts to remove hardcoded kernel version, ↵Jiang, Yunhong4-6/+62
host ip and cleaning of the host machine after execution of cyclictest."
2016-09-08This patch contains the scripts to remove hardcoded kernel version,kalyanreddy4-6/+62
host ip and cleaning of the host machine after execution of cyclictest. Change-Id: I92aaed5229fc3c572e74dcce03b2c984ae1bb111 Co-Authored-By: Shravani <shravani.p@tcs.com> Signed-off-by: Gundarapu Kalyan Reddy <reddyx.gundarapu@intel.com>
2016-09-06OPNFV KVM4NFV: Documentation Enhancementkalyanreddy2-0/+12
This patch contains some documentation enhancement for more clarity on KVM4NFV project. Change-Id: I3186d65d8d542ffd842a1a8b54289cda308056ce Signed-off-by: Gundarapu Kalyan Reddy <reddyx.gundarapu@intel.com>