Canon Digital Photography Forums  

Go Back   Canon Digital Photography Forums > 'Sharing Knowhow' section > RAW, Post Processing and Printing > Computers
Register Rules FAQ Members List Search Today's Posts Mark Forums Read



Reply
 
Thread Tools Display Modes
Old 28th of February 2012 (Tue)   #1
sapearl
emailed Tim some prozac
 
sapearl's Avatar
 
Join Date: Dec 2005
Location: Cleveland, Ohio
Posts: 14,800
Default Shortenning SSD Life by Defragging?

I recently began using a defragging program called Defraggler, and when I started to defrag my boot drive which is an SSD it stated the warning that it may shorten its life. I received no such warning when I defragged my conventional spin drive.

Is there something about SSD's that makes them susceptible to damage or wear through the defragmentation process?
sapearl is offline   Reply With Quote
This ad block will go away when you log in as member
Old 28th of February 2012 (Tue)   #2
rpaul
Member
 
Join Date: Jul 2011
Location: BC NJ
Posts: 621
Default Re: Shortenning SSD Life by Defragging?

Please, please don't defrag your SSD. They are not like spinny hard drives, where the physical position of the data matters. Defragging SSDs just creates unnecessary writes that reduces the lifespan of the drive.
__________________
Rob | rmpaul.com
Gear 'n Stuff
C&C always welcome
rpaul is offline   Reply With Quote
Old 28th of February 2012 (Tue)   #3
tim
Light Bringer
 
tim's Avatar
 
Join Date: Nov 2004
Location: Wellington, New Zealand
Posts: 49,187
Default Re: Shortenning SSD Life by Defragging?

Don't defrag your SSD, it's unnecesary. SSDs wear out with writes so a defrag shortens its life.
__________________
tim is offline   Reply With Quote
This ad block will go away when you log in as member
Old 28th of February 2012 (Tue)   #4
sapearl
emailed Tim some prozac
 
sapearl's Avatar
 
Join Date: Dec 2005
Location: Cleveland, Ohio
Posts: 14,800
Default Re: Shortenning SSD Life by Defragging?

Quote:
Originally Posted by rpaul View Post
Please, please don't defrag your SSD. They are not like spinny hard drives, where the physical position of the data matters. Defragging SSDs just creates unnecessary writes that reduces the lifespan of the drive.
I knew there was the physcial difference, but I was unclear on the concept of unnecessary writes. I take it the "write medium" is significantly from the magnetic media of conventional drives? Thanks for the advice Rob - you too Tim
sapearl is offline   Reply With Quote
Old 28th of February 2012 (Tue)   #5
rpaul
Member
 
Join Date: Jul 2011
Location: BC NJ
Posts: 621
Default Re: Shortenning SSD Life by Defragging?

Basically, SSD's are made up of lots of flash memory cells, which wear out after many thousands of writes. (This happens to all flash memory.) While the drives will still last for years under normal usage, defragging adds lots of unnecessary writes as it shuffles the data around the drive without creating any benefit, since SSD's don't have to physically "seek" the same way spinny HDD's do.
__________________
Rob | rmpaul.com
Gear 'n Stuff
C&C always welcome
rpaul is offline   Reply With Quote
Old 1st of March 2012 (Thu)   #6
hollis_f
Cream of the Crop
 
hollis_f's Avatar
 
Join Date: Jul 2007
Location: Sussex, UK
Posts: 10,102
Default Re: Shortenning SSD Life by Defragging?

There are two good reasons why you shouldn't defrag your SSD.

1. It will reduce the lifespan of the drive. As Rob said, the memory cells can only be written to a limited number of times.

2. It's pointless. Your SSD deliberately fragments the data that it writes to the drive. You don't want the same sets of memory cells being used all the time (because they'll wear out quickly). So the drive controller spreads the data over all of the cells - it's called wear levelling.
__________________
Frank Hollis - Retired mass spectroscopist
Give a man a fish and he'll eat for a day. Teach a man to fish and he'll complain about the withdrawal of his free fish entitlement.
Gear Website
hollis_f is online now   Reply With Quote
Old 1st of March 2012 (Thu)   #7
sapearl
emailed Tim some prozac
 
sapearl's Avatar
 
Join Date: Dec 2005
Location: Cleveland, Ohio
Posts: 14,800
Default Re: Shortenning SSD Life by Defragging?

Quote:
Originally Posted by hollis_f View Post
There are two good reasons why you shouldn't defrag your SSD.

1. It will reduce the lifespan of the drive. As Rob said, the memory cells can only be written to a limited number of times.

2. It's pointless. Your SSD deliberately fragments the data that it writes to the drive. You don't want the same sets of memory cells being used all the time (because they'll wear out quickly). So the drive controller spreads the data over all of the cells - it's called wear levelling.
Thanks for that explanation Frank - gives me better insight into the tech. I had a general awareness but that fleshes it out.

I wonder how similar/different those memory cells are to the structure of our CF and SD cards? We constantly write to, erase and format those little things, and the better ones are supposed to last for years.
sapearl is offline   Reply With Quote
Old 1st of March 2012 (Thu)   #8
CameraMan
Cream of the Crop
 
CameraMan's Avatar
 
Join Date: Dec 2010
Location: In The Sticks
Posts: 11,207
Default Re: Shortenning SSD Life by Defragging?

Interesting. I never knew this but it makes total sense.
__________________
Atlanta Wedding Photographer | The Toys! | Facebook | Video | Flickr
I believe the appropriate metaphor here involves a river of excrement and a Native American water vessel without any means of propulsion.
― Sheldon Cooper
CameraMan is offline   Reply With Quote
Old 1st of March 2012 (Thu)   #9
sapearl
emailed Tim some prozac
 
sapearl's Avatar
 
Join Date: Dec 2005
Location: Cleveland, Ohio
Posts: 14,800
Default Re: Shortenning SSD Life by Defragging?

Quote:
Originally Posted by CameraMan View Post
Interesting. I never knew this but it makes total sense.
I wonder if the SSD's controller and operating system (?) mark of bad sectors or their equivalent (as on a conventional drive) when these cells go bad or become unreliable. I'm sure it must communicate in some fashion: "Don't write data right here......"
sapearl is offline   Reply With Quote
Old 1st of March 2012 (Thu)   #10
hollis_f
Cream of the Crop
 
hollis_f's Avatar
 
Join Date: Jul 2007
Location: Sussex, UK
Posts: 10,102
Default Re: Shortenning SSD Life by Defragging?

Quote:
Originally Posted by sapearl View Post
I wonder how similar/different those memory cells are to the structure of our CF and SD cards? We constantly write to, erase and format those little things, and the better ones are supposed to last for years.
They are very similar. CF cards have the same problem with limited read/erase cycles, and they use the same wear levelling technique to even out the wear. You'll sometimes read posts from people giving advice on how one should try to minimise that wear, but they're normally a load of old tosh. Here's why...

Most of the memory used for CF cards can handle something like 10,000 write/erase cycles. So a 16GB card can handle about 160TB before it starts to wear out. That's 160,000,000 megabytes. If each of your raw images is 25MB then you can write 64 million images to your card. If you shoot 1000 images per day, every day, then your card will wear out after about 175 years!
__________________
Frank Hollis - Retired mass spectroscopist
Give a man a fish and he'll eat for a day. Teach a man to fish and he'll complain about the withdrawal of his free fish entitlement.
Gear Website
hollis_f is online now   Reply With Quote
Old 1st of March 2012 (Thu)   #11
hollis_f
Cream of the Crop
 
hollis_f's Avatar
 
Join Date: Jul 2007
Location: Sussex, UK
Posts: 10,102
Default Re: Shortenning SSD Life by Defragging?

Quote:
Originally Posted by sapearl View Post
I wonder if the SSD's controller and operating system (?) mark of bad sectors or their equivalent (as on a conventional drive) when these cells go bad or become unreliable. I'm sure it must communicate in some fashion: "Don't write data right here......"
Yes, it does.
__________________
Frank Hollis - Retired mass spectroscopist
Give a man a fish and he'll eat for a day. Teach a man to fish and he'll complain about the withdrawal of his free fish entitlement.
Gear Website
hollis_f is online now   Reply With Quote
Old 1st of March 2012 (Thu)   #12
Pit
Member
 
Join Date: Aug 2006
Location: New York, NY
Posts: 285
Default Re: Shortenning SSD Life by Defragging?

Not only that, it also has spare or over provisioned memory sectors that are there to replace the failed blocks.

Quote:
Originally Posted by hollis_f View Post
Yes, it does.
__________________
Canon EOS 6D, Canon 24-70mm 2.8 Mk I, Canon 70-200 2.8 IS MK II, Sigma 35mm 1.4, Canon 100mm 2.8 Macro, 600EX-RT, 430EX II, 430EX, Transceivers, Bags, Tripods, Cables, Trigger Trap.
Pit is offline   Reply With Quote
Old 1st of March 2012 (Thu)   #13
sapearl
emailed Tim some prozac
 
sapearl's Avatar
 
Join Date: Dec 2005
Location: Cleveland, Ohio
Posts: 14,800
Default Re: Shortenning SSD Life by Defragging?

Quote:
Originally Posted by Pit View Post
Not only that, it also has spare or over provisioned memory sectors that are there to replace the failed blocks.
Well now THAT'S interesting.

Do we know if this "spare" amount is included the spec of the drive? What I mean is, if I purchase a drive that claims to be 256GB is there really xx% more drive space above and beyond that to allow for future failed cels?
sapearl is offline   Reply With Quote
Old 1st of March 2012 (Thu)   #14
hollis_f
Cream of the Crop
 
hollis_f's Avatar
 
Join Date: Jul 2007
Location: Sussex, UK
Posts: 10,102
Default Re: Shortenning SSD Life by Defragging?

My 300GB Intel SSD is 300,066,406,400 bytes according to Windows.
__________________
Frank Hollis - Retired mass spectroscopist
Give a man a fish and he'll eat for a day. Teach a man to fish and he'll complain about the withdrawal of his free fish entitlement.
Gear Website
hollis_f is online now   Reply With Quote
Old 1st of March 2012 (Thu)   #15
sapearl
emailed Tim some prozac
 
sapearl's Avatar
 
Join Date: Dec 2005
Location: Cleveland, Ohio
Posts: 14,800
Default Re: Shortenning SSD Life by Defragging?

Quote:
Originally Posted by hollis_f View Post
My 300GB Intel SSD is 300,066,406,400 bytes according to Windows.
So basically then Frank, it is what it is just as is the case with conventional disks .

We buy disks at XXXGB, and realistically over the life of the disk a certain percentage of sectors will go bad on average. On long-lived disks/storage devices that survive healthy for years, I don't imagine this is a large number because if it is then they simply crash or fail. So I guess the moral of the story is always to buy more than what you think you need.
sapearl is offline   Reply With Quote
Reply


Thread Tools
Display Modes

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

vB 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
Windows on Remote Rural life in Thailand - still life series robonrome Urban Life & Travel 12 7th of January 2010 (Thu) 18:01
WORLD WIDE PHOTO WEEK: PART 93 -- City Life/Country Life BLS POTN Member Activities 32 6th of January 2008 (Sun) 18:27
Name this bug - 3:1 life + 1:1 life size macro junkie Macro 4 24th of September 2007 (Mon) 14:21
Life on the beach, the life saver & petanque players Mizaki Nature & Landscapes 1 4th of March 2006 (Sat) 12:33
Real Life Issues Needing Real Life Solutions. Ferdinand Canon EOS Digital Cameras 15 5th of March 2004 (Fri) 14:23


All times are GMT -5. The time now is 04:11.


Powered by vBulletin® Version 3.6.12
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
This forum is not affiliated with Canon in any way and is run as a free user helpsite by Pekka Saarinen, Helsinki Finland. You will need to register in order to be able to post messages. Cookies are required for registering and posting. HTML in messages is not allowed, plain website addresses are automatically made active by the board.