Free space - f2fs vs ext4 - Moto G Q&A, Help & Troubleshooting

When i wipe my phone and format data with f2fs there is around 520mb of space already taken but when i use ext4 there is only around 120mb taken.
Can anyone explain this? Thanks.

This is normal. F2FS simply has higher overhead than EXT4.

Related

[Q] Reformat data partition as ext4

Rather than making a loopback filesystem, I've been trying to reformat the data partition as ext4, but haven't been able get past the galaxy "S" screen yet (the big S on boot). Here's what I did
* Compile a kernel with ext4 and modified init.rc to mount /data as ext4.
* Reboot into recovery and format /dev/block/mmcblk0p2 as ext4.
* Reboot into download and flash the custom kernel.
It was stuck at "S" for a while, then the screen went dark, and the only thing I could do was to pull out the battery. Then I went into recovery mode and found the partition was trashed, i.e. I couldn't mount it as ext4 again. I had to format it back to rfs and restore the stock kernel to get it to boot. I have to believe that there's something other than init.rc that assumes data partition to be in a certain format. Has anyone had success on a similar task?
BTW, the same process DID work for /dbdata, but I see no visible improvement in Quadrant score...
I has a similar thing occur on my first attempt with nilfs2. Did you remove anything that would attempt to mount as rfs? I think the rfs driver will claim pretty much anything that might be rfs, so if your format left the backup FAT intact, that might be your problem. By the way, the nilfs2+user_init kernel I posted in the mimocan fix thread does support ext4 as well, and allows you to customize the mount without rebuilding your kernel.
Sent from my SAMSUNG-SGH-I897 using XDA App

sd-ext fs, ext2 vs ext4 on our pico

what about this: www.linuxplanet.com/linuxplanet/tutorials/7208/1. I'm very confused about debate ext2 vs ext4...
1. I've installed JaggyRom v4.1 with sd-ext, ext2 fs, mounts2sd in reverse mounting and I've felt (maybe placebo, don't know) the rom a little smoother, but in Antutu Benchmark - Database IO points: about 180-200
2. I've installed JaggyRom v4.1 with sd-ext, ext4 fs, no journaling, mounts2sd in reverse mounting and I've felt (maybe placebo, don't know) the rom a little laggy, but in Antutu Benchmark - Database IO points: about 230-250
So anybody did more researche about ext2 vs ext4 - no journaling (speed, cpu usage, overall performance, sd card wear) and have any conclusion? Let's clear this out...
There is no much difference between both of them, here is a debate that everybody can check out http://forum.xda-developers.com/showthread.php?t=800353
ext2 partition
how can i create ext2 partition without using minitool partition wizard
I think recovery does it with ext2 or if you want you can flash super wipe after that it will be ext2.
shortyoko said:
There is no much difference between both of them, here is a debate that everybody can check out http://forum.xda-developers.com/showthread.php?t=800353
Click to expand...
Click to collapse
I've readed all the debate but there is no conclusion, 50% say the ext4 even withou journaling use more cpu and it's bad on phones and 50% say that the ext4 is fastes then ext2.
After a year...
Does somebody knows for sure what's the best for our pico? ext2 or ext4 without journaling?

Is it worth to format /system in f2fs?

Hi all! I'm running CM13 Snapshot, with ElementalX. As now I formatted /data and /cache in F2FS. Would it be worth to also format /system in F2FS, since is mostly read-only?
Well you simply can't, every ROM installation will re-format /system to ext4 automatically. And even if you could, you probably can't notice any improvements on the Nexus 5. The Nexus 5 still has pretty powerful hardware which can handle almost everything without any problems so I wonder why you would want to have /system formatted to F2FS. In my experience things never really got that much better with the /cache and /data formatted to F2FS, only benchmarks scores got a bit higher. In my opinion F2FS is pretty useless on this device. Could be helpful for lower end ones.
Thanks for the answer! I must say i jumped on the f2fs train without doing any benchmarks, and also going from KK to LP long time ago, so I couldn't do a proprer comparison. Also I didn't think about the rom installation process reformatting...well than my question is pretty useless
Short answer, no. From what I've read, F2FS has slightly better write speeds than ext4 and slightly worse read speed. On a partition that you write often to, such as data and cache, it could be beneficial because of the better write speed. But on the system partition, it would even cause performance drop since it's read-only.
No.
The system partition is mounted mostly with ro permissions anyway.
Write operations are few and rare.
Finally, f2fs seems to have more overhead (allocates more space) which might be an issue for devices with small-ish system partitions.

File systems conversion

Does converting data from f2fs to ext4 takes a long time? Seen somewhere that I may take up to 90min. So if anyone has done it can you please tell me? When I converted from ext4 to f2fs it was very fast. Thank you.

Switching from EXT4 file system to F2FS file system

I'm currently on AOSPExtended ROM(7.1.1) with it's stock kernel. I recently heard about f2fs system which is more faster and has increased life span of flash storage than current ext4 system.
Now I want to know whether this ROM and kernel are f2fs compatible, and how can I change my partitions to f2fs in detail without loosing my current data.
Thank you.
in previous iterations of android, only data partition was allowed to be in F2FS format (by default data partition is in F2FS format unless you have a GPE device). all the rest should be in ext4. some kernels allow cache to be in F2FS thats all. you can format some partitions to F2FS via TWRP recovery. however if any F2FS partition is unsupported you will endup in a bootloop.

Categories

Resources