Saturday, December 24, 2011

How to use an SSD in Windows properly


This HowTo is to provide the common tweaks used to optimize your new SSD for Windows 7. I would recommend checking the performance of your SSD before and after these tweaks to see how they impact your performance. I recommend using AS SSD Benchmark to check your performance.

Warning! The reader takes full responsibiity for any damage that may occur to their PC or hardware by follwing these recommended tweaks. These are just recommendations to improve the performance of the SSD but are not required if your SSD is functioning correctly.


Step 1. SATA Controller set to AHCI Mode:
  • During the installation process, you want to ensure your BIOS are set to AHCI for the SATA controller to enable AHCI. AHCI is needed for native TRIM support utilized by a SSD.
  • If you have already installed the OS in IDE mode, it is recommened to switch to AHCI after completing the steps listed in this Windows Article:http://support.microsoft.com/kb/922976, if your BIOS support AHCI.




Step 2. Verify TRIM is Enabled
Verifing TRIM will confirm that the TRIM commands are being sent from Windows to the SSD.
How to Verify TRIM is Enabled
    • In the start menu search box, type" cmd";
    • Right click the cmd program and select Run as Adminstrator; and
    • In the command line type "fsutil behavior query DisableDeleteNotify".
      • if DisableDeleteNotify = 0 TRIM is Enabled.
      • If DisableDeleteNotify = 1 TRIM is Disabled.
When typing in the command window, don't include " " when typing.





Step 3. Disable System Restore
System Restore on a SSD can degrade the SSD performance over time and make it very difficult for TRIM to work. It is recommended to disable System Restore to prevent this and to regain valuable SSD storage sapce.
How to Disable:
    • Right click on My Computer and select Properties;
    • Select System Protection;
    • Select Configure; and
    • Select Turn Off System Restore.





Step 4. Disable Drive Indexing
With the access times of a SSD (0.1 ms for most), there is no need to index the drive for quicker response times, like with a standard hard drive.
How to Disable:
    • Go into My Computer;
    • Right click your SSD and select Properties; and
    • Un-check the box marked "Allow files to have contents indexed in addition to file properties".
    • A popup screen may appear, stating there is an error applying attributes, this is normal and you should select "Ignore All" and continue.





Step 5. Disable Drive Defragmentation Schedule
By default, Windows 7 should automatically disable defrag by default as part of the TRIM requirements. In case it doesn't, you'll want to disable this feature, as defraging your SSD is not a good thing!!
How to Disable:
    • Go into My Computer;
    • Right click your SSD and select Tools tab;
    • Select the box Defragment Now;
    • Select the box Configure Schedule; and
    • Un-check the the Run on a Schedule Box.






Step 6. Disable PageFile
This does not improve the performance of the SSD but does get you back 3 to 4 GB of valuable space on your SSD. Also, it is not recommend for users with less than 4GB of Memory or doing without watching your RAM usages prior to implementing.
How to Disable:
    • Right click My Computer;
    • Select Properties;
    • Select Advanced System Settings;
    • Select the Performance tab and Advanced tab;
    • Select the Change box for virtural memory;
    • Un-check Automatically Manage Page File Size For All Drives;
    • Select No Paging File and click the set box; and
    •  Select Yes to allow and restart.





Step 7. Disable Hibernation
Disabling hibernation will return 2 GB of valuable storage space to your SSD. Also, it provides no real benefit to a SSD due to it's quick load times.
How to Disable:
    • In the start menu search box, type" cmd";
    • Right click the cmd program and select Run as Adminstrator; and
    • In the command line type "powercfg -h off".
    • Once completed, the command prompt returns.
When typing in the command window, don't include " " when typing.

Step 8. Disable Prefetch and Superfetch
How to Disable:
    • Type Regedit into the Start Menu;

    • Select the file path; "HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\SessionManager\Memory Management\PrefetchParameters"
    • Right click on both EnablePrefetcher and EnableSuperfetch;
    • Select modify on each of these to change the value from 1 (or 3) to 0, and
    • Restart.





Step 9. Disable Windows Write-Cache Buffer Flusing
This is not recommended for Intel SSD, as it has a negative effect on their performance. It is recommend to check performance before and after this tweak to determine if has a negative or postive effect.
How to Disable:
    • Right click My Computer and select Properties;
    • Select Device Manager;
    • Select Disk Drives;
    • Right click the SSD and select Properties; and
    • Under the Polices tab, uncheck the Enable write caching on the device.





Step 10. Disable Windows Search and Superfetch
How to Disable:
    • Press Winkey + 'R' for Run Dialogue;
    • Type "services.msc" and press Enter;
    • Scroll to Superfetch, right click and select Properties;
    • In the drop down menu, select Disabled and select Ok;
    • Scroll to Windows Search, right click and select Properties;
    • Click the Stop box, than use the drop down menu, select Disable and select Ok.





Step 11. Disable ClearPageFileAtShutdown and LargeSystemCache.
How to Disable:
    • Type Regedit into the Start Menu;

    • Select the file path; "HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\SessionManager\Memory Management"
    • Right click on both ClearPageFileAtShutdown and LargeSystemCache;
    • Select modify on each of these to change the value from 1 to 0, and
    • Restart.





Step 12. Adjusting the Power Settings
Adjusting the Power Settings
    • Go to Control Panel;
    • Select System and Security'
    • Select Power Options and Click the drop down for Show Additional Plans;
    • Select the High Performance bubble to apply it;
    • Click Change Plan Settings for High Performance;
    • Click Change Advanced Power Settings;
    • Click the hard disk drop down option;
    • Change Turn off hard disk after to 0 minutes (Never)
    • Select OK; and
    • Select Save Settings.



Step 13:

With Windows Vista, the WinSxS folder was able to be cleaned up via a third party tool (WinSxS Lite here – Vista only!). With the initial release of Windows 7, we lost that capability – but it has since returned with Service Pack 1.
The WinSxS folder is used to store install and uninstall files, windows packages (current and previous versions of a component) and out-of-band releases. You should not completely delete this folder. Post Windows 7 SP1, there is now a way to remove the unnecessary files from this folder using the command line (elevated/admin mode -> Click Start -> Type “cmd” in Search. Right click on “cmd” and choose “Run as Administrator”). This is great for reducing the Windows folder size for SSDs and netbooks. In my case it saved 3.5GB of space.

dism /online /cleanup-image /spsuperseded



Source: here

No comments:

Post a Comment