The commands in this section control the amount of memory pre-allocated by the dataplane for buffers.
Buffers per NUMA¶
Systems with multiple CPU sockets and Non-uniform memory access (NUMA) capabilities may need specific tuning to ensure that enough buffer space is available for the number of separate NUMA nodes. The number of NUMA nodes is typically the number of populated CPU sockets. Specifically, the scenarios which require tuning typically involve a large number of interfaces combined with multiple CPU worker threads.
This refers to separate hardware CPUs, not a single CPU with multiple cores.
dataplane buffers buffers-per-numa <buffers-per-numa> command allocates
the given number of buffers for each CPU socket (e.g.
Default Data Size¶
dataplane buffers default-data-size <default-data-size> controls the
default size of each buffer, in bytes (e.g.
Commands in this section configure memory allocation for the dataplane.
- dataplane main-heap-size heap-size [<size>]
Defines the amount of memory to be allocated for the main memory heap. This includes ACL data and the dataplane FIB (IPv4 and IPv6), among other uses.
For more information, see Memory Usage and Tuning.
When tuning this value, also consider increasing the Statistics Segment
- dataplane memory main-heap-page-size (default|4k|2m|1g)
Defines the memory page size for the main heap.
- dataplane ip6 hash-buckets [<size>]
Defines the number of IPv6 forwarding table hash buckets. The default is