Intro Download and install Frequently Asked Questions Tips and tricks

Homepage







© J.C. Kessels 2009
MyDefrag Forum
May 19, 2013, 08:28:28 am *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Supporting the TRIM feature  (Read 1498 times)
Leolo
JkDefrag Hero
*****
Posts: 98


View Profile
« on: March 22, 2009, 11:20:24 pm »

Hi everyone,

This is a suggestion for some future release (as far as I know, the TRIM feature doesn't even exist today!), but it will be very useful for MyDefrag.

As explained here:
http://www.anandtech.com/storage/showdoc.aspx?i=3531&p=10

Windows 7 will someday support TRIM, and will be able to query a drive for its rotational speed. If the drive responds by saying 0, Windows will know it's an SSD flash drive.

Thus, MyDefrag will also be able to query for the presence of SSD drives and adapt its behavior accordingly!

Will you consider this for MyDefrag in the future, Jeroen?

Thanks a million in advance,
Kind regards.
Logged
jeroen
Administrator
JkDefrag Hero
*****
Posts: 7155



View Profile WWW
« Reply #1 on: March 23, 2009, 07:25:32 am »

Sure. I can very easily extend the syntax of MyD script to add a VolumeBoolean for something like that. The rub ofcourse is that the underlying code has to be possible. MyDefrag is a user mode program and cannot talk directly with hardware, it has to go through the Windows Hardware Abstraction Layer
Logged
tOM Trottier
JkDefrag Hero
*****
Posts: 82


tOM


View Profile
« Reply #2 on: May 29, 2009, 05:02:13 pm »

Windows 7 HD and SSD Performance Analyzed - HotHardware

ACCESSED:   Fri May 29 2009 12:00:57 GMT-0400 (EDT)
PAGE URL:   http://hothardware.com/Articles/Windows-7-Disk-Performance-Analyzed/?page=4
...

If the drive broadcasts itself as a solid state drive (which can be done through the latest ATA specification), Windows 7 can make adjustments to ensure that the drive performs at its best. For example, if Windows 7 can verify that you're running a solid state disk, it will disable defragmentation for that drive (as defragging puts un-necessary wear on SSD's and doesn't help performance). Windows 7 will also enable support for "TRIM", also known as DisableDeleteNotify, an add-on to the ATA specification which allows for enhanced performance and decreased strain on the drive. According to Microsoft, here's what TRIM brings to the table.

    * Enhancing device wear leveling by eliminating merge operation for all deleted data blocks
    * Making early garbage collection possible for fast write
    * Keeping device’s unused storage area as much as possible; more room for device wear leveling.

Basically, Windows 7 will send TRIM commands down the storage chain, but it's up to the drive to accept the commands and utilize them. In order for TRIM to work, you not only need Windows 7, but you'll need a solid state hard disk which has support for TRIM via its Firmware. Currently, these drives are few and far between, but we were able to test OCZ's new Vertex 120 GB SSD, which has support for TRIM in its latest firmware. We ran benchmarks with an older, non-TRIM supported firmware along with the latest version with TRIM support. Here's what we saw.

...

===================================================

Logged
jeroen
Administrator
JkDefrag Hero
*****
Posts: 7155



View Profile WWW
« Reply #3 on: May 30, 2009, 11:10:53 pm »

Interesting link, thanks!
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.5 | SMF © 2006-2008, Simple Machines LLC Valid XHTML 1.0! Valid CSS!