<br><br><div class="gmail_quote">On Wed, Aug 15, 2012 at 6:01 PM, Thomas Vachon <span dir="ltr"><<a href="mailto:vachon@sessionm.com" target="_blank">vachon@sessionm.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="HOEnZb"><div class="h5">On Wed, Aug 15, 2012 at 10:56 AM, Eugene Nelen <<a href="mailto:enelen@helioscloud.com">enelen@helioscloud.com</a>> wrote:<br>
><br>
><br>
> On Wed, Aug 15, 2012 at 5:31 PM, Thomas Vachon <<a href="mailto:vachon@sessionm.com">vachon@sessionm.com</a>> wrote:<br>
>><br>
>> On Wed, Aug 15, 2012 at 10:28 AM, Narayan Desai <<a href="mailto:narayan.desai@gmail.com">narayan.desai@gmail.com</a>><br>
>> wrote:<br>
>> > On Wed, Aug 15, 2012 at 9:16 AM, Thomas Vachon <<a href="mailto:vachon@sessionm.com">vachon@sessionm.com</a>><br>
>> > wrote:<br>
>> >> On Wed, Aug 15, 2012 at 9:58 AM, Thomas Vachon <<a href="mailto:vachon@sessionm.com">vachon@sessionm.com</a>><br>
>> >> wrote:<br>
>> >>> On Wed, Aug 15, 2012 at 8:54 AM, Thomas Vachon <<a href="mailto:vachon@sessionm.com">vachon@sessionm.com</a>><br>
>> >>> wrote:<br>
>> >>>><br>
>> >>>> On Wed, Aug 15, 2012 at 8:53 AM, Narayan Desai<br>
>> >>>> <<a href="mailto:narayan.desai@gmail.com">narayan.desai@gmail.com</a>> wrote:<br>
>> >>>> > On Wed, Aug 15, 2012 at 7:24 AM, Thomas Vachon<br>
>> >>>> > <<a href="mailto:vachon@sessionm.com">vachon@sessionm.com</a>> wrote:<br>
>> >>>> ><br>
>> >>>> >> I am also on Precise. Downing/Up'ing the interface via VNC did<br>
>> >>>> >> work.<br>
>> >>>> >> How exactly did you setup vhost_net, can you provide your libvirt?<br>
>> >>>> ><br>
>> >>>> > Hm, that might mean that isn't the problem, but this is an easy<br>
>> >>>> > enough<br>
>> >>>> > thing to check.<br>
>> >>>> ><br>
>> >>>> > Setting up vhost_net is pretty easy; it is auto-detected by kvm, so<br>
>> >>>> > all you need to do is modprobe it on the hypervisor.<br>
>> >>>> > -nld<br>
>> >>>><br>
>> >>>> Found the docs saying that. It might help, I will report back on<br>
>> >>>> this<br>
>> >>>> thread when I run the tests in a bit<br>
>> >>><br>
>> >>> OK, I lost all connectivity between nova-network and my vm's. DNSMasq<br>
>> >>> is running and I added the vhost_net module (and confirmed libvirt<br>
>> >>> sees it). Do I need to do something to the guests now too?<br>
>> >><br>
>> >> I think I found the root bug:<br>
>> >> <a href="https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/997978" target="_blank">https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/997978</a><br>
>> ><br>
>> > Yeah, this is where i found the vhost_net workaround. (it seems to<br>
>> > work for some people and not for others, so I suspect the problem is<br>
>> > more complicated somehow)<br>
>> > -nld<br>
>><br>
>> The workaround of adding it? When I added it, I lose all connectivity<br>
>> to the instances.<br>
><br>
><br>
> I can confirm it.<br>
> Instance can not get ip address from dnsmasq when vhost_net module is<br>
> loaded.<br>
> <a href="http://www.linux-kvm.org/page/VhostNet" target="_blank">http://www.linux-kvm.org/page/VhostNet</a> see Caveats link.<br>
><br>
> When I use virtio for instances and vhost_net module is not loaded<br>
> my instances lose network connectivity.<br>
><br>
>><br>
<br>
</div></div>I actually have tg3 loaded, not bnx2. I just realized they are<br>
NetXtreme not II's<br>
<br>
01:00.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5720<br>
Gigabit Ethernet PCIe<br>
01:00.1 Ethernet controller: Broadcom Corporation NetXtreme BCM5720<br>
Gigabit Ethernet PCIe<br>
02:00.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5720<br>
Gigabit Ethernet PCIe<br>
02:00.1 Ethernet controller: Broadcom Corporation NetXtreme BCM5720<br>
Gigabit Ethernet PCIe<br>
<br>
<br>
Eugene, looking at that caveat, I couldn't find a "solution", did you see one?<br></blockquote><div>No. For now I am not using vhost_net module/virtio for production VMs. I am using realtek driver.</div><div>
But performance is really bad.</div><div> </div></div><br>