Friday, November 18th 2011
Intel Making TRIM on RAID Possible?
The TRIM command feature has become an industry standard for internal garbage collection on SSDs. Unlike with magnetic storage devices such as hard drives, in NAND flash storage devices, new data can't simply be overwritten on existing deleted data (like overwriting on cassette tapes), instead NAND flash cells are first put through erase cycles, and then fresh data is written on them. This leads to degradation of performance in SSDs, as all deleted data will be put through erase cycles. The TRIM command allows the drive to tag freshly deleted data for disposal, and then erase flash memory occupied by that data when idling, and dynamically allocating erased cells for fresh data. This dramatically reduces write performance degradation of SSDs. Unfortunately, issuing TRIM commands to SSDs that are part of a RAID volume is so far not possible, because the RAID volume acts as a sort of an abstraction layer between the OS and physical disks. Some low-level data about member disks can still be read by diagnostic tools, but that's about it.
If the Release Notes document of Intel Rapid Storage Technology (RST) driver 11.5.0.1109 Alpha (read here) is to be believed, Intel plans to bring TRIM support to RAID 0 volumes with a future version of RST. Snooping through the document, one can find the following line:
Source:
StorageReview
If the Release Notes document of Intel Rapid Storage Technology (RST) driver 11.5.0.1109 Alpha (read here) is to be believed, Intel plans to bring TRIM support to RAID 0 volumes with a future version of RST. Snooping through the document, one can find the following line:
2. This release will not enable the TRIM on RAID0 feature, but it will be added in the next RST 11.5 release. Contact your RST AE representative with questions.
14 Comments on Intel Making TRIM on RAID Possible?
This, if done, may open up other possibilities.
Waiting to see results from this.
The problem lies in the way RAID works: it is transparent to the OS. For the OS the RAID array is just an I/O address space. Data gets sent or requested to and from those addresses. The RAID controller then splits, mirrors, calculates parity info, or whatever is needed to move the data from and to the individual disks. But the OS is not directly connected to this process, it does not "see" the disks directly, only the array. This way the OS is not even aware, that TRIM capable devices are present. And there has been no easy and reliable way to pass the TRIM command over the RAID controller.
Though it seems that Intel has come up with a way to do just that.:respect:
You can still use the manual way with tools like as-cleaner...but of course native support for all would be better.....