x PhoneArena is looking for new authors! To view all available positions, click here.
  • Home
  • News
  • Gingerbread is the first Android version to feature the Ext4 file system

Gingerbread is the first Android version to feature the Ext4 file system

Posted: , by Daniel P.

Tags:

Gingerbread is the first Android version to feature the Ext4 file system
Android 2.3 Gingerbread, it turns out, actually has some optimizations up its sleeve that help dual-core processing. We were wondering what happened with that, considering the barrage of dual-core handsets about to hit the market from LG, Motorola and Samsung. Gingerbread swaps the YAFFS file system, currently used in most Android devices, for Ext4, the current Linux kernel file system. Well, with a name like "Yet Another Flash File System" (YAFFS), the current version was destined to go.

YAFFS is single-threaded, which would have been a bottleneck when trying to record those full HD video clips, and save them to the flash memory, whereas Ext4 doesn't have this limitation. Thus the new file system is more suited for usage with the multicore ARM-based chipsets that will be creeping into handsets and tablets next year. According to one Googler that has been pulled in to help with Ext4 for Android, as long as developers are mindful about how Ext4 does buffering and sync, there is no need to worry about data loss.

Ext4 will actually improve the handling of data loss, if developers make sure their application data is getting to persistent storage on time. Linux writes to so many files at once, that not all of them get written to permanent memory, and there is a risk for data loss. For example, when you drop your Android phone and the battery escapes, there is a chance those files that were not written in permanent memory, will evaporate.

There are newer Linux file systems out there, like Oracle's Btrfs, but Google went with the current generation Ext4 as more mature, not to mention that's what El Goog started using in its servers this year. It makes us all warm and fuzzy inside that Android got Google's server file system, and suddenly the little green robot can claim much more geek-cred with us.

source: Thunk.org via Arstechnica

4 Comments
  • Options
    Close




posted on 28 Dec 2010, 11:18

1. networkdood (Posts: 6326; Member since: 31 Mar 2010)


Interesting, as I am using ext4 on my SAMSUNG CAPTIVATE......

posted on 28 Dec 2010, 13:32

2. calamazoo (unregistered)


yeah, the lagfix for the galaxy s phones brings ext4, which removes the I/O bottleneck and the quadrant scores fly...

posted on 29 Dec 2010, 12:07

3. remixfa (Posts: 14168; Member since: 19 Dec 2008)


yup, Voodoo in the galaxyS is ext4 already :). Lagfix is ext2. Running Nero3+voodoo myself. great battery life and smooth as butter.

posted on 29 Dec 2010, 19:18

4. networkdood (Posts: 6326; Member since: 31 Mar 2010)


I agree, so easy to flash a new rom and with a 32GB SD card I have plenty of room for data....and there is an option with CWM to use ext4 for a lagfix......very good scores and runs smooth....

Want to comment? Please login or register.

Latest stories