[Freeciv-Dev] [patch #1733] increase maximal map size

2010-07-10 Thread Matthias Pfafferodt

Update of patch #1733 (project freeciv):

  Status:  Ready For Test => Done   
 Open/Closed:Open => Closed 


___

Reply to this item at:

  

___
  Nachricht geschickt von/durch Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


Re: [Freeciv-Dev] [patch #1733] increase maximal map size

2010-07-05 Thread Matthias Pfafferodt
Am Monday 05 July 2010 18:08:52 schrieb Bernd Jendrissek:
> On Sun, Jul 4, 2010 at 10:47 PM, Matthias Pfafferodt
>
>  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


Re: [Freeciv-Dev] [patch #1733] increase maximal map size

2010-07-05 Thread Bernd Jendrissek
On Sun, Jul 4, 2010 at 10:47 PM, Matthias Pfafferodt
 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


[Freeciv-Dev] [patch #1733] increase maximal map size

2010-07-04 Thread Matthias Pfafferodt

Follow-up Comment #2, patch #1733 (project freeciv):

> - The largest possible map size works great in single-player
> mode. 

Good ;-) But saving is another problem; see my comment to patch #1728.
Perhaps you could solve the problems with saving/loading the new player data.
I had to revert the patch.

> - The overview map should probably be clipped or scaled to fit
> large maps. 

It is at the smallest possible size (IMHO on pixel for each tile). So another
solution is needed.

> - 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 ...

___

Reply to this item at:

  

___
  Nachricht geschickt von/durch Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


[Freeciv-Dev] [patch #1733] increase maximal map size

2010-07-04 Thread AndreasR

Follow-up Comment #1, patch #1733 (project freeciv):

I have quickly tested this patch. Thanks for making this change so quickly.
Here's my feedback:

- The largest possible map size works great in single-player mode.
- The overview map should probably be clipped or scaled to fit large maps.
- When playing with a lot of AI players with the largest map size, ending a
turn takes quite a lot of time.

___

Reply to this item at:

  

___
  Message sent via/by Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


[Freeciv-Dev] [patch #1733] increase maximal map size

2010-07-04 Thread Matthias Pfafferodt

URL:
  

 Summary: increase maximal map size
 Project: Freeciv
Submitted by: syntron
Submitted on: Sonntag 04.07.2010 um 21:57
Category: general
Priority: 5 - Normal
  Status: Ready For Test
 Privacy: Public
 Assigned to: syntron
Originator Email: 
 Open/Closed: Open
 Discussion Lock: Any
 Planned Release: 2.3.0

___

Details:

increase maximal map size to 128.000 tiles (max linear width: 1024)

change to the network protocol

please test it! especially different settings for the map generator



___

File Attachments:


---
Date: Sonntag 04.07.2010 um 21:57  Name:
20100704-01-trunk-increase-maximal-map-size-to-128.000-tiles-max-line.patch 
Size: 3kB   By: syntron



___

Reply to this item at:

  

___
  Nachricht geschickt von/durch Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev