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