Tagged articles
25 articles
Page 1 of 1
Deepin Linux
Deepin Linux
May 12, 2026 · Backend Development

From Zero to One: Mastering Linux NAPI High‑Concurrency Packet Reception

This article explains why traditional interrupt‑driven network I/O stalls under high traffic, introduces the NAPI (New API) mechanism that combines interrupt wake‑up with batch polling, details its core data structures and scheduling functions, and provides step‑by‑step configuration and tuning guidance to achieve efficient, low‑latency packet processing on Linux servers.

LinuxNAPINetworking
0 likes · 35 min read
From Zero to One: Mastering Linux NAPI High‑Concurrency Packet Reception
Deepin Linux
Deepin Linux
Apr 10, 2026 · Fundamentals

Unlocking Linux Networking: The Essential Role of sk_buff Explained

sk_buff is the backbone of Linux’s network stack, handling packet storage, metadata, memory management and protocol‑layer interactions; this article dissects its structure, pointer model, core operations, packet lifecycle, practical code examples, and common pitfalls such as memory shortage, data loss and performance bottlenecks.

Memory ManagementNetwork Stackkernel networking
0 likes · 54 min read
Unlocking Linux Networking: The Essential Role of sk_buff Explained
Liangxu Linux
Liangxu Linux
Jul 24, 2025 · Fundamentals

Inside Linux: How UDP Packets Travel From NIC to Kernel and Back

This article explains the complete Linux network packet lifecycle for UDP, detailing how a packet moves from the physical NIC into kernel memory, is processed by drivers, soft‑irqs, the IP and transport layers, and finally traverses the send path back to the NIC, including key functions, queues, and configuration points.

NetworkingUDPkernel
0 likes · 15 min read
Inside Linux: How UDP Packets Travel From NIC to Kernel and Back
Open Source Linux
Open Source Linux
Jul 10, 2025 · Fundamentals

How Linux Handles Network Packets: From NIC to Kernel and Back

This article explains the complete Linux network packet lifecycle, detailing how a UDP packet is received from a physical NIC, processed through driver interrupts, soft‑interrupts, the kernel network stack, and finally transmitted back out, covering key functions, queues, and netfilter hooks.

LinuxNetworkingUDP
0 likes · 15 min read
How Linux Handles Network Packets: From NIC to Kernel and Back
Liangxu Linux
Liangxu Linux
Jul 7, 2025 · Fundamentals

How Linux Handles Network Packets: From NIC to Kernel and Back

This article explains the complete Linux network packet lifecycle—how a NIC receives a UDP packet, how the kernel processes it through interrupts, soft‑irqs, and the networking stack, and finally how the same mechanisms assemble and transmit packets back to the wire.

NetworkingTCP/IPUDP
0 likes · 16 min read
How Linux Handles Network Packets: From NIC to Kernel and Back
Deepin Linux
Deepin Linux
Jul 7, 2025 · Fundamentals

Inside Linux: How the Kernel Handles Network I/O from Packets to Applications

This article explores the Linux kernel’s network stack architecture, detailing each layer from the application’s socket interface through transport, network, and link layers, and explains the complete inbound and outbound data flow with code examples illustrating packet reception, processing, routing, and transmission.

LinuxNetwork StackNetworking
0 likes · 33 min read
Inside Linux: How the Kernel Handles Network I/O from Packets to Applications
Architects' Tech Alliance
Architects' Tech Alliance
Jan 28, 2024 · Industry Insights

How DPDK Revolutionizes High‑Performance Packet Processing on Commodity Hardware

DPDK enables low‑cost commodity servers to achieve high‑throughput, low‑latency packet processing by bypassing the kernel, offering flexible processing models, supporting user‑space networking stacks, and being adopted across telecom, cloud, and edge environments despite challenges such as debugging and CPU usage.

DPDKLinuxcloud networking
0 likes · 9 min read
How DPDK Revolutionizes High‑Performance Packet Processing on Commodity Hardware
NetEase LeiHuo UX Big Data Technology
NetEase LeiHuo UX Big Data Technology
Jan 17, 2024 · Backend Development

Understanding DPDK: Background, Architecture, High‑Performance Techniques, and Real‑World Applications

This article explains the origins of DPDK, describes its modular architecture and performance‑enhancing mechanisms such as UIO, hugepages, and CPU affinity, and reviews popular user‑space networking frameworks like F‑Stack and Seastar that leverage DPDK for high‑throughput cloud services.

DPDKF-StackHigh‑Performance Networking
0 likes · 9 min read
Understanding DPDK: Background, Architecture, High‑Performance Techniques, and Real‑World Applications
Liangxu Linux
Liangxu Linux
Jun 17, 2023 · Fundamentals

How Linux Handles Incoming and Outgoing Network Packets Step by Step

Linux processes network packets through a layered TCP/IP stack, starting with hardware DMA into a ring buffer, handling interrupts, traversing the network interface, IP, transport, and application layers on receive, and reversing the flow for sending, with detailed steps for each layer and driver interaction.

LinuxNetwork StackTCP/IP
0 likes · 10 min read
How Linux Handles Incoming and Outgoing Network Packets Step by Step
Liangxu Linux
Liangxu Linux
May 3, 2023 · Fundamentals

How Linux Receives and Sends Network Packets: A Step‑by‑Step Guide

This article explains the Linux network stack, detailing the TCP/IP model layers and describing in depth how incoming packets travel from the NIC through DMA, interrupt handling, and the kernel's protocol layers to the application, as well as the reverse path for outgoing packets.

LinuxNetwork StackNetworking
0 likes · 9 min read
How Linux Receives and Sends Network Packets: A Step‑by‑Step Guide
Liangxu Linux
Liangxu Linux
May 1, 2023 · Fundamentals

How Linux Handles Incoming and Outgoing Network Packets: A Deep Dive

This article explains the step‑by‑step process Linux follows to receive network packets from the NIC, pass them through the kernel’s networking stack, and finally deliver them to applications, as well as the reverse path for sending packets from applications to the network.

LinuxNetwork StackNetworking
0 likes · 8 min read
How Linux Handles Incoming and Outgoing Network Packets: A Deep Dive
Open Source Linux
Open Source Linux
Apr 28, 2023 · Fundamentals

How Does Linux Process Incoming and Outgoing Network Packets?

Linux handles network traffic through a layered TCP/IP stack, where incoming packets travel from the NIC’s DMA‑filled ring buffer through interrupt handling, protocol layers, and finally to the application, while outgoing packets follow the reverse path, with each layer adding its own headers and processing.

LinuxNetwork StackTCP/IP
0 likes · 11 min read
How Does Linux Process Incoming and Outgoing Network Packets?
Liangxu Linux
Liangxu Linux
Apr 3, 2023 · Fundamentals

Mastering Linux NIC Packet Processing and Ring Buffer Optimization

This guide explains how a network interface card (NIC) receives packets, the role of DMA, interrupt handling, poll functions, and ring buffers, then details multi‑CPU ring buffer handling, key ethtool commands for statistics, buffer size, queue configuration, and hash‑based flow distribution.

LinuxNICRing Buffer
0 likes · 10 min read
Mastering Linux NIC Packet Processing and Ring Buffer Optimization
ByteDance SYS Tech
ByteDance SYS Tech
Feb 2, 2023 · Backend Development

Unlocking High‑Performance Packet Processing: Inside DPDK’s libgraph Framework

DPDK’s libgraph, inspired by VPP’s vector packet processing, replaces traditional scalar packet handling with a graph‑based pipeline that improves i‑cache locality, reduces pointer copies, and enables flexible, high‑throughput networking across multiple CPUs and NICs, while introducing trade‑offs such as memory safety risks.

DPDKlibgraphnetwork performance
0 likes · 16 min read
Unlocking High‑Performance Packet Processing: Inside DPDK’s libgraph Framework
Architects' Tech Alliance
Architects' Tech Alliance
Jan 17, 2023 · Backend Development

DPDK Technical Overview: Architecture, Core Libraries, and Performance Optimizations

This article provides a comprehensive overview of DPDK, detailing its basic and optimization technologies, architectural components such as the Environment Abstraction Layer, core libraries, platform modules, poll‑mode drivers, hugepage memory management, and CPU‑affinity techniques that together enable high‑performance packet processing in NFV and SDN environments.

CPU affinityDPDKnetwork performance
0 likes · 8 min read
DPDK Technical Overview: Architecture, Core Libraries, and Performance Optimizations
Huolala Safety Emergency Response Center
Huolala Safety Emergency Response Center
Nov 15, 2022 · Information Security

Step‑by‑Step Guide to Installing Suricata and Understanding Its Working Modes

This guide walks through installing Suricata on a Linux system, covering prerequisite libraries, source compilation, configuration paths, execution command, and an analysis of its packet‑processing modes—including single, work, and autofp—while illustrating thread workflow and recommending optimal setups for multi‑NIC environments.

IDSIPSLinux Installation
0 likes · 7 min read
Step‑by‑Step Guide to Installing Suricata and Understanding Its Working Modes
IT Architects Alliance
IT Architects Alliance
Aug 21, 2022 · Operations

How DPDK Boosts High‑Performance Packet Processing: Architecture and Core Techniques

This article explains DPDK’s open‑source data‑plane framework, detailing its architecture, core libraries, platform modules, poll‑mode drivers, huge‑page memory management, polling technique, and CPU‑affinity strategies that together eliminate kernel bottlenecks and dramatically improve packet‑forwarding performance.

CPU affinityDPDKNFV
0 likes · 9 min read
How DPDK Boosts High‑Performance Packet Processing: Architecture and Core Techniques
Architects' Tech Alliance
Architects' Tech Alliance
Aug 20, 2022 · Backend Development

DPDK Technical Overview: Architecture, Core Libraries, and Performance Optimization Techniques

This article provides a comprehensive overview of DPDK, covering its fundamental and optimization technologies, software architecture, core libraries, platform modules, poll‑mode drivers, huge‑page usage, polling techniques, and CPU‑affinity strategies for high‑performance packet processing in NFV environments.

CPU affinityDPDKhugepages
0 likes · 9 min read
DPDK Technical Overview: Architecture, Core Libraries, and Performance Optimization Techniques
Liangxu Linux
Liangxu Linux
Dec 21, 2020 · Fundamentals

How Linux Sends and Receives Network Packets: Inside the TCP/IP Stack

This article explains how Linux implements the TCP/IP model to encapsulate, transmit, and receive network packets, covering OSI vs TCP/IP layers, the Linux network stack structure, NAPI interrupt mitigation, and the step‑by‑step processing of packets in both directions.

LinuxNAPINetwork Stack
0 likes · 12 min read
How Linux Sends and Receives Network Packets: Inside the TCP/IP Stack