NIC type (rtl vs virtio)

Pádraig Brady P at draigBrady.com
Mon Nov 19 16:23:05 UTC 2012


On 11/19/2012 03:23 PM, Nux! wrote:
> On 19.11.2012 14:56, Pádraig Brady wrote:
>> On 11/18/2012 08:22 PM, Nux! wrote:
>>> Hi,
>>>
>>> I notice the VMs are not using the virtio type NICs, but some "Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+".
>>> In my experience the virtio device is quite stable, any reason why it's not default? I see that for block device virtio is default.
>>
>>
>> This is something we should look at changing by default I think.
>> There have are some kernel bugs precluding this:
>> https://bugzilla.kernel.org/show_bug.cgi?id=42829
>> But Red Hat based kernels should be good in this area.
>>
>> It seems like it's a big global flag in nova.conf currently:
>>   libvirt_use_virtio_for_bridges = True
>> Ideally that would be a property of the guest image,
>> i.e. a tag in glance or something.
>>
>> thanks,
>> Pádraig.
>
> Thanks Pádraig, that worked!
>
> Indeed I understand virtio_net is not default due to some ubuntu kernel bugs or such like.

Also it needs guest support, so for widest range of guest support
I suppose we couldn't change the global default.

Also for installations with very disparate guest images,
the per image attributes would be needed, and
allow more tuned config.

thanks,
Pádraig.


More information about the cloud mailing list