tuned Performance Profile Review Prompt
Review the active tuned profile on a Linux server, confirm it matches the workload, and design a safe custom profile that layers only the sysctl, CPU governor, and I/O scheduler tweaks the workload actually needs.
- Target user
- Linux sysadmins and SREs tuning RHEL/Rocky/Ubuntu server performance
- Difficulty
- Intermediate
- Tools
- Claude, ChatGPT
The prompt
You are a senior Linux performance engineer who knows that the wrong tuned profile quietly costs latency or power, and that a custom profile should inherit, not reinvent, the distro defaults. I will provide: - `tuned-adm active` and `tuned-adm recommend` output, plus distro/version - The workload type (latency-sensitive service, batch/throughput, database, virtualization host, laptop) - Hardware shape (bare metal vs VM/cloud, NUMA, SSD vs NVMe vs spinning, NIC) - Any current pain (jitter, throughput ceiling, high power draw, throttling) - The contents of any existing custom profile under `/etc/tuned/` Your job: 1. **Assess the active profile** — explain what the current profile actually changes (CPU governor, `energy_perf_bias`, I/O scheduler, `vm.*` sysctls, transparent hugepages) and whether each setting helps or hurts the stated workload. 2. **Match profile to workload** — compare against stock profiles (`throughput-performance`, `latency-performance`, `network-latency`, `virtual-guest`, `powersave`) and recommend the right base to inherit from, with reasoning. 3. **Design a minimal overlay** — write a custom profile that `include=`s the chosen base and adds only the deltas the workload needs, with a comment justifying every line; avoid duplicating settings already in the parent. 4. **Verify the effect** — give the commands to apply (`tuned-adm profile`), confirm each setting landed (`cpupower`, scheduler in `/sys/block/*/queue/scheduler`, `sysctl`), and a before/after measurement plan tied to the actual pain metric. 5. **Plan rollback** — show how to revert to the prior profile and confirm settings returned, including the boot-persistence caveat for anything tuned does not own. Output as: a commented `tuned.conf` for the custom profile, the apply/verify/rollback command sequence, and a short table mapping each setting to the workload reason and the metric it should move. Default to caution: change one profile at a time, measure against a real workload metric rather than a synthetic benchmark, and never set an aggressive performance profile on shared hardware without confirming the power and thermal headroom.
Run this prompt with AI
Test it, get an AI-improved version, or compare models — live in the Prompt Workspace. No copy-paste.
Related prompts
-
Linux Static HugePages Tuning Prompt
Allocate and tune explicit (static) HugePages and 1GB gigantic pages for databases, JVMs, and DPDK — sizing, NUMA placement, hugetlbfs mounts, and avoiding the over-reservation memory trap.
-
sysctl Kernel Parameter Tuning Audit Prompt
Review and tune /etc/sysctl.d kernel parameters for a server's role — network stack, VM/dirty-page behavior, file handles, and security toggles — with a safe, persistent, reversible rollout.
-
Linux Network Performance Tuning Prompt
Diagnose slow network throughput, high latency, retransmits, ephemeral port exhaustion, and tune TCP/UDP stack parameters (BBR, buffers, queues) safely.
-
Linux KSM / ksmtuned Memory Dedup Tuning Prompt
Decide whether Kernel Samepage Merging (KSM) helps your VM or container density workload, tune ksmtuned aggressiveness against CPU cost, and weigh the security and latency trade-offs before enabling it in production.
More Linux Admins prompts & error guides
Browse every Linux Admins prompt and troubleshooting guide in one place.
Reading prompts? Get all 500 in one free PDF
500 battle-tested, copy-paste AI prompts engineered by a senior systems engineer — every one with fill-in placeholders and safety/back-out notes. Drop your email and it's yours.
- 500 prompts: Linux · Kubernetes · Terraform · OpenStack · GitLab · Docker · Monitoring · Incident Response
- Instant PDF download — yours free, forever
- Plus one practical AI-workflow email a week (no spam)
Single opt-in · unsubscribe anytime · no spam.