[Freeciv-Dev] Re: (PR#11562) Freeciv Server Performance
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
<URL: http://bugs.freeciv.org/Ticket/Display.html?id=11562 >
On Thu, 16 Dec 2004, Mike Kaufman wrote:
> <URL: http://bugs.freeciv.org/Ticket/Display.html?id=11562 >
>
> Observations:
>
> on the S2_0 and HEAD versions, there is an annoyingly long wait after game
> start but before con_prompt_init(). This may be the entire difference on
> 1 turn games.
>
> Sanity checking on game loading (by S2_0 and HEAD) found some savegame
> errors for the 2001 and 2101 games.
>
> Loading the game and rulesets are probably the majority of the time on 1
> turn games.
>
> In the later stages, S2_0 and HEAD are insanely slow compared to 1.14.2
> Taking 2 and 3 times as long is simply unacceptable.
>
> Waiting 30-40sec on turn done on a P4 is bad enough. I dare not see
> how pubserver handles this!
>
> Serious thought about optimization is warranted here.
Try -O3. It should boost the effects code by a whole lot, for one.
From your tests S2_0 is 3-4x slower than S1_14.
> If people have any patches or scripts they use to measure server
> performance, then by all means, post them here.
>
> If someone would like to post a recent profile, that would be nice too.
Compile the server with "-pg -g" and run it. After it terminates with
exit(0) as normal, run "gprof <executable-name>".
---
Vasco Alexandre da Silva Costa @ Instituto Superior Tecnico, Lisboa
- [Freeciv-Dev] Re: (PR#11562) Freeciv Server Performance, Per I. Mathisen, 2004/12/17
- [Freeciv-Dev] Re: (PR#11562) Freeciv Server Performance,
Vasco Alexandre da Silva Costa <=
- [Freeciv-Dev] Re: (PR#11562) Freeciv Server Performance, Jason Short, 2004/12/17
- [Freeciv-Dev] (PR#11562) Freeciv Server Performance, Jason Short, 2004/12/17
- [Freeciv-Dev] Re: (PR#11562) Freeciv Server Performance, Christian Knoke, 2004/12/17
- [Freeciv-Dev] Re: (PR#11562) Freeciv Server Performance, Jason Short, 2004/12/17
- [Freeciv-Dev] Re: (PR#11562) Freeciv Server Performance, Per I. Mathisen, 2004/12/22
- [Freeciv-Dev] Re: (PR#11562) Freeciv Server Performance, Per I. Mathisen, 2004/12/22
|
|