Perform a quick benchmark of a hard drive using ReadSpeed
https://www.grc.com/readspeed.htm
If a SSD has slow performance on one section compared to another, run Spinrite level 2/3 on it. Same for a hard drive with abnormally slow performance.
Fix drive errors with corruption and slow performance (not for hardware defects)
Spinrite from www.grc.com
After running Spinrite on level 3 or higher on a SSD, use the following Windows 10 command to force a recalculation of TRIM:
Optimize-Volume -DriveLetter C: -retrim -verbose |