andrassama/dsh-omp-advisor/linux-network-tuning
Claude Code and agent skill by andrassama/dsh-omp-advisor
Trust tier 3
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
Equips the advisor to evaluate sysctl and network tuning changes for correctness, measurability, and common conntrack/backlog pitfalls.
Install
npx vskill@latest install andrassama/dsh-omp-advisor/linux-network-tuningSKILL.md
The same SKILL.md was published earlier as andrassama/dsh-omp-advisor/linux-network-tuning.
Linux Network Tuning
Reviews kernel network tuning (sysctl, fd limits, queueing) on hosts under real load. Most tuning is cargo-culted: values copied from blog posts without measurement, or changes that trade one bottleneck for another.
Watch for
nf_conntrack_maxraised without sizing memory (each entry costs hundreds of bytes; 1M entries ≈ 300 MB) or without asking why so many flows exist.somaxconn/tcp_max_syn_backlograised while the application's listener backlog stays small — the minimum wins.tcp_tw_reuse=1applied to servers accepting inbound connections — it only affects outbound client ports; cargo cult.- Buffer tuning (
rmem_max/wmem_max) to multi-GB values on modest-RAM hosts — memory pressure. - File-descriptor limits raised in sysctl but not in the systemd unit or PAM — the effective per-process limit is unchanged.
- Tuning without a baseline: no
ss -s,conntrack -C, ornstat -azevidence before/after. - IRQ affinity changes conflicting with a running
irqbalance— settings silently overwritten. - Jumbo frames (MTU 9000) set on one hop only — black-holed large packets along the path.
Best practices
- Measure first:
ss -sfor socket states,conntrack -Cfor counts,nstat -azfor drops/overflows; tune the actual bottleneck. - Persist via
/etc/sysctl.d/*.conf, apply withsysctl --system, and document the rationale per knob in comments. - Conntrack: on NAT/router hosts size
nf_conntrack_max≈ peak concurrent flows × 2 and setnf_conntrack_buckets; otherwise consider NOTRACK for high-volume flows. - Raise the listener backlog in the application (listen() backlog argument) together with
somaxconn. - Set
nofileconsistently (limits.conf or systemdLimitNOFILE) and verify via/proc/<pid>/limits. - For NIC-bound workloads, pin IRQs to cores manually, stop irqbalance for those devices, and enable RPS/RFS for queue spread.
- Apply MTU changes end-to-end and verify with
ping -M do -s 8972. - Load-test before/after each change; keep rollback simple (remove the sysctl.d file).
Quick checklist
- [ ] Baseline metrics captured before the change
- [ ] Each knob has a documented bottleneck rationale
- [ ] Conntrack sizing includes memory cost
- [ ] Backlog raised in kernel and application together
- [ ] fd limits verified effective per process
- [ ] Changes persisted via sysctl.d with comments
- [ ] IRQ affinity not clobbered by irqbalance
- [ ] MTU verified end-to-end
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/linux-network-tuning/SKILL.md
Popularity
- Repository stars
- 3
- 7-day trend score
- 12
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/andrassama/dsh-omp-advisor/linux-network-tuning)