- Community Pick
Solid State Drive Performance Tips:
Solid state storage technology has become a standard now. After using one myself for quite awhile, I decided to put together a collection of tips/suggestions that I have found around the internet here on EE for everyone to use. These tips will help you minimize writes to your SSD, and optimize Windows to properly use an SSD.
Windows 7 TRIM Functionality:
The TRIM command is a feature of Windows 7 that has been designed to maintain performance of solid state drives over the course of an SSD's lifetime.
TRIM actively deletes invalid data from the SSD’s memory cells to ensure that write operations perform consistently at full speed. Invalid data is defined as data that has been deleted by the user/host OS, but which remains physically stored on the memory cell until it is overwritten. Since a memory block must be erased before it can be re-programmed, TRIM improves performance by pro-actively erasing data blocks containing invalid data, thereby allowing the SSD to write new data to the memory without first having to perform a time-consuming erase command.
Only Windows 7 supports TRIM functionality.
How To Verify If TRIM Is Active On Your System:
Open up a command prompt with Administrator privileges.
Enter in the following command:
If the result of the query is 0 then TRIM is working as intended. If the result of the query is 1 then TRIM is disabled.
To enable TRIM on a system use the following command:
(The DisableDeleteNotify command only indicates that the operating system is passing the TRIM command on to the storage drivers. It does not indicate whether or not the storage drivers are passing the command on to the storage controller IC in the SSD, or whether the storage controller IC supports TRIM. As such, as result of “0” is not a guarantee that TRIM is functioning correctly.)
Check your SSD manufacturer's website to find out if your SSD controller supports TRIM or if there is a firmware update that will enable your controller to support it.
To determine whether TRIM is functioning correctly, you can periodically measure the performance of your SSD using tools such as ATTO and CrystalDiskMark.
Increasing Performance By Minimizing Writes To Your Drive
The one thing to remember about SSD's is that anything that writes to the drive frequently, can be a cause of performance degradation over time. So, if you are using your SSD as a main OS drive you will want to minimize these writes by redirecting your commonly written to directories to your larger data/storage drive.
Move your Windows Libraries to your data drive: Lets start this by moving your Windows libraries to your data drive. Create directories on your data drive for each of these new libraries and Go to "My Computer" and right click on each of your systems libraries (eg: My Documents, Pictures, Music, Videos...etc.). Create directories on your data drive for each of these new libraries. Then in the properties area of the menu, check your "Library Locations:" and make sure that your new data drive location for each of these is the only directory listed there.
Move your temporary internet files folder: The last thing you want on your new SSD is thousands of files being written to it by your internet browsing sessions.
Internet Explorer:
- Open IE and select Tools>Internet Options
- In the "General" tab under the header "Browsing History" select the "Settings" button.
- Once there click the button marked "Move Folder" and then select its new location. You will then be logged off for the changes to take effect.
Firefox:
You can view your settings in Firefox by typing "about:cache" in the address bar.
To change these settings follow these steps:
- Type "about:config" in the Firefox address bar.
- Right click on any "Preference String" area and select New>String from the menu.
- Enter in "browser.cache.disk.parent
_directory " as the preference name and then put in the path to the new folder location (Ex: D:\Temp\Firefox). Once this is set, a new directory called "Cache" will be created in the folder that you entered in.
- Restart Firefox to enable.
To change the offline cache directory, follow the steps above, but use the string "browser.cache.offline.par
Next we will want to set up a new temporary files directory on your data/storage drive.
- Browse to your data drive and create a new folder called "Temp"
- Now go to your Start Menu>Control Panel. Once there, select "System"
- On the left you will see a set of links, select the one called "Advanced System Settings"
- Click the "Environment Variables" button
- Click the variables for your Temp folders one at a time and click "Edit" and then change the location to your new "Temp" folder (i.e. D:\Temp).
- Go to the "System Variables" area and find the other two temp entries and repeat the above process with the "Edit" button.
When you're done click "OK" and you will get a warning that you need to restart your computer, do not do this just yet.
Adjusting Your Paging File Size
By default Windows sets you're paging file to 1.5x your physical RAM. This is WAY to much in these days of 6 GB - 12 GB RAM and if you are using an SSD for your OS drive.
- In the "Advanced" tab of the Advanced System Settings window, select "Settings" under the "Performance" header.
- Select the "Advanced" tab.
- Click "Change" under the Virtual Memory header.
- Select the radio button titled "Custom"
- Edit the settings so that you're "Initial Size" is 1000 and "Maximum" is 2000
- Click "Set", then click "OK", "OK" and then "Close" till you are back to your desktop
- Reboot your machine
How to turn off and delete the Windows hibernation file in Windows 7:
The Windows hibernation file is usually a large file that keeps the current Windows State saved so that when you exit hibernation the system will resume it's previous state. If you do not have any particular reason to have your PC hibernate then you will want to disable and delete the hibernation file.
To delete this file, you will have to use an elevated command prompt to manually turn off hibernation. If you turn off hibernation via the Windows Power Options it will not actually delete the hibernation file itself.
Open an elevated command prompt in Windows 7 by typing "cmd" in the search box. Right-click "cmd" and choose "Run as Administrator".
To delete the hibernation file and to disable hibernation, type in this command at the prompt:
This will disable hibernation and will remove the hiberfil.sys file from your system.
I hope these tips help someone out who is in need of this information here at EE. Your SSD will now have quite a few less writes as well as less data filling it up and will hopefully last you a very long time and perform at it's best.
Tribus
(Sources: Corsair SSD forums, Wikipedia, HelpDeskGeek.com)
by: DanRollins on 2010-02-25 at 04:23:09ID: 10066
Great article! I have clicked Yes, above.