From: Denis Fondras <ceph@ledeuns.net>
To: ceph-devel@vger.kernel.org
Subject: Re: Ceph performance improvement
Date: Wed, 22 Aug 2012 14:10:02 +0200 [thread overview]
Message-ID: <5034CC1A.4010800@ledeuns.net> (raw)
In-Reply-To: <5034B354.1040109@cam.ac.uk>
Thank you for the answer David.
>
> That looks like you're writing to a filesystem on that disk, rather than
> the block device itself -- but lets say you've got 139MB/sec
> (1112Mbit/sec) of straight-line performance.
>
> Note: this is already faster than your network link can go -- you can,
> at best, only achieve 120MB/sec over your gigabit link.
>
Yes, I am aware of that, I can't get more than the GB link. However, I
mentionned this to show that the disk should not be a bottleneck.
>
> Is this a dd to the RBD device directly, or is this a write to a file in
> a filesystem created on top of it?
>
The RBD device is mounted and formatted with BTRFS.
> dd will write blocks synchronously -- that is, it will write one block,
> wait for the write to complete, then write the next block, and so on.
> Because of the durability guarantees provided by ceph, this will result
> in dd doing a lot of waiting around while writes are being sent over the
> network and written out on your OSD.
>
Thank you for that information.
> (If you're using the default replication count of 2, probably twice? I'm
> not exactly sure what Ceph does when it only has one OSD to work on..?)
>
I don't know exactly how it behaves but "ceph -s" tells the cluster is
degraded at 50%. Adding a second OSD allows Ceph to replicate.
>
> Just ignoring networking and storage for a moment, this also isn't a
> fair test: you're comparing the decompress-and-unpack time of a 139MB
> tarball on a 3GHz Pentium 4 with 1GB of RAM and a quad-core Xeon E5 that
> has 8GB.
>
That's a very good point ! Comparing figures on the same host tells a
different story (/mnt is Ceph RBD device) :)
root@ceph-osd-1:/home# time tar xzf ../src.tar.gz && sync
real 0m43.668s
user 0m9.649s
sys 0m20.897s
root@ceph-osd-1:/mnt# time tar xzf ../src.tar.gz && sync
real 0m38.022s
user 0m9.101s
sys 0m11.265s
Thank you again,
Denis
next prev parent reply other threads:[~2012-08-22 12:10 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-08-22 8:54 Ceph performance improvement Denis Fondras
2012-08-22 10:24 ` David McBride
2012-08-22 12:10 ` Denis Fondras [this message]
2012-08-23 3:51 ` Mark Kirkwood
2012-08-22 12:35 ` Mark Nelson
2012-08-22 12:42 ` Alexandre DERUMIER
2012-08-24 16:41 ` Denis Fondras
2012-08-24 17:42 ` Wido den Hollander
2012-08-22 16:03 ` Tommi Virtanen
2012-08-22 16:23 ` Denis Fondras
2012-08-22 16:29 ` Tommi Virtanen
2012-08-22 19:12 ` Ceph performance improvement / journal on block-dev Dieter Kasper (KD)
2012-08-22 23:19 ` Tommi Virtanen
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=5034CC1A.4010800@ledeuns.net \
--to=ceph@ledeuns.net \
--cc=ceph-devel@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.