lkml.org 
[lkml]   [2010]   [Apr]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] VMware Balloon driver
On 04/07/2010 10:30 PM, Pavel Machek wrote:
> Hi!
>
>
>>>> 1) is not a huge amount of code, but something consistent would be
>>>> nice. 2) is something we've been missing and is a bit of an open
>>>> question/research project anyway.
>>>>
>>> 3) Code that attempts to reclaim 2MB pages when possible
>>>
>> Yes. Ballooning in 4k units is a bit silly.
>>
> Does it make sense to treat ballooning as a form of memory hotplug?
>

It has some similarities. The main difference is granularity;
ballooning works in pages (typically 4k, but 2M probably makes more
sense), whereas memory hotplug works in DIMM-like sizes (256MB+).
That's way too coarse for us; a domain might only have 256MB or less to
start with.

I experimented with a sort of hybrid scheme, in which I used hotplug
memory to add new struct pages to the system, but only incrementally
populated the underlying pages with the balloon driver. That worked
pretty well, but it doesn't fit very well with how memory hotplug works
(at least when I last looked at it a couple of years ago).

J


\
 
 \ /
  Last update: 2010-04-08 19:05    [W:0.085 / U:0.880 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site