RE: [PATCH 2/6] virtio-balloon: speed up inflate/deflate process

2016-06-24 Thread Li, Liang Z
Hi Michael, Thanks for your comments! > > 2<< 30 is 2G but that is not a useful comment. > pls explain what is the reason for this selection. > Will change in the next version. > > +struct balloon_bmap_hdr { > > + __virtio32 id; > > + __virtio32 page_shift; > > + __virtio64 start_pfn;

RE: [PATCH 2/6] virtio-balloon: speed up inflate/deflate process

2016-06-24 Thread Li, Liang Z
Hi Michael, Thanks for your comments! > > 2<< 30 is 2G but that is not a useful comment. > pls explain what is the reason for this selection. > Will change in the next version. > > +struct balloon_bmap_hdr { > > + __virtio32 id; > > + __virtio32 page_shift; > > + __virtio64 start_pfn;

Re: [PATCH 2/6] virtio-balloon: speed up inflate/deflate process

2016-06-23 Thread Michael S. Tsirkin
On Mon, Jun 13, 2016 at 05:47:09PM +0800, Liang Li wrote: > The implementation of the current virtio-balloon is not very efficient, > Bellow is test result of time spends on inflating the balloon to 3GB of > a 4GB idle guest: > > a. allocating pages (6.5%, 103ms) > b. sending PFNs to host (68.3%,

Re: [PATCH 2/6] virtio-balloon: speed up inflate/deflate process

2016-06-23 Thread Michael S. Tsirkin
On Mon, Jun 13, 2016 at 05:47:09PM +0800, Liang Li wrote: > The implementation of the current virtio-balloon is not very efficient, > Bellow is test result of time spends on inflating the balloon to 3GB of > a 4GB idle guest: > > a. allocating pages (6.5%, 103ms) > b. sending PFNs to host (68.3%,

Re: [PATCH 2/6] virtio-balloon: speed up inflate/deflate process

2016-06-13 Thread kbuild test robot
Hi, [auto build test WARNING on v4.7-rc3] [cannot apply to next-20160609] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Liang-Li/Fast-balloon-fast-live-migration/20160613-175812 config:

Re: [PATCH 2/6] virtio-balloon: speed up inflate/deflate process

2016-06-13 Thread kbuild test robot
Hi, [auto build test WARNING on v4.7-rc3] [cannot apply to next-20160609] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Liang-Li/Fast-balloon-fast-live-migration/20160613-175812 config:

[PATCH 2/6] virtio-balloon: speed up inflate/deflate process

2016-06-13 Thread Liang Li
The implementation of the current virtio-balloon is not very efficient, Bellow is test result of time spends on inflating the balloon to 3GB of a 4GB idle guest: a. allocating pages (6.5%, 103ms) b. sending PFNs to host (68.3%, 787ms) c. address translation (6.1%, 96ms) d. madvise (19%, 300ms)

[PATCH 2/6] virtio-balloon: speed up inflate/deflate process

2016-06-13 Thread Liang Li
The implementation of the current virtio-balloon is not very efficient, Bellow is test result of time spends on inflating the balloon to 3GB of a 4GB idle guest: a. allocating pages (6.5%, 103ms) b. sending PFNs to host (68.3%, 787ms) c. address translation (6.1%, 96ms) d. madvise (19%, 300ms)