techPowerUp! Forums

Go Back   techPowerUp! Forums > Hardware > Storage

Reply
 
Thread Tools
Old Nov 2, 2009, 09:26 AM   #1
hat
Maximum Overclocker
 
hat's Avatar
 
Join Date: Nov 2006
Location: Ohio
Posts: 12,236 (5.15/day)
Thanks: 2,054
Thanked 2,039 Times in 1,549 Posts

System Specs

Would defragging an SSD make a difference?

As we all (or at least most of us) know, defragmenting came about because stuff tends to get scattered all over the place on a hard drive; for example, if you were loading a Crysis map and the files for that map were scattered all over the drive, it would take much longer to load than if it were all in one place because the drive would have to look for the files, which greatly slowed things down with mechanical hard drives because the read/write heads only move so fast. However, a SSD hard drive is basically a chunk of flash memory with no moving parts, so it isn't hindered by the things that crippled the speed of mechanical hard drives... so I was wondering if defragmenting a SSD hard drive would make a difference since it doesn't have any moving parts??
__________________
My Heatware
“Inb4 smartphone LN2 overclocking.” -radrok
hat is offline  
Crunching for Team TPU
Reply With Quote
The Following User Says Thank You to hat For This Useful Post:
Old Nov 2, 2009, 09:29 AM   #2
oily_17
2000 Posts
 
oily_17's Avatar
 
Join Date: Sep 2006
Location: Norn Iron
Posts: 2,056 (0.84/day)
Thanks: 214
Thanked 679 Times in 516 Posts

System Specs

Defraging SSD's is bad for them..you dont need to defrag it.
__________________

oily_17 is offline  
Reply With Quote
The Following 2 Users Say Thank You to oily_17 For This Useful Post:
Old Nov 2, 2009, 09:40 AM   #3
human_error
1000 Posts
 
human_error's Avatar
 
Join Date: Nov 2008
Location: Southampton, UK
Posts: 1,443 (0.87/day)
Thanks: 261
Thanked 421 Times in 322 Posts

System Specs

Never defragment an SSD. They way they work is by splitting data up all over the place, so when it is needed they can get as many bits of data from as many memory chips as possible - this makes the operation more parallel which is where ssds get tehir speed from. Defragmenting won't actually defragment the data on an SSD anyway, it will just move it around which takes read/write cycles out of the ssd unnecissarily shortening the SSDs life whilst gaining nothing.

Also the computer doesn't know where the data really is on an SSD anyway - the SSD's on-board controller is the only thing that does, and it tries to split the data up to get fast, parallel operations when retreiving the data back.
__________________
Steam id: human_error/XBOX Live: human error/PS3 id: tom_will
Human_error's guide to USB IR receivers and media center remotes
My BF3 stats | BF3 name: "human_error" - add me!
human_error is offline  
Reply With Quote
The Following 2 Users Say Thank You to human_error For This Useful Post:
Old Nov 2, 2009, 09:48 AM   #4
hat
Maximum Overclocker
 
hat's Avatar
 
Join Date: Nov 2006
Location: Ohio
Posts: 12,236 (5.15/day)
Thanks: 2,054
Thanked 2,039 Times in 1,549 Posts

System Specs

That went right on my train of thought.
__________________
My Heatware
“Inb4 smartphone LN2 overclocking.” -radrok
hat is offline  
Crunching for Team TPU
Reply With Quote
Old Nov 2, 2009, 10:04 AM   #5
RejZoR
3500 Posts
 
RejZoR's Avatar
 
Join Date: Oct 2004
Location: Europe/Slovenia
Posts: 3,967 (1.26/day)
Thanks: 39
Thanked 753 Times in 541 Posts

System Specs

Actually SSD's get fragmented just like traditional HDD's and they start to suck in performance just as well. So the myth about SSD's not losing performance when fragmentation increases just aren't true.
__________________
RejZoR's Little Secrets @ rejzor dot tk
RejZoR is offline  
Reply With Quote
Old Nov 2, 2009, 10:20 AM   #6
human_error
1000 Posts
 
human_error's Avatar
 
Join Date: Nov 2008
Location: Southampton, UK
Posts: 1,443 (0.87/day)
Thanks: 261
Thanked 421 Times in 322 Posts

System Specs

Quote:
Originally Posted by RejZoR View Post
Actually SSD's get fragmented just like traditional HDD's and they start to suck in performance just as well. So the myth about SSD's not losing performance when fragmentation increases just aren't true.
Source on this info please - this seems entirely wrong from all the articles about SSDs that i've read (especially since there is no time cost for getting data from different parts of an SSD, where hard disks lose time getting data which is why fragmentation on HDDs is bad but is good on SSDs).
__________________
Steam id: human_error/XBOX Live: human error/PS3 id: tom_will
Human_error's guide to USB IR receivers and media center remotes
My BF3 stats | BF3 name: "human_error" - add me!
human_error is offline  
Reply With Quote
Old Nov 2, 2009, 11:10 AM   #7
oily_17
2000 Posts
 
oily_17's Avatar
 
Join Date: Sep 2006
Location: Norn Iron
Posts: 2,056 (0.84/day)
Thanks: 214
Thanked 679 Times in 516 Posts

System Specs

Quote:
Originally Posted by RejZoR View Post
Actually SSD's get fragmented just like traditional HDD's and they start to suck in performance just as well. So the myth about SSD's not losing performance when fragmentation increases just aren't true.
Well this is a quote from OCZ forum on their SSD's

Quote:
Drive Defragmentation:
DO NOT DEFRAGMENT your SSD, it is not necessary. Wear leveling technology purposely "fragments" the data to ensure the consistent life of the drive.
VISTA has an Auto defrag feature that is enabled by default (defragging is on a schedule) this should be disabled after your drive is installed.
And a quote from another source on SSD's, which can explain SSD performance loss, which is actually due to defraging.

Quote:
The SSD is silently moving data to other flash cells without Windows or anything else ever knowing. Now here comes the trick: it has to remember where all these 'mappings' correspond to. For every I/O this 'list' needs to be referenced, to see where the data really is being stored. But with defragmenting this list can grow enormously, and this starts to hamper performance.
__________________

oily_17 is offline  
Reply With Quote
The Following User Says Thank You to oily_17 For This Useful Post:
Old Nov 2, 2009, 11:29 AM   #8
shevanel
2000 Posts
 
shevanel's Avatar
 
Join Date: Jul 2009
Location: Leesburg, FL
Posts: 3,151 (2.25/day)
Thanks: 1,515
Thanked 410 Times in 338 Posts
Send a message via AIM to shevanel Send a message via Skype™ to shevanel

System Specs

informative thread. thanks for the info
__________________



Stop comparing it to onboard! Compare it to something it falls short to so that we can really understand.

HEAT
shevanel is offline  
Reply With Quote
Old Nov 2, 2009, 03:10 PM   #9
Stearic
75 Posts
 
Join Date: Sep 2007
Posts: 102 (0.05/day)
Thanks: 1
Thanked 7 Times in 7 Posts

A conventional defrag will not help the random read and sequential read/write performance of an SSD much. However, free space fragmentation can reduce the random write performance of SSDs* So free space consolidation can help to minimize the chance of random writes at both the logical disk level as well as the SSD's physical cell/block level.

It's important to remember that the 'internal fragmentation' i.e. wear levelling of an SSD is a function of the drive's firmware and has nothing to do with the filesystem fragmentation which occurs at the logical disk level. The SSD's hardware is abstracted from the filesystem i.e. the file system does not know whether the drive is a SSD or a HDD**.


*Which is their weak spot anyway because of the mismatch between the logical cluster size and 'physical block' size (4 kB vs 512kB) requiring frequent erase-rewrites for entire physical blocks.

**Maybe different for Win 7 since it is said to have the ability to detect/recognize SSDs and disable defrag accordingly.
Stearic is offline  
Reply With Quote
Old Nov 2, 2009, 04:04 PM   #10
ERazer
1000 Posts
 
ERazer's Avatar
 
Join Date: Oct 2009
Location: Republic of Texas
Posts: 1,421 (1.07/day)
Thanks: 334
Thanked 500 Times in 337 Posts

System Specs

Quote:
Originally Posted by RejZoR View Post
Actually SSD's get fragmented just like traditional HDD's and they start to suck in performance just as well. So the myth about SSD's not losing performance when fragmentation increases just aren't true.

what the heck r u talking about? do u even own SSD? wers ur source of info?
__________________
*Gaming Rig: i7 2600k | ASUS Maximus IV Gene-Z Intel Z68 | 8gb Corsair Dominator GT | ASUS ENGTX580 DCII | Intel 510 series 120gb | Corsair 650d
*Daily Rig: i7 860 | GA-P55A-UD6 | 8gb Corsair Dominator III | HD5770 | x2 250gb WD RE4 Raid0 | Haf932 Modded
*Server: i3 540 | GA-H55N-USB3 | 4gb Corsair XMS DDR3 | x4 500gb WD Blue | lian li pc-q08b


| My HeatWare | My For Sale | SteamID |
ERazer is offline  
Reply With Quote
Old Nov 2, 2009, 04:19 PM   #11
oily_17
2000 Posts
 
oily_17's Avatar
 
Join Date: Sep 2006
Location: Norn Iron
Posts: 2,056 (0.84/day)
Thanks: 214
Thanked 679 Times in 516 Posts

System Specs

Quote:
Originally Posted by Stearic View Post
A conventional defrag will not help the random read and sequential read/write performance of an SSD much. However, free space fragmentation can reduce the random write performance of SSDs* So free space consolidation can help to minimize the chance of random writes at both the logical disk level as well as the SSD's physical cell/block level.

It's important to remember that the 'internal fragmentation' i.e. wear levelling of an SSD is a function of the drive's firmware and has nothing to do with the filesystem fragmentation which occurs at the logical disk level. The SSD's hardware is abstracted from the filesystem i.e. the file system does not know whether the drive is a SSD or a HDD**.


*Which is their weak spot anyway because of the mismatch between the logical cluster size and 'physical block' size (4 kB vs 512kB) requiring frequent erase-rewrites for entire physical blocks.

**Maybe different for Win 7 since it is said to have the ability to detect/recognize SSDs and disable defrag accordingly.
Also, IIRC, with Win 7 using the TRIM function, free-space reclamation is done automatically when you delete a file.
__________________

oily_17 is offline  
Reply With Quote
Old Nov 2, 2009, 04:25 PM   #12
RejZoR
3500 Posts
 
RejZoR's Avatar
 
Join Date: Oct 2004
Location: Europe/Slovenia
Posts: 3,967 (1.26/day)
Thanks: 39
Thanked 753 Times in 541 Posts

System Specs

What the hell i'm talking? Then why the hell read/write performance drops over time when files get fragmented (by fragmented i mean fragmented files and fragmented free space with non cleared cells)? It's not something i made up, it's something i've read in many SSD reviews...
__________________
RejZoR's Little Secrets @ rejzor dot tk
RejZoR is offline  
Reply With Quote
Old Nov 2, 2009, 04:33 PM   #13
TheMailMan78
Banstick Dummy
 
TheMailMan78's Avatar
 
Join Date: Jun 2007
Location: Crystal River, FL
Posts: 15,111 (6.92/day)
Thanks: 1,337
Thanked 6,834 Times in 3,741 Posts

System Specs

Quote:
Originally Posted by oily_17 View Post
Defraging SSD's is bad for them..you dont need to defrag it.
I did not know this. Thanks for the enlightenment.
TheMailMan78 is offline  
Reply With Quote
Old Nov 2, 2009, 09:11 PM   #14
Cold Storm
Battosai
 
Cold Storm's Avatar
 
Join Date: Oct 2007
Location: In a library somewhere on this earth
Posts: 10,566 (5.14/day)
Thanks: 4,242
Thanked 3,047 Times in 2,493 Posts
Send a message via MSN to Cold Storm

System Specs

Man, I gotta say, I love my new ssd that I got from Bogmail (Intel X25-M "80")... Best part.. came in installation instructions.. You know the other best part... If you read it... Page by page... It states the following at the end.


Post Installation Considerations


SSD's do not need to be defragmented like Hdds. Turn off any disc defragmenter to prevent unnecessary wear to the SSD from Microsoft* Windows Vista*, use the following instructions to turn off the disk defragmenter:
1. From the start Menu, clock on All Program > Accessories > System Tools > Disck defragmenter

2. Uncheck the "Run on a schedule" option and click OK


For more information about Intel SSDs including tool downloads and drive optimization suggestions, go to http://www.intel.com/support or to http://www.intel.com/go/ssd



Sorry for the first part.. I just had a little hair up my butt when I started this post..


Now, from what I have heard via SSDs is that it's not good to defrag at all.. I personally never read a review on the issue, and from the people I know who write them... They say they heard the same.. Not a good thing to do so..
__________________
The only way success is before work, is in the dictionary

Support for the mind. Support for your hardware
Cold Storm is offline  
Reply With Quote
Old Nov 2, 2009, 09:14 PM   #15
erocker
Senior Moderator
 
erocker's Avatar
 
Join Date: Jul 2006
Location: Milwaukee, WI.
Posts: 31,958 (12.78/day)
Thanks: 2,793
Thanked 12,320 Times in 7,832 Posts

System Specs

Quote:
Originally Posted by RejZoR View Post
What the hell i'm talking? Then why the hell read/write performance drops over time when files get fragmented (by fragmented i mean fragmented files and fragmented free space with non cleared cells)? It's not something i made up, it's something i've read in many SSD reviews...
You still should never defrag an SSD. Personally I've never seen a SSD review that suggests it.
erocker is offline  
Reply With Quote
The Following User Says Thank You to erocker For This Useful Post:
Old Nov 2, 2009, 09:34 PM   #16
MN12BIRD
200 Posts
 
MN12BIRD's Avatar
 
Join Date: Mar 2009
Posts: 444 (0.29/day)
Thanks: 10
Thanked 78 Times in 72 Posts

System Specs

He's right in a way. SSD's should write info spread across different cells from one write to the next to allow the cells to last longer. The problem with SSD's is the way they have to write blocks. They can't write a bit here or there. If a small update is made to a small file it has to copy an entire sector to another area on the drive, delete a block and rewrite an entire block, delete the copy. So if the block size is 64K then everytime a file is changed only by 1K it can read 1K but has to rewrite 64K. The data in a way does get fragmented and the performance of SSD's does in fact get lower with time. But a traditional defrag is not the answer. You need the TRIM command with an OS and firmware on the SSD that supports it. This restores the speed of an SSD or at least prevents it from slowing down.

I do not own an SSD, nor have I ever used one. So this is only my basic understanding of them.

For more info look up the "TRIM command" and make sure your SSD and firmware updates support it.
MN12BIRD is offline  
Reply With Quote
Old Nov 3, 2009, 12:21 AM   #17
Cold Storm
Battosai
 
Cold Storm's Avatar
 
Join Date: Oct 2007
Location: In a library somewhere on this earth
Posts: 10,566 (5.14/day)
Thanks: 4,242
Thanked 3,047 Times in 2,493 Posts
Send a message via MSN to Cold Storm

System Specs

Also to add to this debate of things...Just installed win 7 on the ssd.. Intel X25-M... I had no problem what so ever installing it, and win 7 automatically turned off all defraging agents on ALL drives.. Where as when it was installed via my WD Black 500gb, t was automatically defraging on their generic time.. Wed 1am.. on both the main and storage drive.
__________________
The only way success is before work, is in the dictionary

Support for the mind. Support for your hardware
Cold Storm is offline  
Reply With Quote
Old Nov 3, 2009, 12:56 AM   #18
RejZoR
3500 Posts
 
RejZoR's Avatar
 
Join Date: Oct 2004
Location: Europe/Slovenia
Posts: 3,967 (1.26/day)
Thanks: 39
Thanked 753 Times in 541 Posts

System Specs

There is no need to own an SSD to know NAND flash technology. We all have USB drives and memory cards that work on the exact same tech. Just with smaller capacities and lower speeds.
But it acts just the same.
__________________
RejZoR's Little Secrets @ rejzor dot tk
RejZoR is offline  
Reply With Quote
Old Nov 3, 2009, 11:58 AM   #19
human_error
1000 Posts
 
human_error's Avatar
 
Join Date: Nov 2008
Location: Southampton, UK
Posts: 1,443 (0.87/day)
Thanks: 261
Thanked 421 Times in 322 Posts

System Specs

Quote:
Originally Posted by RejZoR View Post
There is no need to own an SSD to know NAND flash technology. We all have USB drives and memory cards that work on the exact same tech. Just with smaller capacities and lower speeds.
But it acts just the same.
You're confusing file fragmentation (which is fine on an SSD) with the loss in performance due to old data not being deleted in cells resulting in slower writes as the write cycle has to deal with the old data first (which is not called fragmentation).

To get the old data deleted from the cells you don't defragment (which is to do with file fragmentation increasing the amount of time it takes to retreive a file's data) but you do use a setup which utilises a TRIM style setup where the old data is overwritten with blank space in the memory cells, removing the loss in write performance (and helps reduce the small loss in read performance as well). That's where you get the loss in performance in an SSD (if TRIM is not used), not due to fragmentation.
__________________
Steam id: human_error/XBOX Live: human error/PS3 id: tom_will
Human_error's guide to USB IR receivers and media center remotes
My BF3 stats | BF3 name: "human_error" - add me!
human_error is offline  
Reply With Quote
The Following User Says Thank You to human_error For This Useful Post:
Old Nov 3, 2009, 02:38 PM   #20
RejZoR
3500 Posts
 
RejZoR's Avatar
 
Join Date: Oct 2004
Location: Europe/Slovenia
Posts: 3,967 (1.26/day)
Thanks: 39
Thanked 753 Times in 541 Posts

System Specs

Then i made all up and the tests ive seen were all fake. Yeah, that was it... Unless they were automatically trimming empty cells...
__________________
RejZoR's Little Secrets @ rejzor dot tk
RejZoR is offline  
Reply With Quote
Old Nov 3, 2009, 06:12 PM   #21
Static~Charge
200 Posts
 
Static~Charge's Avatar
 
Join Date: Nov 2008
Location: North Carolina, USA
Posts: 420 (0.25/day)
Thanks: 65
Thanked 76 Times in 59 Posts

System Specs

Quote:
Originally Posted by RejZoR View Post
What the hell i'm talking? Then why the hell read/write performance drops over time when files get fragmented (by fragmented i mean fragmented files and fragmented free space with non cleared cells)? It's not something i made up, it's something i've read in many SSD reviews...
Then post some links so we can see it for ourselves instead of saying "just take my word for it".
Static~Charge is offline  
Reply With Quote
Old Dec 16, 2009, 08:25 AM   #22
btarunr
Editor & Senior Moderator
 
btarunr's Avatar
 
Join Date: Oct 2007
Location: Hyderabad, India
Posts: 14,983 (7.29/day)
Thanks: 788
Thanked 12,911 Times in 5,655 Posts
Send a message via AIM to btarunr Send a message via MSN to btarunr

System Specs

Are sequential and random read speeds on SSDs exactly the same? If not, defragging will make a difference.
__________________

Gadgets, Phones, Tablets, Cameras, TVs, HiFi...NextPowerUp
btarunr is offline  
Reply With Quote
Old Dec 16, 2009, 10:13 AM   #23
DrunkenMafia
1000 Posts
 
Join Date: Jan 2007
Location: Cairns QLD, Aussie
Posts: 1,868 (0.80/day)
Thanks: 230
Thanked 239 Times in 215 Posts

System Specs

This is a simple case of confusion between trimming the drive and defragging it.

Conventional defragging is useless on SSD's.

Trim is helpful and will keep the performance of the drive tip top..
__________________
DrunkenMafia is offline  
Reply With Quote
Old Dec 16, 2009, 11:48 AM   #24
xfire
1000 Posts
 
xfire's Avatar
 
Join Date: Nov 2007
Location: Hyderabad,India
Posts: 1,166 (0.58/day)
Thanks: 367
Thanked 197 Times in 169 Posts

System Specs

Defragging involves a lot of read/write operations. It significantly reduces the life of the SSD.
__________________
Your one stop source for all thing open source
Posting pics the TPU way!
http://imkingsnake.blogspot.com/
“if anyone expects great things from the Intel IGP market I want what you smoke k?” -candle_86
xfire is offline  
Reply With Quote
Old Dec 16, 2009, 11:52 AM   #25
douglatins
2000 Posts
 
douglatins's Avatar
 
Join Date: May 2008
Location: Brasil
Posts: 2,608 (1.42/day)
Thanks: 295
Thanked 268 Times in 204 Posts
Send a message via MSN to douglatins Send a message via Skype™ to douglatins

System Specs

I am absolutely sure everyone already responded to that, but i though it was common sense by now
__________________

douglatins is offline  
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
crossfire/SLi actually make a difference? -1nf1n1ty- Graphics Cards 9 May 25, 2009 04:40 AM
How much difference does it make? B1gg3stN00b Motherboards & Memory 1 Aug 19, 2008 01:50 AM
Do Video card temps really make a difference?? Exeodus Overclocking & Cooling 6 Dec 24, 2005 09:11 PM


All times are GMT. The time now is 12:58 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
no new posts