Tip
This is the documentation for the 22.06 version. Looking for the documentation of the latest version? Have a look here.
Buffers¶
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.
Note
This refers to separate hardware CPUs, not a single CPU with multiple cores.
The dataplane buffers buffers-per-numa <buffers-per-numa>
command allocates
the given number of buffers for each CPU socket (e.g. 16384
).
Default Data Size¶
The dataplane buffers default-data-size <default-data-size>
controls the
default size of each buffer, in bytes (e.g. 2048
).
Memory¶
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.
Note
When tuning this value, also consider increasing the Statistics Segment
heap-size
.- 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
65536
.