m
mbiaggi
Feb 14, 2014

How does trim support improve Android?

I have a slightly older version of Android on my phone, 4.1. One of the big improvements of Android 4.3 was supposed to be trim support. What am I missing out on? What does trimming do to improve the OS’s performance?

jimlynch
02/19/2014
What is TRIM support in Android 4.3 and why should you care?
http://pocketnow.com/2013/08/06/android-trim-support

"TRIM essentially goes through the file records and frees up blocks that you’ve deleted by telling the controller to stop keeping track of them. Now the controller only has to keep track of the files that haven’t been deleted, which speeds things up significantly!

TRIM support was included in the desktop Linux kernel in 2008. Microsoft’s desktop operating systems didn’t get support until 2009 with Windows 7. Apple didn’t pick up TRIM support on OS X until 10.6.8 in 2011. Android, however, didn’t pick it up until version 4.3."
w
wstark
02/17/2014
One of the valid knocks against Android for a long time was was that devices that were speedy at first started to slow down and exhibit noticeable lag. In great part this was because there was no native trim function build in.

Trimming is basically analogous to defragmenting a hard drive, and results in a speedier device with less lag. It wasn’t included in older versions of Android, for some reason. If your Android device is rooted, you don’t have to miss out on anything, there is an app called LagFix on Play (both free and pay versions) that will trim your device. I’m glad that Google addressed this with recent versions of Android, it was really frustrating having a device go from speedy to laggy, and I’m sure that it led to many Android phones and tablets being replaced over the years when they really didn’t need to be.
C
Christopher Nerney
02/17/2014

Here's what trim support is supposed to do for you:

 

"TRIM essentially goes through the file records and frees up blocks that you’ve deleted by telling the controller to stop keeping track of them."

 

And here's why it might not be working for you:

 

"If you’re using a device that was running a down-level version of Android and you upgraded it to version 4.3, you probably want to do a factory reset to regain your lost speed, though you shouldn’t notice any further slowdowns if you opt not to start from scratch."

Answer this