In this article
Treat fstrim output as potential-discard reporting, preserve storage capability and measure maintenance overlap separately from model-loading regressions.
A model-loading comparison becomes slower on the day scheduled discard runs. The overlap is a workload condition, not immediate proof of an SSD regression. Fstrim reports free ranges offered for potential discard through a storage stack. That report is neither newly freed application capacity nor a direct measurement of physical NAND reclaimed during the command.
Identify the filesystem target
Resolve the scheduled mountpoint and its backing stack in the relevant environment. Thin provisioning, logical volumes and devices can expose different discard capabilities. Preserve the schedule and actual target rather than assuming every cache on the host participates. An invocation selecting many mounts also needs per-target outcomes; a quiet overall log does not automatically establish that every intended filesystem accepted discard.
Read reported bytes correctly
The documented verbose result describes bytes passed downward for potential discard. Repeated runs can report the same candidate ranges even without equivalent new device work. Kernel layers may adjust ranges for underlying geometry or capability. Do not add repeated reported bytes as newly erased NAND, new free filesystem space or a direct endurance-saving counter. Keep those questions separate from command reporting.
Separate deletion from discard
Deleting an artifact changes filesystem allocation and namespace state under its own lifecycle. Discard communicates information about unused ranges to supported lower storage layers. It does not validate that cache retention selected the right files or establish that no worker still requires the removed revision. Preserve artifact ownership and application cleanup policy independently from the lower-level maintenance operation.
Measure overlap explicitly
Retain discard timing, model-file read intervals, device activity and completion-latency observations. Some device and stack behavior can interfere with concurrent work, so a matched comparison should state whether maintenance overlaps. Do not clear shared caches or trigger another live discard just to recreate a graph. Use an authorized isolated equivalent for deliberate comparisons and keep preparation conditions consistent.
Choose a supported maintenance boundary
Evaluate an appropriate schedule within the actual filesystem and device guidance, using useful serving and loading outcomes. A command’s dry-run mode can help inspect intended selection, but it does not measure real discard cost. A useful report explains capability, reporting units and observed overlap. It does not promise a universal trim frequency, secure erasure or improved loading latency from running maintenance more often.
Primary references
util-linux fstrim Scope and Reporting.
util-linux Storage Topology and Discard Capability.
fio Workload and Latency Measurement Reference.
Related reading: Model caches and SSD endurance: downloads, host writes and NAND; LLM loading: read-latency tails beyond one SSD speed.
Earn rental income from GPUs
Have idle GPUs or looking to fund AI infrastructure? Retrivium finds a rental platform, sets up the server and helps you assess income and costs with a pilot.