All of lore.kernel.org
 help / color / mirror / Atom feed
* My test on newstore show much poorer performance than filestore
@ 2015-08-27  8:51 wenjunh
  2015-08-27 13:40 ` Sage Weil
  0 siblings, 1 reply; 2+ messages in thread
From: wenjunh @ 2015-08-27  8:51 UTC (permalink / raw)
  To: ceph-devel

Hi
I have a try of the newstore to explore its performance, which shows its performance is much poorer than filestore.

I test my cluster using fio, Here is the comparison of the two store with randread & randwrite scenario:

rw=randread, bs=4K, numjobs=1:
newstore: bw=2280.7KB/s, iops=570
filestore: bw=4846.6KB/s, iops=1211

rw=randwrite, bs=4K, numjobs=1:
newstore: bw=32999 B/s, iops=8
filestore: bw=250978 B/s, iops=61
The two tests are performed using the same hardware, but newstore is much poorer than filestore. From the view of the community, newstore is the next default backend store in Ceph, but why its performance so poor. Could someone tell me why?

Thanks
wenjunh

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: My test on newstore show much poorer performance than filestore
  2015-08-27  8:51 My test on newstore show much poorer performance than filestore wenjunh
@ 2015-08-27 13:40 ` Sage Weil
  0 siblings, 0 replies; 2+ messages in thread
From: Sage Weil @ 2015-08-27 13:40 UTC (permalink / raw)
  To: wenjunh; +Cc: ceph-devel

On Thu, 27 Aug 2015, wenjunh wrote:
> Hi
> I have a try of the newstore to explore its performance, which shows 
> its performance is much poorer than filestore.
> 
> I test my cluster using fio, Here is the comparison of the two store 
> with randread & randwrite scenario:
> 
> rw=randread, bs=4K, numjobs=1:
> newstore: bw=2280.7KB/s, iops=570
> filestore: bw=4846.6KB/s, iops=1211
> 
> rw=randwrite, bs=4K, numjobs=1:
> newstore: bw=32999 B/s, iops=8
> filestore: bw=250978 B/s, iops=61
> The two tests are performed using the same hardware, but newstore is 
> much poorer than filestore. From the view of the community, newstore is 
> the next default backend store in Ceph, but why its performance so poor. 
> Could someone tell me why?

Newstore doesn't do well with random IO just yet, especially when the 
WAL/journal is not on a separate device, because rocksdb doesn't do a very 
good job with its log management.  I'm working on fixing this in rocksdb 
now.

At the other end of the spectrum, if you do something like rados bench (4M 
writes) newstore should be almost 2x faster.

Were you using an SSD journal with filestore or a disk partition?  
Newstore doesn't know how to use a separate SSD yet unless you set up the 
wal_dir manually.

sage


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-08-27 13:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-08-27  8:51 My test on newstore show much poorer performance than filestore wenjunh
2015-08-27 13:40 ` Sage Weil

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.