qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH v4 18/29] hostmem: add file-based HostMemoryBack


From: Paolo Bonzini
Subject: Re: [Qemu-devel] [PATCH v4 18/29] hostmem: add file-based HostMemoryBackend
Date: Tue, 10 Jun 2014 13:12:04 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0

Il 10/06/2014 11:59, Michael S. Tsirkin ha scritto:
> >What's the point compared to memory-backend-ram?
>
> That you can use shared memory, for example together with vhost-user.

I don't think it's a good idea until THP supports shared memory.

Why? For example it would be useful for testing on machines that you don't have root for, and that do not have a hugetlbfs mount point. For example you could run the test case from the vhost-user's patches.

THP is not a magic wand and you can get slowness from memory fragmentation at any time. We should not limit ourselves due to kernel bugs.

Paolo



reply via email to

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