Linux Kernel vs. Memory Fragmentation (Part II)
This post introduces the principle of memory compaction, how to view the fragmentation index, and how to quantify the latency overheads caused by memory compaction.
Using a GPU Boosts TiDB Analytics Performance by 10 to 150 Times
At TiDB Hackathon 2020, a team used GPU acceleration techniques to improve the performance of CPU-intensive analytical query processing and achieved 10x~150x performance improvement.
TiDB Operator Source Code Reading (I): Overview
TiDB Operator is an operator for running TiDB in Kubernetes. This article will introduce its architecture and what value it brings to you.
Linux Kernel vs. Memory Fragmentation (Part I)
This post introduces common methods to prevent Linux memory fragmentation, the principle of memory compaction, how to view the fragmentation index, etc.
How to Simulate I/O Faults at Runtime
This post dives deep into how we implement the IOChaos experiment without using a sidecar.
Trace Linux System Calls with Least Impact on Performance in Production
To trace system calls in Linux effectively, you can use perf to analyze system calls that have latency in general scenarios. For containers or Kubernetes that use cgroup v2, traceloop is more convenient.
Batch Processing Massive Data Much Quicker with TiSpark
A senior solution architect at PingCAP explains why TiSpark (TiDB + Apache Spark) is better than the traditional batch processing solution, how you can benefit from TiSpark, and how it works.
Tips and Tricks for Writing Linux BPF Applications with libbpf
Compared to BCC, the libbpf + BPF CO-RE solution greatly reduces storage space and runtime overhead. That's why we switched from bcc-tools to libbpf-tools. This post introduces some tips and tricks for writing BPF applications with libbpf.
Transparent Huge Pages: Why We Disable It for Databases
This post dives deep into how transparent huge pages (THP) slow down the system. You'll learn why you should disable THP to improve your database performance and how to disable it in Linux.
Why We Switched from BCC to libbpf for Linux BPF Performance Analysis
Libbpf + BPF CO-RE is better than BCC. It greatly reduces storage space and runtime overhead, and it improves programmers' deployment and development experience.
Lessons from TiDB’s No. 1 Bug Hunters Who’ve Found 400+ Bugs in Popular DBMSs
Dr. Manuel Rigger and his colleague have found 400+ bugs in popular DBMSs, including 50+ TiDB bugs. Learn their experience in finding logic bugs in DBMSs.
chaos-mesh-action: Integrate Chaos Engineering into Your CI
Chaos Mesh is a cloud-native chaos testing platform that orchestrates chaos in Kubernetes environments. This article shares how to use chaos-mesh-action, a GitHub action to integrate Chaos Mesh into the CI process.