Community
cancel
Showing results for 
Search instead for 
Did you mean: 
idata
Community Manager
853 Views

Using TRIM outside file system

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

Tags (1)
0 Kudos
1 Reply
idata
Community Manager
32 Views

Ended up using ATA_PASS_THROUGH_DIRECT to communicate the TRIM.