Port-xen archive

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

Re: Xen emulated network cards (was Re: FreeBSD HVM guests?)



On Wed, 20 May 2009, Thor Lancelot Simon wrote:
On Wed, May 20, 2009 at 07:58:10PM +0100, Stephen Borrill wrote:

The qemu 0.9.1 man page says:
Qemu can emulate several different models of network card.  Valid values
for type are "i82551", "i82557b", "i82559er", "ne2k_pci", "ne2k_isa",
"pcnet", "rtl8139", "smc91c111", "lance" and "mcf_fec".

I guess any of these are potential alternatives to e1000 on xen 3.1.4,
but are any of them any better than ne2k_pci?

Any of 82551, 82557, or 82559 should work with the 'fxp' driver.  They
have a reasonable DMA interface (ne2k_pci is so slow because it uses PIO,
which must be emulated on a word-by-word basis!) and should be acceptably
fast.

"pcnet" should work with our "pcn" or "le" drivers and "lance" should
work with our "le" driver.  I have noticed some problems with emulated
pcnet devices in the past, though.  The main advantage to using pcn
instead of le is a larger dma descriptor ring.

I failed to say that I am using Windows Server 2003 in the domU.

Looking through the hvm example doc and running strings on /usr/pkg/libexec/qemu-dm shows the only valid options are ne2k_pci, pcnet and rtl8139 with the latter being the default (not ne2k_pci as I'd assumed from earlier in the thread).

So rtl8139 is probably the best of the alternatives.

--
Stephen





Home | Main Index | Thread Index | Old Index