[Freeciv-Dev] Bandwidth
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
Based on the data I got from Thomas Strub it is possible to calculate
the overhead of the recent request id changes:
2: transmitted 134157 bytes in 5020 packets;average size per packet 26 bytes
2: received 11512355 bytes in 277000 packets;average size per packet 41 bytes
total bandwidth=a=134157+11512355=11646512
request id overhead=b=6 bytes/request * 5020 requests=30120
relative overhead=a/(a-b)=1.00259288=0.26%
I have also instrumented the tile_info packets. The results are
frightening. In a normal game starting from scratch:
2: all=2800 new=1164 changed=1494 {type=0, special=36, known=1458} no-change=142
In a loaded game
<http://civserver.freeciv.org/games/21679/civgame.sav.gz>, just after
the game ist started:
2: all=8000 new=4000 changed=0 {type=0, special=0, known=0} no-change=4000
So the whole map is sent twice!
After pressing 9 times the next year button:
2: all=100000 new=4000 changed=125 {type=3, special=54, known=68}
no-change=95875
So 95% percent of the tile_info packets sent to the client provide the
client with no extra information.
Raimar
--
email: rf13@xxxxxxxxxxxxxxxxx
"Windows is the one true OS. MS invented the GUI. MS invented
the 32 bit OS. MS is open and standard. MS loves you. We have
always been at war with Oceana."
diff
Description: Text document
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Freeciv-Dev] Bandwidth,
Raimar Falke <=
|
|