HFT CORE SYSTEMS

The Linux receive path: DMA to userspace

Lesson 36 of 96Phase 04: Network datapaths
Video lesson coming soon

The written objectives and hands-on lab are available now.

cppvalley on YouTube ↗

Learning objectives

What you should understand

  1. Trace buffer ownership from NIC DMA to recvmsg
  2. Locate interrupt, NAPI, socket and copy costs
  3. Identify batching and queueing boundaries

Lab

Hands-on exercise

Trace one UDP packet through the standard Linux receive path.

Deliverable

Evidence of completion

A receive-path diagram annotated with queues, copies and timestamps.

Prerequisite
EP 35

Phase 04

Network datapaths

Full curriculum