2 messages in net.sourceforge.lists.courier-users[courier-users] Improving the perform...
FromSent OnAttachments
Nat SakimuraMar 20, 2005 3:28 am 
Sam VarshavchikMar 20, 2005 6:29 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:[courier-users] Improving the performance of pop3dserver.cActions...
From:Nat Sakimura (saki@marimba.org)
Date:Mar 20, 2005 3:28:31 am
List:net.sourceforge.lists.courier-users

I received a message from one of www.courier-mta.jp user that suggests some performance improvement point for pop3dserver.c.

According to him, by replacing the getc processings in RETR command by read, the performance improved quite a bit. This probably is due to the fact that getc I/Os for each characters while using read, one can do buffered read. Testing by a simple sample program suggested almost 2000% performance improvement for read over the getc.

Unless there is specific reason for not doing that, he is also willing to provide the modified source. He was wondering if simlar thing can also be done for IMAP.

Your imput will be most welcome.

Nat