Skip to contentSkip to conversation

Gigabit networking speeds

DISCUSSION Gerard Saraber 2 participants 2 messages Sep 18, 2007 KVM

lore
Share & tools
lore
#0 lore raw

Hi,
we were testing the network throughput with some simple wget tests, grabbing a 112MB file off another machine, the host OS gets 46MB/sec transferring that file, but the guest virtual ones only get 10-14MB/sec, I'm using model=rtl8139 for the nic, and a tap via a bridge, I'm wondering if I'm doing something wrong, is there another nic model I can use to make it faster? or use a different method besides the network tap +bridge thing?
I tested two guests pulling the same file at the same time, both got ~10MB/sec, so it seems the host is up to it, but the guests are somehow limited..
I saw some patches for an "IOQ" driver, should I be using a different kernel tree?

I'm using kvm-40 and linux 2.6.23-rc6

Signature · 11 lines
Regards,
Gerard Saraber
Network Admin, Rarcoa, Inc.
(630) 654-2580 x199
gsaraber-/[email protected]


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
#1 lore raw
Quoted 5 lines · Gerard Saraber

Hi,
we were testing the network throughput with some simple wget tests, grabbing a 112MB file off another machine, the host OS gets 46MB/sec transferring that file, but the guest virtual ones only get 10-14MB/sec, I'm using model=rtl8139 for the nic, and a tap via a bridge,

This is unfortunately the expected results with the rtl8139 nic. Dor and Rusty's PV network driver should give you closer to your expected results. Dor posted a link pretty recently to it. It will probably be a little while before it's all ready for prime-time though.

Regards,

Anthony Liguori

Quoted 10 lines

I'm
wondering if I'm doing something wrong, is there another nic model I can use to make it faster? or use a different method besides the network tap +bridge thing?
I tested two guests pulling the same file at the same time, both got ~10MB/sec, so it seems the host is up to it, but the guests are somehow limited..
I saw some patches for an "IOQ" driver, should I be using a different kernel tree?

Quoted 3 lines

I'm using kvm-40 and linux 2.6.23-rc6

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/