Tag

bpf

0 views collected around this technical thread.

Deepin Linux
Deepin Linux
Jun 6, 2025 · Fundamentals

How eBPF Can Tackle Linux Memory Fragmentation and Boost Android Performance

This article explains the problem of internal and external memory fragmentation in Linux systems, introduces eBPF as a powerful tracing tool, and provides step‑by‑step guidance for building, loading, and running eBPF programs to analyze and mitigate fragmentation on both Linux and Android platforms.

Linux kernelandroidbpf
0 likes · 22 min read
How eBPF Can Tackle Linux Memory Fragmentation and Boost Android Performance
OPPO Kernel Craftsman
OPPO Kernel Craftsman
Feb 21, 2025 · Mobile Development

UprobeStats: Dynamic User‑Space Instrumentation on Android via eBPF uprobe

UprobeStats, introduced in Android 15, uses the Linux kernel eBPF uprobe mechanism to dynamically insert probes into user‑space methods, capture timestamps and arguments, load BPF programs, and forward the data to StatsD via configurable protobufs, enabling flexible, source‑free instrumentation with minimal overhead.

InstrumentationStatsDUprobeStats
0 likes · 16 min read
UprobeStats: Dynamic User‑Space Instrumentation on Android via eBPF uprobe
Tencent Architect
Tencent Architect
Mar 27, 2024 · Operations

Why Does TCP Send RST? Deep Dive into Causes and Debugging Techniques

This article explains the fundamentals of TCP RST packets, distinguishes active and passive resets, outlines common kernel scenarios that generate them, and provides practical debugging methods using tcpdump, bpftrace, and source‑code analysis to resolve real‑world network incidents.

LinuxNetworkTCP
0 likes · 20 min read
Why Does TCP Send RST? Deep Dive into Causes and Debugging Techniques
Didi Tech
Didi Tech
Sep 14, 2023 · Operations

eBPF-based Service Interface Topology Observation and Validation in Didi's Observability Platform

Didi’s observability platform leverages non‑intrusive eBPF probes to automatically capture and validate service‑to‑service call tuples, supplement missing SDK data, achieve roughly 80 % core‑path coverage, and address verification challenges while planning future user‑space VM hooks and deeper MTL integration.

MTLService Topologybpf
0 likes · 20 min read
eBPF-based Service Interface Topology Observation and Validation in Didi's Observability Platform
OPPO Kernel Craftsman
OPPO Kernel Craftsman
Feb 11, 2022 · Operations

Overview and Implementation of eBPF for Android Network Statistics and Control

The article explains how Android’s shift to Linux kernel 4.x/5.x introduced the eBPF framework, detailing its advantages over iptables, the programming model with helper macros and maps, and its implementation in netd and HAL to collect network statistics, enforce traffic control, and support power‑saving Doze policies.

Kernelandroidbpf
0 likes · 8 min read
Overview and Implementation of eBPF for Android Network Statistics and Control
Efficient Ops
Efficient Ops
Aug 1, 2021 · Operations

Unlocking Linux Performance: A Practical Guide to eBPF and BPF Maps

This article introduces the fundamentals of BPF and its extended version eBPF, explains their kernel‑resident virtual machine architecture, demonstrates simple packet‑filtering examples, outlines the eBPF program lifecycle, describes key BPF system‑call commands, and surveys the various eBPF map types used for efficient data handling in Linux.

Linux kernelSystem Tracingbpf
0 likes · 9 min read
Unlocking Linux Performance: A Practical Guide to eBPF and BPF Maps
OPPO Kernel Craftsman
OPPO Kernel Craftsman
Jan 8, 2021 · Operations

Understanding eBPF and Its Use on Android for System Call Counting

The article explains eBPF’s evolution from packet filtering to a C‑compiled, sandboxed kernel framework, describes its core concepts of bytecode, JIT, and maps, and walks through building, loading, and using an Android eBPF program that counts system calls per PID via tracepoint hooks.

Linux kernelPerformance monitoringandroid
0 likes · 9 min read
Understanding eBPF and Its Use on Android for System Call Counting
Cloud Native Technology Community
Cloud Native Technology Community
Dec 21, 2020 · Cloud Native

Kubernetes Service Load Balancing at Scale with BPF and XDP

This article explains Kubernetes' core networking model, details the various Service types (PodIP, HostPort, NodePort, ExternalIP, LoadBalancer, ClusterIP), describes Cilium's eBPF/XDP implementation for high‑performance load balancing, and presents performance benchmarks and recent BPF kernel extensions.

CiliumKubernetesNetwork
0 likes · 19 min read
Kubernetes Service Load Balancing at Scale with BPF and XDP