[Freeciv-Dev] Re: [Patch][RFC] Reduce superfluous tile_info packets
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
--- Raimar Falke <hawk@xxxxxxxxxxxxxxxxxxxxxxx> wrote:
> On Wed, Oct 24, 2001 at 05:51:12PM -0700, Raahul Kumar wrote:
> Amount of bytes goes down to 9.7%
>
Excellent work. It looks like you have cut out most of the fat from the packet
code.
> > > 2: transmitted 185739 bytes in 6000 packets;average size per packet 30
> bytes
>
> Amount of bytes goes down to 34.7%
>
> > Impressive. What about throught out the game? I suspect your patch should
> > reduce the amount of packets overall. It would be nice to see a graph
> > of total amount of packets sent before and packets after.
>
> I won't collect the numbers for various stages of the game. This is
> burdensome and quite useless IMHO. However I can give another data
> point (same as above but with more turns):
>
> without patch:
> 2: [ 7]: 87708 packets; 789372 bytes total; 9 bytes/packet average
> 2: received 1091048 bytes in 92000 packets;average size per packet 11 bytes
>
> with patch:
> 2: [ 7]: 4251 packets; 38259 bytes total; 9 bytes/packet average
>
> Amount of bytes goes down to 4.8%
>
> 2: received 304028 bytes in 8000 packets;average size per packet 38 bytes
>
> Amount of bytes goes down to 27.8%
>
> So this will yield better result with longer games.
>
I quite like that. It's a good thing packets sent are being reduced considering
that when the CMA goes into CVS, the total amount of packets sent is going to
increase dramatically. A client side ai is always going to send far more
packets
than a server side one. Maybe bzip2 should be considered.
> With the patch the packet type which uses the most bytes is city_info:
>
> 2: [11]: 42 packets; 48474 bytes total; 1154 bytes/packet average
>
> Raimar
>
> --
> email: rf13@xxxxxxxxxxxxxxxxx
> "Life is too short for reboots."
>
__________________________________________________
Do You Yahoo!?
Make a great connection at Yahoo! Personals.
http://personals.yahoo.com
- [Freeciv-Dev] [Patch][RFC] Reduce superfluous tile_info packets, Raimar Falke, 2001/10/24
- [Freeciv-Dev] Re: [Patch][RFC] Reduce superfluous tile_info packets, Jason Dorje Short, 2001/10/24
- [Freeciv-Dev] Re: [Patch][RFC] Reduce superfluous tile_info packets, Raahul Kumar, 2001/10/24
- [Freeciv-Dev] Re: [Patch][RFC] Reduce superfluous tile_info packets, Raimar Falke, 2001/10/25
- [Freeciv-Dev] Re: [Patch][RFC] Reduce superfluous tile_info packets, Karl-Ingo Friese, 2001/10/25
- [Freeciv-Dev] Re: [Patch][RFC] Reduce superfluous tile_info packets,
Raahul Kumar <=
- [Freeciv-Dev] Re: [Patch][RFC] Reduce superfluous tile_info packets, Raimar Falke, 2001/10/25
- [Freeciv-Dev] Re: [Patch][RFC] Reduce superfluous tile_info packets, Raahul Kumar, 2001/10/25
- [Freeciv-Dev] Re: [Patch][RFC] Reduce superfluous tile_info packets, Michael Stefaniuc, 2001/10/25
- [Freeciv-Dev] Re: [Patch][RFC] Reduce superfluous tile_info packets, Raahul Kumar, 2001/10/25
- [Freeciv-Dev] Re: [Patch][RFC] Reduce superfluous tile_info packets, Jason Dorje Short, 2001/10/25
- [Freeciv-Dev] Re: [Patch][RFC] Reduce superfluous tile_info packets, Raahul Kumar, 2001/10/25
- [Freeciv-Dev] Re: [Patch][RFC] Reduce superfluous tile_info packets, Raimar Falke, 2001/10/26
- [Freeciv-Dev] Re: [Patch][RFC] Reduce superfluous tile_info packets, Reinier Post, 2001/10/26
- [Freeciv-Dev] Re: [Patch][RFC] Reduce superfluous tile_info packets, Raimar Falke, 2001/10/26
- [Freeciv-Dev] Re: [Patch][RFC] Reduce superfluous tile_info packets, Raahul Kumar, 2001/10/26
|
|