All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jakob Unterwurzacher <jakobunt@gmail.com>
To: linux-kernel@vger.kernel.org
Subject: Regression for mmap writes through FUSE in 4.2+
Date: Fri, 22 Jan 2016 22:10:59 +0100	[thread overview]
Message-ID: <56A29AE3.8090606@gmail.com> (raw)

I have noticed an annoying regression that was introduced in 4.2 and is
still there in 4.4. mmap writes to FUSE filesystems are throttled down
to basically zero.

Reproducer: https://github.com/rfjakob/mmapwrite , testing against encfs:

$ mmapwrite /tmp/encfs-mnt/foo
  1 .................................................. 107.01 MB/s
  2 .................................................. 101.98 MB/s
[...]
 68 .................................................. 106.79 MB/s
 69 .................................................. 105.09 MB/s
 70 ..................................................   2.02 MB/s
 71 ..................................................   1.77 MB/s
 72 ..................................................   0.42 MB/s
 73 .................................... (hangs)

I have tested kernels from 4.0 and this seems to have been introduced in
4.2:

4.0 ....... 140MB/s permanent
4.1 ....... 140MB/s permanent
4.2 ....... 100MB/s at the start, sudden slowdown to 1MB/s after ~5GB
4.3 ....... 100MB/s at the start, sudden slowdown to 1MB/s after ~1.5GB
4.4-rc4 ... 100MB/s at the start, slowly ramps down, 0.3MB/s after ~2GB
4.4 ....... 100MB/s at the start, sudden slowdown after ~3GB

Is there a way to disable the throttling? Or at least exempt FUSE until
there is a proper fix?

Thanks,
Jakob

                 reply	other threads:[~2016-01-22 21:11 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=56A29AE3.8090606@gmail.com \
    --to=jakobunt@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.