Tip
This is the documentation for the 20.08 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 (ip|ip6) heap-size [<size>]:
Defines the amount of memory to be allocated for the dataplane FIB. The default is 32MB. For more information, see Working with Large BGP Tables.
Note
When tuning this value, also consider increasing the Statistics Segment
heap-size
.- dataplane ip6 hash-buckets [<size>]:
Defines the number of IPv6 forwarding table hash buckets. The default is
65536
.