Advanced runtime parameters

The following options are less commonly used, but may be useful from time to time.

Routing capabilities

--max-ipv4-8tables

Specify the maximum number of IPv4 /8 table entries.

Default value
10000

Note

IPv4 /8 table entries indicates the number of internal structures used by the fast path to implement its routing tree algorithm for IPv4. The number of IPv4 /8 table entries depend on the number of routes created by the system, and on their distribution. The statistic rule to compute it is: 7 * VRs + IPv4 routes / 10.

  • Check IPv4 /8 table entries usage:

    <fp-0> route4-filling
    IPv4 tables filling:
    fp_8_table_shared: 14/11000 (0.127273%) IPv4:6
    fp_8_entries_shared: 1544/2816000 (0.054830%)
    fp_16_entries_shared: 65857/2097152 (3.140306%)
    fp_rt4_table: 9/50001 (0.018000%)
    fp_nh4_table: 4/5001 (0.079984%)
    

The field IPv4 of the line fp_8_table_shared indicates the number of used IPv4 /8 table entries.

--max-ipv6-8tables

Specify the maximum number of IPv6 /8 table entries.

Default value
1000

Note

IPv6 /8 table entries indicates the number of internal structures used by the fast path to implement its routing tree algorithm for IPv6. The number of IPv6 /8 table entries depend on the number of routes created by the system, and on their distribution. The statistic rule to compute it is: 28 * VRs + IPv6 routes / 5.

  • Check IPv6 /8 table entries usage:

    <fp-0> route6-filling
    IPv6 tables filling:
    fp_8_table_shared: 14/11000 (0.127273%) IPv6:8
    fp_8_entries_shared: 1544/2816000 (0.054830%)
    fp_16_entries_shared: 65857/2097152 (3.140306%)
    fp_rt6_table: 3/50001 (0.006000%)
    fp_nh6_table: 0/5001 (0.000000%)
    

The field IPv6 of the line fp_8_table_shared indicates the number of used IPv6 /8 table entries.

Filtering capabilities

--nfct-hash-order

Size order of IPv4 conntrack hash table. Value automatically updated if --max-nfct is changed.

Default value
16
Range
16 .. 20
--nf6ct-hash-order

Size order of IPv6 conntrack hash table. Value automatically updated if --max-nf6ct is changed.

Default value
16
Range
16 .. 20

VXLAN capabilities

--vxlan-port-hash-order

Size order of (VXLAN destination port, VR) tuples. Value automatically updated if --max-vxlan-port is changed.

Default value
4
Range
1 .. 31
--vxlan-if-hash-order

Size order of VXLAN interfaces hash table Value automatically updated if --max-vxlan-if is changed.

Default value
8
Range
1 .. 31
--vxlan-fdb-hash-order

Size order of VXLAN forwarding database hash table Value automatically updated if --max-vxlan-fdb is changed.

Default value
13
Range
1 .. 31

Reassembly capabilities

--reass-hash-order

Size order of reassembly hash table for IPv4. Value automatically updated if --max-reass-queues is changed.

Default value
7
Range
1 .. 31
--max-reass-time

Maximum lifetime of a reassembly procedure for IPv4 (ms).

Default value
2000
Range
1 .. 100M
--max-reass-interfrag

Maximum time between two fragments for a IPv4 reassembly procedure (ms).

Default value
200
Range
1 .. 100M
--reass6-hash-order

Size order of reassembly hash table for IPv6. Value automatically updated if --max-reass6-queues is changed.

Default value
7
Range
1 .. 31
--max-reass6-time

Maximum lifetime of a reassembly procedure for IPv6 (ms).

Default value
2000
Range
1 .. 100M
--max-reass6-interfrag

Maximum time between two fragments for a IPv6 reassembly procedure (ms).

Default value
200
Range
1 .. 100M

Filtering cache capabilities

--nf-cache-order

Size order of IPv4 Netfilter flows stored in cache.

Default value
14
Memory footprint per IPv4 Netfilter flow
128 B
Range
1 .. 31
--nf-cache-hash-order

Size order of IPv4 Netfilter cache hash table. If this value is not specified, it defaults to –nf-cache-order value for better performances.

Default value
0
Memory footprint per IPv4 Netfilter rule
16 B
Range
1 .. 31
--nf6-cache-order

Size order of IPv6 Netfilter flows stored in cache.

Default value
14
Memory footprint per IPv6 Netfilter flow
128 B
Range
1 .. 31
--nf6-cache-hash-order

Size order of IPv6 Netfilter cache hash table. If this value is not specified, it defaults to –nf6-cache-order value for better performances.

Default value
0
Memory footprint per IPv6 Netfilter rule
16 B
Range
1 .. 31