Page 1 of 1

Does F2FS make sense?

Posted: Thu Sep 07, 2017 10:53 am
by Ollittm
There are a fair few HOWTOs on how to make F2FS happen with RPi, no problem there. however, does it actually work any better than EXT4?

There's old thread about it but it tests USB stick, not actually running RPi from a F2FS formatted µSD.. viewtopic.php?f=31&t=65330

And there's even older benchmark about running USB sticks on a real computer where F2FS beats handily EXT4.
http://www.phoronix.com/scan.php?page=a ... usb3&num=1
And for SDHC
http://www.phoronix.com/scan.php?page=a ... sdhc&num=1

Soo.. Does it actually give any performance benefit on RPi? Try for example pulling kernel headers sometime to see some really obnoxious filesystem performance.

There's also the writeback support on kernel 4.10 onwards that should help these situations. Not to go any faster, mind you, but at least the Pi (or computer) should remain functional while doing big transfers to USB flash drives / µSDHC cards.

Re: Does F2FS make sense?

Posted: Thu Sep 07, 2017 11:06 am
by runboy93
Not so noticeable gains on RPi, maybe SD cards lasts longer by very small marginal %

Re: Does F2FS make sense?

Posted: Thu Sep 07, 2017 12:46 pm
by Ollittm
The writeback throttling option is great, thought. No problem to tar -jvcf patched-linux-source linux/* at all. You opens chromium, you browses web, you closes chromium..

Try that without the option enabled in 4.10 kernel and chromium opens in a few minutes if you're lucky.