I/O token scheduling?
Any ideas how I can keep the number of I/O tokens taken by IMAP down to a reasonable level? (That is, apart from hitting the other half with a clue stick
4 Replies
Are you sure its accessing the mailbox thats using up IO tokens, and not swap thrashing?
I use squirrelmail/courier imap and don't notice problems even accessing large mailboxes (opening a folder with 1000 messages brings me down ~2000 io tokens). People on these forums have reported even better performance with the dovecot IMAP server.
Any hacks that limit the IO usage are going to slow your webmail down a lot, as well as any other services your box runs, so I don't recommend that really.
At work we use prayer which uses persistent connections to the IMAP server, which should also help lower your IO usage if you are using UW-IMAP as I suspect.
You'll neeed to build it yourself though…