[Freeciv-Dev] [Patch][RFC] Reduce superfluous tile_info packets
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
The attached patch is a rough first version of a patch which change
the server to only sent tile information if this information has
really changed.
Test: loading a normal game (1600AD) and pressing three times return.
Results (packet type 7 is tile info):
without patch:
2: [ 7]: 41882 packets; 376938 bytes total; 9 bytes/packet average
2: transmitted 534864 bytes in 44000 packets;average size per packet 12 bytes
with patch:
2: [ 7]: 4076 packets; 36684 bytes total; 9 bytes/packet average
2: transmitted 185739 bytes in 6000 packets;average size per packet 30 bytes
Note that 4000 packets are needed at the start to transfer all tiles
to the client. The human player has the Apollo Program.
Raimar
--
email: rf13@xxxxxxxxxxxxxxxxx
"With a PC, I always felt limited by the software available.
On Unix, I am limited by my knowledge."
-- Peter J. Schoenster <pschon@xxxxxxxxxxxxxxxxx>
change_field1.diff
Description: Text document
- [Freeciv-Dev] [Patch][RFC] Reduce superfluous tile_info packets,
Raimar Falke <=
- [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, 2001/10/25
- [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
|
|