Skip to contentSkip to conversation

All-Flash Ceph cluster and journal

DISCUSSION Mike Almateia 5 participants 7 messages Nov 19, 2015 – Nov 23, 2015

lore
Share & tools
lore
#0 lore raw

Hello.

By now we have SSD disks with a great perfomance under O_DIRECT/O_SYNC flags (and we recomended to use they for journal).

Why in a All-Flash type Ceph clusters we still use journal and them put a data into OSD? Why we can't just write a data into OSD with O_DIRECT/O_SYNC flags, without journal?

Can we just switch off the journal functional for all-flash ceph clusters?

Signature · 1 line
Mike, runs.
#1 lore raw

This is actually the direction newstore is heading with the newstore_min_alloc_size so that you can configure when to write into the rocksdb WAL. By default it's set to 512k, but for SSDs we will almost certainly want to go smaller.

Quoted 12 lines · Mike Almateia

Hello.

By now we have SSD disks with a great perfomance under O_DIRECT/O_SYNC flags (and we recomended to use they for journal).

Why in a All-Flash type Ceph clusters we still use journal and them put a data into OSD?
Why we can't just write a data into OSD with O_DIRECT/O_SYNC flags, without journal?

Can we just switch off the journal functional for all-flash ceph clusters?

#2 lore raw

19-Nov-15 17:34, Mark Nelson пишет:

Quoted 5 lines

This is actually the direction newstore is heading with the newstore_min_alloc_size so that you can configure when to write into the rocksdb WAL. By default it's set to 512k, but for SSDs we will almost certainly want to go smaller.

Quoted 14 lines
Quoted 13 lines · Mike Almateia

Hello.

By now we have SSD disks with a great perfomance under O_DIRECT/O_SYNC flags (and we recomended to use they for journal).

Why in a All-Flash type Ceph clusters we still use journal and them put a data into OSD?
Why we can't just write a data into OSD with O_DIRECT/O_SYNC flags, without journal?

Can we just switch off the journal functional for all-flash ceph clusters?

Thanks for answer!

By now is it resonable to use NVMe Flash for OSD on Ceph? Overpower? Is it possible to achive full speed NVMe Flash driver under Ceph? --
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#3 lore raw
Quoted 7 lines

-----Original Message-----
From: [email protected] [mailto:ceph-devel- [email protected]] On Behalf Of Mike Almateia
Sent: Friday, November 20, 2015 11:43 AM

By now is it resonable to use NVMe Flash for OSD on Ceph? Overpower? Is it possible to achive full speed NVMe Flash driver under Ceph?

Yes and no. Ceph on any Flash drive will perform way better than on regular spinning disks, though certainly will not utilize its full potential. There is ongoing effort from multiple developers from multiple companies to fix that and things are getting better with each release.

With best regards / Pozdrawiam
Piotr Dałek

#4 lore raw

This link points to a presentation we did a few weeks back where we used NVMe devices for both the data and journal. We partitioned the devices multiple times to co-locate multiple OSD's per device. The configuration data on the cluster is in the backup.

http://www.slideshare.net/Inktank_Ceph/accelerating-cassandra-workloads-on-ceph-with-allflash-pcie-ssds

Thanks,

Stephen

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of [email protected]
Sent: Friday, November 20, 2015 3:50 AM
To: Mike Almateia; Ceph Development
Subject: RE: All-Flash Ceph cluster and journal

Quoted 7 lines

-----Original Message-----
From: [email protected] [mailto:ceph-devel- [email protected]] On Behalf Of Mike Almateia
Sent: Friday, November 20, 2015 11:43 AM

By now is it resonable to use NVMe Flash for OSD on Ceph? Overpower? Is it possible to achive full speed NVMe Flash driver under Ceph?

Yes and no. Ceph on any Flash drive will perform way better than on regular spinning disks, though certainly will not utilize its full potential. There is ongoing effort from multiple developers from multiple companies to fix that and things are getting better with each release.

With best regards / Pozdrawiam
Piotr Dałek

 {.n + +% lzwm b 맲 r yǩ ׯzX  ܨ} Ơz &j:+v zZ+ +zf h ~ i z  w ? & )ߢf

#5 lore raw

Simple but clever way of ensuring that NVMe's deep queues aren't starved of work to do. But doesn't this suggest that Ceph needs optimizing or tuning for NVMe? Could you not have tweaked OSD parameters to ensure more threads / IO operations in parallel and have the same effect?

Quoted 8 lines · Stephen L

This link points to a presentation we did a few weeks back where we used NVMe devices for both the data and journal. We partitioned the devices multiple times to co-locate multiple OSD's per device. The configuration data on the cluster is in the backup.

http://www.slideshare.net/Inktank_Ceph/accelerating-cassandra-workloads-on-ceph-with-allflash-pcie-ssds

Thanks,

Stephen

#6 lore raw

It's an example of what Hammer can do, and we're seeing some improvements already with Infernalis. I agree regarding the tuning and optimization, and a lot of work is currently underway towards that goal as Piotr pointed out.

For completeness we did do a bit of the OSD tweaking a week or so ago (results in the mailinglist). http://www.spinics.net/lists/ceph-devel/msg27256.html

Thanks,

Stephen

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Daniel Swarbrick
Sent: Monday, November 23, 2015 11:39 AM
To: [email protected]
Subject: Re: All-Flash Ceph cluster and journal

Simple but clever way of ensuring that NVMe's deep queues aren't starved of work to do. But doesn't this suggest that Ceph needs optimizing or tuning for NVMe? Could you not have tweaked OSD parameters to ensure more threads / IO operations in parallel and have the same effect?

Quoted 9 lines · Stephen L

This link points to a presentation we did a few weeks back where we used NVMe devices for both the data and journal. We partitioned the devices multiple times to co-locate multiple OSD's per device. The configuration data on the cluster is in the backup.

http://www.slideshare.net/Inktank_Ceph/accelerating-cassandra-workload
s-on-ceph-with-allflash-pcie-ssds

Thanks,

Stephen

--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html