07-09-2010 04:05 PM
Hi,
Im developing an user-mode benchmark that runs directly on SSD (without a filesystem), and want to use TRIM between runs.
To get this to work, Microsoft has implemented the storage data management routines which can communicate to the SSD devices with the TRIM information. The only problem is that to send the TRIM command to the device, it requires the program to runs at kernel-mode and I would therefore have to write a kernel driver to send the specific TRIM actions.
Is there any documentation on how the SSD Toolbox run the TRIM without having a kernel driver in the background allowing it to send the TRIM actions?
Kind Regards,
Matias
07-10-2010 02:10 AM
Ended up using ATA_PASS_THROUGH_DIRECT to communicate the TRIM.