From mboxrd@z Thu Jan 1 00:00:00 1970 From: Miguel Araujo Subject: Re: virtual machines network goes 100Mbit when interface is Gbit Date: Fri, 11 Apr 2008 14:19:58 +0200 Message-ID: <47FF576E.8010402@Nosys.net> References: <47DA819D.3050907@Nosys.net> <47DA9839.7080607@gmail.com> <47EB7DC8.5010804@Nosys.es> <47F4A31E.30501@Nosys.net> <47F4FDA0.8080100@gmx.net> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1061256062==" Cc: Felix Leimbach , lista kvm-devel , Victor Abeytua Garcia To: Haydn Solomon Return-path: In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: kvm-devel-bounces@lists.sourceforge.net Errors-To: kvm-devel-bounces@lists.sourceforge.net List-Id: kvm.vger.kernel.org This is a multi-part message in MIME format. --===============1061256062== Content-Type: multipart/alternative; boundary="------------020809000404090601080403" This is a multi-part message in MIME format. --------------020809000404090601080403 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Hello again, I want to thank you for the information given. Now I understand what you=20 mean, I'm going to test virtio drivers with the last kernel possible.=20 Thanks a lot. Regards, Miguel Haydn Solomon escribi=F3: > See also > > http://www.linux-kvm.com/content/tip-how-setup-windows-guest-paravirtua= l-network-drivers > > On Thu, Apr 3, 2008 at 10:54 AM, Felix Leimbach=20 > > wrote: > > > Thanks for your answer Haydn, but > I did not understand the issue too. > > > Victor has explained my problem clearly, is kvm uncapable of > running > > > the bridge at 1GBit if it is not a e1000 network card? > > > Hey Miguel, > > what Haydn meant was to force qemu to *emulate* a e1000 NIC > instead of the default RTL8139. That emulation is done by qemu in > userspace and has absolutely nothing to do with your physical NIC > por the bridge. > Chosing a NIC is done with the "model=3D" parameter. > kvm -net nic,model=3De1000 > > Even better performance-wise would be to use the new virtio > interface which paravirtualizes your physical NIC instead of > emulating one. > For that, use: > kvm -net nic,model=3Dvirtio > > Of course you'll need to install the corresponding drivers in your > guest. The e1000 should be supported in every guest and for the > virtio interface there are windows guest drivers (see the > kvm-announce mailing list for that) as well as linux guest drivers > included in kernel 2.6.25 upwards. > > By the way: This is good stuff f you're interested in hard disk > performance, too: http://kvm.qumranet.com/kvmwiki/Virtio > > Felix > > -------------------------------------------------------------------= ------ > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/ma= rketplace > _______________________________________________ > kvm-devel mailing list > kvm-devel@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/kvm-devel > > --------------020809000404090601080403 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Hello again,

I want to thank you for the information given. Now I understand what you mean, I'm going to test virtio drivers with the last kernel possible. Thanks a lot.

Regards,
    Miguel

Haydn Solomon escribió:
See also

http://www.linux-kvm.com/content/tip-how-setup-windows-guest-paravirtual-network-drivers

On Thu, Apr 3, 2008 at 10:54 AM, Felix Leimbach <felix.leimbach@gmx.net> wrote:
> Thanks for your answer Haydn, but
I did not understand the issue too.

> Victor has explained my problem clearly, is kvm uncapable of
running

> the bridge at 1GBit if it is not a e1000 network card?


Hey Miguel,

what Haydn meant was to force qemu to *emulate* a e1000 NIC instead of the default RTL8139. That emulation is done by qemu in userspace and has absolutely nothing to do with your physical NIC por the bridge.
Chosing a NIC is done with the "model=" parameter.
kvm -net nic,model=e1000

Even better performance-wise would be to use the new virtio interface which paravirtualizes your physical NIC instead of emulating one.
For that, use:
kvm -net nic,model=virtio

Of course you'll need to install the corresponding drivers in your guest. The e1000 should be supported in every guest and for the virtio interface there are windows guest drivers (see the kvm-announce mailing list for that) as well as linux guest drivers included in kernel 2.6.25 upwards.

By the way: This is good stuff f you're interested in hard disk performance, too: http://kvm.qumranet.com/kvmwiki/Virtio

Felix

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
kvm-devel mailing list
kvm-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/kvm-devel



--------------020809000404090601080403-- --===============1061256062== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone --===============1061256062== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ kvm-devel mailing list kvm-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/kvm-devel --===============1061256062==--