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

Re: [Xen-users] dom0_mem not working in debian wheezy



I am using Xen 4.3.3, the last one that still compatible with xend.
I tested xen 4.2 just now, still get 3979M... 
Wheezy kernel version is 3.2.54, it seems to be a common issue with linux kernel 3.0+, but how can we leave all the available memory to Domain-0ïit's waste of memory..
I'm compiling Xen 4.4.1 and will post the result tommorrow.


Best Regards

 
Date: 2014-09-04 18:42
Subject: Re: [Xen-users] dom0_mem not working in debian wheezy
I think this is a known issue with xl in 4.1.
 
xl in 4.1 wasn't really fully baked. If it is causing you problems
(which it seems it is) then I would recommend sticking with xm until you
move to a newer version.
 
Ian.
 
On Thu, 2014-09-04 at 18:36 +0800, kevin.zhang@xxxxxxxxxxx wrote:
> Ian Campbell,
>     
>      I can balloon up only with xend not xl:
> root@ServerV3:~# xm list 0
> Name ID Mem VCPUs State Time(s)
> Domain-0 0 3979 40 r----- 5848.9
>
> root@ServerV3:~# xm mem-set 0 4444
>
> root@ServerV3:~# xm list 0
> Name ID Mem VCPUs State Time(s)
> Domain-0 0 4444 40 r----- 5890.0
>
> root@RVMServerV3:~# xl -f mem-set 0 5555
> libxl: error: libxl.c:3698:libxl_set_memory_target: cannot get memory
> info from /local/domain/0/memory/static-max
> : No such file or directory
>    I'm afraid dom0_mem is broken in some cases but I do not know why.
>
>
>
> ______________________________________________________________________
> Best Regards
>
>
>         
>         From: Ian Campbell
>         Date: 2014-09-04 18:28
>         To: kevin.zhang@xxxxxxxxxxx
>         CC: xen-users
>         Subject: Re: [Xen-users] dom0_mem not working in debian wheezy
>         So you can't even manually balloon up? The blog seems to
>         suggest that
>         this can be necessary with some kernel+Xen combinations.
>         
>         Beyond that I'm afraid I've no other ideas.
>         
>         On Thu, 2014-09-04 at 18:17 +0800, kevin.zhang@xxxxxxxxxxx
>         wrote:
>         > Ian Campbellï
>         >     Thank you for your reply.
>         >     I've read the page you provided, but my situation is
>         different.
>         >     Even I set dom0_mem=6G,max:8G, the displayed  domain-0
>         memory is
>         > still 3979. It seems that it can provide no more than 4G
>         > I don't know why the same option differ from 1 socket and 2
>         socket
>         > servers.
>         >
>         >
>         > This time dom0_mem=6G,max:8G
>         >
>         >
>         > root@ServerV3:~# xm list 0
>         > Name ID Mem VCPUs State Time(s)
>         > Domain-0 0 3979 40 r----- 1549.2
>         >
>         >
>         > root@ServerV3:~# cat /proc/meminfo
>         > MemTotal: 3737508 kB
>         > MemFree: 2603036 kB
>         >
>         >
>         > root@erverV3:~# free -m
>         > total used free shared buffers cached
>         > Mem: 3649 1120 2529 0 41 260
>         >
>         >     By the way, my 2 sockets server is using E5 2650v3, DDR4
>         64G, it's
>         > from Intel Lab, while my 1 socket server is I5 CPU DDR3 16G.
>         >
>         >
>         >
>         >
>         ______________________________________________________________________
>         > Best Regards
>         >
>         >
>         >         
>         >         From: Ian Campbell
>         >         Date: 2014-09-04 17:34
>         >         To: kevin.zhang@xxxxxxxxxxx
>         >         CC: xen-users
>         >         Subject: Re: [Xen-users] dom0_mem not working in
>         debian wheezy
>         >         On Thu, 2014-09-04 at 11:32 +0800,
>         kevin.zhang@xxxxxxxxxxx
>         >         wrote:
>         >         >
>         >         > Hi all,
>         >         >
>         >         >
>         >         >       Today I found that dom0_mem option does not
>         work in my
>         >         64G 2 cpu
>         >         > server , but works in my 16G 1 CPU server.
>         >         > I am using debian wheezy and xen 4.3.3.
>         >         >       Firstly I set
>         GRUB_CMDLINE_XEN="dom0_mem=6G,max:6G"
>         >         > in /etc/default/grub, 
>         >         >  Then execute: 
>         >         >     update-grub
>         >         >  After rebooting,  execute:
>         >         >       xm list 0
>         >         >   Only see no more than 3967M reserved for
>         Domain-0 in my
>         >         64G 2CPU
>         >         > server, however, my 16G 1CPU server display
>         correctly.
>         >         >   If I use xm mem-set 0 5000, dom0 memory also can
>         be
>         >         raised.
>         >         >   But why it does not work with dom0_mem option?
>         >         
>         >         Does
>         >
>         http://blog.xen.org/index.php/2012/04/30/memory-where-it-has-not-gone/
>         >         relate to your situation?
>         >         
>         >         Ian.
>         >         
>         >         
>         >         
>         
>         
>         
 
 
 
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxx
http://lists.xen.org/xen-users

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.