Re: [ceph-users] dovecot + cephfs - sdbox vs mdbox

2018-10-04 Thread Webert de Souza Lima
Hi, bring this up again to ask one more question: what would be the best recommended locking strategy for dovecot against cephfs? this is a balanced setup using independent director instances but all dovecot instances on each node share the same storage system (cephfs). Regards, Webert Lima

Re: [ceph-users] dovecot + cephfs - sdbox vs mdbox

2018-05-16 Thread Webert de Souza Lima
Thanks Jack. That's good to know. It is definitely something to consider. In a distributed storage scenario we might build a dedicated pool for that and tune the pool as more capacity or performance is needed. Regards, Webert Lima DevOps Engineer at MAV Tecnologia *Belo Horizonte - Brasil* *IRC

Re: [ceph-users] dovecot + cephfs - sdbox vs mdbox

2018-05-16 Thread Webert de Souza Lima
Hello Danny, I actually saw that thread and I was very excited about it. I thank you all for that idea and all the effort being put in it. I haven't yet tried to play around with your plugin but I intend to, and to contribute back. I think when it's ready for production it will be unbeatable. I

Re: [ceph-users] dovecot + cephfs - sdbox vs mdbox

2018-05-16 Thread Jack
On 05/16/2018 09:35 PM, Webert de Souza Lima wrote: > We'll soon do benchmarks of sdbox vs mdbox over cephfs with bluestore > backend. > We'll have to do some some work on how to simulate user traffic, for writes > and readings. That seems troublesome. I would appreciate seeing these results ! >

Re: [ceph-users] dovecot + cephfs - sdbox vs mdbox

2018-05-16 Thread Danny Al-Gaaf
Hi, some time back we had similar discussions when we, as an email provider, discussed to move away from traditional NAS/NFS storage to Ceph. The problem with POSIX file systems and dovecot is that e.g. with mdbox only around ~20% of the IO operations are READ/WRITE, the rest are metadata IOs.

Re: [ceph-users] dovecot + cephfs - sdbox vs mdbox

2018-05-16 Thread Webert de Souza Lima
Hello Jack, yes, I imagine I'll have to do some work on tuning the block size on cephfs. Thanks for the advise. I knew that using mdbox, messages are not removed but I though that was true in sdbox too. Thanks again. We'll soon do benchmarks of sdbox vs mdbox over cephfs with bluestore backend.

Re: [ceph-users] dovecot + cephfs - sdbox vs mdbox

2018-05-16 Thread Jack
Hi, Many (most ?) filesystems does not store multiple files on the same block Thus, with sdbox, every single mail (you know, that kind of mail with 10 lines in it) will eat an inode, and a block (4k here) mdbox is more compact on this way Another difference: sdbox removes the message, mdbox