NVMe SSD shows high latency and occasional I/O errors during sustained writes on Ubuntu 22.04
Environment
Custom desktop with ASUS X670 motherboard, Ryzen 9 7900X, 32 GB DDR5, Samsung 990 Pro 1TB NVMe in M.2_1 slot, Ubuntu 22.04 kernel 6.2, ext4, laptop cooling disabled for test
Symptoms
Background file-copy of a 120 GB test file stalls intermittently; applications block on disk I/O (IOwait spikes). Average write throughput drops from ~3.5 GB/s to <100 MB/s after ~90 seconds; some copy operations fail with 'Input/output error'.
Observations
smartctl reports temperature rising from 45°C to 95°C during the test; dmesg shows repeated nvme timeout/recover errors ('nvme nvme0: I/O 12345 QID 0 timeout, aborting'); iostat shows device utilization 99% followed by large service times; no power spikes on UPS logs.
Already attempted
Updated firmware to latest vendor release (rebooted); tried lower sequential write test with dd (same pattern after longer run); moved drive to a different M.2 slot (M.2_2) with unchanged behavior; disabled aggressive CPU boost governor (no change); mounted with noatime and aligned partitions (no change).
Question
What diagnostics and mitigations should I run to determine whether this is thermal throttling, controller firmware bug, or a motherboard M.2 power delivery issue, and how can I safely collect logs and avoid destructive steps?
Verified community troubleshooting
No answers yet..
Incident analysis
Most likely causes
Summary
Suggested Fixes
Continue troubleshooting
Related troubles
Matched from the title, description and tags
- Hardware25% match
Intermittent Linux kernel oops only under heavy memory pressure despite MemTest86 passing
Open0 answers - Hardware24% match
NVMe SSD Reallocated Sector Count increases only during heavy random-write FIO workload on Linux
Open0 answers - Hardware23% match
NVMe SSD sustained write throughput collapses under Linux when PCIe ASPM is enabled
Open0 answers - Databases21% match
MongoDB primary stalls and throughput collapses when WiredTiger cache reaches high utilization during sustained bulk inserts
Open0 answers