Re: [BUG] list implementation too slow.

Aarno Syvänen <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Organization Wiral Ltd
Message-ID <[email protected]>
Hi,
Hi, 

Kalle Marjola wrote:
> 
> On Thu, 21 Mar 2002, Oded Arbel wrote:
> 
> > I think this problem occurs as the bearerbox can't send messages as fast
> > as they are delivered (probably due to a large burst and then sustained
> > high load). I see messages queued on the module's queue, and then it
> > slows doesn the module more, so it can handle less messages (while high
> > load continues) and so the queue grows longer.
> 
> The solution to this is to fix all code so that outgoing messages
> have higher priority than incoming ones, i.e. do not read anything
> from bufefrs before outgoing messages have been sent. NOTE: You need
> to set conn() buffer size, otherwise this does not help as things
> get added to its internal buffer... I did this for my modified
> version and got rid of growing size (in memory) and slowdown.
> 
> (however, I do not know how SMSC would react if the socket gets filled up
>  because the other end is not reading it fast enough..)

If one Kannel cannot handle the traffic, we must use many of them (many
bearer-
boxes) in an array. But problem here is the slowdown: Kannel start with
very
good 350 msg/s but after an hour does only 50 msg/s. And bearerbox grabs
about
half of the memory :( 

Aarno
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.