How does HDD (Hard Disk Drive) Work ?
In order for you to understand what defragmentation is and how it works, you must first understand how HDD (Hard Disk Drive) works. Lets take a look inside of the HDD:
Inside of HDD (This pic is not made by me, so it may have some false terms) |
Ok what you need to know:
1. Platter is where your data is written / stored on.
2. Actuator arm (i call it magnetic arm) is what writes the data onto platter using a very powerful magnet.
3. Actuator (this is powerful magnet, i took few out from old HDDs and if you have 2 of them it has enough power to break your skin if you pinch your skin between them. That power is focused into the head of the slider's head (that's how data is written onto platter)
4. As you can see, magnetic arm is on axis (actuator axis) so it can move on the platter (it floats over the platter, not touching it)
5. Each time data needs to be written or read from/to HDD, the magnetic arm will move onto right position to write/read the data.
6. HDD starts to write data from inside out (maybe some hdd do it other way around, but i doubt). Meaning it fills the inner circle of platter first, then moves onto next line...etc
6. HDD starts to write data from inside out (maybe some hdd do it other way around, but i doubt). Meaning it fills the inner circle of platter first, then moves onto next line...etc
Right, now that you know how HDD works, lets move on!
What is defragmentation / defragging ?
Now that you know how HDD works we take a look what is fragmented data, how and why it occurs and what exactly defragmentation does to improve your HDD speed and life.
Best way to explain what fragmentation is, how it occurs and how defragging can help, is to look at the next picture:
1. Blue / purple bits represent empty space
Best way to explain what fragmentation is, how it occurs and how defragging can help, is to look at the next picture:
Visualization of Fragmented HDD (this pic is not made by me) |
1. Blue / purple bits represent empty space
2. Orange bits are currently in use by some application
3. 2 Olive green (yellow-green) bits on right are unmoveable data (usually some system data that is always in use and cannot be moved without removing HDD from PC)
4. Green bits on bottom to right belong to one application and are not fragmented.
5. Red bits belong to one application and are fragmented all over the place.
2. However if program is fragmented all over the HDD, like the red bits, then imagine what will happen if magnetic arm tries to read the program from HDD platter? See the point already? If fragmented data needs to be read from HDD, it results in many magnetic arm's movements, therefore significally slowing down the read process.
Also this reduces the lifespan of HDD, because any type of movement = wearing. So the more magnetic arm moves, the more it wears obviously.
So defragmented HDD will perform faster and better than fragmented HDD
What does does it all mean?
1. If program is not fragmented (like the green bits), then magnetic arm does not have to move to read it, HDD platter simply spins and magnetic arm remains in same location, just reading the bits in a simple row.2. However if program is fragmented all over the HDD, like the red bits, then imagine what will happen if magnetic arm tries to read the program from HDD platter? See the point already? If fragmented data needs to be read from HDD, it results in many magnetic arm's movements, therefore significally slowing down the read process.
Also this reduces the lifespan of HDD, because any type of movement = wearing. So the more magnetic arm moves, the more it wears obviously.
So defragmented HDD will perform faster and better than fragmented HDD
Does SSD need to be defragmented / defragged ?
Short answer, NO!
You do not need to defrag SSD (Solid State Drive).
Why?
Because SSD (Solid State Drive) does not work like HDD, you do know what a USB stick is right?
It's pretty much the same, just a lot faster than USB sticks.
In short, flash memory works pretty much the same way as HDD (data is being stored onto a microchip instead of platter), however there are no moving parts, meaning that data can be read/written onto/from any location without any type of movement or speed reduction.
In flash memory instead of magnetic force, electricity is being used to store data. it is complicated process, but in short, you can visualize it the same way as magnetic arm writing data onto HDD platter (just no moving parts, it is done by straight up wiring to the location)
So SSD has no moving parts (this is why its Solid State), therefore it makes absolutely no difference in what location data has been stored, because it can be accessed instantly without any type of movement, so defragging of SSD is just waste of time, in fact it reduces the lifespan of SSD, so don't do it.
Why?
Because SSDs can be used only limited time to write data onto it, for example if you take HDD and SSD and constantly write data onto them (lets take security camera system for example, where camera overwrites the previous data on HDD when full), then SSD will fail a lot sooner than HDD, HDDs can last 10 years easy, i have some HDD's from like 2005 or so and they still going strong.
Most nowday SSDs don't just fail, they just reduce in size, they will know if they have flash cells that have failed, so they mark it as failed and data will never be written there again and SSD reports the max size little bit smaller than it is, so SSD will probably last easy 10 years, but size will be reduces. I've had mine over a year and haven't noticed any reduction at all (and i use my PC every day, for at about 5 - 20h a day).
How do i defrag my HDD / Best way of defragging ?
I recommend using "Auslogic Disk Defrag", it is very easy to use and does good job. I do not recommend using any software that comes with your hardware (hdd, motherboard, whole pc or with windows), those are crap.
Auslogic is free to use, simply type "Auslogic Disk Defrag" into google and im sure you'll find it, or get it from filehippo.com
No comments:
Post a Comment