Reducing ZFS blocksize to improve Cyrus write performance ?

2010-08-09 Thread Eric Luyten
Folks, A question for those of you running ZFS as the filesystem architecture for your Cyrus message store : did you consider, measure and/or carry out a change of the default 128 KB blocksize ? If so, what value are you using ? Regards, Eric Luyten, Computing Centre VUB/ULB. Cyrus Home

Re: Reducing ZFS blocksize to improve Cyrus write performance ?

2010-08-09 Thread Pascal Gienger
Am 09.08.10 17:22, schrieb Eric Luyten: Folks, A question for those of you running ZFS as the filesystem architecture for your Cyrus message store : did you consider, measure and/or carry out a change of the default 128 KB blocksize ? If so, what value are you using ? First: Changes to ZFS

Re: Reducing ZFS blocksize to improve Cyrus write performance ?

2010-08-09 Thread Pascal Gienger
Am 09.08.10 17:33, schrieb Pascal Gienger: A smaller record size is a good option if you notice an i/o bottleneck on your fiberchannel/iSCSI/SAS link. It won't bring you a performance gain in random i/o. There is a small exception: Database systems writing always the same fixed blocksize. For

Cyrus replication and failover best pracistes

2010-08-09 Thread Dmitry Ivanov
Hello! Folks, looking through maillist history i saw that many of you are running cyrus in rolling replication mode. I am interested in configuring cyrus replica to use as a standby imap server, where we can switch DNS in case of problems with primary backend. While testing on

Re: Reducing ZFS blocksize to improve Cyrus write performance ?

2010-08-09 Thread Vincent Fox
For what Cyrus is doing on Solaris with ZFS, the recordsize seems nearly negligible. What with all the caching in the way, and how ZFS orders transactions, it's about the last tuneable I'd worry about. Here's what works well for us, add this to /etc/system: * Turn off ZFS cache flushing set

Re: Reducing ZFS blocksize to improve Cyrus write performance ?

2010-08-09 Thread Pascal Gienger
Am 09.08.10 19:46, schrieb Vincent Fox: * Turn off ZFS cache flushing set zfs:zfs_nocacheflush = 1 For hardware (fiberchannel, iSCSI, SSA, ...) arrays with their own Cache this is a must. * Increase DNLC (Directory Name Lookup Cache) set ncsize = 50 vmstat -s | grep 'total name

Re: Reducing ZFS blocksize to improve Cyrus write performance ?

2010-08-09 Thread Vincent Fox
On Mon, 2010-08-09 at 17:22 +0200, Eric Luyten wrote: Folks, did you consider, measure and/or carry out a change of the default 128 KB blocksize ? To more directly answer your question than last post... We did some testing with Bonnie++ prior to deployment and changing recordsize didn't

Re: Cyrus replication and failover best pracistes

2010-08-09 Thread Bron Gondwana
On Mon, Aug 09, 2010 at 08:15:36PM +0400, Dmitry Ivanov wrote: Hello! Folks, looking through maillist history i saw that many of you are running cyrus in rolling replication mode. I am interested in configuring cyrus replica to use as a standby imap server, where we can switch DNS in