[Spice-devel] [master PATCH 1/2] server: netstat: modify network bandwidth calculation
Uri Lublin
uril at redhat.com
Wed Oct 19 04:46:05 PDT 2011
On 10/18/2011 11:53 PM, Yaniv Kaul wrote:
> On 18/10/2011 19:20, Uri Lublin wrote:
>> Currently spice-server network bandwidth estimation is:
>> send an empty ping packet to the client (and ignore it) ("warmup")
>
> Useless. 'warmup' of what exactly? The TCP MSS and everything else is already
> set by the TCP handshake and the RED initial connection packets.
I think this packet purpose is to wake up the client if it's idle, so the client
overhead of PONGing back would be smaller.
>> send an empty ping packet and calculate time till pong is received ("latency")
>
> And now this can be dropped as well, if it's now used, right?
It doesn't take much to send an empty spice ping packet, a few bytes.
I guess both 'warmup' and 'latency' can be dropped, in the future. We need to
rethink the way we measure bandwidth, and do more testing to see how those
changes affect network statistic results in different network/load configurations.
More information about the Spice-devel
mailing list