I''m having problems when running a DomU it won''t use more than 832MB RAM, even though I assign it 1000+MB it still only shows 832MB when using xm list. xm list output (domain xxxx is the culprit): [root log]# xm list Name Id Mem(MB) CPU State Time(s) Console Domain-0 0 370 0 r---- 596.2 xxxxx 6 832 1 -b--- 9.5 9606 yyyyy 1 383 1 -b--- 5596.3 9601 config file: kernel = "/boot/vmlinuz-2.6.11-xenU" memory = 1024 name = "xxxxx" nics=1 disk = [ ''file:/data/xen/imgs/xxxxx,sda1,w'',''file:/data/xen/swap/xxxxx,sda2,w'' ] root = "/dev/sda1 ro" I can''t see anything obvious from the xend log, and when I try changing the size to other numbers above 832MB it still stays the same. This is xen 2.0.7, Dual Opteron 246, 4GB RAM, 73gb scsi drives. Anybody have an idea what this might be and how to resolve it? Thanks! Aaron _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
The xm list output should actually show: [root log]# xm list Name Id Mem(MB) CPU State Time(s) Console Domain-0 0 370 0 r---- 596.2 xxxxx 6 832 1 -b--- 9.5 9606 yyyyy 1 383 1 -b--- 5596.3 9601 Aaron // LT wrote:> I''m having problems when running a DomU it won''t use more than 832MB > RAM, even though I assign it 1000+MB it still only shows 832MB when > using xm list. > > xm list output (domain xxxx is the culprit): > > [root log]# xm list > Name Id Mem(MB) CPU State Time(s) Console > Domain-0 0 370 0 r---- 596.2 xxxxx > 6 832 1 -b--- 9.5 9606 > yyyyy 1 383 1 -b--- 5596.3 9601 > > config file: > > kernel = "/boot/vmlinuz-2.6.11-xenU" > memory = 1024 > name = "xxxxx" > nics=1 > disk = [ > ''file:/data/xen/imgs/xxxxx,sda1,w'',''file:/data/xen/swap/xxxxx,sda2,w'' ] > root = "/dev/sda1 ro" > > I can''t see anything obvious from the xend log, and when I try > changing the size to other numbers above 832MB it still stays the same. > > This is xen 2.0.7, Dual Opteron 246, 4GB RAM, 73gb scsi drives. > > Anybody have an idea what this might be and how to resolve it? > > Thanks! > Aaron > > _______________________________________________ > 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
I''m using the standard xen kernel, would this be a problem? Using xm info it still shows 4gb ram available. Regards, Aaron Tom Brown wrote:>kernel compiled for himem? > >-Tom > >On Wed, 21 Dec 2005, Aaron // LT wrote: > > > >>I''m having problems when running a DomU it won''t use more than 832MB >>RAM, even though I assign it 1000+MB it still only shows 832MB when >>using xm list. >> >>xm list output (domain xxxx is the culprit): >> >>[root log]# xm list >>Name Id Mem(MB) CPU State Time(s) Console >>Domain-0 0 370 0 r---- 596.2 >>xxxxx 6 832 1 -b--- 9.5 9606 >>yyyyy 1 383 1 -b--- 5596.3 9601 >> >>config file: >> >>kernel = "/boot/vmlinuz-2.6.11-xenU" >>memory = 1024 >>name = "xxxxx" >>nics=1 >>disk = [ >>''file:/data/xen/imgs/xxxxx,sda1,w'',''file:/data/xen/swap/xxxxx,sda2,w'' ] >>root = "/dev/sda1 ro" >> >>I can''t see anything obvious from the xend log, and when I try changing >>the size to other numbers above 832MB it still stays the same. >> >>This is xen 2.0.7, Dual Opteron 246, 4GB RAM, 73gb scsi drives. >> >>Anybody have an idea what this might be and how to resolve it? >> >>Thanks! >>Aaron >> >>_______________________________________________ >>Xen-users mailing list >>Xen-users@lists.xensource.com >>http://lists.xensource.com/xen-users >> >> >> > >---------------------------------------------------------------------- >tbrown@BareMetal.com | Don''t go around saying the world owes you a living; >http://BareMetal.com/ | the world owes you nothing; it was here first. >web hosting since ''95 | - Mark Twain > > > > > >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
> I''m using the standard xen kernel, would this be a problem? > > Using xm info it still shows 4gb ram available. > > >kernel compiled for himem? > > > >-TomHi Aaron. Yup. I have the exact same issue - except that it isn''t a problem for me since none of my domains need more than 512 MB :-). You need to compile your domU kernel with 4GB RAM support. "cd xen-2.0/linux-2.6.11-xenU; make menuconfig" -> Processor type and features -> High Memory Support (off by default in domU kernels). Cheers -- Jan Holst Jensen, Novo Nordisk, Denmark _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
JHJE (Jan Holst Jensen) wrote:>>I''m using the standard xen kernel, would this be a problem? >> >>Using xm info it still shows 4gb ram available. >> >> >> >>>kernel compiled for himem?Hi Aaron. >>> > > >Yup. I have the exact same issue - except that it isn''t a problem for me >since none of my domains need more than 512 MB :-). You need to compile >your domU kernel with 4GB RAM support. "cd xen-2.0/linux-2.6.11-xenU; >make menuconfig" -> Processor type and features -> High Memory Support >(off by default in domU kernels). > > >Yep, this is what I ended up doing and it solved the problem. I first thought the problem was with the Dom0, and compiled it with highmem but that did not help. Once I had the domU compiled with highmem that solved the problem. Thanks for everyones help. Kind Regards, Aaron _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users