How To Optimize SSDs On Windows

How To Optimize SSDs On Windows

How To Optimize SSDs

SSD (solid-state drive): we read in magazines of these revolutionary discs and we were convinced … or the friend GURU hyper technology expert told us about the incredible performance gains using this new technology, especially on older machines … so we bought and installed our new SSD drive on our Windows PC ..

how to optimize disk ssd

Perfect.

So we chose our model based on speed of reading, writing, brand, price and capacity .. and after purchasing we managed to even install it, making a clone of the previous disc ..

Great.

Now it is ready for use, but there is something we need to know: these discs, on some operating systems like Windows,must be optimized so as not to ruin and to get the maximum performance.

But How Can We Optimize The SSD?

We start by saying that SSDs are a godsend for both the PC and most recent performance but especially for older machines that in some cases may actually resurrect, so are advantageous for performance improvements in terms of speed, response time and Startup.

What Are The Advantages Of A SSD?

An SSD last generation, if replaced with a classic record, can speed up a computer and have many advantages such as:

  • No moving parts;
  • No noise;
  • Breakage rate low;
  • Greater energy savings (batteries … mean anything?);
  • Starting time of the system significantly reduced;
  • Time to launch any application next instant;
  • Speed ​​of moving and copying files much faster;

One Downside Though SSDs Have .. Is Called ‘Deterioration’.

The SSDs have some downside though: apart from the higher cost (when compared to the capacity in GB) compared to normal discs, in fact disks SSDs are subject to degradation each time makes a memory access.

According to experts this type of memory, although managed by the controller in an optimal manner, will tend to degrade with time: it is estimated for each type of media (also USB flash drives and memory cards) a finite number of cycles of writing and erasing so if you can reduce this value and to optimize its use by the operating system, “theoretically” you can extend its life.

Currently discs SSD solid state are composed of memory cells which may undergo between 1000 and 3000 processes erase and write . The wear occurs because the thin insulating layer of the memory cells is consumed as a result of the electrons passing through; with the passage of time the insulating layer is less and less effective and some electrons remain trapped via non-scrolling.

In this case to compensate the current is increased automatically which then needs to be more prolonged and strong, but this process further accelerates the wear of the insulation and inevitably lengthens the writing process.

It happens that at some point in some cells the writing becomes so slow that is beginning to be ‘ruled’ by the drive controller: so begins the slow decline of the SSD drive.

As a rule therefore, to ensure that it is more powerful and long-lived , it is useful to optimize its performance so do the least number of memory accesses.

But How Long An SSD Disk?

Some people , especially those anxious, may worry that your hard SSD becomes inoperable in a short time. This thing reminds me a bit the story of the first plasma TV whose technology were limited to the fact that the gas contained in the cells had some number of hours of life after which the TV was having problems; many of these fears are unfounded as the quality of the materials at the end compensates for this limitation ‘theoretical’.

I have two TVs Panasonic Plasma era and neither has ever given even a sign of malfunction …

The SSD drive manufacturers claim that new technologies used to dynamically compensate for the deterioration of the insulation of the cells and thus drives SSDs currently reach an operating life of widely suitable for home users confirm that the new firmware effectively counteract the problems of ‘ SSD wear. In some test drives SSDs have suffered more than 4,700 overwrites complete, which would correspond to a complete rewrite every day, with a duration of 12 years.

It ‘worth noting also that only writing can wear out the SSD, while the mere reading (which happens most of the time for home users) is absolutely harmless.

But now we come to the point: how ottimiziamo Windows operating systems with SSD? The following instructions should be applicable to Windows 7 and 8 or later. Partly also apply to Windows XP.

Control TRIM

The command Trim allows the operating system to know which areas of the SSD are not used then its main purpose is to prevent the SSD suffers delays during use, maintaining a constant speed.

To check that this feature is enabled, perform these steps:

  • Go to the Start menu and look for ” cmd “or the Command Prompt;
  • Click with the right mouse button on the Command Prompt and press ” Run as administrator “;
  • Write the command fsutil behavior query disabledeletenotify and hit enter;
  • If you see DisableDeleteNotify = 0 then the TRIM is active;
  • If you see DisableDeleteNotify = 1 then the TRIM is off.

Trim SSD optimization

In Windows 7, 8 and 8.1 this command should already be activated , otherwise you have to try to set the mode to AHCI in the BIOS (often not available on laptops), why read later.

On Windows XP, the trim is not natively set , however some manufacturers such as Intel or OCZ provide a utility that performs its trim. In the case of SanDisk instead there is the possibility to discharge a generic version of trim: in all cases should run once a month, maybe schedulandola using Task Manager.

Set The SATA AHCI Mode

During the installation of the OS, make sure that the BIOS of the PC has the SATA controller configured and compatible with AHCI mode. This mode is necessary to support native TRIM (seen in the previous point) used by SSD.

If you have installed the operating system in IDE mode (but the BIOS of our computer supports AHCI) is recommended switch mode SATA -> AHCI after completing some steps as described in the following article from Microsoft:  http://support.microsoft. com / kb / 922976

Disable The Windows Defragmentation

Defragmentation of data on a disk normally optimizes data stored on the hard disk.

In fact, the files are fragmented by the operating system and stored in the hard disk scattered in the various branches of the HDD; when accessing a file the operating system must re-create that file by reading all the pieces scattered and fragmented on the disk, with the result that over time the disk will become increasingly fragmented and will increasingly slow, with access times increasing .

The defragmenter then on classic records is vital as it improves the speed of the system and the life of the hard drive ‘classic.

For SSDs instead the story is quite different : in fact this procedure is harmful and useless for SSDs as involves several write operations that may damage and reduce the life of the device.

Basic Windows defragmentation also active on the SSD , then you should proceed with the deactivation of this service with the following steps:

disable defragmentation on SSD

  • Open the window Computer , click with the right mouse button on the SSD and click ” Properties “;
  • In the ” Tools “, click on” Optimize “;
  • Select the SSD drive and click on ” Edit Settings “;
  • Disable the ” Run on a schedule (recommended) “;

Turn Off File Indexing Services

L ‘ indexing  is normally very useful on hard disks as with this feature you can make it faster to search for files on the PC;operating systems automatically index all the files and folders available to access these elements as quickly as possible.

On SSDs do not need to index the files , because access times are much lower than the hard drive, and the operation of updating indexes can also be counter-productive; if this information can already make us immediately decide to disable this service then just consider the fact that indexing performs a series of small writes to the drive, decreasing its longevity, to remove even the smallest doubt.

Here’s how to turn it off:

indexing disk ssd

  • Open the computer , right-click the mouse on the SSD and click ” Properties “;
  • Deactivate the ” Allow indexing content and file properties of this unit “, select the” apply to all subfolders … .avi “.Then press “OK” and then “Apply”;
  • It should get an error screen. Select ” Ignore All “and continue.

This process can take several minutes, depending on how many files are present on the SSD.

E ‘can also disable the indexing service, what is also valid on Windows XP:

index service ssd

  • Go to the Start menu and look for ” cmd “or the  Command Prompt;
  • Run ” services.msc “to open the panel of services;
  • Search the list of services the service “Indexing Service” and select it;
  • Click the right mouse button and select ” Properties “;
  • In ” General “in the” Startup type “select” disabled “.

Disable System Restore

The System Restore Windows when enabled on an SSD can degrade disk performance over time, making it very difficult work of TRIM. E ‘therefore advisable to completely disable the System Restore is to avoid impediments to TRIM, both to regain precious storage space.

Here’s how to disable it:

  • Click with the right mouse button on ‘icon Computer and select Properties;
  • Click System Protection;
  • Click on Configure;
  • Finally, select ” Turn off system protection “and then Apply

Restore windows

Disable Hibernation

We can free up space on our SSD disabling hibernation system; doing so will prevent the use of this particular power mode, but we will have the advantage of free space all at our vantagio.

Here’s how to disable hibernation:

  • Click the Start button , type cmd and click with the right mouse button cmd icon and choose Run as administrator;
  • In the command prompt that opens write “powercfg-h off” and press Enter;

hibernation windows

 

Disable LargeSystemCache And ClearPageFileAtShutdown

  • Press Windows + R and on the Run window that opens write;
  • We select the path ” HKEY_LOCAL_MACHINE \ CurrentControlSet \ Control \ SessionManager \ Memory Management;
  • We click with the right mouse button is on LargeSystemCache that on ClearPageFileAtShutdown;
  • We select modification of each of the two voices and change the value from 1 to 0;
  • Reboot the PC to finalize the setting;

Disabling Windows Search And Optimization Start

The Windows Search service that is looking for Windows, is to create an index of files and folders on the disc occupying 10% of the space represented by the indexed data.

When you try something with the search function of Windows, the system searches the file directly into memory, so the search is very fast.

Also in this case this indexing system is very effective, but the functionality is of secondary interest given the response speed of the SSD. Ultimately the benefits gained from this service do not compensate for the loss of space on ‘ SSD .

How to disable these services:

  • Press Windows + R and on the Run window that opens write ” services.msc “;
  • Scroll through the list of services until you find the service ” Optimization Start “, click with the right mouse button and select” Properties “;
  • On “Startup Type:”, click the drop-down menu and select ” Disabled “, then press” Apply “and” OK “;
  • Scroll through the list of services until you find ” Windows Search “, click with the right mouse button and select”Properties “;
  • Just as we did before, we picture click on the Startup type drop-down menu and select the ” Disable “, then press” Apply“and” OK “.

Disable The Prefetch And Superfetch

How to disable prefetch and SuperFetch on Windows recent:

  • Press the Windows key + R and the window Run that opens type ” regedit “;
  • Select the path ” HKEY_LOCAL_MACHINE \ SYSTEM \ CurrentControlSet \ Control \ SessionManager \ Memory Management \ PrefetchParameters “;
  • Click with the right button is on EnablePrefetcher that on EnableSuperfetcher;
  • Select modification of each of the two voices and change the existing value to 0 .

prefetch-and-SuperFetch

Activate The Write Cache SSD

Write caching is a feature that generally improves the performance of all disks both classical SSD. When the option for “write caching” is active, a portion of the volatile memory is used to collect and to cache the write commands issued to the disk.

Here’s how to enable write caching SSD:

  • Click the right mouse button on ” Computer “and select” Properties “;
  • Select ” Managing Devices “;
  • Scroll down the list until you come to ” Unit Disk “and expand the section;
  • Click with the right button on our SSD and select ” Properties “;
  • In the tab ” Criteria “turn on” Enable write caching on the device “and press” OK “;

Cache-on-ritin g ssd

Add Comment