Complete.Org: Mailing Lists: Archives: freeciv-dev: December 2004:
[Freeciv-Dev] Re: (PR#11562) Freeciv Server Performance

[Freeciv-Dev] Re: (PR#11562) Freeciv Server Performance

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: kaufman@xxxxxxxxxxxxxxxxxxxxxx
Subject: [Freeciv-Dev] Re: (PR#11562) Freeciv Server Performance
From: "Jason Short" <jdorje@xxxxxxxxxxxxxxxxxxxxx>
Date: Fri, 17 Dec 2004 13:55:40 -0800
Reply-to: bugs@xxxxxxxxxxx

<URL: >

Christian Knoke wrote:
> <URL: >
> On Fri, Dec 17, 2004 at 12:02:46PM -0800, Jason Short wrote:
>><URL: >
>>Attached is a profile and a savegame which created it.
> You forgot the profile.

RT rejected it (too big).  I gzipped it and attached it separately.  See 
also which is the same 
game I think.

Right now I'm looking most closely at the auto_arrange_workers call in 
update_city_tile_status().  This is called any time an enemy unit makes 
a worked tile unavailable.  This call seems to account for 2/3 of the 
aaw calls and 20% of the overall server runtime.  This call is 
fundamentally unnecessary, but fixing it isn't that easy.  However a 
simple greedy algorithm to move a SINGLE worker would be the best way to 
fix it (currently we place all workers from scratch).


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