Skip to content

Commit fef03a8

Browse files
author
Steven Smith
committed
Updates network optimization docs
1 parent 6b5d850 commit fef03a8

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

scalability_and_performance/optimization/optimizing-networking.adoc

+8-6
Original file line numberDiff line numberDiff line change
@@ -10,18 +10,20 @@ xref:../../networking/ovn_kubernetes_network_provider/about-ovn-kubernetes.adoc#
1010

1111
Geneve provides benefits over VLANs, such as an increase in networks from 4096 to over 16 million, and layer 2 connectivity across physical networks. This allows for all pods behind a service to communicate with each other, even if they are running on different systems.
1212

13-
Geneve encapsulates all tunneled traffic in user datagram protocol (UDP) packets. However, this leads to increased CPU utilization. Both these outer- and inner-packets are subject to normal checksumming rules to guarantee data is not corrupted during transit. Depending on CPU performance, this additional processing overhead can cause a reduction in throughput and increased latency when compared to traditional, non-overlay networks.
13+
Cloud, virtual, and bare-metal environments running {product-title} can use a high percentage of a NIC's capabilities with minimal tuning. Production clusters using OVN-Kubernetes with Geneve tunneling can handle high-throughput traffic effectively and scale up (for example, utilizing 100 Gbps NICs) and scale out (for example, adding more NICs) without requiring special configuration.
1414

15-
Cloud, VM, and bare metal CPU performance can be capable of handling much more than one Gbps network throughput. When using higher bandwidth links such as 10 or 40 Gbps, reduced performance can occur. This is a known issue in Geneve-based environments and is not specific to containers or {product-title}. Any network that relies on Geneve or VXLAN tunnels will perform similarly because of the tunnel implementation.
15+
In some high-performance scenarios where maximum efficiency is critical, targeted performance tuning can help optimize CPU usage, reduce overhead, and ensure that you are making full use of the NIC's capabilities.
1616

17-
If you are looking to push beyond one Gbps, you can:
17+
For environments where maximum throughput and CPU efficiency are critical, you can further optimize performance with the following strategies:
1818

19-
* Evaluate network plugins that implement different routing techniques, such as border gateway protocol (BGP).
20-
* Use Geneve-offload capable network adapters. Geneve-offload moves the packet checksum calculation and associated CPU overhead off of the system CPU and onto dedicated hardware on the network adapter. This frees up CPU cycles for use by pods and applications, and allows users to utilize the full bandwidth of their network infrastructure.
19+
* Validate network performance using tools such as `iPerf3` and `k8s-netperf`. These tools allow you to benchmark throughput, latency, and packets-per-second (PPS) across pod and node interfaces.
2120
22-
Geneve-offload does not reduce latency. However, CPU utilization is reduced even in latency tests.
21+
* Evaluate OVN-Kubernetes User Defined Networking (UDN) routing techniques, such as border gateway protocol (BGP).
22+
23+
* Use Geneve-offload capable network adapters. Geneve-offload moves the packet checksum calculation and associated CPU overhead off of the system CPU and onto dedicated hardware on the network adapter. This frees up CPU cycles for use by pods and applications, and allows users to use the full bandwidth of their network infrastructure.
2324
2425
// Optimizing the MTU for your network
26+
2527
include::modules/optimizing-mtu-networking.adoc[leveloffset=+1]
2628

2729
[role="_additional-resources"]

0 commit comments

Comments
 (0)