qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] RFC migration of zero pages


From: Paolo Bonzini
Subject: Re: [Qemu-devel] RFC migration of zero pages
Date: Fri, 01 Feb 2013 17:58:28 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130110 Thunderbird/17.0.2

Il 31/01/2013 10:48, Gleb Natapov ha scritto:
>> Also I notice that the bottle neck in migrating unmapped pages is the 
>> detection of those pages
>> because we map the pages in order to check them, for a large guest this is 
>> very expensive as mapping a page
>> results in a page fault in the host.
>> So what will be very helpful is actually locating those pages without 
>> mapping them
>> which looks very complicated.
>>
> What is wrong with mincore()?

As Avi said, it returns false if the memory is in swap.

Note that while we do take a page fault, the recent kernel patch to
introduce a huge zero page might have reduced the cost in terms of both
clear_page and cache misses.

Paolo



reply via email to

[Prev in Thread] Current Thread [Next in Thread]