aboutsummaryrefslogtreecommitdiffstats
path: root/docs/gettingstarted/users/configutil/commandthree.rst
blob: c4c44292fd03edd6f58cda6aab1b778c3918327f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
.. _config-command-three:

***********************
Apply the Configuration
***********************

After the configuration files have been examined and are correct. The configuration
can be applied. After the configuration is applied use option "1" to check the
system configuration. Notice the default is NOT to change the grub file. If the option
to change the grub command line is selected a reboot of the system will be required.

.. code-block:: console

   What would you like to do?

   1) Show basic system information
   2) Dry Run (Will save the configuration files in /usr/local/vpp/vpp-config/dryrun for inspection)
   3) Full configuration (WARNING: This will change the system configuration)
   4) List/Install/Uninstall VPP.
   q) Quit

   Command: 3

   We are now going to configure your system(s).

   Are you sure you want to do this [Y/n]? y
   These are the changes we will apply to
   the huge page file (/etc/sysctl.d/80-vpp.conf).

   1,2d0
   < vm.nr_hugepages=1024
   4,7c2,3
   < vm.max_map_count=3096
   ---
   > vm.nr_hugepages=8192
> vm.max_map_count=17408
      8a5
   > kernel.shmmax=17179869184
   10,15d6
   < kernel.shmmax=2147483648

   Are you sure you want to apply these changes [Y/n]? 
   These are the changes we will apply to
   the VPP startup file (/etc/vpp/startup.conf).

   ---
   > 
>   main-core 8
>   corelist-workers 9-10
> 
>   scheduler-policy fifo
>   scheduler-priority 50
> 
               67,68c56,      67,68c56,66
   < # dpdk {
   ---
   > dpdk {
> 
>   dev 0000:86:00.0 { 
>     num-rx-queues 2
>   }
>   dev 0000:86:00.1 { 
>     num-rx-queues 2
>   }
>   num-mbufs 25600
> 
                        124c1      124c122
   < # }
   ---
   > }

   Are you sure you want to apply these changes [Y/n]? 

   The configured grub cmdline looks like this:
   GRUB_CMDLINE_LINUX_DEFAULT="isolcpus=8,9-10 nohz_full=8,9-10 rcu_nocbs=8,9-10"

   The current boot cmdline looks like this:
   BOOT_IMAGE=/boot/vmlinuz-4.4.0-97-generic root=UUID=d760b82f-f37b-47e2-9815-db8d479a3557 ro

   Do you want to keep the current boot cmdline [Y/n]?