summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2017-05-02Change the kernel config for scenario testdanube.2.0stable/danubeYunhong Jiang1-4/+6
Disable the intel_iommu by default since the CICD platform has something wrong on the VT-d support Enable the X2APIC support, otherwwise there will be only one CPU available. Change-Id: I69206363fa61c751ad982be74db84b020a1c3748 Signed-off-by: Yunhong Jiang <yunhong.jiang@linux.intel.com> (cherry picked from commit b6b08d2a80b2df28e496ce87705593ed59b282a3)
2017-03-30[fuel-plugin] Set default grub entry for kernelMichael Polenchuk2-0/+21
JIRA: KVMFORNFV-77 Change-Id: Ibb764cd5fa9822d337ce6f948bff8213c1caa7eb Signed-off-by: Paul Vaduva <Paul.Vaduva@enea.com> Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com> (cherry picked from commit e797a9f954797949f676a46f5c9ceb31874f919a)
2017-03-28Update documentation structure.danube.1.0kalyanreddy23-26/+15
This patch includes adjusting docs directory structure for kvmfornfv project. Change-Id: Ic2f992cd5e8f6808ca3ba088172eb6da342182ba Signed-off-by: Gundarapu Kalyan Reddy <reddyx.gundarapu@intel.com>
2017-03-28Update documentation structure.kalyanreddy80-30/+30
This patch is used to update documentation structure. Change-Id: I50d4ef4256ccfc57a0434123e7532a50000582cf Co-Authored by:Srinivas <srinivas.atmakuri@tcs.com> Co-Authored by:RajithaY<rajithax.yerrumsetty@intel.com> Co-Authored by:shravani paladugula <shravanix.paladugula@intel.com> Co-Authored by:Navya Bathula <navyax.bathula@intel.com> Signed-off-by: Gundarapu Kalyan Reddy <reddyx.gundarapu@intel.com> (cherry picked from commit f1f3cc27f23bdde81c37d8142d4288d811bd5e45)
2017-03-27Updating documents of D-release.kalyanreddy32-227/+365
This patch is used to update the documents of D-release. Change-Id: I9449536e340140f67e0f77ae4120bbc210809169 Co-Authored by:Srinivas <srinivas.atmakuri@tcs.com> Co-Authored by:RajithaY<rajithax.yerrumsetty@intel.com> Co-Authored by:shravani paladugula <shravanix.paladugula@intel.com> Co-Authored by:Navya Bathula <navyax.bathula@intel.com> Signed-off-by: Gundarapu Kalyan Reddy <reddyx.gundarapu@intel.com> (cherry picked from commit 1f4ef5ee33f715c03a85a868f12e89744f889cff)
2017-03-27This patch is used to update the documents of D-release.kalyanreddy14-164/+178
Change-Id: Iccebac991c1ea0973733963743d4d1438ac153b2 Co-Authored by:Srinivas <srinivas.atmakuri@tcs.com> Co-Authored by:RajithaY<rajithax.yerrumsetty@intel.com> Co-Authored by:shravani paladugula <shravanix.paladugula@intel.com> Co-Authored by:Navya Bathula <navyax.bathula@intel.com> Signed-off-by: Gundarapu Kalyan Reddy <reddyx.gundarapu@intel.com> (cherry picked from commit 7d8bfd26b45b511898825a24ecf0977a336fac13)
2017-03-24This 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> (cherry picked from commit d4b19c2012c72015c7554ad0b0f098b9dae8aa7c)
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>
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>