* virtual machines network goes 100Mbit when interface is Gbit
@ 2008-03-14 13:46 Miguel Araujo
2008-03-14 15:22 ` Haydn Solomon
0 siblings, 1 reply; 7+ messages in thread
From: Miguel Araujo @ 2008-03-14 13:46 UTC (permalink / raw)
To: lista kvm-devel
Hello all,
I'm testing the last kvm version, 62. I was doing an iperf benchmark to
test the network performance in a Feisty virtual machine and I got
values surround 100Mbits when my card is actually 1Gbit. The testing
environment is conformed by 2 machines, both with Gbit interfaces. The
vm in kvm is running in server mode, the other (not virtualized one) is
the client. The vm interface is going to a bridge called br0. Ethtool
says the interface is running 100Mbits but it doesn't let me change the
speed or any other parameter in the vm.
I can't either change tap0 parameters in kvm host. ¿Is anyone having the
same issue?¿am I forgetting something?
Thanks for your time in advanced,
Miguel
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: virtual machines network goes 100Mbit when interface is Gbit
2008-03-14 13:46 virtual machines network goes 100Mbit when interface is Gbit Miguel Araujo
@ 2008-03-14 15:22 ` Haydn Solomon
2008-03-27 10:58 ` Victor Abeytua Garcia
0 siblings, 1 reply; 7+ messages in thread
From: Haydn Solomon @ 2008-03-14 15:22 UTC (permalink / raw)
To: Miguel Araujo; +Cc: lista kvm-devel
What emulated nic are you using? I think only the e1000 emulated nic
supports 1 GB.
Miguel Araujo wrote:
> Hello all,
>
> I'm testing the last kvm version, 62. I was doing an iperf benchmark to
> test the network performance in a Feisty virtual machine and I got
> values surround 100Mbits when my card is actually 1Gbit. The testing
> environment is conformed by 2 machines, both with Gbit interfaces. The
> vm in kvm is running in server mode, the other (not virtualized one) is
> the client. The vm interface is going to a bridge called br0. Ethtool
> says the interface is running 100Mbits but it doesn't let me change the
> speed or any other parameter in the vm.
>
> I can't either change tap0 parameters in kvm host. ¿Is anyone having the
> same issue?¿am I forgetting something?
>
> Thanks for your time in advanced,
> Miguel
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> kvm-devel mailing list
> kvm-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/kvm-devel
>
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: virtual machines network goes 100Mbit when interface is Gbit
2008-03-14 15:22 ` Haydn Solomon
@ 2008-03-27 10:58 ` Victor Abeytua Garcia
2008-04-03 9:27 ` Miguel Araujo
0 siblings, 1 reply; 7+ messages in thread
From: Victor Abeytua Garcia @ 2008-03-27 10:58 UTC (permalink / raw)
To: Haydn Solomon; +Cc: lista kvm-devel, Miguel Araujo
Hello,
I'm not sure if I understand you. Do you mean that the physical
network cards should be e1000 or that the virtual machines must somehow
emulate e1000 network cards?
As I understand Miguel's post, he is finding an issue with the
bridge's speed (two virtual machines running on the same physical
machine are limited to 100 Mbps between themselves).
Best regards,
Víctor
Haydn Solomon escribió:
> What emulated nic are you using? I think only the e1000 emulated nic
> supports 1 GB.
>
> Miguel Araujo wrote:
>
>> Hello all,
>>
>> I'm testing the last kvm version, 62. I was doing an iperf benchmark to
>> test the network performance in a Feisty virtual machine and I got
>> values surround 100Mbits when my card is actually 1Gbit. The testing
>> environment is conformed by 2 machines, both with Gbit interfaces. The
>> vm in kvm is running in server mode, the other (not virtualized one) is
>> the client. The vm interface is going to a bridge called br0. Ethtool
>> says the interface is running 100Mbits but it doesn't let me change the
>> speed or any other parameter in the vm.
>>
>> I can't either change tap0 parameters in kvm host. ¿Is anyone having the
>> same issue?¿am I forgetting something?
>>
>> Thanks for your time in advanced,
>> Miguel
>>
>> -------------------------------------------------------------------------
>> This SF.net email is sponsored by: Microsoft
>> Defy all challenges. Microsoft(R) Visual Studio 2008.
>> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
>> _______________________________________________
>> kvm-devel mailing list
>> kvm-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/kvm-devel
>>
>>
>
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> kvm-devel mailing list
> kvm-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/kvm-devel
>
--
Víctor Abeytua García
-----------
Socio Consultor
Nosys AJjV S.L.
Networked Open SYStems
Tecnologías de la Información - Seguridad
C/ Isla Graciosa 2, Loft 18
28700 San Sebastián de los Reyes
Madrid (Spain)
-------------------------------------------------------------------------
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
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: virtual machines network goes 100Mbit when interface is Gbit
2008-03-27 10:58 ` Victor Abeytua Garcia
@ 2008-04-03 9:27 ` Miguel Araujo
2008-04-03 15:54 ` Felix Leimbach
0 siblings, 1 reply; 7+ messages in thread
From: Miguel Araujo @ 2008-04-03 9:27 UTC (permalink / raw)
To: Victor Abeytua Garcia; +Cc: lista kvm-devel
[-- Attachment #1.1: Type: text/plain, Size: 2557 bytes --]
Hello all,
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?
Thanks a lot in advanced,
Miguel
> Hello,
> I'm not sure if I understand you. Do you mean that the physical
> network cards should be e1000 or that the virtual machines must somehow
> emulate e1000 network cards?
>
> As I understand Miguel's post, he is finding an issue with the
> bridge's speed (two virtual machines running on the same physical
> machine are limited to 100 Mbps between themselves).
>
> Best regards,
> Víctor
>
>
> Haydn Solomon escribió:
>
>> What emulated nic are you using? I think only the e1000 emulated nic
>> supports 1 GB.
>>
>> Miguel Araujo wrote:
>>
>>
>>> Hello all,
>>>
>>> I'm testing the last kvm version, 62. I was doing an iperf benchmark to
>>> test the network performance in a Feisty virtual machine and I got
>>> values surround 100Mbits when my card is actually 1Gbit. The testing
>>> environment is conformed by 2 machines, both with Gbit interfaces. The
>>> vm in kvm is running in server mode, the other (not virtualized one) is
>>> the client. The vm interface is going to a bridge called br0. Ethtool
>>> says the interface is running 100Mbits but it doesn't let me change the
>>> speed or any other parameter in the vm.
>>>
>>> I can't either change tap0 parameters in kvm host. ¿Is anyone having the
>>> same issue?¿am I forgetting something?
>>>
>>> Thanks for your time in advanced,
>>> Miguel
>>>
>>> -------------------------------------------------------------------------
>>> This SF.net email is sponsored by: Microsoft
>>> Defy all challenges. Microsoft(R) Visual Studio 2008.
>>> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
>>> _______________________________________________
>>> kvm-devel mailing list
>>> kvm-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/kvm-devel
>>>
>>>
>>>
>>
>> -------------------------------------------------------------------------
>> This SF.net email is sponsored by: Microsoft
>> Defy all challenges. Microsoft(R) Visual Studio 2008.
>> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
>> _______________________________________________
>> kvm-devel mailing list
>> kvm-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/kvm-devel
>>
>>
>
>
>
[-- Attachment #1.2: Type: text/html, Size: 3424 bytes --]
[-- Attachment #2: Type: text/plain, Size: 278 bytes --]
-------------------------------------------------------------------------
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
[-- Attachment #3: Type: text/plain, Size: 158 bytes --]
_______________________________________________
kvm-devel mailing list
kvm-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/kvm-devel
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: virtual machines network goes 100Mbit when interface is Gbit
2008-04-03 9:27 ` Miguel Araujo
@ 2008-04-03 15:54 ` Felix Leimbach
2008-04-03 16:14 ` Haydn Solomon
0 siblings, 1 reply; 7+ messages in thread
From: Felix Leimbach @ 2008-04-03 15:54 UTC (permalink / raw)
To: Miguel Araujo; +Cc: lista kvm-devel, Victor Abeytua Garcia
[-- Attachment #1.1: Type: text/plain, Size: 1108 bytes --]
> 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
[-- Attachment #1.2: Type: text/html, Size: 1540 bytes --]
[-- Attachment #2: Type: text/plain, Size: 278 bytes --]
-------------------------------------------------------------------------
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
[-- Attachment #3: Type: text/plain, Size: 158 bytes --]
_______________________________________________
kvm-devel mailing list
kvm-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/kvm-devel
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: virtual machines network goes 100Mbit when interface is Gbit
2008-04-03 15:54 ` Felix Leimbach
@ 2008-04-03 16:14 ` Haydn Solomon
2008-04-11 12:19 ` Miguel Araujo
0 siblings, 1 reply; 7+ messages in thread
From: Haydn Solomon @ 2008-04-03 16:14 UTC (permalink / raw)
To: Felix Leimbach; +Cc: lista kvm-devel, Victor Abeytua Garcia
[-- Attachment #1.1: Type: text/plain, Size: 1787 bytes --]
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
>
>
[-- Attachment #1.2: Type: text/html, Size: 2761 bytes --]
[-- Attachment #2: Type: text/plain, Size: 278 bytes --]
-------------------------------------------------------------------------
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
[-- Attachment #3: Type: text/plain, Size: 158 bytes --]
_______________________________________________
kvm-devel mailing list
kvm-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/kvm-devel
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: virtual machines network goes 100Mbit when interface is Gbit
2008-04-03 16:14 ` Haydn Solomon
@ 2008-04-11 12:19 ` Miguel Araujo
0 siblings, 0 replies; 7+ messages in thread
From: Miguel Araujo @ 2008-04-11 12:19 UTC (permalink / raw)
To: Haydn Solomon; +Cc: Felix Leimbach, lista kvm-devel, Victor Abeytua Garcia
[-- Attachment #1.1: Type: text/plain, Size: 2313 bytes --]
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 <mailto: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
> <mailto:kvm-devel@lists.sourceforge.net>
> https://lists.sourceforge.net/lists/listinfo/kvm-devel
>
>
[-- Attachment #1.2: Type: text/html, Size: 3478 bytes --]
[-- Attachment #2: Type: text/plain, Size: 320 bytes --]
-------------------------------------------------------------------------
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
[-- Attachment #3: Type: text/plain, Size: 158 bytes --]
_______________________________________________
kvm-devel mailing list
kvm-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/kvm-devel
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2008-04-11 12:19 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-03-14 13:46 virtual machines network goes 100Mbit when interface is Gbit Miguel Araujo
2008-03-14 15:22 ` Haydn Solomon
2008-03-27 10:58 ` Victor Abeytua Garcia
2008-04-03 9:27 ` Miguel Araujo
2008-04-03 15:54 ` Felix Leimbach
2008-04-03 16:14 ` Haydn Solomon
2008-04-11 12:19 ` Miguel Araujo
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox