Hello, I noticed that on my server xm info reports that only 125 MB are available. There is it: root@eject:~# xm info host : eject release : 2.6.26-1-xen-amd64 version : #1 SMP Fri Mar 13 21:39:38 UTC 2009 machine : x86_64 nr_cpus : 2 nr_nodes : 1 cores_per_socket : 2 threads_per_core : 1 cpu_mhz : 1866 hw_caps : bfebfbff:20100800:00000000:00000140:0000e3bd:00000000:00000001 total_memory : 2046 free_memory : 5 node_to_cpu : node0:0-1 xen_major : 3 xen_minor : 2 xen_extra : -1 xen_caps : xen-3.0-x86_64 xen-3.0-x86_32p hvm-3.0-x86_32 hvm-3.0-x86_32p hvm-3.0-x86_64 xen_scheduler : credit xen_pagesize : 4096 platform_params : virt_start=0xffff800000000000 xen_changeset : unavailable cc_compiler : gcc version 4.3.1 (Debian 4.3.1-2) cc_compile_by : waldi cc_compile_domain : debian.org cc_compile_date : Sat Jun 28 09:32:18 UTC 2008 xend_config_format : 4 But free shows me that I have 606 MB available. I killed some processes and again xm info shows me that only 125 MB available, but free shows additional memory space which was freed. Question: what it mean? I dig documentation, but found nothing :(. There is memory limits somewhere in configs ? --- Thanks, Evgeniy _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Thu, Jun 18, 2009 at 2:21 PM, Evgeniy Sudyr<eject.in.ua@gmail.com> wrote:> I noticed that on my server xm info reports that only 125 MB are available.> total_memory : 2046 > free_memory : 5Actually it shows 5, not 125MB.> But free shows me that I have 606 MB available.It''s different alocation. free_memory from "xm info" shows memory not allocated to any domain (inlcuding dom0). "free", "top" (or whatever) shows free memory on that particular domain (in your case, dom0). You can adjust memory allocation per domain using "xm mem-set". So if you allocate that 5MB to dom0, your "free" output would increase to 611 MB. -- Fajar _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users