validatorsdao/slv/slv-irq-tuning

Claude Code and agent skill by validatorsdao/slv

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

NIC IRQ 1:1 pinning, NVMe queue limits, RPS/XPS, NIC ring buffer, sysctl (UDP/TCP buffers, swappiness, netdev_max_backlog), THP off, and ulimit nofile=1M for Solana / Shredstream nodes. Reboot is required when NVMe queue parameters change.

Install

npx vskill@latest install validatorsdao/slv/slv-irq-tuning

SKILL.md

SLV IRQ & Network Tuning Skill

Removes NIC IRQ imbalance and applies Solana-friendly kernel parameters. Runs as part of slv v init / slv r init after the SSH connection check, alongside SMT disable and performance boost.

What it applies

#ItemEffectReboot
1NIC IRQ 1:1 pinningDistributes NET_RX softirq evenly across all CPUsNo
2RPS/XPS enableSoftware-level packet distributionNo
3NIC ring buffer → 8192 (max)Prevents packet drops during burstsNo
4NVMe queues = ncoresStops queues from being assigned to offline CPUsYes
5sysctl: UDP/TCP buffers 128MBPrevents drops on Shredstream / gRPCNo
6sysctl: vm.swappiness → 1Avoids swapping under memory pressureNo
7sysctl: netdev_max_backlog → 50000Prevents NIC → kernel queue overflowNo
8THP (Transparent Huge Pages) → neverAvoids latency spikesNo
9ulimit nofile → 1000000Prevents fd exhaustionNo (new sessions only)

Related ansible playbooks

  • ansible/cmn/irq_tune.yml — applies items 1-9 above
  • ansible/cmn/files/vs2-irq-tune.sh — re-applies NIC IRQ pin + RPS/XPS + ring + THP at boot (systemd oneshot)
  • ansible/cmn/files/vs2-irq-tune.service — systemd unit for the above
  • ansible/cmn/files/99-vs2-solana.conf — sysctl parameters
  • ansible/cmn/files/99-vs2-solana-limits.conf — /etc/security/limits.d/
  • ansible/cmn/files/vs2-limits.conf — systemd DefaultLimitNOFILE drop-in

Run it

Normally invoked through cmn/optimize_node.yml together with SMT disable and CPU boost. Standalone:

bash
ansible-playbook -i inventory.yml cmn/irq_tune.yml --limit <host>

Only sets need_reboot=true when NVMe queue parameters in GRUB had to change. The orchestrator reboots the host when needed.

Verification

CheckExpected
NIC IRQ queue N → CPU N1:1 mapping
RPS (bond0/vlan)ffff etc.
NIC ring bufferRX: 8192, TX: 8192
NVMe IRQ on offline CPUnone
net.core.rmem_max / wmem_max134217728
net.core.netdev_max_backlog50000
vm.swappiness1
THP[never]
GRUB has nvme.io_queues=Nphysical core count
vs2-irq-tune.serviceactive (exited)
irqbalanceinactive (disabled)

Rollback

bash
sudo systemctl disable vs2-irq-tune.service
sudo rm /etc/systemd/system/vs2-irq-tune.service /usr/local/bin/vs2-irq-tune.sh
sudo systemctl enable irqbalance && sudo systemctl start irqbalance
sudo rm /etc/sysctl.d/99-vs2-solana.conf /etc/security/limits.d/99-vs2-solana.conf
sudo rm /etc/systemd/system.conf.d/vs2-limits.conf
sudo systemctl daemon-reexec
sudo sysctl --system
sudo sed -i 's/ nvme.io_queues=[0-9]* nvme.write_queues=[0-9]* nvme.poll_queues=[0-9]*//' /etc/default/grub
sudo update-grub
sudo rm /var/lib/slv/.irq_tuned
# reboot to drop NVMe GRUB params

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

Popularity

Repository stars
89
Repository forks
22
7-day trend score
0

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
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/validatorsdao/slv/slv-irq-tuning/badge)](https://verified-skill.com/skills/validatorsdao/slv/slv-irq-tuning)

Something wrong with this skill or its page? Tell us.