[Spice-devel] [master PATCH 2/2] server: netstat: send random data not zeros

Frédéric Grelot fredericg_99 at yahoo.fr
Wed Oct 19 11:41:23 PDT 2011


> > 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.
> >
> > Frederic.
> 
> Why should we do that? If we don't compress images well enough, and a
> WAN accelerator (or even if the channel is within SSL with
> compression
> enabled), let them reduce the bandwidth for us.
> Y.

Of course, but I proposed that only for the "bandwith estimation" phase, to avoid data compression at that time.
Still, if images are compressed by the WAN accelerator afterward, that may be a good thing to estimate bandwith with the compression.

Frederic.


More information about the Spice-devel mailing list