[Spice-devel] [master PATCH 2/2] server: netstat: send random data not zeros
fredericg_99 at yahoo.fr
Wed Oct 19 04:42:30 PDT 2011
> That seems like a good idea.
> Note that if the first image is not compressed, we may have a similar
> with WAN accelerators. Also maybe it is better to always compress it.
> This random buffer was intended as a quick fix.
> In the long run, we would like to measure network statistics
> dynamically, e.g.
> when sending large images (as you suggested for the first one).
That may be overkill, but you could also "scramble" it by xoring it with a randomly generated sequence (and send the seed to the client to allow him to reproduce the sequence). The only overhead would thus be the seed.
By the way, that could be applied to any message, not necessarily the first image.
More information about the Spice-devel