Tagged articles
4 articles
Page 1 of 1
Tencent Architect
Tencent Architect
May 16, 2023 · Fundamentals

Optimizing Network Latency in TencentOS: Kernel SoftIRQ and ksoftirqd Tuning

This article details a systematic investigation and multi‑stage optimization of TencentOS network latency, uncovering kernel soft‑interrupt bottlenecks, proposing and upstreaming patches to net_rx_action, RPS handling, and ksoftirqd scheduling, ultimately reducing handshake failures by over 80% while sharing practical insights for Linux kernel developers.

Linux kernelksoftirqdnetwork performance
0 likes · 15 min read
Optimizing Network Latency in TencentOS: Kernel SoftIRQ and ksoftirqd Tuning
ITPUB
ITPUB
Feb 2, 2021 · Fundamentals

How Linux Receives Network Packets: From NIC Interrupts to recvfrom

This article provides a detailed, step‑by‑step walkthrough of the Linux kernel’s packet‑receiving path, covering NIC DMA, hardware and soft interrupts, ksoftirqd threads, NAPI polling, protocol‑stack registration, IP/UDP processing, and the final recvfrom system call that delivers data to user space.

InterruptsLinuxNetwork Stack
0 likes · 29 min read
How Linux Receives Network Packets: From NIC Interrupts to recvfrom
Refining Core Development Skills
Refining Core Development Skills
Sep 24, 2020 · Fundamentals

Deep Dive into Linux Network Packet Reception Process

This article provides a comprehensive, illustrated explanation of how Linux receives network packets—from hardware DMA and interrupt handling through soft‑interrupt processing, NAPI polling, protocol stack registration, and finally delivery to user‑space via recvfrom—detailing each kernel component and relevant source code.

LinuxNAPIPacket Reception
0 likes · 48 min read
Deep Dive into Linux Network Packet Reception Process