Why are we assuming YAFFS2 will give better performance than an ext2/3/4? From what I can see, benchmarks say the opposite, with these fixes the SGS is clearly performing i/o operations much faster than other phones, including the nexus one... Regardless, the bug has been found and has been fixed as a hack!! I think we can declare Samsung incompetent as a software developer if they can't manage to fix this in the following firmware updates!! lol Where or to whom can write to at Samsung? anyone know someone at Engadget, Android Central, or any other big site that can make this more public??
Because YAFFS2 was specifically designed with flash nand chips in mind...?
ext 2 is risky because no journaling, ext 3 is damaging because of the journaling being written to the same areas and wearing out the nand faster, ext 4 is risky because everyone says so...LOL.
You can't compare SGS benchmarks against the Nexus One benchmarks and then declare that ext is better than yffs2 based on those. A whole lot more goes into the Quadrant scores than the i/o speed of the database read/writes. Heck, my SGS with mimocan on an ext sdcard outbenchmarks a FroYo Nexus One - much of that is because of the better CPU and GPU of the SGS.
"Better" doesn't necessarily mean faster. If speed is all you care about, fine, but I'm not sure we've even seen a valid speed comparison of ext2/3/4 vs yffs2 until we see both filesystems used on the otherwise-the-same hardware.
Personally, I want the fastest speed I can get while still having a stable file system that doesn't get corrupted or worn out physically sooner than later because of the filesystem choice. What little bit I read about yffs2 suggests it's a better choice, and the selection of it by HTC/Google for the flagship Android phone seems to support that belief. I could certainly be wrong, as I am no expert in this area at all, but think about it, ext 2/3/4 is designed for cross platform linux operations and spinning physical platters on a hard disk in mind. It has to consider all that in its design choices. YFFS2 is designed specifically for flash nand memory and takes the hardware concerns of nand (limited writes to a single sector over the device lifetime and no moving parts to contend with) and designs a filesystem for it.
At any rate, I agree, this hack looks promising and I've backed up (nandroid and titanium) my phone in anticipation of reversing my mimocan fixes and trying this. It's getting late here, though, so I may not get around to it until tomorrow.
Excited to see results people post.
If this is actually the real fix that's the best, maybe we'll see Paul build it into his ROMs!