24
Jan

Make your XP installation SSD-flavoured

Posted by: Ichimusai in English

Many people are considering SSD (Solid State Drive)  in their laptops. There are of course many reasons for this, the SSD is silent and less heat generating, in many cases less power consuming and above all else, not susceptible to shock or sudden movements of the laptop.

Field engineers love SSD it has extended battery time, made laptops that are quickly closed and shoved in a bag much less prone to overheating and they can be used in harsh electro-magnetic evironments such as in the vincinity of radio trasmitters without risking that the hard disk loses data.

The problem with XP and SSD is that most drives made with this technology requires an erase operation on an entire block before it can be written back to the drive. This means that things like disk caching and so on works different from with standard disk drives and needs to be tweaked in order to get maximum performance out of it.

Most SSD manufacturers also guarantees only 10 000 writes to a cell and although most SSD uses techniques such as wear leveling where the cells are written to in a fashion to spread the wear on them over the whole disk eventually they will start to fail. An SSD is a rather expensive item still so people would like to maximise the life spand of their drive. Hence the following tweaks.

Disable windows XP prefetcher

Change the following registry keys:

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Contro l\Session Manager\Memory Management\PrefetchParameters]
“EnablePrefetcher”=dword:00000000

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Dfrg\BootOpt imizeFunction]
“Enable”=”N”

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Curr entVersion\OptimalLayout]
“EnableAutoLayout”=dword:00000000

You must reboot after the changes have been made.

Restore original setting

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Contro l\Session Manager\Memory Management\PrefetchParameters]
“EnablePrefetcher”=dword:00000003

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Servic es\Schedule]
“Start”=dword:00000002

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Dfrg\BootOpt imizeFunction]
“Enable”=”Y”

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Curr entVersion\OptimalLayout]
“EnableAutoLayout”=dword:00000001

You must reboot after changes has been applied.

Change the disk cache behaviour

Start Device Manager

  • Select the drive for which you wish to administer the caching policy (your SSD)
  • Select Properties
  • Click on the Policies tab
  • Look for the option “Enable write caching on the disk” and make sure it is selected
  • Look for a second option “Enable advanced performance” and select it.

This option favors throughput/speed at the potential risk of data corruption. Since this is to protect removable drives from suffering data corruption if they are removed while a write operation is in progress — you may safely change this option on your internal SSD.

This trick can also be used to increase performance about 10-fold on USB-attached disks, but then you should be very careful when removing them from your system, use the device manager to disconnect before you remove them.

Other tweaks

Hibernation

Turning off hibernation can mean a better performance and longer life for the SSD because then Windows will not have to update the page file constantly in anticipation of a hibernation order.

  • Go to the control panel
  • Open the Power Options
  • Select the Hibernate tab
  • Uncheck Enable Hibernation box to disable
  • Click Ok

Reboot your system and the hibernation option is gone (but you can still use sleep mode of course which is brilliant in combination with SSD.

 

Tags: , , , , , , , , , , , , ,

This entry was posted on Sunday, January 24th, 2010 at 13:20:53 and is filed under English. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

6 comments so far

 1 

So if you’re running without a page file then there would be no idea to turn off hibernation, or?

January 24th, 2010 at 20:53:52
 2 

No, in that case it would not matter I believe.

January 24th, 2010 at 23:26:27
Bala
 3 

Actually, if you’re running a machine with SSD – I would *strongly* recommend you upgrade to Win7. There are so many tweaks and performance upgrade specifically for SSDs that make it worth it.

~Bala

January 26th, 2010 at 23:07:50
 4 

That is a splendid idea Bala. However my employer has not deployed Win7 yet and several applications we use may not work with it so we are still running most of our computers on XP.

January 26th, 2010 at 23:10:08
Bala
 5 

The Win7 Professional/Ultimate editions come with the ‘WinXP mode’ (a Virtual Machine) that enables apps that absolutely require XP to still be run.

Win7 is also *much* better in security compared to XP as well. However, if your employer hasn’t deployed it – I suppose there is little you can do about it :)

~Bala

January 26th, 2010 at 23:37:34
 6 

Yeah I know, it is a matter of cost as well, it is a Really Large Public Office so there are many computers and they like to keep a conformity all over the line so even if it was possible they would not want to deploy several different versions of windows and supporting that — and I guess the cost of upgrading everyone is also rather substantial, not to mention all the people with all machines that need new hardware in order to be able to run Win7 in the first place.

We will have to see what happens in the coming year…

January 26th, 2010 at 23:58:56

One Trackback/Ping

  1. Ichimusai's Place » Blog Archive » Make your XP installation SSD … | All About Solid State Drives (SSD)    Jan 24 2010 / 2pm:

    [...] more… Tags: entire-block, erase-operation, laptops, means, not-susceptible, solid state drive, solid state drives, solid state hard drive, solid state hard drives, solid-state, technology, works-different [...]

Leave a reply

Name (*)
Mail (will not be published) (*)
URI
Comment

You can add images to your comment by clicking here.

Anti-Spam Protection by WP-SpamFree