show datapath-config

This command displays the current DPDK-based settings for the datapath. The command has no arguments.

Syntax

show datapath-config

Output Example

As shown below, this command displays key core and memory configuration of the deployment. Exact output is dependent on your environment.

For example, you may or may not be using hyperthreading, which establishes physical vs. logical CPU considerations. Some hypervisors do not present physical and logical cores such that the SBC can differentiate between CPU types using uppercase and lowercase letters. In these conditions, the SBC displays all CPUs with uppercase letters. When supported by the platform, however, the SBC displays a second logical core of each physical core using lowercase lettering.

Bear in mind that the second, logical core of a physical core cannot be assigned to any DPDK function. The system automatically sets them to signaling.

A VM with 8 vCPUs and hyper-threading enabled assigns the pairing of the cores as follows:

  • Cores (0,4)
  • Cores (1,5)
  • Cores (2,6)
  • Cores (3,7)
NFV-1# show datapath-config
 Number of cores assigned to VM: 8
        Current core assignment: S-F-D-X-s-s-s-s
            Requested Page size: 1 GB
              Current Page size: 2 MB
           Number of 1 GB pages: 0
           Number of 2 MB pages: 10
            Total system memory: 3841 MB
   Memory reserved for datapath: 1020 MB
  Memory requested for datapath: 2048 MB
Field Description
Number of cores assigned to VM The number of cores that this VM can use.
Current core assignment The core assignment, based on function type:
  • S - signaling
  • D - DoS
  • F - Forwarding
  • X - Transcoding

The position of the function indicates the core number.

Requested Page size Configured page size.
Current Page size Actual page size.
Number of 1 GB pages Number of 1GB Hugepages allocated.
Number of 2 MB pages Number of 1GB Hugepages allocated.
Total system memory Total DPDK System Memory.
Memory reserved for datapath Actual memory reserved for datapath.
Memory requested for datapath Configured memory reserved for datapath.