summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2017-03-21Merge "This patch includes updated scripts to enable ftrace and collect logs ↵Jiang, Yunhong4-50/+55
for debugging high latency values."
2017-03-21[fuel-plugin] Update the kernel versionMichael Polenchuk1-1/+1
Change-Id: I577340958c10412cb1f9a1284cd0a6d95ec3965c Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
2017-03-21This patch includes updated scripts to enable ftrace and collectkalyanreddy4-50/+55
logs for debugging high latency values. Change-Id: Ibdea5dab0c6d47eb6dd9d47d879fdd42dd95f8e4 Signed-off-by: Gundarapu Kalyan Reddy <reddyx.gundarapu@intel.com>
2017-03-20This patch contains the code changes to check the commit id inRajithaY3-2/+6
the apex.conf file is valid or not and to update the stress_isolcpus to 22-43 on console Change-Id: I6a2e78f51f2371042bcbfa4f8c3e31b316938528 Signed-off-by:RajithaY<rajithax.yerrumsetty@intel.com>
2017-03-17Merge "This patch includes updated scripts to use different docker ↵Jiang, Yunhong2-52/+27
containers for each test case and perform necessary clean up operations after execution of test cases."
2017-03-17This patch includes updated scripts to use different docker containerskalyanreddy2-52/+27
for each test case and perform necessary clean up operations after execution of test cases. Revert "Revert "This patch includes updated scripts for modifying"" This reverts commit 53bf71ea043426dd23319bd3bd011fd9a8ce0446 Note: This is only a temporary workaround. Will push the fix soon. Change-Id: I6f3ef551bd8fb0b2c53ea2b3f4ee4bcf45dcdc7a Co-Authored-By: RajithaY<rajithax.yerrumsetty@intel.com> Signed-off-by: Gundarapu Kalyan Reddy <reddyx.gundarapu@intel.com>
2017-03-16This patch is used to update the documents of D-release.Shravani47-533/+1344
Change-Id: I059843a8967ec339b8faf87dcbc6a76ec15d25d4 Co-Authored by:Srinivas <srinivas.atmakuri@tcs.com> Co-Authored by:RajithaY<rajithax.yerrumsetty@intel.com> Co-Authored by:Gundarapu Kalyan Reddy <reddyx.gundarapu@intel.com> Co-Authored by:Navya Bathula <navyax.bathula@intel.com> Signed-off-by: Shravani <shravani.p@tcs.com>
2017-03-16[fuel-plugin] Rename node_reboot taskMichael Polenchuk1-1/+1
Rename node_reboot task in order not to interfere with recently added basic task with the same name. Change-Id: I65dda751785fa319affb5d0dc52b6ce45bd08dec Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
2017-03-15This patch includes scripts and configuration files forkalyanreddy6-15/+329
executing packet forwarding test cases as a part of kvmfornfv daily job and printing the results. Change-Id: I484ce89c4821d03cb997c774f014c59a10dc275e Signed-off-by: Gundarapu Kalyan Reddy <reddyx.gundarapu@intel.com>
2017-03-13Merge "This patch includes updated scripts for modifying function names and ↵Jiang, Yunhong3-44/+68
to optimize the code for executing all the test cases and performing necessary host cleaning operations after executing all the test cases."
2017-03-13This patch includes updated scripts for modifying function names andkalyanreddy3-44/+68
to optimize the code for executing all the test cases and performing necessary host cleaning operations after executing all the test cases. Change-Id: Ia1a4f6743631ff07c27afa949b6820fcc862a3ce Co-Authored-By: Y Rajitha <y.rajitha@tcs.com> Signed-off-by: Gundarapu Kalyan Reddy <reddyx.gundarapu@intel.com>
2017-03-11Merge "This patch includes building of the kernel rpm's for the commit id ↵Jiang, Yunhong6-5/+156
provided in apex.conf file and renaming of the kernel rpm's in the format kvmfornfv-commitid-apex-kernel-[devel/header]-4.4.6_rt14_centos.x86_64.rpm"
2017-03-10This patch includes building of the kernel rpm's for the commit id RajithaY6-5/+156
provided in apex.conf file and renaming of the kernel rpm's in the format kvmfornfv-commitid-apex-kernel-[devel/header]-4.4.6_rt14_centos.x86_64.rpm Change-Id: Id36eec6a577ac92b436a68f975fc1293c04ab97d Co-Authored by: Navya Bathula <navyax.bathula@intel.com> Signed-off-by:RajithaY<rajithax.yerrumsetty@intel.com>
2017-03-08Upgrade to 4.4.50-rt62Yunhong Jiang2347-15192/+30013
The current kernel is based on rt kernel v4.4.6-rt14. We will upgrade it to 4.4.50-rt62. The command to achieve it is: a) Clone a git repo from git://git.kernel.org/pub/scm/linux/kernel/git/rt/linux-stable-rt.git b) Get the diff between this two changesets: git diff 640eca2901f3435e616157b11379d3223a44b391 705619beeea1b0b48219a683fd1a901a86fdaf5e where the two commits are: [yjiang5@jnakajim-build linux-stable-rt]$ git show --oneline --name-only 640eca2901f3435e616157b11379d3223a44b391 640eca2901f3 v4.4.6-rt14 localversion-rt [yjiang5@jnakajim-build linux-stable-rt]$ git show --oneline --name-only 705619beeea1b0b48219a683fd1a901a86fdaf5e 705619beeea1 Linux 4.4.50-rt62 localversion-rt c) One patch has been backported thus revert the patch before applying. filterdiff -p1 -x scripts/package/Makefile ~/tmp/v4.4.6-rt14-4.4.50-rt62.diff |patch -p1 --dry-run Upstream status: backport Change-Id: I244d57a32f6066e5a5b9915f9fbf99e7bbca6e01 Signed-off-by: Yunhong Jiang <yunhong.jiang@linux.intel.com>
2017-03-08Merge "Match the config from ubuntu"Jiang, Yunhong7-1771/+14058
2017-03-07Match the config from ubuntuYunhong Jiang7-1771/+14058
As ubuntu 16.04 is using the same version kernel, we try to reuse the config file from ubuntu server release. Also added one rpm package required for building the new kernel config. upstream-status: N/A Change-Id: I471918eb1840bd36ba569abb63b2fa0b3d2fb4f3 Signed-off-by: Yunhong Jiang <yunhong.jiang@linux.intel.com>
2017-03-07This patch contains updated documentation for Dashboard,packetShravani29-3/+2684
forwarding,pcm utility,Ftrace and Scenario testing. Change-Id: I677faeed6e4c78f30d486701364ca15a1507b1ef Signed-off-by: Shravani <shravani.p@tcs.com> Co-Authored by:Srinivas <srinivas.atmakuri@tcs.com> Co-Authored by:RajithaY<rajithax.yerrumsetty@intel.com> Co-Authored by:Gundarapu Kalyan Reddy <reddyx.gundarapu@intel.com> Co-Authored by:Navya Bathula <navyax.bathula@intel.com>
2017-03-07Merge "This patch includes host and guest configuration script updates to ↵Jiang, Yunhong2-3/+4
install kvmfornfv built kernel and configure the grub for executing test cases on latest installed kernel."
2017-03-07Merge "This patch contains the PCM utility installation and continously ↵Jiang, Yunhong3-1/+52
collecting memory bandwidth data using pcm-memory throughout each cyclic testcase"
2017-03-07Merge "Add disk to vagrant for fuel plugin build"Jiang, Yunhong2-1/+9
2017-03-07This patch contains the PCM utility installation and continouslyShravani3-1/+52
collecting memory bandwidth data using pcm-memory throughout each cyclic testcase Change-Id: Iafde7c57bfbe8ce2da4442ac6b414603957cc074 Co-Authored by:Rajitha <y.rajitha@tcs.com> Signed-off-by:Shravani <shravani.p@tcs.com>
2017-03-05Add disk to vagrant for fuel plugin buildGuo Ruijing2-1/+9
1. add 500G disk to vagrant 2. change build home to /mnt in guest 3. do some basic test Change-Id: If58db0322dc9f1c23a8e6ed065f876e34bea872f Signed-off-by: Guo Ruijing <ruijing.guo@intel.com>
2017-03-03This patch includes host and guest configuration script updateskalyanreddy2-3/+4
to install kvmfornfv built kernel and configure the grub for executing test cases on latest installed kernel. Change-Id: I5a4b2959d098279337ec80f1faabc79267fe74e0 Signed-off-by: Gundarapu Kalyan Reddy <reddyx.gundarapu@intel.com>
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>