123Macmini.com
FAQFAQ   SearchSearch   MemberlistMemberlist   GalleryPhoto Gallery   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

TRIM For iPods, iPhones, or iPads?

 
Post new topic   Reply to topic    123Macmini.com - Forums Forum Index -> iPhone, iPod touch and iPad
View previous topic :: View next topic  
Author Message
Smallwheels
Senior Member
Senior Member


Joined: 06 Sep 2008
Posts: 260

PostPosted: Mon Jun 27, 2011 9:15 pm    Post subject: TRIM For iPods, iPhones, or iPads? Reply with quote

I just read about TRIM support being included into OS X 10.6.8 and Lion. It is a program to clean up (defragment) solid state drives. That got me wondering if such support is now or has ever been made available for iPods and other such devices. It would seem to me that they need it more than computers because the drives are so small.

Does anybody know if there is such support for other iDevices?

If the smallest iPod Touches have just 8 GBs then would they not ever get to utilize all of that space due to numerous fragmentation problems? Loading and deleting movies a few times would probably leave plenty of memory areas messed up and unable to be reused. Perhaps in time the 8 GB iPod Touch would become the 4 GB iPod Touch.


Smallwheels

www.MySpace.com/Beninate
until it gets sold and deleted.
Back to top
View user's profile Send private message Visit poster's website
khisayruou
Senior Member
Senior Member


Joined: 14 May 2006
Posts: 418

PostPosted: Tue Jun 28, 2011 3:43 pm    Post subject: Reply with quote

This is my understanding of ssds/flash memory, please correct me if im wrong...

Defrag is taking fragmented data and placing them closer together, this is important for regular hard drives so the read/write head doesn't have to move as far making accessing data more optimal.

TRIM is for flash memory/SSDs, its simply a command that takes unused blocks of data and cleans it. This will prevent performance degradation of write operations over time. Flash memory will inherently fail at some point but will take a million plus cycles. Its a loss in write speed, not a loss in capacity. TRIM prevents loss in speed.

The more you write to the flash, the faster the cell wears out and thus loses capacity. Thats why wear leveling algorithms were implemented so that the writing to cells are spread out. So wear leveling maintains capacity.

New ipods/ipads use flash memory, there is no need to defrag it. Defragging will only wear out the cells faster. Now there are some instances where u may need to but its rare. That being said I no idea what apple has implemented, they may have put in over-provisioning, wear leveling algorithms, garbage collection, etc. Whatever the case may be I see my battery dying well before the flash starts showing problems.

EDIT: Samsung nand flash chips do use wear-leveling, I don't know about Toshiba, but I am sure they have implemented something or at least hope so.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    123Macmini.com - Forums Forum Index -> iPhone, iPod touch and iPad All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



      

Shop:  Apple Store  |  Refurbished Macs  |  Refurbished iPads  |  MacConnection  |  Mac Mini Vault  |  Other World Computing

MK 1 Studio Mac mini Racks  |  Crucial Mac Memory  |  Top Free Mac Apps  |  Top Paid Mac Apps



123Macmini.com is an independent publication and has not been authorized, sponsored, or approved by Apple Computer, Inc.
All logos and trademarks in this site are property of their respective owners.
Copyright © 2011 123Macmini.com. All Rights Reserved.