Skip to content
Back to skills

Slv Smt Disable

ASecurity

Disable SMT (Hyper-Threading) by adding `nosmt=force` to GRUB. Required for stable single-thread performance on Solana validators / RPCs. Reboot required.

  • 95 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added May 26, 2026
devopsbashperformance

Security analysis

A100/100

Scanned May 27, 2026

npx -y skills add ValidatorsDAO/slv --skill slv-smt-disable --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Slv Smt Disable?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Slv Smt Disable
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/validatorsdao-slv-smt-disable/badge)](https://www.skillsdirectory.com/skills/validatorsdao-slv-smt-disable)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: slv-smt-disable
description: Disable SMT (Hyper-Threading) by adding `nosmt=force` to GRUB. Required for stable single-thread performance on Solana validators / RPCs. Reboot required.
---

# SLV SMT (Hyper-Threading) Disable Skill

Solana validator / RPC throughput is dominated by single-thread instruction performance, so disabling SMT consistently produces higher and more stable performance. Applied during `slv v init` / `slv r init` as part of the tuning phase.

## How it works

Adds `nosmt=force` to `GRUB_CMDLINE_LINUX_DEFAULT` in `/etc/default/grub` and runs `update-grub`. After reboot, the kernel only schedules on one logical thread per physical core.

## Related ansible playbook

- `ansible/cmn/smt_disable.yml` — appends `nosmt=force` to GRUB and runs `update-grub`
- Idempotency marker: `/var/lib/slv/.smt_disabled`

## Standalone run

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

Sets `need_reboot=true` only when GRUB actually changed; the orchestrator reboots when needed.

## Verification

```bash
# on the host
cat /proc/cmdline                      # should contain nosmt=force
lscpu | grep -E 'Thread|Core|Socket'   # Thread(s) per core: 1
```

## Rollback

```bash
sudo sed -i 's/ nosmt=force//' /etc/default/grub
sudo update-grub
sudo rm /var/lib/slv/.smt_disabled
sudo reboot
```

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in devops →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.