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

RE: [Xen-users] "Memory squeeze in netback driver"



 

> -----Original Message-----
> From: xen-users-bounces@xxxxxxxxxxxxxxxxxxx 
> [mailto:xen-users-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of 
> Marlier, Ian
> Sent: 19 October 2006 17:28
> To: Marlier, Ian; xen-users@xxxxxxxxxxxxxxxxxxx
> Subject: RE: [Xen-users] "Memory squeeze in netback driver"
> 
> Anyone have thoughts on this?  I've googled around, and 
> haven't come up
> with anything that I haven't tried already.  
> 
> And, it severely limits the effectiveness of the Xen environment,
> because I'm now running a machine that appears unable to use more than
> 25% of the available resources...

If you look at linux-<ver>-xen/drivers/xen/netback/netback.c around line
572 (this isn't the latest source, but I don't think it's changed much
in the last week or so), you'll see where the error message comes from.
I'm not sure what the code does tho' - it's got something to do with the
hypercall XENMEM_increase_reservation, but I haven't got time to look at
what that does. 

dom0_mem shouldn't be added to the vmlinuz line, but to the xen.gz line
- which I think is the reason your dom0 is showing 12GB. Not sure if
that's got anything to do with the above problem tho'. 

--
Mats
> 
>  
> 
> > -----Original Message-----
> > From: xen-users-bounces@xxxxxxxxxxxxxxxxxxx 
> > [mailto:xen-users-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of 
> > Marlier, Ian
> > Sent: Wednesday, October 18, 2006 11:08 AM
> > To: xen-users@xxxxxxxxxxxxxxxxxxx
> > Subject: [Xen-users] "Memory squeeze in netback driver"
> > 
> > Hi, all
> > 
> > I'm getting the following in my /var/log/messages file on Dom0:
> > Oct 18 11:00:36 devxen0 kernel: printk: 4 messages suppressed.
> > Oct 18 11:00:36 devxen0 kernel: xen_net: Memory squeeze in 
> > netback driver.
> > 
> > Which would make sense to me if there were a memory crunch on 
> > the box, or in Dom0 alone...but Dom0 has about 12GB of memory 
> > availble:
> > devxen0:~ # xm list
> > Name                              ID Mem(MiB) VCPUs State  Time(s)
> > Build5-8-0-km                      2      448     1 -b----  6307.1
> > Build5-8-0-km-DealsFilter         10      448     1 -b----    33.6
> > Build5-8-0-km-GDS                  4      448     1 -b----   372.6
> > Build5-8-2-zj                      8      448     1 -b----  1696.0
> > Build5-8-2-zj-gds                  9      448     1 r----- 24591.1
> > Dale-GDS                           7      448     1 -b----  1759.5
> > Dale-Web                           6      448     1 -b----  2135.7
> > Domain-0                           0    12849     4 r-----  5269.6
> > mail                               1      128     1 -b----   294.2
> > 
> > Any thoughts/suggestions on what I can do to convince the 
> > netback driver to be a little happier with its life?
> > 
> > Xen version is 3.0.2_09656-4, running on SUSE Linux 10.1.  
> > Kernel is 2.6.16.13-4-xen, stock from the SUSE 10.1 install.
> > 
> > Additionally, I've got "dom0_mem=1024M" specified on the 
> > kernel command line at boot time.  (I'm not sure if that 
> > parameter actually does anything, but it doesn't seem to be 
> > hurting anything, so...)
> > 
> > Thanks!
> > 
> > - Ian
> > 
> > _______________________________________________
> > Xen-users mailing list
> > Xen-users@xxxxxxxxxxxxxxxxxxx
> > http://lists.xensource.com/xen-users
> > 
> 
> _______________________________________________
> Xen-users mailing list
> Xen-users@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-users
> 
> 
> 



_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users


 


Rackspace

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