Re: [Freeciv-Dev] [patch #1733] increase maximal map size
On Sun, Jul 4, 2010 at 10:47 PM, Matthias Pfafferodt no-reply.invalid-addr...@gna.org wrote: Follow-up Comment #2, patch #1733 (project freeciv): - When playing with a lot of AI players with the largest map size, ending a turn takes quite a lot of time. That's the real problem. You could try to compile using '--enable-gprof' to get profiling data (see patch #1707). I do not know how to fix this ... I think in a memory-intensive program like freeciv you might get more accurate profiling data with something like oprofile with a sampling rate low enough not to disturb the CPU's cache too much. IIRC when I last did an oprofile on my PC (an old one!) something like 1/3 of client time was spent just picking the next unit to focus. I never got around to investigating the AI's cycle footprint. ___ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev
Re: [Freeciv-Dev] [patch #1733] increase maximal map size
Am Monday 05 July 2010 18:08:52 schrieb Bernd Jendrissek: On Sun, Jul 4, 2010 at 10:47 PM, Matthias Pfafferodt no-reply.invalid-addr...@gna.org wrote: Follow-up Comment #2, patch #1733 (project freeciv): - When playing with a lot of AI players with the largest map size, ending a turn takes quite a lot of time. That's the real problem. You could try to compile using '--enable-gprof' to get profiling data (see patch #1707). I do not know how to fix this ... I think in a memory-intensive program like freeciv you might get more accurate profiling data with something like oprofile with a sampling rate low enough not to disturb the CPU's cache too much. IIRC when I last did an oprofile on my PC (an old one!) something like 1/3 of client time was spent just picking the next unit to focus. I never got around to investigating the AI's cycle footprint. As this is mainly the server time I did run freeciv in autogame to produce some date. But you are right - it is quit slow ... Matthias ___ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev