Re: [PATCH v2] migration/xbzrle: add encoding rate

2020-04-29 Thread Dr. David Alan Gilbert
* Wei Wang (wei.w.w...@intel.com) wrote: > On 04/28/2020 10:51 PM, Dr. David Alan Gilbert wrote: > > * 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 > > > enco

Re: [PATCH v2] migration/xbzrle: add encoding rate

2020-04-28 Thread Wei Wang
On 04/28/2020 10:51 PM, Dr. David Alan Gilbert wrote: * 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 Sign

Re: [PATCH v2] migration/xbzrle: add encoding rate

2020-04-28 Thread Dr. David Alan Gilbert
* 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 > --- > migration/migra

[PATCH v2] migration/xbzrle: add encoding rate

2020-04-27 Thread Wei Wang
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 | 38 +++