Complete.Org: Mailing Lists: Archives: freeciv-dev: June 2002:
[Freeciv-Dev] Re: CMA passes back control without reason (PR#1505)
Home

[Freeciv-Dev] Re: CMA passes back control without reason (PR#1505)

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] Re: CMA passes back control without reason (PR#1505)
From: Christian Knoke <chrisk@xxxxxxxx>
Date: Mon, 3 Jun 2002 11:09:59 +0200

On Sun, Jun 02, 2002 at 11:30:34PM +0200, Raimar Falke wrote:
> On Sun, Jun 02, 2002 at 08:36:54PM +0200, Christian Knoke wrote:
> > On Sun, Jun 02, 2002 at 08:11:11PM +0200, Raimar Falke wrote:
> > > On Mon, May 27, 2002 at 12:47:52AM +0200, Raimar Falke wrote:
> > > > > > > After restart, CMA retreats for a bunch of cities.
> > > > > > > When I go to city report, I can (re)activate the CMA
> > > > > > > for the exact preferences which I saved just before.
> > > 
> > > This isn't a bug.
> > > 
> > > > Yes attributes (which are used by the CMA to store things) currently
> > > > get only submit at turn done. It is possible also to submit them at
> > > > every change but this wasn't necessary yet.
> > > 
> > > Comments? Sending attributes more often will cause more bandwidth
> > > usage but will also prevent loss of data if the client
> > > aborts/disconnects/crashs.
> > 
> > I'm for it, rather. But how much bandwith? If I change 30 cities,
> > does it send all attributes 30 times? :-(
> 
> A lot. You need about 153 bytes/city. So you currently need 4.6kb per
> turn for 30 CMA controlled cities. Note that every movement of the
> slider in the frontend sets the attributes and so will cause 4.6kb to
> be transmitted.

So, if I change all my cities in the city report (I do this
regularly), I suppose 4.6kb * 30 = 138kb will be transmitted.
This takes at least 43 seconds with my modem ... :-((

Christian

-- 
Christian Knoke     * * *      http://www.enter.de/~c.knoke/
* * * * * * * * *  Ceterum censeo Microsoft esse dividendum.



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