Complete.Org: Mailing Lists: Archives: freeciv-dev: November 2002:
[Freeciv-Dev] Re: (PR#2316) Reduce bandwith take 3
Home

[Freeciv-Dev] Re: (PR#2316) Reduce bandwith take 3

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: undisclosed-recipients:;
Subject: [Freeciv-Dev] Re: (PR#2316) Reduce bandwith take 3
From: "Raimar Falke via RT" <rt@xxxxxxxxxxxxxx>
Date: Fri, 15 Nov 2002 06:45:32 -0800
Reply-to: rt@xxxxxxxxxxxxxx

On Fri, Nov 15, 2002 at 06:17:18AM -0800, Raimar Falke via RT wrote:
Final overview:

current:
2: turn=171; transmitted 132433 bytes in 7452 packets;average size per packet 
17 bytes
2: turn=172; transmitted 17262 bytes in 206 packets;average size per packet 83 
bytes
2: turn=173; transmitted 16064 bytes in 193 packets;average size per packet 83 
bytes
2: turn=174; transmitted 16590 bytes in 189 packets;average size per packet 87 
bytes
2: turn=175; transmitted 15030 bytes in 179 packets;average size per packet 83 
bytes
2: turn=176; transmitted 15583 bytes in 185 packets;average size per packet 84 
bytes
2: turn=177; transmitted 15993 bytes in 186 packets;average size per packet 85 
bytes
2: turn=178; transmitted 14443 bytes in 184 packets;average size per packet 78 
bytes
2: turn=179; transmitted 15720 bytes in 187 packets;average size per packet 84 
bytes

delta:
2: turn=171; transmitted 91213 bytes in 4167 packets;average size per packet 21 
bytes
2: turn=172; transmitted 3655 bytes in 117 packets;average size per packet 31 
bytes
2: turn=173; transmitted 2237 bytes in 90 packets;average size per packet 24 
bytes
2: turn=174; transmitted 1797 bytes in 80 packets;average size per packet 22 
bytes
2: turn=175; transmitted 1324 bytes in 75 packets;average size per packet 17 
bytes
2: turn=176; transmitted 1516 bytes in 74 packets;average size per packet 20 
bytes
2: turn=177; transmitted 2329 bytes in 82 packets;average size per packet 28 
bytes
2: turn=178; transmitted 1196 bytes in 71 packets;average size per packet 16 
bytes
2: turn=179; transmitted 1534 bytes in 79 packets;average size per packet 19 
bytes

So for the data during the game there is a reduction of a factor
4.7-12.

Share of the chat messages at the total traffic:

2:       24     1675       69 PACKET_CHAT_MSG(13)
2: turn=172; transmitted 3655 bytes in 117 packets;average size per packet 31 
bytes
2:       12      854       71 PACKET_CHAT_MSG(13)
2: turn=173; transmitted 2237 bytes in 90 packets;average size per packet 24 
bytes
2:       11      596       54 PACKET_CHAT_MSG(13)
2: turn=174; transmitted 1797 bytes in 80 packets;average size per packet 22 
bytes
2:        8      485       60 PACKET_CHAT_MSG(13)
2: turn=175; transmitted 1324 bytes in 75 packets;average size per packet 17 
bytes
2:        7      381       54 PACKET_CHAT_MSG(13)
2: turn=176; transmitted 1516 bytes in 74 packets;average size per packet 20 
bytes
2:       12      828       69 PACKET_CHAT_MSG(13)
2: turn=177; transmitted 2329 bytes in 82 packets;average size per packet 28 
bytes
2:        6      343       57 PACKET_CHAT_MSG(13)
2: turn=178; transmitted 1196 bytes in 71 packets;average size per packet 16 
bytes
2:        7      399       57 PACKET_CHAT_MSG(13)
2: turn=179; transmitted 1534 bytes in 79 packets;average size per packet 19 
bytes

Also the GAME_INFO packets are a problem:
2:        1      640      640 PACKET_GAME_INFO(111)
2:        3      827      275 PACKET_GAME_INFO(111)
2:        3      427      142 PACKET_GAME_INFO(111)
2:        2      220      110 PACKET_GAME_INFO(111)
2:        1       13       13 PACKET_GAME_INFO(111)
2:        2      220      110 PACKET_GAME_INFO(111)
2:        2      620      310 PACKET_GAME_INFO(111)
2:        1       13       13 PACKET_GAME_INFO(111)
2:        2      220      110 PACKET_GAME_INFO(111)

if global_advances changes the full 200 bytes are transfered.

        Raimar

-- 
 email: rf13@xxxxxxxxxxxxxxxxx
  (On the statement print "42 monkeys"+"1 snake"): BTW, both perl and Python
  get this wrong. Perl gives 43 and Python gives "42 monkeys1 snake", when 
  the answer is clearly "41 monkeys and 1 fat snake".  
    -- Jim Fulton, 10 Aug 1999



[Prev in Thread] Current Thread [Next in Thread]