Complete.Org: Mailing Lists: Archives: freeciv-dev: June 2002:
[Freeciv-Dev] Re: packet batches? (was: [Patch] Making city report list
Home

[Freeciv-Dev] Re: packet batches? (was: [Patch] Making city report list

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: Reinier Post <rp@xxxxxxxxxx>
Cc: freeciv development list <freeciv-dev@xxxxxxxxxxx>
Subject: [Freeciv-Dev] Re: packet batches? (was: [Patch] Making city report list faster)
From: Vasco Alexandre Da Silva Costa <vasc@xxxxxxxxxxxxxx>
Date: Tue, 11 Jun 2002 03:13:22 +0100 (WET DST)

On Mon, 10 Jun 2002, Reinier Post wrote:

> On Mon, Jun 10, 2002 at 08:38:47PM +0200, Christian Knoke wrote:
>
> > > It is indeed possible for a faster client (faster means here faster to
> > > push requests into the incoming socket buffer of the server) to get
> > > more requests executed per "cycle".
> >
> > But where is the advantage? Neither server cycles nor network volume
> > is a limited ressource. I still don't get it.
>
> I'm not sure about the CPU.  I said the AI takes time, which is true,
> but it doesn't interfere with packet processing.  But network volume
> is a serious factor.  I think the server still hangs when it transfers
> a big map to a player with a poor connection.

The client also is pretty inneficient. It does 2 gdk_draw_*() calls per
tile. That is very slow.

I need to look better at PACKET_PROCESSING started and friends.

> But perhaps it's not really a factor during normal gameplay.
> Besides, even when the server is changed to process incoming
> packets more fairly, clients can still cluster their moves.

---
Vasco Alexandre da Silva Costa @ Instituto Superior Tecnico, Lisboa





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