Site icon WinCert

Best practices for SSD disk on Windows 7

<p><a href&equals;"http&colon;&sol;&sol;wincert&period;net&sol;wp-content&sol;uploads&sol;2011&sol;10&sol;hd2&period;jpg"><img class&equals;"alignnone size-full wp-image-812" src&equals;"http&colon;&sol;&sol;wincert&period;net&sol;wp-content&sol;uploads&sol;2011&sol;10&sol;hd2&period;jpg" alt&equals;"hd2" width&equals;"720" height&equals;"340" &sol;><&sol;a><&sol;p>&NewLine;<p>This article will help you configure your Windows 7 or Windows 8 Operating System for better use with Solid State Drives &lpar;SSD&rpar;&period;<&sol;p>&NewLine;<p>&nbsp&semi;<&sol;p>&NewLine;<p><strong>Using AHCI or RAID mode<&sol;strong><&sol;p>&NewLine;<p>For a start&comma; prior to anything else&comma; you should enable AHCI or RAID operating mode in BIOS for the SSD disk&period;<&sol;p>&NewLine;<p>AHCI mode has two main advantages over IDE mode that are available to SATA controllers&comma; in the means of <a href&equals;"http&colon;&sol;&sol;en&period;wikipedia&period;org&sol;wiki&sol;Native&lowbar;Command&lowbar;Queuing" target&equals;"&lowbar;blank">NCQ &lpar;native command queuing&rpar;<&sol;a> and hot-swapable drives &lpar;latest motherboards&rpar;&comma;<&sol;p>&NewLine;<p>To use AHCI&comma; the Operating System needs the AHCI driver&period; Windows Vista&comma; Windows 7 and Windows 8 include this driver by default&period;<&sol;p>&NewLine;<p><&excl;--more--><&sol;p>&NewLine;<p>If you would like to use AHCI on Windows 7&comma; but you already have your operating system installed&comma; here&&num;8217&semi;s how to do it&colon;<&sol;p>&NewLine;<p>Open registry editor and navigate to the following key&colon;<&sol;p>&NewLine;<p><strong>HKEY&lowbar;LOCAL&lowbar;MACHINE&bsol;System&bsol;CurrentControlSet&bsol;Services&bsol;Msahci<&sol;strong><&sol;p>&NewLine;<p>In the right pane&comma; right-click <strong>Start<&sol;strong> in the <strong>Name<&sol;strong> column&comma; and then click Modify&period;<&sol;p>&NewLine;<p>In the Value box&comma; type <strong>0<&sol;strong>&comma; and then click <strong>OK<&sol;strong>&period;<&sol;p>&NewLine;<p>Exit registry editor&comma; restart your machine and enter the BIOS to enable AHCI mode&period;<&sol;p>&NewLine;<p>If on the other hand you have two or more disks&comma; you can consider using RAID mode&comma; where you&&num;8217&semi;ll be able to use  <a href&equals;"http&colon;&sol;&sol;en&period;wikipedia&period;org&sol;wiki&sol;Standard&lowbar;RAID&lowbar;levels" target&equals;"&lowbar;blank">RAID 0<&sol;a> &&num;8211&semi; Stripe or <a href&equals;"http&colon;&sol;&sol;en&period;wikipedia&period;org&sol;wiki&sol;Standard&lowbar;RAID&lowbar;levels" target&equals;"&lowbar;blank">RAID 1<&sol;a> &&num;8211&semi; Mirror sets to gain better performance of your drives&period;<&sol;p>&NewLine;<p><strong> <&sol;strong><&sol;p>&NewLine;<p><strong>Using SATA 3 for maximum performance<&sol;strong><&sol;p>&NewLine;<p>If your Motherboard has SATA 3 connectors that can transfer speed up to 6Gb&sol;s and you have also bought SATA 3 SSD drive&comma; make sure that you connect your disk to proper SATA 3 controller on your motherboard to utilize your disks at best performance&period;<&sol;p>&NewLine;<p>Also&comma; make sure you use SATA 3 cables for this&period; Usually&comma; those cables are delivered with MBO&period;<&sol;p>&NewLine;<p>On the other hand SATA 2&comma; will also do the job&comma; but SATA 2 speeds are limited to 3Gb&sol;s max&period;<&sol;p>&NewLine;<p><strong> <&sol;strong><&sol;p>&NewLine;<p><strong>Enable TRIM<br &sol;>&NewLine;<&sol;strong><&sol;p>&NewLine;<p>Once you have installed Operating System&comma; it is time to do some tweaks in it to better utilize SSD drives&period;<&sol;p>&NewLine;<p><a href&equals;"http&colon;&sol;&sol;en&period;wikipedia&period;org&sol;wiki&sol;TRIM" target&equals;"&lowbar;blank">TRIM command<&sol;a> allows an operating system to inform a solid-state drive &lpar;SSD&rpar; which blocks of data are no longer considered in use and can be wiped internally&period;<&sol;p>&NewLine;<p>On Windows 7 the TRIM is enabled by default&comma; but if you want to be sure&comma; here&&num;8217&semi;s how you can check it&colon;<&sol;p>&NewLine;<p>Open Command Prompt with elevated privileges &lpar;right click &&num;8211&semi; runas administrator&rpar; and type the following command&colon;<&sol;p>&NewLine;<p><strong>fsutil behavior query disabledeletenotify<&sol;strong><&sol;p>&NewLine;<p>If TRIM is enabled you will receive the following output&colon;<&sol;p>&NewLine;<p><strong>DisableDeleteNotify &equals; 0<&sol;strong><&sol;p>&NewLine;<p>If TRIM is disabled you will receive the following output&colon;<&sol;p>&NewLine;<p><strong>DisableDeleteNotify &equals; 1<&sol;strong><&sol;p>&NewLine;<p>To <strong>enable<&sol;strong> TRIM please use the following command&colon;<&sol;p>&NewLine;<p><strong>fsutil behavior set disabledeletenotify 0<&sol;strong><&sol;p>&NewLine;<p>To <strong>disable<&sol;strong> TRIM command use the following command&colon;<&sol;p>&NewLine;<p><strong>fsutil behavior set disabledeletenotify 1<&sol;strong><&sol;p>&NewLine;<p>&nbsp&semi;<&sol;p>&NewLine;<p><strong>Disable defragmentation<&sol;strong><&sol;p>&NewLine;<p>Disable default defragmentation or any other third party defragmentation applications for the system drive &lpar;SSD&rpar; as defragmentation is not needed for SSD drives&period;<&sol;p>&NewLine;<p>Defragmentation should be disabled by default for SSD drives on Windows 7&period;<&sol;p>&NewLine;<p>SSD drives physically wear out as you write to them&period; Defragmentation software moves around all the files on your drive&period; Therfore&comma; defragmenting an SSD drive reduces its life span without giving you any benefits&period;<&sol;p>&NewLine;<p>The defragmentation software will defragment for instance several blocks&comma; while it actually it doesn&&num;8217&semi;t have a clue where this data is physically located on the disk&period;<&sol;p>&NewLine;<p><strong> <&sol;strong><&sol;p>&NewLine;<p><strong>Removing the SWAP&sol;Page File&quest;<&sol;strong><&sol;p>&NewLine;<p>If you have enough RAM and usually don&&num;8217&semi;t utilize more than 50&percnt; of it&comma; you can safely change the swap&sol;pagefile size to a minimum size that is 400Mb for Windows 7 system&period;<&sol;p>&NewLine;<p>400Mb Page File is a minimum required page file size to save dump files in case of a system crash&period; If you disable page file completely and you are loaded with RAM&comma; you probably won&&num;8217&semi;t notice any issues except for couple of warnings in the Event Manager&period;<&sol;p>&NewLine;<p>For most configurations Windows needs a page file&period; In Windows 7 the default paging file size is equal to the amount of memory installed in the machine&period; If you have a lot of RAM and you miss this hard drive space consider at least setting the minimum required size for the page file&period;<&sol;p>&NewLine;<p>For a system with 6Gb or more RAM I suggest configuring 500Mb for the initial and 1Gb for the maximum page file size&period;<&sol;p>&NewLine;<p>You can also check recommendation from Mark Russinovich which said&colon;<&sol;p>&NewLine;<p><em>To optimally size your paging file you should start all the applications you run at the same time&comma; load typical data sets&comma; and then note the commit charge peak &lpar;or look at this value after a period of time where you know maximum load was attained&rpar;&period; Set the paging file minimum to be that value minus the amount of RAM in your system &lpar;if the value is negative&comma; pick a minimum size to permit the kind of crash dump you are configured for&rpar;&period; If you want to have some breathing room for potentially large commit demands&comma; set the maximum to double that number&period;<&sol;em><&sol;p>&NewLine;<p>&nbsp&semi;<&sol;p>&NewLine;<p><strong>Disable Hibernation<&sol;strong><&sol;p>&NewLine;<p>In my day to day work&comma; I have never&comma; ever had the need to use the Hibernation&period; For a start&comma; Hibernation will take you approximately 6Gb of your drive space&comma; it is much slower than the Sleep feature&period;<&sol;p>&NewLine;<p>Sleep mode allows the computer to quickly resume full power operation in the means of couple of seconds&period;<&sol;p>&NewLine;<p>While sleep puts your work and settings in memory and draws a small amount of power&comma; hibernation puts your open documents and programs on your hard drive and then turns off your computer&period; Hibernation is mostly designed for laptops&comma; although I find the sleep mode much better for laptops too&period;<&sol;p>&NewLine;<p>The only downside of Sleep mode is that you will loose any unsaved documents or data if power failure occurs&period;<&sol;p>&NewLine;<p><strong><br &sol;>&NewLine;Changing location of Windows TEMP folders<&sol;strong><&sol;p>&NewLine;<p>To move the Windows Temp folders&comma; here&&num;8217&semi;s what you should do&colon;<&sol;p>&NewLine;<p>Hit WinORB and type&colon; view advanced &vert; Hit Enter<&sol;p>&NewLine;<p>Click on the <strong>Environment Variables<&sol;strong> button &vert; Under User variables for your user you can see both <strong>TMP<&sol;strong> and <strong>TEMP<&sol;strong> variables listed&period;<&sol;p>&NewLine;<p>Select <strong>TEMP<&sol;strong> and <strong>TMP<&sol;strong> variables&comma; one at a time and click Edit to change the location for the temporary files&period; In this way Windows and any other third party applications will use the new location&period;<&sol;p>&NewLine;<p>Under System variables locate TEMP and TMP variables and click Edit&period; Change the value&sol;location for both variables&period;<&sol;p>&NewLine;<p>Restart your PC&period;<&sol;p>&NewLine;<p>NOTE&colon; Temp folders might get large in time&comma; but from my experience they shouldn&&num;8217&semi;t give you a headache with their free space consumption&period;<&sol;p>&NewLine;<p>You can also change the location of <strong>Temporary Internet files folder<&sol;strong>&period;<&sol;p>&NewLine;<p>When you specify the new location for the temporary Internet files folder&comma; all of your cookies are automatically moved to the new location although you will receive the following warning message&colon;<&sol;p>&NewLine;<p>Warning&colon; Moving the location of your Temporary Internet Files folder will delete all your subscription data&period;<&sol;p>&NewLine;<p>Create a new folder on a separate partition&sol;disk and do the following&colon;<&sol;p>&NewLine;<p>Hit <strong>WinORB<&sol;strong> and type &&num;8216&semi;<strong>Internet Options<&sol;strong>&&num;8216&semi; &vert; <strong>Hit Enter<&sol;strong> &vert; Under Browsing History click <strong>Settings<&sol;strong> &vert; <strong>Move Folder<&sol;strong><&sol;p>&NewLine;<p>Now select the newly created folder&period;<&sol;p>&NewLine;<p>Restart of Internet Explorer should suffice for this changes to take effect&period;<&sol;p>&NewLine;<p><strong> <&sol;strong><&sol;p>&NewLine;<p><strong>Moving the Nero Cache to another partition<&sol;strong><&sol;p>&NewLine;<p>If you use CD&sol;DVD burning a lot&comma; please consider moving the cache&sol;temp folder to another non-ssd drive&period;<&sol;p>&NewLine;<p>For Nero Burning ROM please do the following&colon;<&sol;p>&NewLine;<p>Open Nero Burning ROM &vert; File &vert; Options &vert; Cache<&sol;p>&NewLine;<p>Here you can select another location for the cache files<&sol;p>&NewLine;<p><strong> <&sol;strong><&sol;p>&NewLine;<p><strong>NOTE&colon;<&sol;strong><&sol;p>&NewLine;<p>This document will be updated in the future&period; Suggestions and comments are welcomed&period;<&sol;p>&NewLine;

Exit mobile version