* Wei Wang (wei.w.w...@intel.com) wrote:
> On 06/05/2020 12:57 AM, Richard Henderson wrote:
> > On 6/4/20 3:27 AM, Wei Wang wrote:
> > > On 06/04/2020 05:38 PM, Dr. David Alan Gilbert wrote:
> > > > Hmm OK; I'll admit to not liking NaN/Inf in output.
> > > >
> > > > Dave
> > > >
> > > OK. To deal
On 06/05/2020 12:57 AM, Richard Henderson wrote:
On 6/4/20 3:27 AM, Wei Wang wrote:
On 06/04/2020 05:38 PM, Dr. David Alan Gilbert wrote:
Hmm OK; I'll admit to not liking NaN/Inf in output.
Dave
OK. To deal with the reported issue, how about using FLT_MAX (as opposed to
UINT64_MAX or inf):
x
On 6/4/20 3:27 AM, Wei Wang wrote:
> On 06/04/2020 05:38 PM, Dr. David Alan Gilbert wrote:
>> Hmm OK; I'll admit to not liking NaN/Inf in output.
>>
>> Dave
>>
>
> OK. To deal with the reported issue, how about using FLT_MAX (as opposed to
> UINT64_MAX or inf):
> xbzrle_counters.encoding_rate = FL
On 06/04/2020 05:38 PM, Dr. David Alan Gilbert wrote:
* Richard Henderson (richard.hender...@linaro.org) wrote:
On 6/3/20 7:58 PM, Wei Wang wrote:
It is possible that encoded_size==0, but unencoded_size !=0. For example,
a page is written with the same data that it already has.
That really con
* Richard Henderson (richard.hender...@linaro.org) wrote:
> On 6/3/20 7:58 PM, Wei Wang wrote:
> > It is possible that encoded_size==0, but unencoded_size !=0. For example,
> > a page is written with the same data that it already has.
>
> That really contains 0 bytes?
> Not even the ones that say
On 06/04/2020 11:22 AM, Richard Henderson wrote:
On 6/3/20 7:58 PM, Wei Wang wrote:
It is possible that encoded_size==0, but unencoded_size !=0. For example,
a page is written with the same data that it already has.
That really contains 0 bytes?
Not even the ones that say "same data"?
Yes. It
On 6/3/20 7:58 PM, Wei Wang wrote:
> It is possible that encoded_size==0, but unencoded_size !=0. For example,
> a page is written with the same data that it already has.
That really contains 0 bytes?
Not even the ones that say "same data"?
You certainly have a magical compression algorithm there
On 06/04/2020 03:28 AM, Richard Henderson wrote:
On Wed, 29 Apr 2020 at 18:54, Wei Wang wrote:
+if (xbzrle_counters.pages == rs->xbzrle_pages_prev) {
+xbzrle_counters.encoding_rate = 0;
+} else if (!encoded_size) {
+xbzrle_counters.encoding_rate = UINT64_
On Wed, 29 Apr 2020 at 18:54, Wei Wang wrote:
> +if (xbzrle_counters.pages == rs->xbzrle_pages_prev) {
> +xbzrle_counters.encoding_rate = 0;
> +} else if (!encoded_size) {
> +xbzrle_counters.encoding_rate = UINT64_MAX;
> +} else {
> +xbzr
* Wei Wang (wei.w.w...@intel.com) wrote:
> Users may need to check the xbzrle encoding rate to know if the guest
> memory is xbzrle encoding-friendly, and dynamically turn off the
> encoding if the encoding rate is low.
>
> Signed-off-by: Yi Sun
> Signed-off-by: Wei Wang
Queued
> ---
> migrat
* Wei Wang (wei.w.w...@intel.com) wrote:
> Users may need to check the xbzrle encoding rate to know if the guest
> memory is xbzrle encoding-friendly, and dynamically turn off the
> encoding if the encoding rate is low.
>
> Signed-off-by: Yi Sun
> Signed-off-by: Wei Wang
Reviewed-by: Dr. David
Users may need to check the xbzrle encoding rate to know if the guest
memory is xbzrle encoding-friendly, and dynamically turn off the
encoding if the encoding rate is low.
Signed-off-by: Yi Sun
Signed-off-by: Wei Wang
---
migration/migration.c | 1 +
migration/ram.c | 39 +++
12 matches
Mail list logo