All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mark Nelson <mark.nelson@inktank.com>
To: Nicheal <zay11022@gmail.com>, ceph-devel <ceph-devel@vger.kernel.org>
Subject: Re: WriteBack Throttle kill the performace of the disk
Date: Mon, 13 Oct 2014 08:29:29 -0500	[thread overview]
Message-ID: <543BD3B9.2000600@redhat.com> (raw)
In-Reply-To: <CALZt5jzUduePJzgH+-NJ=7WckxioCbUZvxvnCFM8VBxHxXt4dg@mail.gmail.com>

On 10/13/2014 05:18 AM, Nicheal wrote:
> Hi,
>
> I'm currently finding that enable WritebackThrottle lead to lower IOPS
> for large number of small io. Since WritebackThrottle calls
> fdatasync(fd) to flush an object content to disk, large number of
> ramdom small io always cause the WritebackThrottle to submit one or
> two 4k io every time.
> Thus, it is much slower than the global sync in
> FileStore::sync_entry().  Note:: here, I use xfs as the FileStore
> underlying filesystem. So I would know that if any impact when I
> disable Writeback throttles. I cannot catch the idea on the website
> (http://ceph.com/docs/master/dev/osd_internals/wbthrottle/).
> Large number of inode will cause longer time to sync, but submitting a
> batch of write to disk always faster than submitting few io update to
> the disk.

Hi Nichael,

When the wbthrottle code was introduced back around dumpling we had to 
increase the sync intervals quite a bit to get it performing similarly 
to cuttlefish.  Have you tried playing with the various wbthrottle xfs 
tuneables to see if you can improve the behaviour?

OPTION(filestore_wbthrottle_enable, OPT_BOOL, true)
OPTION(filestore_wbthrottle_xfs_bytes_start_flusher, OPT_U64, 41943040)
OPTION(filestore_wbthrottle_xfs_bytes_hard_limit, OPT_U64, 419430400)
OPTION(filestore_wbthrottle_xfs_ios_start_flusher, OPT_U64, 500)
OPTION(filestore_wbthrottle_xfs_ios_hard_limit, OPT_U64, 5000)
OPTION(filestore_wbthrottle_xfs_inodes_start_flusher, OPT_U64, 500)

Mark

>
> Nicheal
> --
> To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>


  reply	other threads:[~2014-10-13 13:29 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-13 10:18 WriteBack Throttle kill the performace of the disk Nicheal
2014-10-13 13:29 ` Mark Nelson [this message]
2014-10-13 19:50   ` Gregory Farnum
2014-10-14  5:15     ` Nicheal
2014-10-14 12:19       ` Mark Nelson
2014-10-14 12:42         ` Wido den Hollander
2014-10-15  3:10           ` Nicheal
2014-10-14 13:22         ` Sage Weil
2014-10-15  2:20           ` Nicheal
2014-10-15  5:55         ` Nicheal

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=543BD3B9.2000600@redhat.com \
    --to=mark.nelson@inktank.com \
    --cc=ceph-devel@vger.kernel.org \
    --cc=zay11022@gmail.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 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.