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

Re: [Xen-users] VM bridge doesn't pass traffic



>>>> Lastly while I'm fishing for potential clues please could you post the
>>>> output of of "xl -vvv create <cfg>", the -vvv makes it much more
>>>> verbose.
>>> Output of the create command: http://pastebin.com/7CqdS2Zd
>>> Output of the vm boot process (from xl console):
>>> http://pastebin.com/ZduwSmNn
>> Ah, here is something interesting:
>>
>> [    1.507834] xen_netfront: Initialising Xen virtual ethernet driver
>> [    1.513754] xen_netfront: can't alloc rx grant refs
>> [    1.513762] net eth0: only created 32 queues
>>
>> If you use fewer vcpus (like 2 for example) does it work? If so then a
>> workaround would be to limit the number of queues to fewer than the number
>> of vcpus (the default). IIRC there were some bugs in this capability, I'm
>> hoping that Wei (cc-d) can remember the necessary dance.
>>
>> An alternative to limiting the queues might be to increase the maximum
>> number of pages each guest can use for grant tables (i.e. increase the
>> number of grants). This can be done with the gnttab_max_nr_frames
>> hypervisor command line option. (See http://xenbits.xen.org/docs/4.4/misc/x
>> en-command-line.html).
>>
>> I think the default is 32, so you could e.g. try doubling it.
> Hell yes! It worked! Thank you so much!
> Wish you all the best and have a nice week.

Haha, gotta take out some of the enthusiasm - the link you provided
doesn't seem to work (404).
Googling for "gnttab_max_nr_frames" showed up that the term is probably
deprecated and "max_grant_frames" should be used instead.
I can't find how to apply the option, though. Where do I have to declare
the variable? In /etc/default/xen or maybe /etc/xen/xl.conf or even the
vm config file (though that wouldn't make any sense to me)?

Thanks in advance and kind regards,
  David

Compositiv GmbH
Hammer Deich 30
20537 Hamburg
Tel: 040 / 609 4349 0
Fax: 040 / 609 4349 40

GeschÃftsfÃhrer Matthias Krawen
Amtsgericht Hamburg - HRB 122540

USt.-IdNr: DE282432834
Es gelten ausschlieÃlich unsere AGB.



_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxx
http://lists.xen.org/xen-users

 


Rackspace

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