tuning

Adjust kernel parameters, file descriptor limits, disk I/O, and CPU settings on Linux systems.

1|Updated Jan 31, 2026
One-click install
npx skills add https://github.com/ryukyagamilight/terminal-skills --skill tuning-ryukyagamilight
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: tuning
Source: https://github.com/ryukyagamilight/terminal-skills/tree/main/performance/tuning
Command: npx skills add https://github.com/ryukyagamilight/terminal-skills --skill tuning-ryukyagamilight

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill addresses the need for system performance optimization by providing guidance and commands for tuning kernel parameters, file descriptor limits, disk I/O, and CPU settings.

Core Features & Use Cases

  • Kernel Parameter Tuning: Adjust memory management, network buffers, and file system settings via sysctl.
  • Resource Limit Configuration: Set file descriptor and process limits using ulimit and systemd.
  • Disk I/O Optimization: Configure I/O schedulers and mount options for better disk performance.
  • CPU Performance Tuning: Manage CPU frequency scaling and NUMA/CPU affinity for optimal processing.
  • Use Case: A system administrator needs to improve the responsiveness and throughput of a web server experiencing high traffic. This skill provides the necessary commands to adjust network and file system parameters for better performance.

Quick Start

Apply the recommended kernel parameters for a web server by executing the commands provided in the 'Web服务器优化' section.

Frequently Asked Questions about tuning

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I optimize system performance for a high-traffic web server?

To optimize system performance for a web server, you should adjust kernel parameters using sysctl, configure file descriptor limits via ulimit, and modify disk I/O schedulers to improve responsiveness and throughput.

What's the best way to increase file descriptor limits on Linux?

The best way to increase file descriptor limits is by configuring resource limits using ulimit and systemd, which raises the maximum open files and process limits for high-traffic server administration.

How does kernel parameter tuning improve server responsiveness?

Kernel parameter tuning improves server responsiveness by adjusting memory management, network buffers, and file system settings through sysctl, directly optimizing how the Linux kernel handles high-traffic workloads.

When do I need to adjust disk I/O schedulers and CPU settings?

You need to adjust disk I/O schedulers and CPU settings when optimizing system performance for databases or web servers, configuring mount options and CPU frequency scaling to maximize throughput.

Can I use sysctl to tune network buffers and memory management?

Yes, you can use sysctl to tune network buffers and memory management, providing the necessary commands to adjust kernel parameters for better system performance in high-traffic scenarios.

Does system performance tuning require direct shell command execution?

Yes, system performance tuning requires direct execution of shell commands and configuration file modifications on Linux systems to successfully apply kernel, disk I/O, and CPU optimizations.