9 Feb 2006 11:26
slow IMAP data transfer
Juris Orlovs <jollyroger <at> one.lv>
2006-02-09 10:26:40 GMT
2006-02-09 10:26:40 GMT
Hello
I'm trying to set up Cyrus IMAP on freebsd 6.0, but i have problems with performance of it. There is a big issue
with message writing to IMAP folders and also with reading a large quantities of messages. Reading of 8MB
message takes a bit less than a second, but in that time 8MB message write to IMAP folder over 100Mbit/s
connection takes ~6 seconds longer. Also, as I am only one by now who uses this server there could be no
chance of big resouce utilization.
Reading/writing ~650 messages, each 1KB) from/to imap folder sends huge amounts of data to RAID 1 arrays.
It can be seen using an iostat in that process.
Hardware (2x 3GHx Xeon, 2GB RAM, Adaptec 2410SA,
2x WD RAPTOR 74GB (aacd0)(system), 2x SEAGATE 300GB (aacd1)(mail storage))
Before that I was setting up Cyrus IMAP mail servers on Linux and there was no such problems. Maybe it's OS
issue? I also have set up such system on Celeron 800MHz, 256MB RAM and 80GB SEAGATE (FreeBSD 4.11), the
results are aproximately the same.
For SMTP i'm using Postfix, and it also shows bad results on data transfer. Seems that the biggest problems I
have with mail software, because other services like FTP doesn't show such bad results.
--------------------------------------------------------------------
READING 650 messages
--------------------------------------------------------------------
mx# iostat -Iw 3
tty aacd0 aacd1 cpu
tin tout KB/t xfrs MB KB/t xfrs MB us ni sy in id
0 50 17.54 390334 6687.51 22.46 296070 6492.93 0 0 0 0 100
0 64 16.00 41 0.64 16.00 1 0.02 0 0 0 0 100
0 20 13.00 8 0.10 0.00 0 0.00 1 0 0 0 99
0 20 0.00 0 0.00 0.00 0 0.00 0 0 0 0 100
(Continue reading)
RSS Feed