blob: 589a3671acf2b80889c6d14875318ce1bdfe8802 [file] [log] [blame]
John DeNisco06dcd452018-07-26 12:45:10 -04001.. _config-command-three:
2
John DeNiscoc64ba6d2018-08-02 15:03:15 -04003************************
John DeNisco06dcd452018-07-26 12:45:10 -04004Apply the Configuration
John DeNiscoc64ba6d2018-08-02 15:03:15 -04005************************
John DeNisco06dcd452018-07-26 12:45:10 -04006
John DeNiscoc64ba6d2018-08-02 15:03:15 -04007After the configuration files have been examined and verified as correct, then the
8configuration can be applied by using command option '3'. After the configuration
9is applied, use option "1" to check the system configuration. Notice the default is
10NOT to change the grub file. If the option to change the grub command line is selected,
11then a reboot of the system will be required.
John DeNisco06dcd452018-07-26 12:45:10 -040012
13.. code-block:: console
14
15 What would you like to do?
16
17 1) Show basic system information
18 2) Dry Run (Will save the configuration files in /usr/local/vpp/vpp-config/dryrun for inspection)
19 3) Full configuration (WARNING: This will change the system configuration)
20 4) List/Install/Uninstall VPP.
21 q) Quit
22
23 Command: 3
24
25 We are now going to configure your system(s).
26
27 Are you sure you want to do this [Y/n]? y
28 These are the changes we will apply to
29 the huge page file (/etc/sysctl.d/80-vpp.conf).
30
31 1,2d0
32 < vm.nr_hugepages=1024
33 4,7c2,3
34 < vm.max_map_count=3096
35 ---
36 > vm.nr_hugepages=8192
37 > vm.max_map_count=17408
38 8a5
39 > kernel.shmmax=17179869184
40 10,15d6
41 < kernel.shmmax=2147483648
42
43 Are you sure you want to apply these changes [Y/n]?
44 These are the changes we will apply to
45 the VPP startup file (/etc/vpp/startup.conf).
46
47 ---
48 >
49 > main-core 8
50 > corelist-workers 9-10
51 >
52 > scheduler-policy fifo
53 > scheduler-priority 50
54 >
55 67,68c56,66
56 < # dpdk {
57 ---
58 > dpdk {
59 >
60 > dev 0000:86:00.0 {
61 > num-rx-queues 2
62 > }
63 > dev 0000:86:00.1 {
64 > num-rx-queues 2
65 > }
66 > num-mbufs 25600
67 >
68 124c122
69 < # }
70 ---
71 > }
72
73 Are you sure you want to apply these changes [Y/n]?
74
75 The configured grub cmdline looks like this:
76 GRUB_CMDLINE_LINUX_DEFAULT="isolcpus=8,9-10 nohz_full=8,9-10 rcu_nocbs=8,9-10"
77
78 The current boot cmdline looks like this:
79 BOOT_IMAGE=/boot/vmlinuz-4.4.0-97-generic root=UUID=d760b82f-f37b-47e2-9815-db8d479a3557 ro
80
81 Do you want to keep the current boot cmdline [Y/n]?