All-Flash Ceph cluster and journal
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.
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?
19-Nov-15 17:34, Mark Nelson пишет:
Quoted 5 lines
This is actually the direction newstore is heading with the
newstore_min_alloc_sizeso 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
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 AMBy 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
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.
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 AMBy 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
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.
Thanks,
Stephen
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-ssdsThanks,
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