Performance question...
Henrique de Moraes Holschuh
hmh at debian.org
Tue Feb 24 23:11:30 EST 2004
On Tue, 24 Feb 2004, Michael J Barber wrote:
> Cyrus after he thought it was too slow and could not configure it. That being
Hah, I bet he had Cyrus on a partition (or directories) operating in sync
mode :) (I assume he had a 2.x Cyrus install).
> Has anyone done similar things and noticed one server to be dramatically faster
> than the other? He knows about noatime setting but I am not sure he did it when
> using the Cyrus server. Has anyone ever seen any benchmarks for similar setups?
You need:
1. noatime
2. no "sync mounts" or "sync attributes" anywhere. Use a proper fs
instead.
3. A proper filesystem (ext2 and ext3 in default non-btree mode, aren't.
I doubt UFS is any better).
4. A properly configured Berkeley DB environment (although for some
reason, Cyrus seems to actually survive well without any config,
maybe the CMU crew override the defaults with something sane in
the bdb backend code. If you try the same with OpenLDAP, your server
will die an horrible death).
5. Use skiplist as the backend for the mailboxes and seen dbs.
--
"One disk to rule them all, One disk to find them. One disk to bring
them all and in the darkness grind them. In the Land of Redmond
where the shadows lie." -- The Silicon Valley Tarot
Henrique Holschuh
---
Home Page: http://asg.web.cmu.edu/cyrus
Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
More information about the Info-cyrus
mailing list