[Dovecot] speed up dovecot IMAP server

Hello,
I upgraded my dovecot server (1.2 -> 2.1), from debian
backport because it was a little slow (wait 5-6 sec) when I opened some
mail (but not every mail).
Unfortunately, the mail open speed didn''t
increase.
I think it''s an index problem.
Have you idea for fixing?
My
conf:
http://pastebin.com/FNLusi51 [1]
(HP Microserver with 6 Gbyte
RAM - entry level server with small load and small (max. 40) concurrent
connection)
Best regards,
Gabor
Links:
------
[1]
http://pastebin.com/FNLusi51

[Dovecot] speed up dovecot IMAP server

On 1/14/2013 4:36 AM, Bernics G?bor | Penta Uni? Zrt. wrote:

> I upgraded my dovecot server (1.2 -> 2.1), from debian
> backport because it was a little slow (wait 5-6 sec) when I opened some
> mail (but not every mail).
> Unfortunately, the mail open speed didn''t
> increase.
> I think it''s an index problem.
> Have you idea for fixing?

You have provided insufficient detail to troubleshoot a performance
problem of this nature. Do note the latency could very well be an issue
with Kmail and not Dovecot.
Did you performed any troubleshooting, any investigation, of your own,
before upgrading to 2.1.7?
--
Stan

[Dovecot] speed up dovecot IMAP server

Hello stan
"Did you performed any troubleshooting, any investigation, of your own,
before upgrading to 2.1.7?"
Yes, I try this:
http://wiki.dovecot.org/PerformanceTuning
If fsync disabled speed up a litle, but it''s not secure permanently.
"Do note the latency could very well be an issue with Kmail and not
Dovecot."
Kmail?
I use Roundcube and Thunderbird.
Typical load: < 0.5
Memory usage: 1.2 Gbyte of 6 Gbyte (Can I increase cache memory size
for Dovecot?)
IOtop Disk read: < 1.200 k/sec
Gabor
2013-01-14 20:00 id?pontban Stan Hoeppner ezt ?rta:

> On 1/14/2013 4:36 AM, Bernics G?bor | Penta Uni? Zrt. wrote:
>
>> I upgraded my dovecot server (1.2 -> 2.1), from debian backport
because it was a little slow (wait 5-6 sec) when I opened some mail (but not
every mail). Unfortunately, the mail open speed didn''t increase. I
think it''s an index problem. Have you idea for fixing?
>
> You have provided insufficient detail to troubleshoot a performance
> problem of this nature. Do note the latency could very well be an issue
> with Kmail and not Dovecot.
>
> Did you performed any troubleshooting, any investigation, of your own,
> before upgrading to 2.1.7?

No, but you should change to:
mmap_disable=no
and add:
maildir_very_dirty_syncs=yes
which should help a bit. You''re already indexing with lmtp and using
sieve, so your indexes ''should'' be current.
However, you said the delay is in opening individual messages, not
siimply listing them, which doesn''t involve the indexes, but the
message
files. If this happens with Tbird but not RC it may be a duplex
mismatch or other network issue. If it happens with both then there''s
something else going on, maybe with Dovecot, maybe with Linux, maybe
with the disk or disk controller.
Do you have any errors in your Dovecot log files? How about disk
related errors in dmesg? Tbird activity manager?
You''re not giving us enough information upon which to troubleshoot.
--
Stan

[Dovecot] speed up dovecot IMAP server

> On 1/23/2013 2:59 AM, Bernics G?bor | Penta Uni? Zrt. wrote:
>
>> I use Roundcube and Thunderbird.
>
> Do both clients experience the 5-6 second delay?
>
>> Memory usage: 1.2 Gbyte of 6 Gbyte (Can I increase cache memory size
for Dovecot?)
>
> No, but you should change to:
>
> mmap_disable=no
>
> and add:
>
> maildir_very_dirty_syncs=yes
>
> which should help a bit. You''re already indexing with lmtp and
using
> sieve, so your indexes ''should'' be current.
>
> However, you said the delay is in opening individual messages, not
> siimply listing them, which doesn''t involve the indexes, but the
message
> files. If this happens with Tbird but not RC it may be a duplex
> mismatch or other network issue. If it happens with both then
there''s
> something else going on, maybe with Dovecot, maybe with Linux, maybe
> with the disk or disk controller.
>
> Do you have any errors in your Dovecot log files? How about disk
> related errors in dmesg? Tbird activity manager?
>
> You''re not giving us enough information upon which to
troubleshoot.