feat(Docs): Update few sections
[csit.git] / docs / report / introduction / test_environment_sut_conf_1.rst
1 SUT Settings - Linux
2 --------------------
3
4 System provisioning is done by combination of PXE boot unattented
5 install and
6 `Ansible <https://www.ansible.com>`_ described in `CSIT Testbed Setup`_.
7
8 Linux Boot Parameters
9 ~~~~~~~~~~~~~~~~~~~~~
10
11 - **isolcpus=<cpu number>-<cpu number>** used for all cpu cores apart from
12   first core of each socket used for running VPP worker threads and Qemu/LXC
13   processes
14   https://www.kernel.org/doc/Documentation/admin-guide/kernel-parameters.txt
15 - **intel_pstate=disable** - [X86] Do not enable intel_pstate as the default
16   scaling driver for the supported processors. Intel P-State driver decide what
17   P-state (CPU core power state) to use based on requesting policy from the
18   cpufreq core. [X86 - Either 32-bit or 64-bit x86]
19   https://www.kernel.org/doc/Documentation/cpu-freq/intel-pstate.txt
20 - **nohz_full=<cpu number>-<cpu number>** - [KNL,BOOT] In kernels built with
21   CONFIG_NO_HZ_FULL=y, set the specified list of CPUs whose tick will be stopped
22   whenever possible. The boot CPU will be forced outside the range to maintain
23   the timekeeping. The CPUs in this range must also be included in the
24   rcu_nocbs= set. Specifies the adaptive-ticks CPU cores, causing kernel to
25   avoid sending scheduling-clock interrupts to listed cores as long as they have
26   a single runnable task. [KNL - Is a kernel start-up parameter, SMP - The
27   kernel is an SMP kernel].
28   https://www.kernel.org/doc/Documentation/timers/NO_HZ.txt
29 - **rcu_nocbs** - [KNL] In kernels built with CONFIG_RCU_NOCB_CPU=y, set the
30   specified list of CPUs to be no-callback CPUs, that never queue RCU callbacks
31   (read-copy update).
32   https://www.kernel.org/doc/Documentation/admin-guide/kernel-parameters.txt
33 - **numa_balancing=disable** - [KNL,X86] Disable automatic NUMA balancing.
34 - **intel_iommu=enable** - [DMAR] Enable Intel IOMMU driver (DMAR) option.
35 - **iommu=on, iommu=pt** - [x86, IA-64] Disable IOMMU bypass, using IOMMU for
36   PCI devices.
37 - **nmi_watchdog=0** - [KNL,BUGS=X86] Debugging features for SMP kernels. Turn
38   hardlockup detector in nmi_watchdog off.
39 - **nosoftlockup** - [KNL] Disable the soft-lockup detector.
40 - **tsc=reliable** - Disable clocksource stability checks for TSC.
41   [x86] reliable: mark tsc clocksource as reliable, this disables clocksource
42   verification at runtime, as well as the stability checks done at bootup.
43   Used to enable high-resolution timer mode on older hardware, and in
44   virtualized environment.
45 - **hpet=disable** - [X86-32,HPET] Disable HPET and use PIT instead.
46
47 Hugepages Configuration
48 ~~~~~~~~~~~~~~~~~~~~~~~
49
50 Huge pages are managed via sysctl configuration located in
51 `/etc/sysctl.d/90-csit.conf` on each testbed. Default huge page size is 2M.
52 The exact amount of huge pages depends on testbed. All the values are defined
53 in `Ansible inventory - hosts` files.