All of lore.kernel.org
 help / color / mirror / Atom feed
* A different Ceph benchmark - pgbench
@ 2012-08-31  5:53 Mark Kirkwood
  0 siblings, 0 replies; only message in thread
From: Mark Kirkwood @ 2012-08-31  5:53 UTC (permalink / raw)
  To: ceph-devel

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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2012-08-31  5:54 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-08-31  5:53 A different Ceph benchmark - pgbench Mark Kirkwood

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.