All of lore.kernel.org
 help / color / mirror / Atom feed
From: Li Wang <liwang@ubuntukylin.com>
To: ceph-devel@vger.kernel.org
Cc: Sage Weil <sage@inktank.com>
Subject: 4x write amplification?
Date: Wed, 10 Jul 2013 10:08:37 +0800	[thread overview]
Message-ID: <51DCC225.1050700@ubuntukylin.com> (raw)

Hi,
   We did a simple throughput test on Ceph with 2 OSD nodes configured
with one replica policy. For each OSD node, the throughput measured by 
'dd' run locally is 117MB/s. Therefore, in theory, the two OSDs could 
provide 200+MB/s throughput. However, using 'iozone' from clients we 
only get a peak throughput at around 40MB/s. Is that because a write 
will incur 2 replica * 2 journal write? That is, writing into journal
and replica doubled the traffic, respectively, which results in a total
4x write amplification. Is that true, or our understanding is wrong,
and some performance tuning hint?

Cheers,
Li Wang



             reply	other threads:[~2013-07-10  2:08 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-10  2:08 Li Wang [this message]
2013-07-10 17:43 ` 4x write amplification? Gregory Farnum
2013-07-11  8:23   ` Oleg Krasnianskiy

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=51DCC225.1050700@ubuntukylin.com \
    --to=liwang@ubuntukylin.com \
    --cc=ceph-devel@vger.kernel.org \
    --cc=sage@inktank.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.