> 2020年7月16日 18:45,Michael S. Tsirkin 写道:
>
> On Thu, Jul 16, 2020 at 03:01:18PM +0800, teawater wrote:
>>
>>
>>> 2020年7月16日 14:38,Michael S. Tsirkin 写道:
>>>
>>> On Thu, Jul 16, 2020 at 10:41:50AM +0800, Hui Zhu wrote:
>>>>
e?
> Could you write up something about it?
Continuous pages are report by num_pfns and pfns in virtio_balloon too.
The function to set pfns is set_page_pfns_size in
https://github.com/teawater/linux/blob/balloon_conts/drivers/virtio/virtio_balloon.c#L221
static void set_page_pfns_siz
> 2020年7月16日 14:39,Michael S. Tsirkin 写道:
>
> On Thu, Jul 16, 2020 at 10:41:55AM +0800, Hui Zhu wrote:
>> This commit adds a vq dcvq to deflate continuous pages.
>> When VIRTIO_BALLOON_F_CONT_PAGES is set, try to get continuous pages
>> from icvq and use madvise MADV_WILLNEED with the pages.
t; // This is the THP number after this operation.
>> cat /proc/meminfo | grep AnonHugePages:
>> AnonHugePages:907264 kB
These lines are from host.
>
> I'm a bit confused about which of the above run within guest,
> and which run within host. Could you explain pls?
>
> 2020年3月26日 15:17,Michael S. Tsirkin 写道:
>
> First, either QEMU or Linux version of any interface changes
> should be copied to the virtio TC.
>
> :
OK.
>
>
> On Mon, Mar 23, 2020 at 12:04:56AM +0800, Hui Zhu wrote:
>> The first version is in [1].
>> According to the comments from
> 2020年3月31日 22:07,Michael S. Tsirkin 写道:
>
> On Tue, Mar 31, 2020 at 04:03:18PM +0200, David Hildenbrand wrote:
>> On 31.03.20 15:37, Michael S. Tsirkin wrote:
>>> On Tue, Mar 31, 2020 at 03:32:05PM +0200, David Hildenbrand wrote:
On 31.03.20 15:24, Michael S. Tsirkin wrote:
> On
> 2020年4月1日 17:48,David Hildenbrand 写道:
>
> On 31.03.20 18:37, Nadav Amit wrote:
>>> On Mar 31, 2020, at 7:09 AM, David Hildenbrand wrote:
>>>
>>> On 31.03.20 16:07, Michael S. Tsirkin wrote:
On Tue, Mar 31, 2020 at 04:03:18PM +0200, David Hildenbrand wrote:
> On 31.03.20 15:37,
Ping.
Thanks,
Hui
> 2020年3月23日 00:04,Hui Zhu 写道:
>
> If the guest kernel has many fragmentation pages, use virtio_balloon
> will split THP of QEMU when it calls MADV_DONTNEED madvise to release
> the balloon pages.
> Set option cont-pages to on will open flags VIRTIO_BALLOON_VQ_INFLATE_CONT
>
Ping.
Thanks,
Hui
> 2020年3月23日 00:04,Hui Zhu :
>
> The first version is in [1].
> According to the comments from Michael and David, I updated the patch.
> 1. Added a separate vq inflate_cont_vq to transport inflate continuous
> pages.
> 2. Set all the pages in the continuous pages movable
> 2020年3月12日 16:25,Michael S. Tsirkin 写道:
>
> On Thu, Mar 12, 2020 at 03:49:55PM +0800, Hui Zhu wrote:
>> If the guest kernel has many fragmentation pages, use virtio_balloon
>> will split THP of QEMU when it calls MADV_DONTNEED madvise to release
>> the balloon pages.
>> Set option thp-order
10 matches
Mail list logo