Re: [PATCHv7 00/29] THP-enabled tmpfs/shmem using compound pages
From: Wincy Van
Date: Tue Apr 26 2016 - 10:03:28 EST
On Mon, Apr 25, 2016 at 9:30 PM, Andres Lagar-Cavilla
<andreslc@xxxxxxxxxx> wrote:
>>
>> We are using kvm + tmpfs to do qemu live upgrading, how does google
>> use this memory model ?
>> I think our pupose to use tmpfs may be the same.
>
> Nothing our of the ordinary. Guest memory is an mmap of a tmpfs fd.
> Huge tmpfs gives us naturally a great guest performance boost.
> MAP_SHARED, and having guest memory persist any one given process, are
> what drives us to use tmpfs.
>
OK. We are also using mmap.
Besides google's kvm userspace(as I know it is not qemu), google have another
userspace tool need to access guest memory, so that google use tmpfs?
If so, what function does that another userspace do?
Thanks,
Wincy