[Spice-devel] [master PATCH 1/2] server: netstat: modify network bandwidth calculation
gianluca.cecchi at gmail.com
Tue Oct 18 14:32:51 PDT 2011
On Tue, Oct 18, 2011 at 8:03 PM, Alon Levy wrote:
> On Tue, Oct 18, 2011 at 07:20:14PM +0200, Uri Lublin wrote:
>> Currently spice-server network bandwidth estimation is:
>> send an empty ping packet to the client (and ignore it) ("warmup")
>> send an empty ping packet and calculate time till pong is received ("latency")
>> send a ping packet with data (256KB) and calculate time till pong ("roundtrip")
>> bandwidth = datasize / (roundtip - latency)
Just for curiosity... what are this calculations used for?
What practical effects could have the erroneous calculation until now...?
More information about the Spice-devel