John DeNisco | 68b0ee3 | 2017-09-27 16:35:23 -0400 | [diff] [blame] | 1 | Summary:
|
| 2 |
|
| 3 | The purpose of the VPP configuration utility is to allow the user to configure
|
| 4 | VPP in a simple and safe manner. The utility takes input from the user and
|
| 5 | then modifies the key configuration files. The user can then examine these files
|
| 6 | to be sure they are correct and then actually apply the configuration. The user
|
| 7 | can also install a released and stable version of VPP. This is currently
|
John DeNisco | c6b2a20 | 2017-11-01 12:37:47 -0400 | [diff] [blame] | 8 | released with release 17.10.
|
John DeNisco | 68b0ee3 | 2017-09-27 16:35:23 -0400 | [diff] [blame] | 9 |
|
| 10 | Use:
|
| 11 |
|
| 12 | The installation and executing of the VPP configuration utility is simple. First
|
| 13 | install the python pip module. Using pip install, then pip install vpp-config.
|
Paul Vinciguerra | 339bc6b | 2018-12-19 02:05:25 -0800 | [diff] [blame] | 14 | Then simply type �vpp-config� and answer the questions. If you are not sure what
|
John DeNisco | 68b0ee3 | 2017-09-27 16:35:23 -0400 | [diff] [blame] | 15 | to answer choose the default. For yes or no questions the capital letter
|
| 16 | designates the default. For example, for a question that shows [Y/n] Y is the
|
| 17 | default. For numbers the default is within the brackets for example for a
|
| 18 | question that shows [1024]. 1024 is the default.
|
| 19 |
|
| 20 | The flow of the utility is to inspect the system, if VPP is not install it,
|
| 21 | create dry run configurations, inspect the files created during the dry run,
|
| 22 | apply the configuration and then inspect the system again and then repeat.
|
| 23 |
|
| 24 | Caveats:
|
| 25 |
|
John DeNisco | c6b2a20 | 2017-11-01 12:37:47 -0400 | [diff] [blame] | 26 | - Supports Ubuntu, centos7, RedHat is coming shortly.
|
John DeNisco | 68b0ee3 | 2017-09-27 16:35:23 -0400 | [diff] [blame] | 27 |
|
| 28 | For Developers:
|
| 29 |
|
| 30 | Modifying the code is reasonable simple. The process would be edit and debug the
|
| 31 | code from the root directory. In order to do this, we need a script that will copy
|
| 32 | or data files to the proper place. This is where they end up with pip install. For
|
| 33 | Ubuntu, this is /usr/local/vpp/vpp-config. I have provided a script that will copy
|
| 34 | the relevant files correctly. I have also provided a script that will clean the
|
| 35 | environment so you can start from scratch. These are the steps to run the utility
|
| 36 | in this environment. The scripts are meant to be run from the root directory.
|
| 37 |
|
| 38 | ./scripts/clean.sh
|
Paul Vinciguerra | 339bc6b | 2018-12-19 02:05:25 -0800 | [diff] [blame] | 39 | ./scripts/cp-data.sh
|
| 40 | ./vpp-config
|
John DeNisco | 68b0ee3 | 2017-09-27 16:35:23 -0400 | [diff] [blame] | 41 |
|
| 42 | When the utility is installed with pip the wrapper scripts/vpp-config is written to
|
| 43 | /usr/local/bin. However, the starting point when debugging this script locally is
|
Paul Vinciguerra | 339bc6b | 2018-12-19 02:05:25 -0800 | [diff] [blame] | 44 | vpp-config. Run the utility by executing vpp-config.
|
John DeNisco | 68b0ee3 | 2017-09-27 16:35:23 -0400 | [diff] [blame] | 45 |
|
Paul Vinciguerra | 339bc6b | 2018-12-19 02:05:25 -0800 | [diff] [blame] | 46 | The start point in the code is in vpp_config.py. However, most of the work is
|
| 47 | done in
|
John DeNisco | 68b0ee3 | 2017-09-27 16:35:23 -0400 | [diff] [blame] | 48 | the files in ./vpplib
|
| 49 |
|
| 50 | Uploading to PyPi:
|
| 51 |
|
| 52 | To upload this utility to PpPi simple do the following. Currently, I have my own account
|
| 53 | when we want everyone to contribute we will need to change that.
|
| 54 |
|
Paul Vinciguerra | 339bc6b | 2018-12-19 02:05:25 -0800 | [diff] [blame] | 55 | sudo �H bash
|
John DeNisco | 68b0ee3 | 2017-09-27 16:35:23 -0400 | [diff] [blame] | 56 | cd vpp_config
|
| 57 | python setup.py sdist bdist_wheel
|
| 58 | twine upload dist/*
|
| 59 |
|
| 60 | Example Run:
|
| 61 |
|
| 62 | # pip install vpp-config
|
| 63 | # vpp-config
|
| 64 |
|
| 65 | Welcome to the VPP system configuration utility
|
| 66 |
|
| 67 | These are the files we will modify:
|
| 68 | /etc/vpp/startup.conf
|
| 69 | /etc/sysctl.d/80-vpp.conf
|
| 70 | /etc/default/grub
|
| 71 |
|
| 72 | Before we change them, we'll create working copies in /usr/local/vpp/vpp-config/dryrun
|
| 73 | Please inspect them carefully before applying the actual configuration (option 3)!
|
| 74 |
|
| 75 | What would you like to do?
|
| 76 |
|
| 77 | 1) Show basic system information
|
| 78 | 2) Dry Run (Will save the configuration files in /usr/local/vpp/vpp-config/dryrun for inspection)
|
| 79 | and user input in /usr/local/vpp/vpp-config/configs/auto-config.yaml
|
| 80 | 3) Full configuration (WARNING: This will change the system configuration)
|
| 81 | 4) Install/Uninstall VPP.
|
| 82 | 5) Dry Run from /usr/local/vpp/vpp-config/auto-config.yaml (will not ask questions).
|
| 83 | 6) Install QEMU patch (Needed when running openstack).
|
| 84 | 9 or q) Quit
|
| 85 |
|
| 86 | Command: 1
|
| 87 |
|
| 88 | ==============================
|
| 89 | NODE: DUT1
|
| 90 |
|
| 91 | CPU:
|
| 92 | Model name: Intel(R) Xeon(R) CPU E5-2667 v3 @ 3.20GHz
|
| 93 | CPU(s): 32
|
| 94 | Thread(s) per core: 2
|
| 95 | Core(s) per socket: 8
|
| 96 | Socket(s): 2
|
| 97 | NUMA node0 CPU(s): 0-7,16-23
|
| 98 | NUMA node1 CPU(s): 8-15,24-31
|
| 99 | CPU max MHz: 3600.0000
|
| 100 | CPU min MHz: 1200.0000
|
| 101 | SMT: Enabled
|
| 102 |
|
| 103 | VPP Threads: (Name: Cpu Number)
|
| 104 |
|
| 105 | Grub Command Line:
|
| 106 | Current: BOOT_IMAGE=/boot/vmlinuz-4.4.0-96-generic root=UUID=d760b82f-f37b-47e2-9815-db8d479a3557 ro
|
| 107 | Configured: GRUB_CMDLINE_LINUX_DEFAULT=""
|
| 108 |
|
| 109 | Huge Pages:
|
| 110 | Total System Memory : 65863484 kB
|
| 111 | Total Free Memory : 41325924 kB
|
| 112 | Actual Huge Page Total : 8192
|
| 113 | Configured Huge Page Total : 1024
|
| 114 | Huge Pages Free : 8192
|
| 115 | Huge Page Size : 2048 kB
|
| 116 |
|
| 117 | Devices:
|
| 118 |
|
| 119 | Status:
|
| 120 | Not Installed
|
| 121 |
|
| 122 | ==============================
|
| 123 |
|
| 124 | What would you like to do?
|
| 125 |
|
| 126 | 1) Show basic system information
|
| 127 | 2) Dry Run (Will save the configuration files in /usr/local/vpp/vpp-config/dryrun for inspection)
|
| 128 | and user input in /usr/local/vpp/vpp-config/configs/auto-config.yaml
|
| 129 | 3) Full configuration (WARNING: This will change the system configuration)
|
| 130 | 4) Install/Uninstall VPP.
|
| 131 | 5) Dry Run from /usr/local/vpp/vpp-config/auto-config.yaml (will not ask questions).
|
| 132 | 6) Install QEMU patch (Needed when running openstack).
|
| 133 | 9 or q) Quit
|
| 134 |
|
| 135 | Command: 4
|
| 136 |
|
| 137 | There are no VPP packages on node localhost.
|
| 138 | Do you want to install VPP [Y/n]?
|
| 139 | INFO:root: Local Command: ls /etc/apt/sources.list.d/99fd.io.list.orig
|
| 140 | INFO:root: /etc/apt/sources.list.d/99fd.io.list.orig
|
Paul Vinciguerra | 339bc6b | 2018-12-19 02:05:25 -0800 | [diff] [blame] | 141 | ��..
|
John DeNisco | 68b0ee3 | 2017-09-27 16:35:23 -0400 | [diff] [blame] | 142 |
|
| 143 | What would you like to do?
|
| 144 |
|
| 145 | 1) Show basic system information
|
| 146 | 2) Dry Run (Will save the configuration files in /usr/local/vpp/vpp-config/dryrun for inspection)
|
| 147 | and user input in /usr/local/vpp/vpp-config/configs/auto-config.yaml
|
| 148 | 3) Full configuration (WARNING: This will change the system configuration)
|
| 149 | 4) Install/Uninstall VPP.
|
| 150 | 5) Dry Run from /usr/local/vpp/vpp-config/auto-config.yaml (will not ask questions).
|
| 151 | 6) Install QEMU patch (Needed when running openstack).
|
| 152 | 9 or q) Quit
|
| 153 |
|
| 154 | Command: 1
|
| 155 |
|
| 156 | ==============================
|
| 157 | NODE: DUT1
|
| 158 |
|
| 159 | CPU:
|
| 160 | Model name: Intel(R) Xeon(R) CPU E5-2667 v3 @ 3.20GHz
|
| 161 | CPU(s): 32
|
| 162 | Thread(s) per core: 2
|
| 163 | Core(s) per socket: 8
|
| 164 | Socket(s): 2
|
| 165 | NUMA node0 CPU(s): 0-7,16-23
|
| 166 | NUMA node1 CPU(s): 8-15,24-31
|
| 167 | CPU max MHz: 3600.0000
|
| 168 | CPU min MHz: 1200.0000
|
| 169 | SMT: Enabled
|
| 170 |
|
| 171 | VPP Threads: (Name: Cpu Number)
|
| 172 | vpp_main : 0
|
| 173 | vpp_stats : 0
|
| 174 |
|
| 175 | Grub Command Line:
|
| 176 | Current: BOOT_IMAGE=/boot/vmlinuz-4.4.0-96-generic root=UUID=d760b82f-f37b-47e2-9815-db8d479a3557 ro
|
| 177 | Configured: GRUB_CMDLINE_LINUX_DEFAULT=""
|
| 178 |
|
| 179 | Huge Pages:
|
| 180 | Total System Memory : 65863484 kB
|
| 181 | Total Free Memory : 55877364 kB
|
| 182 | Actual Huge Page Total : 1024
|
| 183 | Configured Huge Page Total : 1024
|
| 184 | Huge Pages Free : 1024
|
| 185 | Huge Page Size : 2048 kB
|
| 186 |
|
| 187 | Devices:
|
| 188 | Name Socket RXQs RXDescs TXQs TXDescs
|
| 189 |
|
| 190 | Status:
|
| 191 | active (running)
|
| 192 |
|
| 193 | ==============================
|
| 194 |
|
| 195 | What would you like to do?
|
| 196 |
|
| 197 | 1) Show basic system information
|
| 198 | 2) Dry Run (Will save the configuration files in /usr/local/vpp/vpp-config/dryrun for inspection)
|
| 199 | and user input in /usr/local/vpp/vpp-config/configs/auto-config.yaml
|
| 200 | 3) Full configuration (WARNING: This will change the system configuration)
|
| 201 | 4) Install/Uninstall VPP.
|
| 202 | 5) Dry Run from /usr/local/vpp/vpp-config/auto-config.yaml (will not ask questions).
|
| 203 | 6) Install QEMU patch (Needed when running openstack).
|
| 204 | 9 or q) Quit
|
| 205 |
|
| 206 | Command: 2
|
| 207 |
|
| 208 | These device(s) are currently NOT being used by VPP or the OS.
|
| 209 |
|
| 210 | PCI ID Description
|
| 211 | ----------------------------------------------------------------
|
| 212 | 0000:02:00.0 82599ES 10-Gigabit SFI/SFP+ Network Connection
|
| 213 | 0000:02:00.1 82599ES 10-Gigabit SFI/SFP+ Network Connection
|
| 214 |
|
| 215 | Would you like to give any of these devices back to the OS [y/N]? y
|
| 216 | Would you like to use device 0000:02:00.0 for the OS [y/N]? y
|
| 217 | Would you like to use device 0000:02:00.1 for the OS [y/N]? y
|
| 218 |
|
| 219 | These devices have kernel interfaces, but appear to be safe to use with VPP.
|
| 220 |
|
| 221 | PCI ID Kernel Interface(s) Description
|
| 222 | ------------------------------------------------------------------------------------------
|
| 223 | 0000:90:00.0 enp144s0 VIC Ethernet NIC
|
| 224 | 0000:8f:00.0 enp143s0 VIC Ethernet NIC
|
| 225 | 0000:84:00.0 enp132s0f0,enp132s0f0d1 Ethernet Controller XL710 for 40GbE QSFP+
|
| 226 | 0000:84:00.1 enp132s0f1,enp132s0f1d1 Ethernet Controller XL710 for 40GbE QSFP+
|
| 227 | 0000:08:00.1 enp8s0f1 I350 Gigabit Network Connection
|
| 228 | 0000:02:00.0 enp2s0f0 82599ES 10-Gigabit SFI/SFP+ Network Connection
|
| 229 | 0000:02:00.1 enp2s0f1 82599ES 10-Gigabit SFI/SFP+ Network Connection
|
| 230 | 0000:86:00.0 enp134s0f0 82599ES 10-Gigabit SFI/SFP+ Network Connection
|
| 231 | 0000:86:00.1 enp134s0f1 82599ES 10-Gigabit SFI/SFP+ Network Connection
|
| 232 |
|
| 233 | Would you like to use any of these device(s) for VPP [y/N]? y
|
| 234 | Would you like to use device 0000:90:00.0 for VPP [y/N]?
|
| 235 | Would you like to use device 0000:8f:00.0 for VPP [y/N]?
|
| 236 | Would you like to use device 0000:84:00.0 for VPP [y/N]?
|
| 237 | Would you like to use device 0000:84:00.1 for VPP [y/N]?
|
| 238 | Would you like to use device 0000:08:00.1 for VPP [y/N]?
|
| 239 | Would you like to use device 0000:02:00.0 for VPP [y/N]? y
|
| 240 | Would you like to use device 0000:02:00.1 for VPP [y/N]? y
|
| 241 | Would you like to use device 0000:86:00.0 for VPP [y/N]? y
|
| 242 | Would you like to use device 0000:86:00.1 for VPP [y/N]? y
|
| 243 |
|
| 244 | These device(s) will be used by VPP.
|
| 245 |
|
| 246 | PCI ID Description
|
| 247 | ----------------------------------------------------------------
|
| 248 | 0000:86:00.0 82599ES 10-Gigabit SFI/SFP+ Network Connection
|
| 249 | 0000:86:00.1 82599ES 10-Gigabit SFI/SFP+ Network Connection
|
| 250 | 0000:02:00.0 82599ES 10-Gigabit SFI/SFP+ Network Connection
|
| 251 | 0000:02:00.1 82599ES 10-Gigabit SFI/SFP+ Network Connection
|
| 252 |
|
| 253 | Would you like to remove any of these device(s) [y/N]?
|
| 254 |
|
| 255 | These device(s) will be used by VPP, please rerun this option if this is incorrect.
|
| 256 |
|
| 257 | PCI ID Description
|
| 258 | ----------------------------------------------------------------
|
| 259 | 0000:86:00.0 82599ES 10-Gigabit SFI/SFP+ Network Connection
|
| 260 | 0000:86:00.1 82599ES 10-Gigabit SFI/SFP+ Network Connection
|
| 261 | 0000:02:00.0 82599ES 10-Gigabit SFI/SFP+ Network Connection
|
| 262 | 0000:02:00.1 82599ES 10-Gigabit SFI/SFP+ Network Connection
|
| 263 |
|
| 264 | Your system has 32 core(s) and 2 Numa Nodes.
|
| 265 | To begin, we suggest not reserving any cores for VPP or other processes.
|
| 266 | Then to improve performance try reserving cores as needed.
|
| 267 |
|
| 268 | How many core(s) do you want to reserve for processes other than VPP? [0-16][0]? 4
|
| 269 | How many core(s) shall we reserve for VPP workers[0-4][0]? 2
|
| 270 | Should we reserve 1 core for the VPP Main thread? [Y/n]?
|
| 271 |
|
| 272 | There currently 1024 2048 kB huge pages free.
|
| 273 | Do you want to reconfigure the number of huge pages [y/N]? y
|
| 274 |
|
| 275 | There currently a total of 1024 huge pages.
|
| 276 | How many huge pages do you want [1024 - 22511][1024]? 8192
|
| 277 |
|
| 278 | What would you like to do?
|
| 279 |
|
| 280 | 1) Show basic system information
|
| 281 | 2) Dry Run (Will save the configuration files in /usr/local/vpp/vpp-config/dryrun for inspection)
|
| 282 | and user input in /usr/local/vpp/vpp-config/configs/auto-config.yaml
|
| 283 | 3) Full configuration (WARNING: This will change the system configuration)
|
| 284 | 4) Install/Uninstall VPP.
|
| 285 | 5) Dry Run from /usr/local/vpp/vpp-config/auto-config.yaml (will not ask questions).
|
| 286 | 6) Install QEMU patch (Needed when running openstack).
|
| 287 | 9 or q) Quit
|
| 288 |
|
| 289 | Command: 3
|
| 290 |
|
| 291 | We are now going to configure your system(s).
|
| 292 |
|
| 293 | Are you sure you want to do this [Y/n]?
|
| 294 | These are the changes we will apply to
|
| 295 | the huge page file (/etc/sysctl.d/80-vpp.conf).
|
| 296 |
|
| 297 | 1,2d0
|
| 298 | < # Number of 2MB hugepages desired
|
| 299 | < vm.nr_hugepages=1024
|
| 300 | 4,7c2,3
|
| 301 | < # Must be greater than or equal to (2 * vm.nr_hugepages).
|
| 302 | < vm.max_map_count=3096
|
| 303 | <
|
| 304 | < # All groups allowed to access hugepages
|
| 305 | ---
|
| 306 | > vm.nr_hugepages=8192
|
| 307 | > vm.max_map_count=17408
|
| 308 | 8a5
|
| 309 | > kernel.shmmax=17179869184
|
| 310 | 10,15d6
|
| 311 | < # Shared Memory Max must be greator or equal to the total size of hugepages.
|
| 312 | < # For 2MB pages, TotalHugepageSize = vm.nr_hugepages * 2 * 1024 * 1024
|
| 313 | < # If the existing kernel.shmmax setting (cat /sys/proc/kernel/shmmax)
|
| 314 | < # is greater than the calculated TotalHugepageSize then set this parameter
|
| 315 | < # to current shmmax value.
|
| 316 | < kernel.shmmax=2147483648
|
| 317 |
|
| 318 |
|
| 319 | Are you sure you want to apply these changes [Y/n]?
|
| 320 | These are the changes we will apply to
|
| 321 | the VPP startup file (/etc/vpp/startup.conf).
|
| 322 |
|
| 323 | 3c3
|
| 324 | < nodaemon
|
| 325 | ---
|
| 326 | > interactive
|
| 327 | 5a6
|
| 328 | > cli-listen /run/vpp/cli.sock
|
| 329 | 17c18,25
|
| 330 | < ## In the VPP there is one main thread and optionally the user can create worker(s)
|
| 331 | ---
|
| 332 | >
|
| 333 | > main-core 8
|
| 334 | > corelist-workers 9-10,5-6
|
| 335 | >
|
| 336 | > scheduler-policy fifo
|
| 337 | > scheduler-priority 50
|
| 338 | >
|
| 339 | > ## In the VPP there is one main thread and optionally the user can create worker(s)
|
| 340 | 52,53c60,76
|
| 341 | < # dpdk {
|
| 342 | < ## Change default settings for all intefaces
|
| 343 | ---
|
| 344 | > dpdk {
|
| 345 | >
|
| 346 | > dev 0000:86:00.0 {
|
| 347 | > num-rx-queues 2
|
| 348 | > }
|
| 349 | > dev 0000:86:00.1 {
|
| 350 | > num-rx-queues 2
|
| 351 | > }
|
| 352 | > dev 0000:02:00.0 {
|
| 353 | > num-rx-queues 2
|
| 354 | > }
|
| 355 | > dev 0000:02:00.1 {
|
| 356 | > num-rx-queues 2
|
| 357 | > }
|
| 358 | > num-mbufs 71680
|
| 359 | >
|
| 360 | > ## Change default settings for all intefaces
|
| 361 | 82a106,115
|
| 362 | > ## Specify bonded interface and its slaves via PCI addresses
|
| 363 | > ##
|
| 364 | > ## Bonded interface in XOR load balance mode (mode 2) with L3 and L4 headers
|
| 365 | > # vdev eth_bond0,mode=2,slave=0000:02:00.0,slave=0000:03:00.0,xmit_policy=l34
|
| 366 | > # vdev eth_bond1,mode=2,slave=0000:02:00.1,slave=0000:03:00.1,xmit_policy=l34
|
| 367 | > ##
|
| 368 | > ## Bonded interface in Active-Back up mode (mode 1)
|
| 369 | > # vdev eth_bond0,mode=1,slave=0000:02:00.0,slave=0000:03:00.0
|
| 370 | > # vdev eth_bond1,mode=1,slave=0000:02:00.1,slave=0000:03:00.1
|
| 371 | >
|
| 372 | 99c132
|
| 373 | < # }
|
| 374 | ---
|
| 375 | > }
|
| 376 | 108a142
|
| 377 | >
|
| 378 |
|
| 379 |
|
| 380 | Are you sure you want to apply these changes [Y/n]?
|
| 381 |
|
| 382 | The configured grub cmdline looks like this:
|
| 383 | GRUB_CMDLINE_LINUX_DEFAULT="intel_pstate=disable isolcpus=1-4,8,9-10,5-6 nohz_full=1-4,8,9-10,5-6 rcu_nocbs=1-4,8,9-10,5-6"
|
| 384 |
|
| 385 | The current boot cmdline looks like this:
|
| 386 | BOOT_IMAGE=/boot/vmlinuz-4.4.0-96-generic root=UUID=d760b82f-f37b-47e2-9815-db8d479a3557 ro
|
| 387 |
|
| 388 | Do you want to keep the current boot cmdline [Y/n]?
|
| 389 |
|
| 390 | What would you like to do?
|
| 391 |
|
| 392 | 1) Show basic system information
|
| 393 | 2) Dry Run (Will save the configuration files in /usr/local/vpp/vpp-config/dryrun for inspection)
|
| 394 | and user input in /usr/local/vpp/vpp-config/configs/auto-config.yaml
|
| 395 | 3) Full configuration (WARNING: This will change the system configuration)
|
| 396 | 4) Install/Uninstall VPP.
|
| 397 | 5) Dry Run from /usr/local/vpp/vpp-config/auto-config.yaml (will not ask questions).
|
| 398 | 6) Install QEMU patch (Needed when running openstack).
|
| 399 | 9 or q) Quit
|
| 400 |
|
| 401 | Command: 1
|
| 402 |
|
| 403 | ==============================
|
| 404 | NODE: DUT1
|
| 405 |
|
| 406 | CPU:
|
| 407 | Model name: Intel(R) Xeon(R) CPU E5-2667 v3 @ 3.20GHz
|
| 408 | CPU(s): 32
|
| 409 | Thread(s) per core: 2
|
| 410 | Core(s) per socket: 8
|
| 411 | Socket(s): 2
|
| 412 | NUMA node0 CPU(s): 0-7,16-23
|
| 413 | NUMA node1 CPU(s): 8-15,24-31
|
| 414 | CPU max MHz: 3600.0000
|
| 415 | CPU min MHz: 1200.0000
|
| 416 | SMT: Enabled
|
| 417 |
|
| 418 | VPP Threads: (Name: Cpu Number)
|
| 419 |
|
| 420 | Grub Command Line:
|
| 421 | Current: BOOT_IMAGE=/boot/vmlinuz-4.4.0-96-generic root=UUID=d760b82f-f37b-47e2-9815-db8d479a3557 ro
|
| 422 | Configured: GRUB_CMDLINE_LINUX_DEFAULT="intel_pstate=disable isolcpus=1-4,8,9-10,5-6 nohz_full=1-4,8,9-10,5-6 rcu_nocbs=1-4,8,9-10,5-6"
|
| 423 |
|
| 424 | Huge Pages:
|
| 425 | Total System Memory : 65863484 kB
|
| 426 | Total Free Memory : 41163916 kB
|
| 427 | Actual Huge Page Total : 8192
|
| 428 | Configured Huge Page Total : 8192
|
| 429 | Huge Pages Free : 3108
|
| 430 | Huge Page Size : 2048 kB
|
| 431 |
|
| 432 | Devices:
|
| 433 | Total Number of Buffers: 71680
|
| 434 |
|
| 435 | Status:
|
| 436 | active (running)
|
| 437 | Sep 27 12:49:59 tf-ucs-3 vpp[13671]: EAL: No free hugepages reported in hugepages-1048576kB
|
| 438 |
|
| 439 | ==============================
|
| 440 |
|
| 441 | What would you like to do?
|
| 442 |
|
| 443 | 1) Show basic system information
|
| 444 | 2) Dry Run (Will save the configuration files in /usr/local/vpp/vpp-config/dryrun for inspection)
|
| 445 | and user input in /usr/local/vpp/vpp-config/configs/auto-config.yaml
|
| 446 | 3) Full configuration (WARNING: This will change the system configuration)
|
| 447 | 4) Install/Uninstall VPP.
|
| 448 | 5) Dry Run from /usr/local/vpp/vpp-config/auto-config.yaml (will not ask questions).
|
| 449 | 6) Install QEMU patch (Needed when running openstack).
|
| 450 | 9 or q) Quit
|
| 451 |
|
| 452 | Command: 1
|
| 453 |
|
| 454 | ==============================
|
| 455 | NODE: DUT1
|
| 456 |
|
| 457 | CPU:
|
| 458 | Model name: Intel(R) Xeon(R) CPU E5-2667 v3 @ 3.20GHz
|
| 459 | CPU(s): 32
|
| 460 | Thread(s) per core: 2
|
| 461 | Core(s) per socket: 8
|
| 462 | Socket(s): 2
|
| 463 | NUMA node0 CPU(s): 0-7,16-23
|
| 464 | NUMA node1 CPU(s): 8-15,24-31
|
| 465 | CPU max MHz: 3600.0000
|
| 466 | CPU min MHz: 1200.0000
|
| 467 | SMT: Enabled
|
| 468 |
|
| 469 | VPP Threads: (Name: Cpu Number)
|
| 470 | vpp_stats : 0
|
| 471 | vpp_wk_2 : 9
|
| 472 | vpp_wk_3 : 10
|
| 473 | vpp_wk_0 : 5
|
| 474 | vpp_wk_1 : 6
|
| 475 | vpp_main : 8
|
| 476 |
|
| 477 | Grub Command Line:
|
| 478 | Current: BOOT_IMAGE=/boot/vmlinuz-4.4.0-96-generic root=UUID=d760b82f-f37b-47e2-9815-db8d479a3557 ro
|
| 479 | Configured: GRUB_CMDLINE_LINUX_DEFAULT="intel_pstate=disable isolcpus=1-4,8,9-10,5-6 nohz_full=1-4,8,9-10,5-6 rcu_nocbs=1-4,8,9-10,5-6"
|
| 480 |
|
| 481 | Huge Pages:
|
| 482 | Total System Memory : 65863484 kB
|
| 483 | Total Free Memory : 41170684 kB
|
| 484 | Actual Huge Page Total : 8192
|
| 485 | Configured Huge Page Total : 8192
|
| 486 | Huge Pages Free : 7936
|
| 487 | Huge Page Size : 2048 kB
|
| 488 |
|
| 489 | Devices:
|
| 490 | Total Number of Buffers: 71680
|
| 491 | Name Socket RXQs RXDescs TXQs TXDescs
|
| 492 | TenGigabitEthernet2/0/0 0 2 1024 5 1024
|
| 493 | TenGigabitEthernet2/0/1 0 2 1024 5 1024
|
| 494 | TenGigabitEthernet86/0/0 1 2 1024 5 1024
|
| 495 | TenGigabitEthernet86/0/1 1 2 1024 5 1024
|
| 496 |
|
| 497 | Status:
|
| 498 | active (running)
|
| 499 |
|
| 500 | ==============================
|
| 501 |
|
| 502 | What would you like to do?
|
| 503 |
|
| 504 | 1) Show basic system information
|
| 505 | 2) Dry Run (Will save the configuration files in /usr/local/vpp/vpp-config/dryrun for inspection)
|
| 506 | and user input in /usr/local/vpp/vpp-config/configs/auto-config.yaml
|
| 507 | 3) Full configuration (WARNING: This will change the system configuration)
|
| 508 | 4) Install/Uninstall VPP.
|
| 509 | 5) Dry Run from /usr/local/vpp/vpp-config/auto-config.yaml (will not ask questions).
|
| 510 | 6) Install QEMU patch (Needed when running openstack).
|
| 511 | 9 or q) Quit
|
| 512 |
|
| 513 | Command: q
|
| 514 | #
|