Register FAQ / Rules Forum Spy Search Today's Posts Mark Forums Read
Go Back   MacRumors Forums > Apple Hardware > Notebooks > MacBook Air

Reply
 
Thread Tools Search this Thread Display Modes
Old Dec 5, 2008, 10:55 AM   #1
Kan-O-Z
macrumors 6502
 
Join Date: Aug 2007
SSD Fragmentation?

I remember reading somewhere that SSD does not have a problem with fragmentation. Is that because of the way it stores data on the drive or is it because it has incredible random access as opposed to sequential access.

If SSD does not suffer from fragmentation problems does that mean OS X will not try to defrag it. What I'm really trying to get at is this:

As a general rule of thumb, it's ideal to keep at least 10% of your drive free so that the OS can use this space for defrag purposes increasing speed/efficiency. If SSD doesn't suffer from this stuff, does that mean we can go ahead a fill up most of the drive and still be efficient?

Kan-O-Z
Kan-O-Z is offline   0 Reply With Quote
Old Dec 5, 2008, 11:37 AM   #2
silverblack
macrumors 65816
 
silverblack's Avatar
 
Join Date: Nov 2007
Quote:
Originally Posted by Kan-O-Z View Post
If SSD does not suffer from fragmentation problems does that mean OS X will not try to defrag it.
I don't know the answer, but I don't think (purely speculation) you can turn off the 'defrag' the OS X does regularly in the background.


Quote:
Originally Posted by Kan-O-Z View Post
If SSD doesn't suffer from this stuff, does that mean we can go ahead a fill up most of the drive and still be efficient?

Yes. This article shows that SSD does not slow down significantly as it fills up.
silverblack is offline   0 Reply With Quote
Old Dec 5, 2008, 07:56 PM   #3
h1d
macrumors regular
 
Join Date: Nov 2008
OS X does defrag in the back?

And from what I read (sorry forgot where) the way SSD works does not slow down by random reads (as many benchmark says), thus defragmenting the files doesn't mean much, and what's bad is if you actually do defrag it, the SSD life span just decreases. Seems, SSD has a block size that can be larger than a small file and if one were to erase a file that is smaller than a SSD block, the entire block has to be deleted and if any other part of another file was within the same block, it has to be moved before the deletion too, thus making alot of write operation when you defrag.

So, while the life span of SSD (especially MLC type) isn't big of an issue these days, I wouldn't do it when it doesn't make things better.

Last edited by h1d; Dec 5, 2008 at 08:03 PM.
h1d is offline   0 Reply With Quote
Old Dec 5, 2008, 10:16 PM   #4
Catfish_Man
macrumors 68030
 
Catfish_Man's Avatar
 
Join Date: Sep 2001
Location: Portland, OR
Send a message via AIM to Catfish_Man
Quote:
Originally Posted by h1d View Post
OS X does defrag in the back?
It does; when it attempts to open a file of less than 20MB that is in (iirc) more than 6 fragments, it will move it to a contiguous block if possible.
Catfish_Man is offline   0 Reply With Quote
Old Dec 5, 2008, 10:24 PM   #5
Nermal
Moderator
 
Nermal's Avatar
 
Join Date: Dec 2002
Location: Whakatane, New Zealand
It's true that SSDs don't suffer from fragmentation. In fact, Windows 7 won't automatically defrag the drive if it's an SSD. As h1d has mentioned, defragging an SSD will reduce its life, so it'd be a good idea to see whether the OS X auto-defrag can be turned off.
Nermal is offline   0 Reply With Quote
Old Dec 6, 2008, 02:27 AM   #6
h1d
macrumors regular
 
Join Date: Nov 2008
Quote:
Originally Posted by Catfish_Man View Post
It does; when it attempts to open a file of less than 20MB that is in (iirc) more than 6 fragments, it will move it to a contiguous block if possible.
Ah, I didn't know. Wonder what happens if an app tries to open alot of small files at once, would it simply slow down badly?

And is some kind of daemon doing the work or is it built into the file system (or kernel) and can't be turned off unless choosing another file system?
h1d is offline   0 Reply With Quote

Reply
MacRumors Forums > Apple Hardware > Notebooks > MacBook Air

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
thread Thread Starter Forum Replies Last Post
Is mavericks worse at dealing with fragmentation ? madeirabhoy OS X Mavericks (10.9) 10 Mar 4, 2014 11:42 AM
Why's fragmentation so bad? Klosefabrinio Alternatives to iOS and iOS Devices 150 Sep 15, 2013 08:09 AM
Android fragmentation but on the same phone michaeljohn Alternatives to iOS and iOS Devices 100 Nov 15, 2012 02:11 PM
Fragmentation / Planned Obsolescence Daniel B iOS 6 10 Sep 13, 2012 11:50 AM
Fragmentation / Planned Obsolescence Daniel B iPhone 0 Sep 13, 2012 06:51 AM

Forum Jump

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

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC