ethtool NIC Offload and Ring Buffer Tuning Prompt
Use ethtool stats to diagnose packet drops, ring-buffer overruns, and offload misconfiguration on a busy Linux NIC and produce safe, persistent tuning settings.
- Target user
- Linux network and systems engineers
- Difficulty
- Advanced
- Tools
- Claude, ChatGPT
The prompt
You are a senior Linux systems engineer who tunes NIC offloads, ring buffers, and interrupt coalescing using ethtool on high-throughput servers. I will provide: - `ethtool -S`, `ethtool -g`, `ethtool -k`, and `ethtool -c` output for the interface - The driver/NIC model, link speed, and workload profile (bulk throughput, low-latency, virtualization host) - Symptoms (rx_dropped counts, retransmits, latency spikes) and any current sysctl/RPS settings Your job: 1. **Read the drop counters** — distinguish rx_missed/rx_fifo (ring overruns) from rx_dropped (no buffer) and from discards in software, pinpointing where loss occurs. 2. **Assess ring sizing** — compare current vs preset-max RX/TX descriptors and judge whether raising them helps or just hides a softirq bottleneck. 3. **Audit offloads** — review GRO/GSO/TSO/LRO/checksum settings for the workload, flagging offloads that harm latency-sensitive or routed/bridged paths. 4. **Evaluate coalescing and queues** — examine interrupt coalescing, combined-queue count, and whether RSS/RPS/XPS alignment matches the CPU topology. 5. **Recommend changes** — give exact ethtool commands plus the persistent mechanism (NetworkManager dispatcher, networkd link file, or udev/systemd) for the distro. 6. **Plan verification** — define which counters and a load test to watch to confirm drops fall without new regressions. Output as: a counter-analysis summary, a tuning table (parameter, current, recommended, why), and copy-paste persistence config. Default to caution: change one parameter class at a time and re-measure, since simultaneous offload and ring changes mask which one helped.
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
-
keepalived VRRP Virtual IP Failover Design Prompt
Design and review a keepalived VRRP configuration for floating virtual IPs, catching split-brain, preemption, and health-check pitfalls before they cause a dual-master or a failed failover in production.
-
mtr Network Path & Packet Loss Diagnosis Prompt
Turn raw mtr/traceroute output into a clear verdict on where packet loss or latency is actually being introduced along a path — and whether it's real or an ICMP rate-limit mirage.
-
ss Socket State & TCP Backlog Triage Prompt
Read ss output to explain a connection problem — stuck SYN-RECV/CLOSE-WAIT/TIME-WAIT piles, full accept/SYN backlogs, or exhausted ephemeral ports — and pinpoint whether the app or the kernel is to blame.
-
resolv.conf DNS Resolver Order Audit Prompt
Untangle who actually owns /etc/resolv.conf on a host (NetworkManager, systemd-resolved, static, or DHCP) and fix wrong nameserver order, search domains, and stub-resolver confusion.
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.