G.SKILL TECH FORUM

Go Back   G.SKILL TECH FORUM ? Product Discussion ? SSD

SSD Problem or question about your SSD? Post a thread in here

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 12-07-2010, 06:54 PM
GSKILL's Avatar
GSKILL GSKILL is offline
Administrator
 
Join Date: Jul 2008
Posts: 3,034
GSKILL is knowledgeable to help others
Default Enabling TRIM in Windows 7 with a Phoenix/Phoenix Pro SSD

Overview
This paper describes how to enable TRIM in Microsoft Windows 7 using the Microsoft AHCI driver.
The Microsoft AHCI driver v6.1.7600 Rev.16385 currently shipping with Windows 7 does not support the DSMcap (maximum supported TRIM sectors) provided by an SSD; the Windows AHCI driver uses a default value of eight sectors and the SandForce SF-1000 SSD Processor family only supports a maximum of one TRIM sector. The result is TRIM does not function on SandForce Driven SSDs in the above configuration. Without making the change in this document, the SSD may not operate at peak efficiency.

Solution
A Windows 7 registry change will correct the issue. Detailed below are instructions for users to modify the registry and add the maximum supported TRIM sectors to support TRIM on SandForce drives using the Microsoft AHCI driver.

Note: These instructions are only valid if you are running Windows 7 under AHCI mode, and are using the Microsoft AHCI driver.

IMPORTANT: This section contains steps that tell you how to modify the registry. Serious problems might occur if this is done incorrectly. Therefore, make sure you are comfortable making changes to the registry and follow these steps carefully. For added protection, back up the registry before you modify it. You can later restore it if a problem occurs. For more information about how to back up and restore the registry, follow this link to the Microsoft Knowledge Base: http://support.microsoft.com/kb/322756/

Instructions
1. Exit all Windows-based programs.
2. Click Start, type regedit in the Start Search box, and press Enter to open Registry Editor.
3. If you receive the User Account Control dialog box, click Continue.
4. Locate and then click on the following registry sub-key:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\I DE\<diskname>\<instance>\ DeviceParameters\ATAport
The <diskname> will be seen as ?Disk???? where ??? matches the model name of the SSD being modified, like ?DiskFM-25S2S-120GBP2?(Please refer to your Device Manager.).
The <instance> will be seen as ?5&???? where ??? stands for a registry sub-folder created when a drive is connected to the machine, like ?5&183cef87&0&3.0.0?. Note that if the same drive is connected to different ports over time, multiple instances will show up under the <diskname>. If the user is unaware of which <instance> is currently active, the registry modification needs to be applied to every <instance>.
Please refer to the left pane of the figure below for clarification:

5. In the right pane, right-click on the blank area.
6. Under the New submenu, select DWORD (32-bit) Value.
7. Under the Name column type DSMDataSizeCapInBlocks.
8. Right click on the newly created DSMDataSizeCapInBlocks and click Modify.
9. In the Value Data box, type 1, and then click OK.
10. On the File menu, click Exit to close Registry Editor.
11. Reboot the system.
The system will now support TRIM on the SandForce-based SSD with the Microsoft AHCI driver.
Reply With Quote
  #2  
Old 12-08-2010, 12:44 AM
GSKILL's Avatar
GSKILL GSKILL is offline
Administrator
 
Join Date: Jul 2008
Posts: 3,034
GSKILL is knowledgeable to help others
Default

Trim and performance test
MotherBoard Asus SABERTOOTH X58
Cpu Core i7 920
OS Windows 7 64bit
Test soft CrystalDiskMark 3.0d x64
1. Use Parted Magic to erase SSD and then install window 7.
2. regedit Trim support.

3. Copy a lot of test files.
Data structure (0 ~ 10K 10%; 10K ~ 100K 40%; 100K ~ 1000K 50%).
Use SSD Space 16% to 23% and to 70%.

4. Use 70% space idle 10min.

5. Increasing use of space.
70%~83%~90%

6. Remove the test data to use 60% capacity.

7. Delete all test files, with only the operating system.


Conclusion: Trim Command seems could stop endless drop of write performance, but it cannot restore the disappearing write performance same as the new SSD.
Reply With Quote
  #3  
Old 12-08-2010, 11:31 PM
temu26 temu26 is offline
Junior Member
 
Join Date: Dec 2010
Posts: 5
temu26 is reading into overclocking
Default

Thanks Admin!! looks great.

But i am affraid that i am running INTEL AHCI driver (i saw it on computer administration).

Please i have two questions regarding this:
1- TRIM works under windows 7 and intel AHCI driver?
2- How can I change intel driver to Microsoft driver?

thanks for your help.
Reply With Quote
  #4  
Old 12-09-2010, 01:42 AM
GSKILL's Avatar
GSKILL GSKILL is offline
Administrator
 
Join Date: Jul 2008
Posts: 3,034
GSKILL is knowledgeable to help others
Default How do change intel driver or Microsoft driver.


Next

Next

Next

Finish and you need reboot.
Reply With Quote
  #5  
Old 12-09-2010, 02:02 PM
Weenz Weenz is offline
Junior Member
 
Join Date: Nov 2010
Posts: 16
Weenz is reading into overclocking
Default

So this isn't necessary if we have Intel RST installed?
Reply With Quote
  #6  
Old 12-09-2010, 09:39 PM
Ranxerox Ranxerox is offline
Senior Member
 
Join Date: Jul 2010
Posts: 109
Ranxerox is reading into overclocking
Thumbs up

Like this... !!! Is It necessary?


Receive my best regards GSKILL
Reply With Quote
  #7  
Old 12-09-2010, 10:24 PM
GSKILL's Avatar
GSKILL GSKILL is offline
Administrator
 
Join Date: Jul 2008
Posts: 3,034
GSKILL is knowledgeable to help others
Default

Regedit for Intel RST is not necessary. but the effect is yet to be verified.
Reply With Quote
  #8  
Old 12-10-2010, 12:30 AM
temu26 temu26 is offline
Junior Member
 
Join Date: Dec 2010
Posts: 5
temu26 is reading into overclocking
Default

So, regedit for MS driver is the best way to save performance on SSD phoenix pro. correct?

i have heard that new INTER RAPID STORAGE ver 9.6.0.1014 also works with TRIM correctly.
and it supports TRIM for RAID mode!!

Thanks again GSKILL!!!

Last edited by temu26; 12-10-2010 at 03:39 AM. Reason: new info
Reply With Quote
  #9  
Old 12-13-2010, 04:35 PM
bgarrant bgarrant is offline
Junior Member
 
Join Date: Dec 2010
Posts: 11
bgarrant is reading into overclocking
Default TRIM and Intel RST??

SO if I am using the latest Intel RST driver will TRIM work without the RegEdit? I can use the native driver if better, but I think my Phoenix Pro 120GB gets better performance with the Intel driver.
Reply With Quote
  #10  
Old 12-14-2010, 10:02 AM
FranciscoJ FranciscoJ is offline
Junior Member
 
Join Date: Dec 2010
Posts: 1
FranciscoJ is reading into overclocking
Default

Hello,
this is my first message in this forum so hi everybody.

I got a Phoenix Pro 120GB used with a Dell XPS 17 bought this December.
My Windows7 64bit driver is a Intel(r) Series 6 Port SATA AHCI Controller version 9.6.1.1014.

Do I need to enable something about TRIM as descrived in this forum thread?

Do I need to switch off other windows features as cache or file indexing?

Thank you,
Regards,
Francisco
Reply With Quote
Reply

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -8. The time now is 04:06 AM.


Powered by vBulletin® Version 3.8.3
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
All rights reserved. Copyright ©1989-2013, G.Skill International Enterprise