linux-f2fs-devel.lists.sourceforge.net archive mirror
 help / color / mirror / Atom feed
From: Jaegeuk Kim <jaegeuk@kernel.org>
To: Stephen Bates <stephen.bates@microsemi.com>
Cc: "linux-f2fs-devel@lists.sourceforge.net"
	<linux-f2fs-devel@lists.sourceforge.net>
Subject: Re: Kernel panic in F2FS mount on NVMe SSD.
Date: Sat, 7 May 2016 10:49:52 -0700	[thread overview]
Message-ID: <20160507174952.GB92790@jaegeuk.gateway> (raw)
In-Reply-To: <D87A37E7A4AA544D853031D9A919C70B168FD685@avsrvexchmbx2.microsemi.net>

On Thu, May 05, 2016 at 05:53:14PM +0000, Stephen Bates wrote:
> > >
> > > One thing I did notice is that fallocate() seems slow (5-6 GB/s) compared to
> > other file systems for a 3TiB fallocate() [ext4 performs the same operation in
> > under a second on my system)]. Is this typical/expected for F2FS? Could it be
> > because I have the IO_TRACE and/or _SECURITY set in .config?
> > 
> > Which fallocate did you test among expand, punch_hole, or something else?
> > Let me check that especially.
> > Actually, I have not tested its speed considerably, but more focused on
> > functionality and stability.
> 
> I just issued a 
> 
> fallocate -l 3TiB /mnt/f2fs/tst
> 
> right after the mkfs.f2fs call. I am not sure what fallocate() path that excites in the FS. I also (for fun) timed the removal of that file via the rm command and it is also very slow. iostat implies the drive is being read at about 4MB/s while this removal is being performed.  
> 
> $ sudo time rm /mnt/f2fs/tst
> 0.00user 307.62system 6:01.75elapsed 85%CPU (0avgtext+0avgdata 1852maxresident)k
> 2978552inputs+6332168outputs (1major+80minor)pagefaults 0swaps

We could figure out how to improve them. :)

I've been preparing two patches under testing right now.
 - f2fs: fallocate data blocks in single locked node page
 - f2fs: read node blocks ahead when truncating blocks

Thanks,

------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z

  reply	other threads:[~2016-05-07 17:50 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-05-04 22:47 Kernel panic in F2FS mount on NVMe SSD Stephen Bates
2016-05-05  0:09 ` Jaegeuk Kim
2016-05-05  2:35   ` Stephen Bates
2016-05-05  3:48     ` Jaegeuk Kim
2016-05-05 17:53       ` Stephen Bates
2016-05-07 17:49         ` Jaegeuk Kim [this message]
2016-05-09 15:35           ` Stephen Bates
2016-05-09 17:26             ` Jaegeuk Kim
2016-05-14  0:59               ` 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=20160507174952.GB92790@jaegeuk.gateway \
    --to=jaegeuk@kernel.org \
    --cc=linux-f2fs-devel@lists.sourceforge.net \
    --cc=stephen.bates@microsemi.com \
    /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).