On Mon, 10 Mar 2003, Ketil Froyn wrote: > On Mon, 10 Mar 2003, Moe Wibble wrote: > > > I actually liked it so much that I attempted to migrate our cyrus > > imap-server to bincimap today. Unfornationally, after spending a couple > > hours on converting the cyrus database to something maildir-like, > > I was very disappointed by bincimaps poor performance on large folders. > > > > Is it really that slow or is it my fault? > > > > Opening a folder with ~12000 mails takes over 10min to complete and > > bincimap pretty much clogs up the machine while doing so.
Was that the first time, or every time? Most imap daemons will be slow the first time a folder is accessed, as it calculates various information which is cached for subsequent use. There's also client side caching to consider - the new daemon will probably have a new uidvalidity value, so the client will invalidate its own message cache. > What filesystem do you have? If you are running ext2, for instance, I'm > not surprised. For maildir to be fast, you need a fast filesystem, like > reiserfs, which uses a B* tree to organise files. I personally have > folders with several thousand mails in each (around 5k at the most), and > I'm not waiting long :) Linear search of directories will matter, but should be swamped by message file access time when the folder is first accessed. -- Charlie

