Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Sun, 3 Nov 2002 22:02:45 +0300
From: Solar Designer <solar@...nwall.com>
To: popa3d-users@...ts.openwall.com
Subject: Re: performance under solaris

On Sun, Nov 03, 2002 at 07:25:09AM -0600, J.D. Bronson wrote:
> It is a little hard to describe, but basically when we use qpopper and have 
> a sizable mail spool file, it is 'popped' down very fast and continously 
> flowing.
> 
> However, with popa3d I see pauses (although not of any duration to speak of)
> when grabbing this same exact mail spool file.  grab-pause-grab-pause and 
> so on...

How long are the pauses?

What network equipment is in use between the server and the client?
What bandwidth?  What client OS?

> I was therefore wondering if there are any suggestions with buffer 
> adjustments (?) or similar within the params.h file to improve my 
> performance.

Well, this sounds like a networking problem, so you may try one of the
following:

1. Investigate and solve it.  tcpdump may be helpful.  You may post
some details in here (but please keep your message size under 10 KB),
such that me or others might be able to help.

2. Try to workaround it by reducing buffer size to be under MTU.  Set
RETR_BUFFER_SIZE to be less than half your MTU, say, to 700 bytes.
(The "less than half" is because content may be at worst doubled by
LF -> CRLF expansion.)

You may first try the latter to confirm the problem as MTU-related,
then go for the former to really solve it.

Of course, the smaller buffer size is less efficient.

-- 
/sd

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.