Tagged articles
kernel-tuning
36 articles · Page 1 of 1
This article presents a systematic, hypothesis-driven methodology for tuning Linux kernel parameters to improve Nginx concurrency, covering file descriptor limits, listen queue configuration, network buffer tuning, and safe canary deployment with rollback procedures, all validated through metrics and load testing.
ConcurrencyLinux kernelNGINX
0 likes · 25 min read

A comprehensive guide to Linux kernel parameter tuning via sysctl, covering network, memory, and filesystem subsystems with a systematic workflow: baseline capture, bottleneck identification, single-parameter changes, validation, persistence, and rollback — illustrated with real production post-mortems.
LinuxNetworkingOperations
0 likes · 50 min read

A comprehensive guide to Linux network fault diagnosis using tcpdump, netstat, and ss, covering TCP state analysis, packet capture filters, kernel parameter tuning, and real-world case studies for TIME_WAIT, SYN_RECV, CLOSE_WAIT, and latency issues.
Linux networkingPacket CaptureSYN Flood
0 likes · 59 min read

This article explains how to reduce latency in high‑frequency trading by understanding C‑state sleep depths and P‑state frequency scaling, identifying which cores are affected, checking OS control over power management, and applying kernel parameters, PM‑QoS limits, and governor settings, with concrete commands, examples, and AWS instance considerations.
AWSC-stateCPU frequency
0 likes · 29 min read

The SGLang team turned their benchmarking, profiling, CUDA kernel tuning, and production‑issue triage know‑how into reusable agent skills, merging three KDA‑Pilot PRs that delivered up to 2.75× kernel acceleration, a 71.4% throughput boost for Qwen3‑Next and a TTFT reduction from 456 ms to 168 ms, while outlining a repeatable workflow and practical rules for large‑scale performance engineering.
Agent AutomationCUDA optimizationLLM serving
0 likes · 16 min read

This guide explains how to safely tune Linux kernel sysctl parameters by first identifying the problem layer, backing up current settings, applying targeted changes, and verifying effects, while highlighting common mis‑configurations, real‑world case studies, best‑practice recommendations, and monitoring strategies.
Linuxbackup and rollbackkernel-tuning
0 likes · 18 min read

The article explains how to build a million‑request‑per‑second system by combining LVS, Nginx, and Keepalived in a three‑layer load‑balancing architecture, detailing each layer’s responsibilities, configuration snippets, and kernel tuning parameters that ensure high throughput and seamless failover.
KeepalivedLVSNGINX
0 likes · 5 min read

This article provides a detailed, packet‑by‑packet walkthrough of TCP's three‑way handshake and four‑step connection termination, explains the TCP header fields, explores TIME_WAIT issues, compares BBR and Cubic congestion control, and offers practical Wireshark and tcpdump techniques for troubleshooting and interview preparation.
BBRCUBICTCP
0 likes · 37 min read

This guide shares a comprehensive one‑click script that hardens SSH, configures firewalls, tunes kernel parameters, manages logs, disables unused services, installs essential tools and Docker, and provides a verification checklist to turn a fresh Linux server into a production‑grade system.
Linuxautomationinit script
0 likes · 30 min read

This guide walks through Linux network bonding, comparing CentOS, Ubuntu, and Debian setups, detailing all seven bonding modes, and covering advanced tuning such as queue and ring‑buffer adjustments, interrupt affinity, and kernel network parameters to boost server performance.
NetworkManagerbonding modesethtool
0 likes · 14 min read

The article explains how Linux soft interrupts work, why they can become a CPU bottleneck under heavy network traffic, and provides detailed analysis, code examples, monitoring tools, and optimization strategies to diagnose and mitigate the issue.
CPU bottleneckLinuxSoft Interrupts
0 likes · 48 min read

This guide details step‑by‑step Linux kernel and network‑stack tuning techniques—including sysctl tweaks, TCP congestion control, interrupt affinity, memory and disk optimizations—to raise QPS by up to 316% and cut P99 latency by half for high‑concurrency web, API, and database services.
kernel-tuningnetwork optimizationsysctl
0 likes · 26 min read

Linux swap provides a disk‑backed memory extension, storing anonymous pages when RAM runs low; this article explains swap’s operation, the kernel’s memory reclamation thresholds, tuning parameters like min_free_kbytes and swappiness, and offers commands to locate high‑swap processes and safely clear swap.
LinuxSwapkernel-tuning
0 likes · 7 min read

This guide walks through ten critical Linux kernel parameters—explaining why defaults can cripple performance, showing real‑world problem scenarios, providing exact sysctl commands and application‑level adjustments, and culminating in a full e‑commerce flash‑sale case study with measurable results and safety precautions.
LinuxNetworkingkernel-tuning
0 likes · 13 min read

An in‑depth guide for operations engineers covering TCP/IP stack fundamentals, practical routing and firewall configurations, kernel and NIC tuning, automation scripts, and emerging technologies such as eBPF, providing real‑world case studies and step‑by‑step commands to master network reliability and performance.
RoutingeBPFfirewall
0 likes · 24 min read

Learn how Linux memory management works, from virtual memory and user/kernel space to allocation, reclamation, and common bottlenecks, and discover practical tools like free, top, vmstat, valgrind, jstat, and swap configuration techniques to diagnose, monitor, and optimize server memory for stable, high‑performance operation.
LinuxMonitoring ToolsSwap
0 likes · 27 min read

This guide walks you through optimizing Linux kernel parameters—including sysctl network settings, local port ranges, and file descriptor limits—shows a real‑world Nginx high‑traffic case, and explains disk scheduler choices, providing concrete commands and recommended values for robust server performance.
LinuxResource Limitsdisk-scheduler
0 likes · 11 min read

An AWS EC2 instance behind an Elastic Load Balancer became unresponsive due to repeated TCP out‑of‑memory errors, which were resolved by examining kernel messages, adjusting tcp_mem‑related kernel parameters, and rebooting the server after a long uptime.
AWSEC2Linux
0 likes · 6 min read

This guide explains why default Linux kernel settings are insufficient for high‑traffic Nginx servers and provides a curated list of sysctl parameters—such as file‑max, tcp_tw_reuse, and net.core buffers—along with explanations and tuning tips to maximize concurrent connections and overall performance.
NGINXOperationskernel-tuning
0 likes · 8 min read

To handle high‑traffic web workloads, the default Linux kernel settings must be adjusted; this guide explains the key sysctl parameters—such as file‑max, tcp_tw_reuse, tcp_keepalive_time, and buffer sizes—and how to apply them for optimal Nginx concurrency.
LinuxTCPkernel-tuning
0 likes · 8 min read

This guide explains how to fine‑tune Linux kernel parameters—including sysctl settings, network stack options, file descriptor limits, shared memory, and disk scheduler choices—to improve system performance and stability on servers with 8‑16 GB RAM.
Resource Limitskernel-tuningnetwork optimization
0 likes · 11 min read

This guide details how to fine‑tune Linux kernel parameters—covering sysctl configuration, network stack adjustments, local port range, shared memory limits, swap behavior, and disk scheduler choices—to dramatically improve server performance and stability.
LinuxResource Limitskernel-tuning
0 likes · 11 min read

This article details a real‑world investigation of severe latency in CKafka cross‑region data synchronization, tracing the issue from high message backlog through network bandwidth tests, kernel parameter adjustments, and finally uncovering a TCP window‑scaling failure caused by SYN‑cookie protection and missing timestamp options.
CKafkaCross-Region SyncKafka
0 likes · 15 min read

This article walks through practical techniques—compiler tuning, application trimming, init and rootfs optimization, kernel configuration tweaks, and U‑Boot Falcon mode—to reduce the boot time of a BeagleBone Black Linux system from over nine seconds to just 2.4 seconds, while also shrinking the filesystem size.
BeagleBone BlackEmbedded LinuxRootFS
0 likes · 10 min read

This guide explains how to adjust node quotas, tune kernel parameters, configure high‑availability etcd clusters, and set optimal Kube‑APIServer and Pod settings for large‑scale Kubernetes deployments, ensuring stability and performance as the cluster grows.
Cluster ScalingKubernetesOperations
0 likes · 8 min read

Learn how to boost Linux server efficiency with 20 practical tips—from kernel elevator adjustments and disabling unnecessary daemons to optimizing TCP, choosing the right filesystem, and leveraging performance tools like top, vmstat, iostat, free, and sar—ensuring faster, more secure, and cost-effective operations.
Linuxkernel-tuningoptimization
0 likes · 14 min read

This guide outlines how to prepare large‑scale Kubernetes clusters on public clouds by increasing node quotas, adjusting kernel parameters, configuring high‑availability etcd with the etcd‑operator, tuning kube‑apiserver settings, and applying pod‑level best practices for resource limits and affinity.
Cluster ScalingOperationskernel-tuning
0 likes · 8 min read

This article explains TCP concurrency theory, details two experimental approaches for reaching one million simultaneous connections using multi‑IP or multi‑port strategies, and provides step‑by‑step kernel tuning, source code, and validation commands for C, Java, and PHP implementations.
JavaTCPbenchmark
0 likes · 16 min read

This guide explains how to configure Linux system limits, kernel TCP parameters, and I/O event mechanisms to enable a single process to handle a large number of simultaneous connections, improving server throughput and stability under high‑concurrency workloads.
Linuxhigh concurrencykernel-tuning
0 likes · 13 min read

This article explains how an unstable response time caused by misconfigured public load balancers and the kernel parameters net.ipv4.tcp_tw_recycle and net.ipv4.tcp_tw_reuse led to frequent monitoring alerts, details the diagnostic steps taken, and provides concrete remediation recommendations.
TIME_WAITkernel-tuningload balancer
0 likes · 19 min read

This guide explains how to maximize system performance by debugging and adjusting kernel parameters using sysctl, detailing command options, key network and security settings, recommended values, and related /proc/sys entries for tuning TCP, UDP, socket buffers, and other kernel behaviors.
LinuxSystem Optimizationkernel-tuning
0 likes · 10 min read


ITPUBJun 6, 2017 · Operations
This guide explains why the default Linux kernel settings are unsuitable for high‑concurrency Nginx servers, shows how to edit /etc/sysctl.conf, and provides a curated list of TCP and network parameters with practical comments to improve throughput and latency.
NGINXTCPkernel-tuning
0 likes · 7 min read

This article shares a practical template for optimizing web service performance, covering kernel sysctl tweaks, file‑handle limits, and Nginx/PHP‑FPM configuration adjustments to eliminate bottlenecks and maximize throughput under high traffic conditions.
OperationsPHP-FPMSystem Optimization
0 likes · 5 min read


ITPUBJul 28, 2016 · Operations
This guide shows how to diagnose a flood of MySQL TIME_WAIT sockets, adjust Linux kernel parameters (or Windows registry) to shorten the wait period, verify the improvement, and understand why improper connection handling can cause the issue.
LinuxMySQLTCP
0 likes · 6 min read

This article explains the purpose and differences of limits.conf and sysctl.conf, shows how PAM and sysctl modify user and system resource limits, provides file format details, ulimit command options, and practical configuration examples for both temporary and permanent kernel parameter tuning on Linux.
Linuxkernel-tuninglimits.conf
0 likes · 13 min read

This guide shows how to increase file descriptor limits, adjust TCP settings, and tune kernel parameters such as net.ipv4.tcp_max_syn_backlog on Linux systems, providing step‑by‑step commands for both individual users and all users to improve network performance and handle more concurrent connections.
File LimitsLinuxTCP Settings
0 likes · 3 min read
