Complete.Org: Mailing Lists: Archives: freeciv-dev: August 2003:
[Freeciv-Dev] Re: (PR#5081) huge send buffer
Home

[Freeciv-Dev] Re: (PR#5081) huge send buffer

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: chrisk@xxxxxxxxx
Subject: [Freeciv-Dev] Re: (PR#5081) huge send buffer
From: "kersten@xxxxxxxxxx" <kersten@xxxxxxxxxx>
Date: Wed, 13 Aug 2003 23:08:05 -0700
Reply-to: rt@xxxxxxxxxxxxxx

On Wed, 13 Aug 2003, Vasco Alexandre da Silva Costa wrote:

> 
> On Wed, 13 Aug 2003, Christian Knoke wrote:
> 
> >
> > CVS 13 AUG 2003 GTK 1
> >
> > big game, slow machine, one player client, two observer clients.
> >
> > at turn done, I kill both observer clients:
> >
> > Spiel gespeichert als 'carthago+1730.sav.gz'
> > >
> > 2: Verbindung verloren: peter von localhost (Spieler John A. MacDonald)
> > (Beobachter).
> > >
> > 2: Verbindung verloren: paul von localhost (Spieler Charlemagne)
> > (Beobachter).
> > >
> > 2: Verbindung verloren: paul von localhost (Verbindung unvollständig).
> > >
> > 1: cut connection paul von localhost (Verbindung unvollständig) due to huge
> > send buffer (2)
> 
> Basically, for whatever reason, that client was not receiving fast enough.
> We limit the size of the send buffers in order to not waste too much
> memory in the server. No, they are not statically allocated.
> 
> ---
> Vasco Alexandre da Silva Costa @ Instituto Superior Tecnico, Lisboa
> 

Same with me here: large game, no observers, fast machine, server running 
on localhost; client takes forever to display the movements of all units. 
In the first part of the move they crawl, then suddenly they speed up. The 
machine takes 100% CPU. That's a lot. The server disconnects the client 
almost every turn due to ping timeouts. Restarting the client from scratch 
speeds things up, reconnecting from the existing client makes it worse. 
After a few turns the cycle restarts. Memory consumage rises as well. I'm 
using the GTK 2.0 client.

Any clues?
-- 
Pieter J. Kersten




[Prev in Thread] Current Thread [Next in Thread]