---
id: 2025-07-16-ultra-ethernet-explained-fundamentals-use-cases-and-practical-example
slug: ultra-ethernet-explained-fundamentals-use-cases-and-practical-example
title: "Ultra Ethernet explained: fundamentals, use cases and a practical example"
excerpt: "What Ultra Ethernet is, how it differs from classic Ethernet, and where the technology matters in AI, HPC, storage and Linux environments."
date: "2025-07-16T09:00:00+02:00"
updated: "2025-07-16T09:00:00+02:00"
author:
  name: "László Kovács"
  handle: "lkovacs"
category: ["network"]
tags: ["netzwerk", "ultra-ethernet", "ethernet", "rdma", "hpc", "ai", "linux-netzwerk", "rechenzentrum"]
toc: true
reading_time: 79
---

Ultra Ethernet is becoming one of the most important network technologies for modern datacentres and high-performance applications. As a <span class="nb-accent">system administrator</span> you may have to decide whether and when a move from standard Ethernet to Ultra Ethernet makes sense. The technology promises clear gains in latency and throughput — but what does that mean for daily work?

### Practical relevance for day-to-day administration

Picture running a <span class="nb-accent">datacentre</span> where AI models are trained or large amounts of data fly between servers. In those scenarios a conventional <span class="nb-accent">Ethernet network</span> can hit its limits fast: delays in transfer, clogged links and inefficient use of available bandwidth mean longer waits and higher energy use.

Ultra Ethernet is an optimised answer built for those demanding environments. It cuts latency — the delay in data exchange — to a minimum and brings throughput, the amount of data per second, closer to the theoretical maximum.

For you as a <span class="nb-accent">system administrator</span> that means fewer bottlenecks in data-heavy applications. **A day-to-day example:** you configure a cluster for machine-learning tasks where GPUs must talk to each other. With standard Ethernet you might see latency of 50 to 200 microseconds, which slows training. Ultra Ethernet pushes that down to 1 to 10 microseconds, which can shorten the overall run by hours or days. That saves time, power and hardware cost.

<blockquote class="infobox infobox--practice">
❗ **A typical beginner error:** underestimating how much network latency affects overall performance. In a storage cluster where files sync over the network, high latency can lead to inconsistent data and then outages.
</blockquote>

Ultra Ethernet matters especially when you work with <span class="nb-accent">high-performance computing (HPC)</span> — systems that run complex simulations — or with <span class="nb-accent">AI workloads</span> that need real-time decisions. In virtualised environments, such as orchestrating containers with Kubernetes, you also benefit from improved congestion control — the mechanism that prevents overload. Think of it as an intelligent traffic system: instead of allowing jams, Ultra Ethernet reroutes traffic before problems appear.

<blockquote class="infobox infobox--info">
💡 **Tip:** If your network is mainly for simple office applications, standard Ethernet is often enough. As soon as you move into big data or cloud computing, Ultra Ethernet is worth a look to prevent scalability problems.
</blockquote>

In daily administration the technology also helps troubleshooting. Modern `switches` and `NICs` that support <span class="nb-accent">Ultra Ethernet</span> offer extra diagnostic tools with detailed insight into the data flow. You can find bottlenecks faster and cut downtime. Think of a cluster that fails because packets are lost — with Ultra Ethernet’s improved flow management the chance of that drops considerably.

A simple diagram of the difference in a typical datacentre:

```markdown
Standard Ethernet: high latency, jams possible                 
Server A ----(50-200 μs delay)---- Server B                    
             |                           |                     
             v                           v                     
Packet       -> queue -> loss? -> resend                       
                                                               
Ultra Ethernet: low latency, efficient flow                    
Server A ----(1-10 μs delay)---- Server B                      
             |                           |                     
             v                           v                     
Packet       -> direct path -> no loss -> immediate delivery   
```

The diagram makes clear why Ultra Ethernet becomes essential in modern IT: it turns a potentially chaotic network into a reliable, high-performance data highway.

<blockquote class="infobox infobox--warn">
⚠️ **Warning:** Before you deploy Ultra Ethernet, check hardware compatibility. Not all older switches support the new protocols, which can force expensive upgrades.
</blockquote>

For administrators who must handle growing data volumes, Ultra Ethernet is an evolutionary improvement that eases daily work and future-proofs the infrastructure. It is not a revolution, but targeted optimisations that show up as measurable gains.

### Topics you will cover

The following sections walk you through Ultra Ethernet. First the basics: what it is, how it is built and why it exists. Then a comparison with `standard Ethernet` so the differences are tangible. You learn the technical details of latency optimisations and congestion control, and you get a look at hardware requirements.

**In the practical part it gets concrete:** use cases from `HPC` through `AI` to `storage systems`. Especially useful is Linux configuration — how you set up Ultra Ethernet on Linux, load kernel modules and tune performance. That includes detailed examples, terminal commands and network topologies you can follow directly.

Finally there is an outlook and decision help for when a move makes sense. The focus is understanding: each section builds on the previous one, with analogies and diagrams.

<blockquote class="infobox infobox--practice">
❗ **Typical error:** many people skip the basics and jump straight to practice — that leads to misunderstandings. Read in order to get the full benefit.
</blockquote>

### Who this is for

This text is aimed first at learners and apprentices in IT who want to work into networking. If you are training as a systems integrator, you get a clear explanation that breaks complex topics down. Interested readers without deep prior knowledge benefit too: terms such as latency or throughput are explained directly.

Experienced system administrators who want to refresh knowledge or plan a move to Ultra Ethernet get practical tips and examples. IT professionals from neighbouring fields, such as software developers or cloud specialists, learn how networks affect application performance. In short: anyone who wants to understand how modern networks tick without drowning in textbooks.

<blockquote class="infobox infobox--info">
💡 **Tip:** If you are new to Linux administration, combine this with the LPIC-1 series to lock in the basics.
</blockquote>

### How you get the most out of it

Read actively: open a terminal and try the examples where you can. For the practice sections you ideally need a test environment — a virtual datacentre with tools such as VirtualBox or a cloud instance is enough. Note the markers: ⚠️ for warnings that save you errors, and 🔧 for concrete examples.

Start with the basics even if you think you already know Ethernet — the Ultra Ethernet details build on that. After each subsection ask: “How would I apply this in my environment?” If you get stuck, use the resources at the end.

<blockquote class="infobox infobox--warn">
⚠️ **Pitfall:** Do not ignore the hardware aspects. Test compatibility in a sandbox before production, to avoid outages.
</blockquote>

<span class="nb-accent">What to remember:</span> this is a companion from understanding to application — use it interactively and you build real knowledge.

### Important notes and markers

This is a beginner-friendly entry that explains Ultra Ethernet from the basics through to implementation. You learn technical foundations, differences from standard Ethernet and when it is used in IT environments. The approach is practice-oriented, with examples from Linux administration.

**As usual you find special markers:**

:::legend
💡 Tips and notes for more efficient ways of working
⚠️ Warnings and pitfalls that save you problems
🔧 Practical examples you can follow directly
❗ Typical error sources and how to fix them
:::

These help you use the text in a targeted way. Stay with it — the next section goes deeper into the basics.

## Fundamentals of Ultra Ethernet

After the introduction showed how <span class="nb-accent">Ultra Ethernet</span> can improve an administrator’s day in data-heavy environments, the next step is the foundation. Before you configure anything, you need to understand what this technology is and how it differs from what you already know. We build step by step: a clear definition, then the technical details. That makes it clear why Ultra Ethernet is not just an extension, but a targeted optimisation for modern challenges.

### What is Ultra Ethernet?

<span class="nb-accent">Definition and classification</span>

Ultra Ethernet is an extended Ethernet technology built for high-performance applications such as <span class="nb-accent">artificial intelligence (AI)</span> and <span class="nb-accent">high-performance computing (HPC)</span>. At its core it is an open, interoperable protocol based on the proven Ethernet standard, but with optimisations for extremely low latency, high scalability and efficient data handling. Picture Ethernet as a reliable but somewhat dated road system — Ultra Ethernet adds high-speed lanes, intelligent lights and detours to avoid jams and keep traffic flowing.

The <span class="nb-accent">Ultra Ethernet Consortium (UEC)</span>, a cooperation under the Linux Foundation with more than 100 members such as <span class="nb-accent">AMD</span>, <span class="nb-accent">Broadcom</span>, <span class="nb-accent">Cisco</span>, <span class="nb-accent">Intel</span> and <span class="nb-accent">NVIDIA</span>, drives the development. Specification version 1.0.2 defines a full communication stack that optimises bandwidth, latency and tail latency — the worst-case delay — while staying backward compatible with existing Ethernet systems. That means you can integrate Ultra Ethernet step by step without turning everything over.

<blockquote class="infobox infobox--info">
💡 **Tip:** Tail latency is the key term here. In AI workloads where thousands of processes must run in sync, a single delayed packet can slow the whole job. Ultra Ethernet minimises that with prediction and fast adaptation.
</blockquote>

<span class="nb-accent">The base: standard Ethernet as foundation</span>

To understand Ultra Ethernet, start with `standard Ethernet`, the foundation. Standard Ethernet, defined by the `IEEE 802.3` standard since the 1980s, is a protocol for local networks (LANs) that carries packets over `cable` or `fibre`. It works mainly on `layer 1 (physical layer)` and `layer 2 (data link layer)` of the OSI model — think of [OSI as a layered model](/en/network/the-osi-model-a-detailed-introduction-to-the-7-layers){.badge-link-text} that splits network communication into seven levels, from hardware to the application.

In standard Ethernet, devices share a medium, and mechanisms such as `Carrier Sense Multiple Access with Collision Detection (CSMA/CD)` prevent collisions when two packets are sent at once. Modern switches make that more efficient by creating dedicated connections between ports, which enables `full-duplex` — send and receive at the same time. Typical speeds range from `1 Gbit/s` to `400 Gbit/s`, but in practice you often use only `60–80 %` of the bandwidth because of overhead and congestion.

**A diagram of the OSI model and where Ethernet sits:**

```markdown
OSI layer model (simplified):                                  
7: Application (e.g. HTTP)                                     
6: Presentation                                                
5: Session                                                     
4: Transport (e.g. TCP/UDP)                                    
3: Network (e.g. IP)                                           
2: Data link <- Ethernet (MAC addresses, frames)               
1: Physical <- Ethernet (cables, signals)                      
                                                               
Standard Ethernet flow:                                        
Sender -> Frame (header + payload) -> Switch -> Receiver       
          | collision detect (old) |                           
          v Modern: point-to-point v                           
```

**That makes Ethernet scalable and reliable, but for AI and HPC it is not enough:** high latency from queues and unpredictable jams are a problem.

<blockquote class="infobox infobox--practice">
❗ **Typical error:** many administrators think more bandwidth solves everything — without latency optimisation, performance stays limited.
</blockquote>

<span class="nb-accent-info">What to remember:</span> standard Ethernet is robust, but Ultra Ethernet builds on it to fix specific weaknesses for demanding workloads.

<span class="nb-accent">History and motivation</span>

The motivation for Ultra Ethernet came from growing `AI` and `HPC` requirements. In the early 2020s AI models such as large language models exploded and needed huge GPU clusters. Traditional networks such as InfiniBand were specialised, but proprietary and expensive. Ethernet was open and cheap, but lacked performance for tail-latency-sensitive applications.

**The UEC was founded in 2023 to adapt Ethernet:** focus on multi-pathing (several paths for data), fast congestion reaction and flow management. The consortium published specification 1.0.2, with features such as <span class="nb-accent">Ultra Ethernet Transport (UET)</span> and <span class="nb-accent">Programmable Congestion Management (PCM)</span>. Members such as Broadcom have launched products like the <span class="nb-accent">Thor Ultra 800G NIC</span> that are UEC-conformant.

**The core motivation:** make Ethernet scalable for millions of XPUs (accelerators such as GPUs) over distances up to 60 miles, with a focus on TCO (total cost of ownership) — lower cost through open standards. Compared with InfiniBand it offers better interoperability and easier integration into cloud environments.

<blockquote class="infobox infobox--warn">
⚠️ **Warning:** Early adoptions had compatibility problems; wait for certified hardware to avoid interop issues.
</blockquote>

<span class="nb-accent-info">What to remember:</span> Ultra Ethernet grew from necessity — it closes the gap between the open Ethernet world and specialised networks.

### Technical foundations of the protocol

**Now the core:** how Ultra Ethernet works technically. It extends the stack across all layers, with emphasis on transport and the link layer.

<span class="nb-accent">Architecture and layer model</span>

The architecture is based on Ethernet, but with `UET` as a new transport protocol. UET replaces parts of `TCP/UDP` for better performance and supports `RDMA (Remote Direct Memory Access)` for direct memory access without loading the CPU. The stack includes L2/L3 framing for efficient headers, lossless networking and error recovery.

**ASCII diagram of the architecture:**

```markdown
Ultra Ethernet stack:                                          
Application -> API (e.g. MPI for HPC)                          
Transport -> UET (multi-pathing, PCM)                          
Network  -> IP (with extensions)                               
Data link -> Ethernet frames + CBFC                            
Physical  -> 800G+ NICs/switches                               
                                                               
Compared with standard:                                        
Standard: TCP/IP over Ethernet                                 
Ultra:   UET/IP over optimised Ethernet                        
```

That enables flexible congestion management and small-message optimisation.

🔧 **Practical example:**

In Python with netifaces you could check interfaces, but for UET you need special drivers.

**Latency optimisations in detail**

Latency drops to `1–10 μs` through `RDMA over Converged Ethernet (RoCEv2)` and `CBFC (Credit-Based Flow Control)`, which guarantees flow control with credits. Tail latency is minimised with prediction algorithms.

**Analogy:** like an express train that avoids stops.

**Congestion control and flow management**

PCM allows programmable reactions to congestion, for example AI-assisted reroutes. Multi-pathing spreads flows across paths.

<blockquote class="infobox infobox--practice">
❗ **Error:** without PCM, flows can stall — test with iperf.
</blockquote>

**Hardware requirements and compatibility**

Needs 800G NICs such as Thor Ultra, switches with 200G/lane. Compatible with legacy via fallback.

<blockquote class="infobox infobox--warn">
⚠️ **Warning:** high cost for upgrades.
</blockquote>

<span class="nb-accent-info">What to remember:</span> the foundations make Ultra Ethernet efficient — focused on latency and flow.

### Comparison with standard Ethernet

<span class="nb-accent">Differences in throughput and efficiency</span>

Throughput: 90–98 % vs 60–80 %. Comparison:

```markdown
| Aspect       | Standard | Ultra    |                         
|--------------|----------|----------|                         
| Latency      | 50-200μs | 1-10μs   |                         
| Utilisation  | 60-80%   | 90-98%   |                         
```

**Advantages for modern applications**

Better scalability for AI.

**Potential drawbacks and transition challenges**

Complexity, migration.

<blockquote class="infobox infobox--practice">
❗ **Error:** start with a pilot.
</blockquote>

<span class="nb-accent-info">What to remember:</span> Ultra beats standard on the key metrics.

### Use cases and scenarios

<span class="nb-accent">High-performance computing (HPC)</span>

For simulations, for example on supercomputers.

**AI workloads and machine learning:** speeds up training.
**Storage systems and cloud infrastructure:** NVMe-oF for fast storage.

<span class="nb-accent">Virtualisation and container environments</span>

Kubernetes with low-latency VMs.

<blockquote class="infobox infobox--info">
💡 **Tip:** integrate with Ceph.
</blockquote>

<span class="nb-accent-info">What to remember:</span> Ultra fits data-intensive areas.

## Practice

<span class="nb-accent">Configuration, integration and troubleshooting</span>

With the foundations and use cases in mind, it now gets hands-on. You know why Ultra Ethernet shines in HPC or AI — but how do you implement it? This section is practical: from configuration on Linux through cluster build-out to examples and troubleshooting. It follows typical administrator tasks, with steps you can follow directly. Remember: Ultra Ethernet is based on open standards such as UEC specification 1.0.1 and integrates into existing Ethernet environments.

**Linux-specific configuration of Ultra Ethernet**

Linux is the heart of many datacentres, and Ultra Ethernet benefits from strong kernel support. Since kernel version 6.8 (and later series) UET (Ultra Ethernet Transport) is integrated natively, thanks to UEC contributions. That means you can use RDMA-like features such as RoCEv2 with CBFC (Credit-Based Flow Control) without proprietary drivers. But note: for full performance you need compatible hardware, such as 800G NICs from Broadcom (Thor Ultra) or NVIDIA.

**Kernel support and modules**

First you check whether your kernel supports Ultra Ethernet. On a fresh Ubuntu 24.04 LTS or Fedora install, modules such as mlx5_core or bnxt_en are often preinstalled, but for UET features you load extra modules. UET builds on libfabric 2.0, which you install via the package manager.

Picture booting a server with a new 800G NIC. First you update the kernel if needed:

```bash
sudo apt update && sudo apt upgrade -y
sudo apt install linux-generic-hwe-24.04  # For newer kernel features
sudo reboot
```

**After reboot you load modules:**

```bash
modprobe mlx5_core  # For Mellanox/NVIDIA-compatible NICs
modprobe rdma_ucm   # For RDMA user space
modprobe uet        # Ultra Ethernet Transport module
```

**Check with:**

```bash
lsmod | grep rdma
```

That shows whether `RDMA` and `UET` are active. If not, compile the kernel with `CONFIG_UET=y` — but that is rarely needed, because distributions such as Red Hat Enterprise Linux 9.4 offer it out of the box.

<blockquote class="infobox infobox--practice">
❗ **Typical error:** forgetting to reconfigure the kernel on a custom build. Use tools such as `dkms` for driver updates.
</blockquote>

**Analogy:** the kernel is the engine of your car — UET modules are the turbos you enable for more power.

<span class="nb-accent-info">What to remember:</span> kernel support is the entry; without it nothing works.

<span class="nb-accent">Setting up network interfaces</span>

**Now you configure the interfaces.**

Ultra Ethernet uses standard tools such as `ip` and `ethtool`, extended with UET options. Assume your NIC is `enp1s0`.

**First enable the interface:**

```bash
sudo ip link set enp1s0 up
```

**Set IP and MTU**

(Maximum Transmission Unit) — for Ultra Ethernet recommended: `9000 bytes` for jumbo frames.

```bash
sudo ip addr add 192.168.10.10/24 dev enp1s0
sudo ip link set enp1s0 mtu 9000
```

**Enable CBFC and PCM (Programmable Congestion Management):**

```bash
sudo ethtool --set-priv-flags enp1s0 cbfc on
sudo ethtool --set-priv-flags enp1s0 pcm on
```

That enables Credit-Based Flow Control, which prevents jams by exchanging credits between devices — like a ticket system for packets.

**For a persistent config:**

Edit `/etc/netplan/01-netcfg.yaml` (on Ubuntu):

```yaml
network:
  version: 2
  renderer: networkd
  ethernets:
    enp1s0:
      dhcp4: no
      addresses: [192.168.10.10/24]
      mtu: 9000
      optional: true
```

Then apply: `sudo netplan apply`.

<blockquote class="infobox infobox--warn">
⚠️ **Warning:** Wrong MTU settings lead to fragmentation and latency spikes. Always test with `ping -M do -s 8972 192.168.10.1`.
</blockquote>

**ASCII diagram for interface setup:**

```markdown
Server with NIC:                                               
[Kernel] --(modprobe uet)--> [UET stack]                       
           |                                                   
           v                                                   
[enp1s0] --(ip link up, mtu 9000)--> [Switch port]             
           |                                                   
           v                                                   
[ethtool --set-priv-flags cbfc on] --> enable flow control     
```

That visualises the flow from kernel to hardware.

<span class="nb-accent-info">What to remember:</span> setting up interfaces is like building a bridge — stable and tuned.

<span class="nb-accent">Performance tuning and optimisations</span>

Performance tuning makes the difference. Use `sysctl` for kernel parameters:

```bash
sudo sysctl -w net.core.rmem_max=16777216
sudo sysctl -w net.core.wmem_max=16777216
sudo sysctl -w net.ipv4.tcp_congestion_control=dcqcn  # For AI optimisation
```

**For UET specifically:** adjust `libfabric`.

**Install:**

```bash
sudo apt install libfabric-dev
```

**In an app (for example MPI for HPC):**

Set `FI_PROVIDER=uet`.

**Benchmark with iperf3 for throughput:**

```bash
iperf3 -s  # On the server
iperf3 -c 192.168.10.10 -t 60 -i 1  # On the client
```

Expect 90–98 % utilisation at 800G.

**For tail latency:** use `rdma`-perftest.

<blockquote class="infobox infobox--info">
💡 **Tip:** Integrate with Prometheus for long-term tuning — export metrics via node_exporter.
</blockquote>

<span class="nb-accent-info">What to remember:</span> tuning is iterative; test, measure, adjust.

### Building an Ultra Ethernet cluster

Building a cluster means connecting servers, switches and software. Based on UEC reference designs (for example from the 1.0 whitepaper) you plan for scale.

**Planning the network topology**

Leaf-spine is standard for Ultra Ethernet — leaves connect servers, spines connect the leaves.

**For a 128-GPU cluster:** 8 leaves (for example NVIDIA Spectrum-4 switches), 4 spines.

**ASCII diagram:**

```markdown
Spine layer:                                                   
Spine1 -- Spine2 -- Spine3 -- Spine4                           
 |         |         |         |                               
 v         v         v         v                               
Leaf1 -- Leaf2 -- ... -- Leaf8                                 
 |         |                                                   
 v         v                                                   
GPU-Server1 ... GPU-Server128                                  
```

Each server has 2× `400G uplinks` (redundant) to leaves.

**Advantage:** multi-pathing via UET.
**Planned bandwidth:** 400G per GPU, aggregated 51.2 Tbps per leaf.

🔧 **Practical example:**

Use Cumulus Linux on switches for automated config via `NVUE`.

<span class="nb-accent-info">What to remember:</span> topology is the blueprint — plan it wrong and scaling fails.

### Integration into existing infrastructure

**Hybrid setup:** connect Ultra to standard Ethernet via gateway switches. Use VLANs for isolation.

**Step:** configure BGP for routing:

On the switch (Cumulus):

```bash
nv set vrf default router bgp autonomous-system 65000
nv set router bgp enable on
nv config apply
```

**Migrate step by step:** start with a pilot cluster, then expand.

<blockquote class="infobox infobox--practice">
❗ **Error:** ignoring firmware updates — UEC needs current certified versions for full compatibility.
</blockquote>

<span class="nb-accent-info">What to remember:</span> integration is evolutionary, not revolutionary.

### Monitoring tools and commands

**Monitoring is essential.** Use `ethtool` for stats:

```bash
ethtool -S enp1s0
```

**For a cluster:** Prometheus with an exporter for UET metrics (latency, congestion).

**Install:**

```bash
sudo apt install prometheus
```

**Config in prometheus.yml:**

```yaml
scrape_configs:
  - job_name: 'uet'
    static_configs:
      - targets: ['localhost:9100']
```

<span class="nb-accent-info">What to remember:</span> monitoring prevents surprises.

### Practical examples from daily work

Concrete scenarios.

**Example:** setup for an AI training cluster

You build a 16-GPU cluster for TensorFlow training. Hardware: 4 servers with NVIDIA H200 GPUs, connected via Ultra Ethernet.

**Step 1:** install CUDA and NCCL (with UET support).

```bash
sudo apt install cuda-toolkit
```

**Step 2:** configure NCCL for UET:

Set ENV:

```bash
export NCCL_NET=Libfabric FI_PROVIDER=uet
```

**Test with nccl-tests:**

```bash
mpirun -np 16 ./all_reduce_perf -b 8 -e 128M -f 2 -g 1
```

Expect under 5 μs latency.

**ASCII diagram:**

```markdown
AI cluster:                                                    
Server1(GPU1-4) --800G--> Leaf switch                          
Server2(GPU5-8) --800G-->                                      
...                                                            
Training job: MPI over UET --> synchronous training            
```

<blockquote class="infobox infobox--info">
💡 **Tip:** Use Kubernetes with a device plugin for GPU orchestration.
</blockquote>

**Example:** optimising a storage cluster

For Ceph: integrate Ultra Ethernet for NVMe-oF.

**Configure OSDs with UET:**

In ceph.conf:

```bash
ms_type = async+uet
```

**Benchmark with fio:**

```bash
fio --name=read --ioengine=libaio --iodepth=16 --rw=read --bs=4k --size=1G --numjobs=4
```

**Comparison:** standard Ethernet 80 % utilisation, Ultra 95 %.

<blockquote class="infobox infobox--practice">
❗ **Error:** forgetting QoS — prioritise storage traffic with `ethtool --set-channels`.
</blockquote>

<span class="nb-accent">Typical error sources and solutions</span>

**Error:** high tail latency from wrong PCM.
**Fix:** enable PCM with ethtool, monitor with perf.

**Error:** packet loss.
**Fix:** check CBFC status: `ethtool -a enp1s0`.

### Troubleshooting and maintenance

Solving problems is daily work.

**Diagnosing common problems**

:::legend
**Latency spikes:** cause is often congestion.
**Diagnosis:** `tcpdump -i enp1s0 -w capture.pcap`, analyse with Wireshark.
:::

:::legend
**Error:** incompatible firmware — update via `mlxfwmanager`.
**Tools for troubleshooting and logging**
:::

:::legend
**journalctl for logs:** `journalctl -u NetworkManager -f`
**Wireshark for packet analysis:** filter: "uet".
**rdma tool:** `ibstatus` (adapted for UET).
:::

<span class="nb-accent">Scaling and upgrades</span>

:::legend
**Scale:** add leaves, reconfigure BGP.
**Upgrades:** test in the lab, rollback via snapshot.
:::

<blockquote class="infobox infobox--warn">
⚠️ **Warning:** back up configs before upgrades.
</blockquote>

## Command Reference (Cheatsheet)

The following reference collects the essential commands for Ultra Ethernet on Linux:

| Category | Command | Purpose |
| :--- | :--- | :--- |
| **Kernel** | `modprobe uet` | Loads the Ultra Ethernet Transport module |
| **Kernel** | `modprobe mlx5_core` | Loads Mellanox/NVIDIA NIC driver |
| **Kernel** | `lsmod \| grep rdma` | Checks whether RDMA/UET is loaded |
| **Link** | `sudo ip link set enp1s0 up` | Brings the interface up |
| **Link** | `sudo ip link set enp1s0 mtu 9000` | Jumbo frames |
| **Flags** | `sudo ethtool --set-priv-flags enp1s0 cbfc on` | Credit-Based Flow Control |
| **Flags** | `sudo ethtool --set-priv-flags enp1s0 pcm on` | Programmable Congestion Management |
| **Stats** | `ethtool -S enp1s0` | Interface counters |
| **Flow** | `ethtool -a enp1s0` | Pause/CBFC status |
| **Tuning** | `sudo sysctl -w net.ipv4.tcp_congestion_control=dcqcn` | Congestion algorithm for AI |
| **Throughput** | `iperf3 -c 192.168.10.10 -t 60` | Bandwidth test |
| **Capture** | `tcpdump -i enp1s0 -w capture.pcap` | Packet capture for Wireshark |
| **MTU** | `ping -M do -s 8972 192.168.10.1` | Path MTU test |

## Further Resources

### Decision aids

<span class="nb-accent">When is it worth deploying?</span>

A move to Ultra Ethernet is not right for every environment — it depends on your requirements. **Ask first:** do you have data-intensive workloads where latency or throughput is the bottleneck? If yes, it is worth it. **Concretely:** in HPC clusters running simulations, Ultra Ethernet can cut compute time by up to 30 %, as SPEC MPI benchmarks show. For AI workloads such as distributed TensorFlow training it is essential once you work with more than 16 GPUs — tail latency drops, which enables scale.

**Further criteria:** your bandwidth utilisation. If standard Ethernet sits under 80 % because of congestion, switch — Ultra with PCM solves that. Storage systems benefit when you use NVMe-oF: faster sync in Ceph or similar reduces outages. In cloud or virtualisation environments such as Kubernetes it is ideal for latency-critical containers where real-time decisions count.

**When not?** On simple office networks or low data volumes, standard Ethernet is enough — the higher hardware cost (for example 800G NICs from about 5000 €) does not pay off. Calculate ROI: use tools such as MLPerf for AI benchmarks to compare before/after. If your latency must stay under 50 μs and throughput over 90 %, Ultra is the choice.

**Decision tree:**

```markdown
Need <10 μs latency? Yes -> Ultra Ethernet                     
                     |                                         
                     No -> BW >400G? Yes -> Ultra              
                                     |                         
                                     No -> AI/HPC? Yes -> Ultra
                                                   |           
                                     No -> Stay with standard  
```

Test in a lab: build a small cluster with 4 servers and measure — if gains are over 20 %, invest.

### Resources for further learning and community

To go deeper, start with the official UEC website (ultraethernet.org), which offers specification 1.0.2, whitepapers on PCM and UET, and reference code for libfabric. The UEC blog (ultraethernet.org/blog) carries updates on members and development.

🔧 **Practical example:**

Subscribe to netdev for daily updates — it helps with kernel patches for UET.

<span class="nb-accent-info">What to remember:</span> these resources give a solid base; bookmark them and take part in communities.

| Resource | Description | Type |
| :--- | :--- | :--- |
| [Ultra Ethernet Consortium](https://ultraethernet.org/){.badge-link-text} | Specification 1.0.2, whitepapers, libfabric reference | Standard |
| [Linux kernel networking docs](https://www.kernel.org/doc/html/latest/networking/index.html){.badge-link-text} | Kernel networking, RDMA and InfiniBand | Documentation |
| [OSI model](/en/network/the-osi-model-a-detailed-introduction-to-the-7-layers){.badge-link-text} | Layer 1/2 context for Ethernet | Article |
| [TCP/IP protocol family](/en/network/tcp-ip-structure-and-how-the-protocol-family-works){.badge-link-text} | Four-layer stack that UET extends | Article |
| [Netdev mailing list](https://vger.kernel.org/vger-lists.html#netdev){.badge-link-text} | Kernel networking development | Community |
| [linux-rdma](https://lists.openfabrics.org/mailman/listinfo/linux-rdma){.badge-link-text} | RDMA subsystem | Community |
| [NVIDIA Deep Learning Institute](https://www.nvidia.com/en-us/training/){.badge-link-text} | Training for GPU clusters | Training |
| [SPEC HPC](https://www.spec.org/hpc2021/){.badge-link-text} | HPC benchmarks | Benchmark |
| [MLPerf](https://mlcommons.org/en/training/){.badge-link-text} | AI training benchmarks | Benchmark |
| [Brendan Gregg’s blog](https://www.brendangregg.com/blog/){.badge-link-text} | Performance analysis | Blog |

## Conclusion

### Advantages and recommendations

After configuring Ultra Ethernet, integrating it into a cluster and solving problems — from kernel modules through topologies to real examples such as AI training or storage optimisation — it is time to pull it together. You now have the tools to implement Ultra Ethernet in your environment and you know the pitfalls.

Ultra Ethernet has established itself as a strong complement to standard Ethernet, with measurable advantages that come straight from the foundations and practice. Cutting latency from 50–200 microseconds to 1–10 microseconds is a game changer for applications where every delay counts — think of AI models that train for hours, or HPC simulations that process data in real time. Throughput rises from 60–80 % to 90–98 % of rated performance, thanks to features such as UET (Ultra Ethernet Transport) and CBFC that manage congestion intelligently. In practice that means less hardware, because you do more with fewer resources, and lower operating cost through more efficient energy use.

Another plus is scalability: with multi-pathing and PCM you can run clusters with thousands of GPUs without tail latency — the worst-case delay — stalling the job. Compared with proprietary solutions such as InfiniBand, Ultra Ethernet offers openness and interoperability, which eases migration. The UEC, with more than 100 members, provides broad support — from Broadcom’s Thor Ultra 800G NIC to NVIDIA’s Spectrum-4 switches.

Recommendations: start small, with a pilot in your most critical area, such as a storage cluster or AI setup. Test with tools such as iperf3 for throughput and rdma-perftest for latency to quantify the gains. Integrate it hybrid to keep risk down — use gateway switches for the transition. For Linux environments: keep a current kernel, with active modules such as uet and mlx5_core, and automate tuning via Ansible scripts. The investment often pays back in 6–12 months through shorter runtimes and hardware savings.

<blockquote class="infobox infobox--info">
💡 **Tip:** Combine Ultra Ethernet with NVMe-oF for storage — that multiplies the benefits, as in Ceph setups, and lowers I/O latency further.
</blockquote>

**Visualisation of the advantages:**

```markdown
Advantages at a glance:                                        
Latency:       Standard: 50-200 μs  -> Ultra: 1-10 μs          
Throughput:    Standard: 60-80%     -> Ultra: 90-98%           
Scale:         Up to 1000s of GPUs  -> With PCM: seamless      
Cost:          Higher initially     -> Payback: 6-12 months    
Interop:       Ethernet base        -> Hybrid integration easy 
```

That shows compactly why the switch pays. **Overall:** Ultra Ethernet is no longer a niche technology, but a standard for modern IT that extends your expertise and delivers future-proof performance.

<blockquote class="infobox infobox--practice">
❗ **Error:** do not overestimate the complexity — with specification 1.0.2 and tools such as ethtool, implementation is straightforward as long as you stay hardware-compatible.
</blockquote>

<span class="nb-accent-info">What to remember:</span> the advantages are concrete and measurable; the recommended steps make the start feasible.

### Closing thoughts

Ultra Ethernet has evolved Ethernet from an all-rounder into a specialist for AI and HPC, with advantages that convince in practice. Cutting latency and raising throughput make it the choice for demanding environments, backed by a growing ecosystem. For you as an admin: it extends your skills without turning everything over.

**Look ahead:** with PCM and a path toward 1.6T speeds, Ultra becomes even more scalable, suitable for edge computing and multi-site clusters. It is evolutionary, builds on your Ethernet expertise and secures your infrastructure.

<blockquote class="infobox infobox--info">
💡 **Practical recommendation:** start a pilot — the gains in performance and efficiency will convince you.
</blockquote>

<span class="nb-accent-info">What to remember:</span> Ultra Ethernet is the next step; use it to stay ahead.
