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