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

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

FEATURED VIDEO

4 Comments

1. networkdood

Posts: 6330; Member since: Mar 31, 2010

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

2. calamazoo unregistered

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

3. remixfa

Posts: 14605; Member since: Dec 19, 2008

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

4. networkdood

Posts: 6330; Member since: Mar 31, 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....

Latest Stories

This copy is for your personal, non-commercial use only. You can order presentation-ready copies for distribution to your colleagues, clients or customers at https://www.parsintl.com/phonearena or use the Reprints & Permissions tool that appears at the bottom of each web page. Visit https://www.parsintl.com/ for samples and additional information.