John DeNisco | 06dcd45 | 2018-07-26 12:45:10 -0400 | [diff] [blame] | 1 | .. _config-command-three: |
| 2 | |
John DeNisco | c64ba6d | 2018-08-02 15:03:15 -0400 | [diff] [blame^] | 3 | ************************ |
John DeNisco | 06dcd45 | 2018-07-26 12:45:10 -0400 | [diff] [blame] | 4 | Apply the Configuration |
John DeNisco | c64ba6d | 2018-08-02 15:03:15 -0400 | [diff] [blame^] | 5 | ************************ |
John DeNisco | 06dcd45 | 2018-07-26 12:45:10 -0400 | [diff] [blame] | 6 | |
John DeNisco | c64ba6d | 2018-08-02 15:03:15 -0400 | [diff] [blame^] | 7 | After the configuration files have been examined and verified as correct, then the |
| 8 | configuration can be applied by using command option '3'. After the configuration |
| 9 | is applied, use option "1" to check the system configuration. Notice the default is |
| 10 | NOT to change the grub file. If the option to change the grub command line is selected, |
| 11 | then a reboot of the system will be required. |
John DeNisco | 06dcd45 | 2018-07-26 12:45:10 -0400 | [diff] [blame] | 12 | |
| 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]? |