performance-tuning

Optimize Linux system performance.

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "performance-tuning" with this command: npx skills add bagelhole/devops-security-agent-skills/bagelhole-devops-security-agent-skills-performance-tuning

Performance Tuning

Optimize Linux system performance.

System Monitoring

top / htop # Process monitoring vmstat 1 # Memory statistics iostat -x 1 # Disk I/O sar -n DEV 1 # Network statistics perf top # CPU profiling

Kernel Parameters

/etc/sysctl.d/99-performance.conf

vm.swappiness = 10 net.core.somaxconn = 65535 net.ipv4.tcp_max_syn_backlog = 65535 fs.file-max = 2097152 vm.dirty_ratio = 40 vm.dirty_background_ratio = 10

File Descriptor Limits

/etc/security/limits.conf

  • soft nofile 65535
  • hard nofile 65535
  • soft nproc 65535
  • hard nproc 65535

Disk I/O

Change scheduler

echo noop > /sys/block/sda/queue/scheduler

Enable trim for SSDs

fstrim -av

Network Tuning

Increase buffers

sysctl -w net.core.rmem_max=134217728 sysctl -w net.core.wmem_max=134217728

Best Practices

  • Profile before optimizing

  • Change one parameter at a time

  • Monitor impact of changes

  • Document all tuning

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Security

sops-encryption

No summary provided by upstream source.

Repository SourceNeeds Review
Security

linux-administration

No summary provided by upstream source.

Repository SourceNeeds Review
Security

linux-hardening

No summary provided by upstream source.

Repository SourceNeeds Review