grub-devel.gnu.org archive mirror
 help / color / mirror / Atom feed
From: Adam Borowski <kilobyte@angband.pl>
To: grub-devel@gnu.org
Cc: linux-f2fs-devel@lists.sourceforge.net
Subject: Re: [PATCH] F2FS support
Date: Thu, 4 May 2017 22:52:09 +0200	[thread overview]
Message-ID: <20170504205208.6vpuvtnb47afcnbb@angband.pl> (raw)
In-Reply-To: <20170504181240.7923-1-jaegeuk@kernel.org>

On Thu, May 04, 2017 at 11:12:40AM -0700, Jaegeuk Kim wrote:
> "F2FS (Flash-Friendly File System) is flash-friendly file system which was merged
> into Linux kernel v3.8 in 2013.
> 
> The motive for F2FS was to build a file system that from the start, takes into
> account the characteristics of NAND flash memory-based storage devices (such as
> solid-state disks, eMMC, and SD cards).

Some reason "why?" would be nice.

Here's a rough comparison, class 4 SD card on a Pine64, median of 5:
* "git reset --hard" in a big empty tree:
  btrfs 3m45s, f2fs 4m, ext4 12m, xfs 16-18m (huge variance)
* "./configure && make -j4 && make test" (highly CPU-bound)
  f2fs 95s, btrfs 97s, xfs 120s, ext4 122s
* linear write of a single big file
  no meaningful differences

Ie, there's a drastic gain for using f2fs or btrfs.  But btrfs is... well,
btrfs.  It has both significant data safety features and "WTF" level caveats
that can result in abysmal performance, unexpected lack of space or even
data loss when handled by a naive user in ways that are perfectly safe for
most other filesystems.  Thus, it'd be irresponsible to unleash btrfs onto
an unprepared user.  Which leaves f2fs which works well with "install and
forget".

And there's a bunch of new machines that boot from SD/eMMC even on x86.


Meow!
-- 
Don't be racist.  White, amber or black, all beers should be judged based
solely on their merits.  Heck, even if occasionally a cider applies for a
beer's job, why not?
On the other hand, corpo lager is not a race.


  reply	other threads:[~2017-05-04 21:20 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-05-04 18:12 [PATCH] F2FS support Jaegeuk Kim
2017-05-04 20:52 ` Adam Borowski [this message]
  -- strict thread matches above, loose matches on Subject: below --
2018-03-22 16:47 Pete Batard
2018-03-28 12:04 ` Daniel Kiper
2018-03-29 16:08   ` Pete Batard
2018-03-31 20:47     ` Paul Menzel
2018-04-01 19:16       ` Pete Batard
2018-04-04 21:03       ` Daniel Kiper
2018-04-04 20:37     ` Daniel Kiper
2018-04-04 21:11       ` Pete Batard
2018-03-17  9:08 林博仁
2018-03-18 20:39 ` Pete Batard
2018-03-22 14:26   ` Daniel Kiper
2015-03-24  8:19 Jaegeuk Kim
2015-03-28  7:31 ` Andrei Borzenkov
2015-03-28 20:43   ` Jaegeuk Kim
2015-03-28 21:00     ` Andrei Borzenkov
2015-04-03 22:48   ` Jaegeuk Kim

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170504205208.6vpuvtnb47afcnbb@angband.pl \
    --to=kilobyte@angband.pl \
    --cc=grub-devel@gnu.org \
    --cc=linux-f2fs-devel@lists.sourceforge.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).