From: Mark Kirkwood <mark.kirkwood@catalyst.net.nz>
To: ceph-devel <ceph-devel@vger.kernel.org>
Subject: A different Ceph benchmark - pgbench
Date: Fri, 31 Aug 2012 17:53:58 +1200 [thread overview]
Message-ID: <50405176.6050907@catalyst.net.nz> (raw)
I think I had previously mentioned that I am interested in using RBD for
data backing a database. With the recent notable improvements in IO
performance for smaller block sizes that came with 0.50 and 0.51
versions I decided to do some benchmarking with Postgresql.
So here it is:
System : 4x (hyperthread) i3 3.3 Ghz 8G, 2x 128G Crucial M4
Ceph 0.51, 1x osd on 1 M4, 20G journal on the other, ext4 filesystems
Postgresql 9.2 with minimal tuning (shared_buffers = 1G,
checkpoint_segments = 128)
1x RBD for postgres data, 1x RBD for postgres transaction log, ext4
filesystems
Scale 300 (approx 5G)
connections | tx per second
------------+--------------
4 | 287
8 | 422
16 | 591
32 | 779
64 | 866
Now this is quite an acceptable result (previous attempts had maxed out
at 4 tx per sec). While it does not compare favourably with running the
same setup directly on the attached drives (4000 tx per sec with 64
connections), the difference is a 'mere' factor of 4 instead of orders
of magnitude, so I am greatly encouraged!
By default Postgreql does IO in 8K blocks using library functions read
and write - so this *was* a completely pessimal performance test - so it
is really nice to see how things are improving - keep up the good work!
Regards
Mark
reply other threads:[~2012-08-31 5:54 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=50405176.6050907@catalyst.net.nz \
--to=mark.kirkwood@catalyst.net.nz \
--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.