| Windows 7: SSD Tweaks and Optimizations in Windows 7 |
14 Mar 2010
|
#9 | | |
SSD Tweaks and Optimizations in Windows 7 Hello to all my fellow and future users of SSD drives and Windows 7.
I wanted to set up an area with real-world tips on getting the most out of your SSD and the Windows 7 operating system. I will separate each type of tip to its own message to keep things easier to read and to follow.
...
Last edited by lightningltd; 15 Mar 2010 at 12:31 AM..
| My System Specs |
| System Manufacturer/Model Number HP DV7-2270US OS Windows 7 64-bit CPU Intel Core 2 quad (2000MHZ, 4 core) Motherboard HP Memory 4 Gig Graphics Card ATI HD4650 Sound Card IDT HD and ATI HD Monitor(s) Displays 17" wide laptop and 65" secondary (for 'work' :) ) Screen Resolution 1600X900 Case HP Laptop Hard Drives Patriot 64-Gig M28 SSD in bay 1
Seagate ST9500420AS 500 Gig in bay 2(laptop) Internet Speed T3 |
14 Mar 2010
|
#11 | | |
SSD Virtuilization Tips... I use VMWare all day long on my SSD and have found a few little tricks to make it run smoother with less writes to the SSD.
My host is Windows 7 64-bit. My VMs are mostly XP pro andd home (and a Server 2008R2)....
Basically, the tips are as follows and assume you are running VMWare:
With the exception of the page file, follow the tips for configuration in the VM as you would if it was the host OS. Even in a VM, a page file is needed (to a point). Just google things like XP SSD tips, etc.
If you have 2 drives (The SSD and a normal HD), then you can really pump up the speed of the VM if you are running it off the SSD...
1) In the VM settings, create a new virtual drive. Put it on the normal Hard drive (I set mine to 1 gig). Inside the VM, set the new virtual drive as the VMs page file drive. This off-loads a lot of writes to the normal hard drive without really affecting performance.
2) (advanced) Did you know you could run a VM in an almost read-only state from the SSD? Did you know that you can have a VM reading from both drives at the same time during VM boot and operation and writing to the HD only without raid? Basically, we can use the snapshot feature in VMWare to create a fake raid setup for each virtual machine:
In the VMX file for the VM, we need to edit/add the line
workingDir = "E:\VMWare Images\XP Home Personal SnapShot\"
where the directory is where you will be storing the snapshot on the spinner.
In the settings for the VM in VMWare, make sure to uncheck "independent" under advanced options for the virtual hard disk on the VM.
Click on VM up top then create snapshot. As of that point on, all the writes will go to the snapshot file on the spinner and all the reads will come from both.
There is a trade off after a while... Since all writes to the VM drive (snapshot) are block level writes, the more you use the VM, the less performance gain U will get (more and more reads will come from the snapshot file). To prevent that, I merge the snapshot file once a week or once every 2 weeks to the VM on the SSD.
Also, to save space on the SSD, I only put my most used VMs on the SSD (the 2 that are used all day). | My System Specs | | System Manufacturer/Model Number HP DV7-2270US OS Windows 7 64-bit CPU Intel Core 2 quad (2000MHZ, 4 core) Motherboard HP Memory 4 Gig Graphics Card ATI HD4650 Sound Card IDT HD and ATI HD Monitor(s) Displays 17" wide laptop and 65" secondary (for 'work' :) ) Screen Resolution 1600X900 Case HP Laptop Hard Drives Patriot 64-Gig M28 SSD in bay 1
Seagate ST9500420AS 500 Gig in bay 2(laptop) Internet Speed T3 |
03 Apr 2010
|
#12 | | |
SSD Optimization There seems to be some debate over the use of defragging utilities on your SSD drive. The purpose of this post is to try to clear this up a bit. In order to do this, we must look at where the opinions are comming from, and how an SSD actually works.
The main proponents that say that you DO need to defrag your SSD also sell defrag programs, which I am SURE is a coincidence (NOT!  ).
The opponents of defragging your SSD are pretty much all the makers of SSD drives, virtually every expert on the subject of SSDs, and of course the biggest experts on Windows and how it operates at the high and low levels with the hardware, MICROSOFT, who created the operating system  . They all say the same thing: You do not need to defrag your SSD. Defragging it like a hard drive WILL lower its life expectancy without increasing performance.
So, just looking at who says not to do it, I would think that there should not be too much debate, but as with a lot of things, a lack of understanding (or a simple plain english explanation) of a new technology tends to cause some to hold on to long held beliefs left over from similar hardware (spinning hard drives).
Lets look at the hardware aspect of what an SSD must do to work and be widely accepted by the users: Imagine where SSD technology (and prices) would be today if you had to buy a new motherboard (or computer) just to use an SSD. In addition to the motherboard, you would need to purchase a new 'magic' operating system that could utilize the features of the SSD. The expense alone of all these 'upgrades' would have prevented the mass sales of SSDs, keeping the prices extremely high, and the number of manufacturers low, since it would remain as a high-end only item that only the richest users could afford.
So How does the SSD work with current and past hardware and operating systems without the need for 'magic' expensive upgrades?
Simply put, the first job of the SSD controller is to lie its butt off  ! Really! Here are the lies the controller must tell in order to work:
1: It has to tell your BIOS and motherboard "Don't mind me, I'm just a plain old fast hard drive. you can boot from me and use me!"
2: After the hardware accepts the SSD, the SSD controller has to tell the same lie to the operating system which is used to performing input and output to specific blocks on a hard drive. Basically, the operating system is fooled into thinking it is in full control of where on the SSD the data is going, since it has always had control in the past on normal hard drives. There is a lot of logic inviolved in this, so the controller has its own processor and basic operating system (firmware).
So, what does this have to do with defragging? Lots...
On a normal hard drive, you want all your most used data in the fastest area all together, since it has to move the drive head around if the data is not all in one place. Once you write the data to a location, it is up to the operating system to know where it is and to maintain the pointers to it on the physical location on the platters. The data stays there until it is told to move it. Defragging software does this for you through the operating system. Your Spinning disk drive can write and overwrite to any location the operating system says to ("write this data from x through y, read the data to me from x through y).
The SSD does things a little differently. There are no platters or heads to move. Data comes from several places at once instead of from one sequential location. Due to the limited number of writes to any one location (cell) of the SSD, the controller must be in control of where things are written to, or the SSD would wear out very quickly. When the operating system tells the SSD to write something to a specific location, the controller tells the operating system that it did (lies). It then spreads the data out in the unused areas of the SSD. This is called 'wear leveling'. When the operating system asks for it back, the controller takes the location that the OS asked for and converts it to the actual cells where it is stored and sends the data to the OS. The SSD controller also likes to move things around when it is idle to keep as many free cells as possible, but does not need to tell the OS that it is moved. The changes are done in the location conversion table (this is not the actual name, just description of what it does).
Bottom line, there is no need to defragment the SSD, since the operating system has absolutely NO CONTROL at all where the data is actually (physically) stored on your SSD. The SSD will put the data where it pleases, even during a defrag operation!
Personally, I would love it if the firmware could somehow block the defrag operation, but it is allowed to happen simply to maintain compatibility with your operating system and drivers.
Hope this clears this one up for some of you (us)
Last edited by lightningltd; 19 Apr 2010 at 02:38 AM..
| My System Specs | | System Manufacturer/Model Number HP DV7-2270US OS Windows 7 64-bit CPU Intel Core 2 quad (2000MHZ, 4 core) Motherboard HP Memory 4 Gig Graphics Card ATI HD4650 Sound Card IDT HD and ATI HD Monitor(s) Displays 17" wide laptop and 65" secondary (for 'work' :) ) Screen Resolution 1600X900 Case HP Laptop Hard Drives Patriot 64-Gig M28 SSD in bay 1
Seagate ST9500420AS 500 Gig in bay 2(laptop) Internet Speed T3 |
22 Apr 2010
|
#13 | | Windows 7 Ultimate x64 Version 6.1.7600 Build 7600 India |
Dear Sir,
Your this tutorial "SSD-tweaks-optimizations-windows7" had immensely helped me, a layman, to understand and follow it step by step.
Since about last four hours I had been doing all these activities, very successfully.
A few hitch I came across which I will properly draft before posting it as my doubts.
Some actions I have to undo like disabling items under Event Trace Session: all I did as per your ideas, but again had to undo as I could not access the web pages. I do not have any idea if this failure is the part of the changes. Will try again.
This message is to express how grateful I am to you, Sir.
So beautifully explained, narrated and step by step demonstrated by you.
My regards
Ramesh | My System Specs | | System Manufacturer/Model Number Self assembled. OS Windows 7 Ultimate x64 Version 6.1.7600 Build 7600 CPU Intel Core2 Quad Q9650 3.00GHz, 2888 Mgz, 4 Cores, 4 Logica Motherboard Intel: DX48BT2 Memory 4x2 (8gb)Corsair DDR3 1333 Graphics Card ATI:Radeon:4870 GPU (2 nos. Crossfire Disabled) Sound Card Maudio:Firewire Solo Monitor(s) Displays 3 nos LCD AOC Screen Resolution 1920 x 1080 Keyboard TVS: mechanical Mouse Microsoft:Arc PSU Corsair HX1000W Modular Case Coolermaster HAF 932 Cooling Liquid: Coolermaster Aquagate Hard Drives 2nos: Non Raid: Intel: SSDSA2MH160G2C1
2nos: Seagate 80gb (just connected/enabled)http://www.sevenforums.com/profile.php?do=extra
Added 1 Seagte 250gb. Internet Speed download:1.9Mb/s Upload:0.71Mb/s (keeps varying !) Other Info just added a BambooFun pen tablet. |
25 Apr 2010
|
#14 | | PC, Windows 7 32 bit Solomons, MD |
Problem with fsutil.exe command lightningltd,
I appreciate your well done tutorial on SSD Tweaks and Optimizations... Thank you! I ran into a problem early, though... From the Start Button, I typed run, then command and fsutil.exe behavior, etc... to find out if my TRIM is active. I got stopped right away with the admonition that the fsutil command requires administrative privileges. Help, how do I prove that I have Administrator Privileges at the command prompt?
Thanks for your help, Noels
. | My System Specs | | System Manufacturer/Model Number Self built OS PC, Windows 7 32 bit CPU Intel E8400 Motherboard Gigabyte GA-EPP45-UD3R Memory 4GB Mushkin DDR2 Graphics Card Nvidia GeForce 8800GTS Sound Card on Motherboard Monitor(s) Displays Dell 1907FP (19" LCD) Screen Resolution 1024x768 Keyboard Saitek Eclipse II Mouse Logitech Wireless PSU Ultra X3 600 W Modular Case Cooler Master HAF 922 Cooling Fans: 200MM on front, top and side, 120mm rear Hard Drives OCZ Vertex 30GB for OS
WD 320GB for programs and WD 500GB for pictures and music and WD 1.5 TB for backup |
25 Apr 2010
|
#15 | | |

Quote: Originally Posted by Noels . I got stopped right away with the admonition that the fsutil command requires administrative privileges. Help, how do I prove that I have Administrator Privileges at the command prompt? It's simple...you just need to run the command prompt as an admin.
2 methods
1). Right click on the Command Prompt under Accessories and choose Run as Admin
2). From start, run, type cmd in the search window and hit CTRL-SHIFT-ENTER. | My System Specs | | System Manufacturer/Model Number Self-Built in July 2009 OS Windows 7 Ultimate x64 CPU Intel Q9550 2.83Ghz OC'd to 3.40Ghz Motherboard Gigabyte GA-EP45-UD3R rev. 1.1, F12 BIOS Memory 8GB G.Skill PI DDR2-800, 4-4-4-12 timings Graphics Card EVGA 1280MB Nvidia GeForce GTX570 Sound Card Realtek ALC899A 8 channel onboard audio Monitor(s) Displays 23" Acer x233H Screen Resolution 1920x1080 Keyboard ABS M1 Mechanical Mouse Logitech G9 Laser Mouse PSU Corsair 620HX modular Case Antec P182 Cooling stock Hard Drives Intel X25-M 80GB Gen 2 SSD
Western Digital 1TB Caviar Black, 32MB cache. WD1001FALS Internet Speed 15/2 cable modem Other Info Windows and Linux enthusiast. Logitech G35 Headset. |
25 Apr 2010
|
#16 | | Vista, Windows7, Mint Mate, Zorin, Windows 8 Florida in winter, Black Forest/Germany |
Very useful and down to earth. | My System Specs | | System Manufacturer/Model Number HP, Dell, Gateway, Toshiba - 4 laptops and 2 desktops OS Vista, Windows7, Mint Mate, Zorin, Windows 8 CPU from 1.6GHz Duo to i7 Monitor(s) Displays 2x HP w2207 Keyboard with trackball - no mices Mouse Trackball mice Hard Drives 5x HDD, 7x SSD, 12x Externals Internet Speed DSL 6000 |
25 Apr 2010
|
#17 | | PC, Windows 7 32 bit Solomons, MD |
pparks1,
Many thanks. I tried both methods and the first worked A-OK, but I couldn't get the second to work... As one as one works for me, I'm in business.
Appreciate it, Noels | My System Specs | | System Manufacturer/Model Number Self built OS PC, Windows 7 32 bit CPU Intel E8400 Motherboard Gigabyte GA-EPP45-UD3R Memory 4GB Mushkin DDR2 Graphics Card Nvidia GeForce 8800GTS Sound Card on Motherboard Monitor(s) Displays Dell 1907FP (19" LCD) Screen Resolution 1024x768 Keyboard Saitek Eclipse II Mouse Logitech Wireless PSU Ultra X3 600 W Modular Case Cooler Master HAF 922 Cooling Fans: 200MM on front, top and side, 120mm rear Hard Drives OCZ Vertex 30GB for OS
WD 320GB for programs and WD 500GB for pictures and music and WD 1.5 TB for backup |
25 Apr 2010
|
#18 | | Vista, Windows7, Mint Mate, Zorin, Windows 8 Florida in winter, Black Forest/Germany |

Quote: Originally Posted by Noels pparks1,
Many thanks. I tried both methods and the first worked A-OK, but I couldn't get the second to work... As one as one works for me, I'm in business.
Appreciate it, Noels If you want to set cmd to always run in elevated mode, right click on cmd (in Accessories) > Advanced > and check the box "Run as administrator" > OK > Apply
Now it always runs in elevated mode.
And if you want to have a nicer cmd window, have a look at my little tutorial. | My System Specs | | System Manufacturer/Model Number HP, Dell, Gateway, Toshiba - 4 laptops and 2 desktops OS Vista, Windows7, Mint Mate, Zorin, Windows 8 CPU from 1.6GHz Duo to i7 Monitor(s) Displays 2x HP w2207 Keyboard with trackball - no mices Mouse Trackball mice Hard Drives 5x HDD, 7x SSD, 12x Externals Internet Speed DSL 6000 |
26 Apr 2010
|
#19 | | |
All the answers given to the cmd prompt were correct... Great job... +reps given for helping this user. | My System Specs | | System Manufacturer/Model Number HP DV7-2270US OS Windows 7 64-bit CPU Intel Core 2 quad (2000MHZ, 4 core) Motherboard HP Memory 4 Gig Graphics Card ATI HD4650 Sound Card IDT HD and ATI HD Monitor(s) Displays 17" wide laptop and 65" secondary (for 'work' :) ) Screen Resolution 1600X900 Case HP Laptop Hard Drives Patriot 64-Gig M28 SSD in bay 1
Seagate ST9500420AS 500 Gig in bay 2(laptop) Internet Speed T3 SSD Tweaks and Optimizations in Windows 7 problems? All times are GMT -5. The time now is 01:28 AM. | |