Hello, I created a Guest VM (r4u5_32) with maxmem = 1024 & memory=512. After booting the Guest OS, I increased the value using mem-set 784 #xm mem-set r4u5_32 784 #xm list shows 784 but #cat /etc/proc/meminfo inside the VM shows 512 MB only. Can you explain the behavior ? Look forward to your reply. Thanks in advance... Regards, HC --------------------------------- Need a vacation? Get great deals to amazing places on Yahoo! Travel. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Hello, I created a Guest VM (r4u5_32) with maxmem = 1024 & memory=512. After booting the Guest OS, I increased the value using mem-set 784 #xm mem-set r4u5_32 784 #xm list shows 784 but #cat /etc/proc/meminfo inside the VM shows 512 MB only. Can you explain the behavior ? Look forward to your reply. Thanks in advance... Regards, HC --------------------------------- Take the Internet to Go: Yahoo!Go puts the Internet in your pocket: mail, news, photos & more. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
hi, Harish Chauhan schrieb:> Look forward to your reply.try the following lines: memory = 512 extra="mem=1024M" maxmem="1024" and test again. cu denny _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Which OS as dom0 are u using ? and r4u5_32 is HVM or PV domain. I suspect mem-set on HVM domain to work, it requires some paravirt driver supports. Thanks, Trilok On 8/7/07, Harish Chauhan <c_harish38@yahoo.com> wrote:> > Hello, > > I created a Guest VM (r4u5_32) with maxmem = 1024 & memory=512. After > booting the Guest OS, I increased the value using mem-set 784 > > #xm mem-set r4u5_32 784 > > #xm list shows 784 but #cat /etc/proc/meminfo inside the VM shows 512 MB > only. > > Can you explain the behavior ? > > Look forward to your reply. > > Thanks in advance... > > Regards, > HC > > > ------------------------------ > Take the Internet to Go: Yahoo!Go puts the Internet in your pocket:<http://us.rd.yahoo.com/evt=48253/*http://mobile.yahoo.com/go?refer=1GNXIC>mail, news, photos & more. > > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Guest (r4u5_32) : RHEL4 Update5 32-Bit i.e. r4u5_32 is a HVM Host OS : RHEL4U4 with Xen 3.1.0-13 Regards, HC trilok nuwal <tc.nuwal@gmail.com> wrote: Which OS as dom0 are u using ? and r4u5_32 is HVM or PV domain. I suspect mem-set on HVM domain to work, it requires some paravirt driver supports. Thanks, Trilok On 8/7/07, Harish Chauhan <c_harish38@yahoo.com> wrote: Hello, I created a Guest VM (r4u5_32) with maxmem = 1024 & memory=512. After booting the Guest OS, I increased the value using mem-set 784 #xm mem-set r4u5_32 784 #xm list shows 784 but #cat /etc/proc/meminfo inside the VM shows 512 MB only. Can you explain the behavior ? Look forward to your reply. Thanks in advance... Regards, HC --------------------------------- Take the Internet to Go: Yahoo!Go puts the Internet in your pocket: mail, news, photos & more. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users --------------------------------- Sick sense of humor? Visit Yahoo! TV''s Comedy with an Edge to see what''s on, when. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
> Guest (r4u5_32) : RHEL4 Update5 32-Bit i.e. r4u5_32 is a HVM > Host OS : RHEL4U4 with Xen 3.1.0-13Ah. I think that the paravirt drivers for HVM guests that are shipped in the 3.1 source tree do allow you to use mem-set with HVM guests. So you should be able to make this sort-of work if you install those... I''d think you''ll only be able to shrink an HVM guest relative to its original allocation. I could be wrong though, maybe the mem= trick Denny mentioned for PV guests would work on HVM as well. In any case, you could work around this by creating HVM guests with the largest memory you ever want them to have, then shrinking them down to something more reasonable. Cheers, Mark> Regards, > HC > > trilok nuwal <tc.nuwal@gmail.com> wrote: > Which OS as dom0 are u using ? and r4u5_32 is HVM or PV domain. > > I suspect mem-set on HVM domain to work, it requires some paravirt driver > supports. > > Thanks, > Trilok > > On 8/7/07, Harish Chauhan <c_harish38@yahoo.com> wrote: Hello, > > I created a Guest VM (r4u5_32) with maxmem = 1024 & memory=512. After > booting the Guest OS, I increased the value using mem-set 784 > > #xm mem-set r4u5_32 784 > > #xm list shows 784 but #cat /etc/proc/meminfo inside the VM shows 512 MB > only. > > Can you explain the behavior ? > > Look forward to your reply. > > Thanks in advance... > > Regards, > HC > > > > --------------------------------- > Take the Internet to Go: Yahoo!Go puts the Internet in your pocket: mail, > news, photos & more. > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users > > > > > > --------------------------------- > Sick sense of humor? Visit Yahoo! TV''s Comedy with an Edge to see what''s > on, when.-- Dave: Just a question. What use is a unicyle with no seat? And no pedals! Mark: To answer a question with a question: What use is a skateboard? Dave: Skateboards have wheels. Mark: My wheel has a wheel! _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
You have to also specify mem=1024M on the guest''s kernel command line, eg. by adding it to the extra= parameter in the config file. You need to do this because otherwise the guest does not know how large a memory to expect - it needs to know this so that it can size its data structures correctly. If you set this to the largest you expect the domain to grow then you''ll be able to grow as well as shrink the domain. This won''t work for HVM domains, which can''t (as far as I know) be grown beyond their initial allocation. Cheers, mark -- Dave: Just a question. What use is a unicyle with no seat? And no pedals! Mark: To answer a question with a question: What use is a skateboard? Dave: Skateboards have wheels. Mark: My wheel has a wheel! _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users