Hi all, I try to set dom0_mem=6144M in my xen 4.0.2-rc1-pre with pv_ops kernel 2.6.32.24 (jeremy source) but after boot my dom0 appear in "free -m" 5408M. My logs: # xm info|grep memory total_memory : 32755 free_memory : 27658 My free -m: # free -m total used free shared buffers cached Mem: 5408 2060 3347 0 17 133 In my menu.lst: title KERNEL-XEN root(hd0,0) kernel /xen.gz dom0_mem=6144M module /vmlinuz-2.6.32.24 ro nomodeset root=/dev/VolGroup00/LogVol00 module /initrd-2.6.32.24.img In compilation I set this: CONFIG_XEN_MAX_DOMAIN_MEMORY=128 Could anyone help me? Anyone experienced this? Thank you for any help. -- Roberto Scudeller _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
I have always used syntax dom0_mem=6144000 And that works for me. I have never tried to use the M and not sure what it would do. The default units are KB. the only thing that I have seen that gives you less memory in dom0 than what you expected is if you make too many domU''s and xen takes the memory out of dom0''s hide. Steve Timm On Fri, 21 Jan 2011, Roberto Scudeller wrote:> Hi all, > > I try to set dom0_mem=6144M in my xen 4.0.2-rc1-pre with pv_ops kernel > 2.6.32.24 (jeremy source) but after boot my dom0 appear in "free -m" 5408M. > > My logs: > # xm info|grep memory > total_memory : 32755 > free_memory : 27658 > > My free -m: > # free -m > total used free shared buffers cached > Mem: 5408 2060 3347 0 17 133 > > In my menu.lst: > title KERNEL-XEN > root(hd0,0) > kernel /xen.gz dom0_mem=6144M > module /vmlinuz-2.6.32.24 ro nomodeset root=/dev/VolGroup00/LogVol00 > module /initrd-2.6.32.24.img > > In compilation I set this: > CONFIG_XEN_MAX_DOMAIN_MEMORY=128 > > > Could anyone help me? Anyone experienced this? > > Thank you for any help. > >-- ------------------------------------------------------------------ Steven C. Timm, Ph.D (630) 840-8525 timm@fnal.gov http://home.fnal.gov/~timm/ Fermilab Computing Division, Scientific Computing Facilities, Grid Facilities Department, FermiGrid Services Group, Group Leader. Lead of FermiCloud project. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Roberto Scudeller
2011-Jan-21 16:26 UTC
[Xen-devel] Re: [Xen-users] Problem with dom0_mem=6144M
Dear Steven, Thanks for help. I try dom0_mem=6144000 and my dom0 continues with (free -m 5264; xm info 4953). In boot dom0, I dont start any domU''s. Any idea? Thanks for all. 2011/1/21 Steven Timm <timm@fnal.gov>> I have always used syntax > > dom0_mem=6144000 > > And that works for me. > I have never tried to use the M and not sure what it would do. > The default units are KB. the only thing that I have seen > that gives you less memory in dom0 than what you expected is if > you make too many domU''s and xen takes the memory out of dom0''s hide. > > Steve Timm > > > > On Fri, 21 Jan 2011, Roberto Scudeller wrote: > > Hi all, >> >> I try to set dom0_mem=6144M in my xen 4.0.2-rc1-pre with pv_ops kernel >> 2.6.32.24 (jeremy source) but after boot my dom0 appear in "free -m" >> 5408M. >> >> My logs: >> # xm info|grep memory >> total_memory : 32755 >> free_memory : 27658 >> >> My free -m: >> # free -m >> total used free shared buffers cached >> Mem: 5408 2060 3347 0 17 133 >> >> In my menu.lst: >> title KERNEL-XEN >> root(hd0,0) >> kernel /xen.gz dom0_mem=6144M >> module /vmlinuz-2.6.32.24 ro nomodeset root=/dev/VolGroup00/LogVol00 >> module /initrd-2.6.32.24.img >> >> In compilation I set this: >> CONFIG_XEN_MAX_DOMAIN_MEMORY=128 >> >> >> Could anyone help me? Anyone experienced this? >> >> Thank you for any help. >> >> >> > -- > ------------------------------------------------------------------ > Steven C. Timm, Ph.D (630) 840-8525 > timm@fnal.gov http://home.fnal.gov/~timm/ <http://home.fnal.gov/%7Etimm/> > Fermilab Computing Division, Scientific Computing Facilities, > Grid Facilities Department, FermiGrid Services Group, Group Leader. > Lead of FermiCloud project. >-- Roberto Scudeller Especialista Linux/Unix _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel