New
#11
Damn it actually worked, thanks! It seems to re-trim every unused sector every time you run it, but that's fine honestly, only takes a few seconds.
Without defrag:Code:defrag D: /L /U /V Microsoft Drive Optimizer Copyright (c) 2013 Microsoft Corp. Invoking retrim on data (D:)... Performing pass 1: Retrim: 100% complete. The operation completed successfully. Post Defragmentation Report: Volume Information: Volume size = 698.50 GB Cluster size = 4 KB Used space = 179.57 MB Free space = 698.33 GB Retrim: Backed allocations = 698 Allocations trimmed = 696 Total space trimmed = 695.85 GB
With defrag:Code:trimcheck.exe \\.\D: D:\ D:\trim.dat Sectors per cluster: 8 Bytes per sector: 512 Number of free clusters: 183063403 Total number of clusters: 183110399 Testing TRIM with file 'D:\trim.dat' ExtentCount: 1 StartingVcn: 0 NextVcn: 1 Lcn: 41 Volume file type: 1 (0) Old file pointer: 167936 New file pointer: 167936 61 62 63 64 65 66 67 68 Press any key to continue . . . 61 62 63 64 65 66 67 68
So it actually works. (This program just writes a new file with this pattern into exactly one cluster, opens the volume directly, seeks to the file location, reads the cluster directly from the volume, waits for you to TRIM, and then reads the cluster again.)Code:trimcheck.exe \\.\D: D:\ D:\trim.dat Sectors per cluster: 8 Bytes per sector: 512 Number of free clusters: 183063403 Total number of clusters: 183110399 Testing TRIM with file 'D:\trim.dat' ExtentCount: 1 StartingVcn: 0 NextVcn: 1 Lcn: 41 Volume file type: 1 (0) Old file pointer: 167936 New file pointer: 167936 61 62 63 64 65 66 67 68 Press any key to continue . . . 00 00 00 00 00 00 00 00
Thanks a lot man! The only question that remains is why Windows doesn't realize this by default, but oh well maybe it'll get fixed eventually.