This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Home Products Support Community News


Re: [Xen-users] Weird xl mem-set behavior

Hi Claudiu,

Xen 4.1.0 stable from the tar archive running on CentOS 5.6 with Jeremy's 
2.6.32.x kernel seems rock solid for me.

I boot with dom0_mem=512M and get domain 0 with bang on 512MB of ram allocated.

Just tried ammending the line to 1024M and have domain-0 booted with 1024MB of 

        Name                                        ID   Mem VCPUs      State   
        Domain-0                                     0  1024     2     r-----   


On 18 May 2011, at 16:22, Claudiu Curcă wrote:

> Hello,
> I'm struggling to handle the amount of memory that dom0 gets on some system.
> It's a system with 8GB of RAM, running 2.6.38-6 with pv_ops and Xen 4.1
> If I want to set the amount of memory for dom0, I get very bogus
> results. See here: http://pastebin.com/gRgY9ERN If I use the M
> notation (xl mem-set 0 4096M) the outcome is similarily unpredictable,
> and sometimes I get the memory set to something like 200-300MB and in
> rare cases a kernel panic.
> Also, if I set the "dom0_mem=X" kernel parameter, the amount of memory
> Xen gives to dom0 is fairly random... sometimes 2GB, sometimes 6GB,
> sometimes ~500MB, regrardless of what value I use or the unit I use (M
> or no unit, for the default KB).
> Anyone else has experienced this in Xen 4.1? Thanks!
> _______________________________________________
> Xen-users mailing list
> Xen-users@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-users

Xen-users mailing list

<Prev in Thread] Current Thread [Next in Thread>