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:17:18 -0800
Reply-to: rt@xxxxxxxxxxxxxx

On Fri, Nov 15, 2002 at 05:49:48AM -0800, Raimar Falke via RT wrote:
> > I also note that apart from the first turn, the number of packets that are
> > not sent (ie discarded) in delta version is actually very small.
> 
> Mhh yes. The number was bigger in the previous version. The error is
> in the fold-bool-into-the-header: if the bool is set this is treated
> is a change (but it isn't).

Delta with no bool-header-folding:
2: turn=171; transmitted 91463 bytes in 4167 packets;average size per packet 21 
bytes
2: turn=172; transmitted 3657 bytes in 117 packets;average size per packet 31 
bytes
2: turn=173; transmitted 2241 bytes in 90 packets;average size per packet 24 
bytes
2: turn=174; transmitted 1801 bytes in 80 packets;average size per packet 22 
bytes

Delta with new fixed bool-header-folding:
2: turn=171; transmitted 91214 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

Not much to gain during the game because the bool fields doesn't
change. Some (200bytes) can be gained during the startup (all bool
which are set to TRUE).

        Raimar

-- 
 email: rf13@xxxxxxxxxxxxxxxxx
 "The two rules for success in life are:
  1) Never tell them everything you know."



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