PRF-230 · Performance Engineering · Advanced

Network Stack Tuning — full syllabus

Getting throughput and latency out of the kernel network path, and knowing when to leave it.

Duration3 full days in person · 6 half-days online
Cohortmax 14 in person · 20 online
Pricefrom SAR 9,000 in person · local pricing per city
Delivery35% principles · 20% guided investigation · 45% engineering studio

Who this course is for

Network and platform engineers pushing throughput or latency through the kernel network stack — and who need to know exactly how far tuning takes you before bypass is the honest answer.

Prerequisites

Course outline

Day 1 — The path and its buffers

  • Packet path end to end: NIC ring, NAPI, stack, socket, application
  • Socket buffers and autotuning: rmem/wmem, tcp_moderate_rcvbuf and their limits
  • Backlog, qdisc and where packets drop silently
  • Congestion control choice: CUBIC vs BBR and what each does to throughput and latency
  • Measuring honestly with iperf3 and netperf: TCP_RR, TCP_STREAM and what they omit

Day 2 — Interrupts, distribution and offloads

  • NAPI polling and the interrupt/throughput trade-off
  • Interrupt coalescing with ethtool: rx-usecs, adaptive mode and their latency cost
  • RSS, RPS, XPS and aRFS: steering packets to the right core
  • Offloads: GRO, GSO, TSO and checksum — what they save and what they hide in measurements
  • IRQ affinity for NIC queues on multi-socket systems

Day 3 — Latency and the bypass decision

  • Tail latency in the network stack: where the p99 comes from
  • tc for truth-telling: adding latency and loss to observe TCP behaviour
  • Busy polling and low-latency socket options
  • Dropwatch and drop reasons: finding where packets die
  • XDP/eBPF and AF_XDP in brief; when kernel bypass (DPDK, RDMA) becomes the right answer and what it costs

Hands-on labs

  1. Lab: tune socket buffers and autotuning limits, then prove the effect with iperf3 and netperf TCP_RR
  2. Lab: configure RSS and IRQ affinity across cores and NUMA nodes; measure the steering win with sar and ethtool -S
  3. Lab: sweep interrupt coalescing settings and plot the throughput-vs-latency trade-off they create
  4. Lab: flip GRO/GSO/TSO offloads one at a time and measure what each contributes; catch one lying to your benchmark
  5. Lab: use tc netem to inject latency and loss, observe TCP behaviour, then hunt drops with dropwatch

Capstone project

Tune a latency-and-throughput-bound service through the kernel stack: baseline it with netperf, find the drops and the tail with counters and dropwatch, apply buffer, IRQ, coalescing and congestion-control changes with per-change evidence, and finish with a written verdict — the best the kernel path delivers, and whether the workload's targets justify bypass.

What you leave with

Upcoming dates

DatesWhereSeatsEarly birdRegular
15 Nov – 17 Nov 20263 full days RiyadhIn person · KAFD Conference Centre 7 of 14 SAR 8,100until 16 OctSAR 9,000
22 Nov – 24 Nov 20263 full days Kuwait CityIn person · Al Hamra Tower 12 of 14 KWD 670until 23 OctKWD 740
29 Nov – 1 Dec 20263 full days MuscatIn person · Knowledge Oasis Muscat 7 of 14 OMR 830until 30 OctOMR 920
29 Nov – 6 Dec 20266 half-days Gulf bandLive online · 09:00–13:00 GMT+3 9 of 20 US$1,580until 30 OctUS$1,750
30 Nov – 2 Dec 20263 full days OttawaIn person · Kanata North Tech Park 12 of 14 CAD 2,930until 31 OctCAD 3,260
7 Dec – 9 Dec 20263 full days TorontoIn person · MaRS Discovery District 7 of 14 CAD 2,930until 7 NovCAD 3,260
7 Dec – 14 Dec 20266 half-days Europe bandLive online · 09:00–13:00 CET 14 of 20 US$1,580until 7 NovUS$1,750
14 Dec – 16 Dec 20263 full days LondonIn person · Shoreditch Works 12 of 14 GBP 1,680until 14 NovGBP 1,870
14 Dec – 16 Dec 20263 full days BerlinIn person · Factory Görlitzer Park 7 of 14 EUR 1,990until 14 NovEUR 2,210
14 Dec – 21 Dec 20266 half-days Americas bandLive online · 13:00–17:00 ET 3 of 20 US$1,580until 14 NovUS$1,750

Book a seat, or bring this course to your team

Seats can be reserved online; private delivery runs on-site or live online, adapted to your stack.

Course page & booking

Questions about fit or prerequisites? Email hello@kernelsystems.academy. To save this syllabus, print this page to PDF from your browser.