[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] Whats effect of EXTRA_MEM_RATIO
On Tue, Jul 16, 2013 at 9:58 PM, Konrad Rzeszutek Wilk <konrad.wilk@xxxxxxxxxx> wrote:
Currently default centos6 kerne 2.6.32 does not balloon beyond its start memory. This is a known bug in centos 6. Alternative is to use upstream kernel from 3.X and with CentOS it seems 3.4.50 where as Debian/Ubuntu 3.2
CentOS 3.4.50 has all required support to run as dom0 kernel. I think you did most of this work :-) Thanks. 3.X kernel servers as PV guest without any modification but for memory ballooning they are getting stuck at 10x and this 10 is coming from EXTRA_MEM_RATIO So, I'm finding source of it and workarounds for this.
I have'nt seen so far ( may be an oversight ) but in linux-3.4.50/arch/x86/xen/setup.c I can only find this constant.
Below is the code ---- char * __init xen_memory_setup(void) { static struct e820entry map[E820MAX] __initdata; unsigned long max_pfn = xen_start_info->nr_pages; ---- here max_pfn is initialized with base memory and extra_pages are calculated/added to map in multiples of it.
Do you mean CONFIG_XEN_BALLOON_MEMORY_HOTPLUG ? as I cant find CONFIG_XEN_MEMORY_HOTPLUG. I'm rebuilding it with CONFIG_XEN_BALLOON_MEMORY_HOTPLUG=y and will post the results soon.
ok.
_______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |