From: TooMeeK <toomeek_85@o2.pl>
To: KVM list <kvm@vger.kernel.org>
Subject: Re: Possible to reach more than 1Gbit to VM?
Date: Thu, 21 Jul 2011 15:51:06 +0200 [thread overview]
Message-ID: <4E282ECA.9080202@o2.pl> (raw)
In-Reply-To: <4E282E4C.2040400@o2.pl>
I still cannot belive this.
This is test under bonding (round-robind) and bridging (bond0 -> br0 to
expose VM to LAN)
From VM Debian with one Virtio NIC to Debian Hypervisor I have (1, 2
and 3 connections at once):
user@vhost:~$ iperf -c 10.0.0.250
------------------------------------------------------------
Client connecting to 10.0.0.250, TCP port 5001
TCP window size: 16.0 KByte (default)
------------------------------------------------------------
[ 3] local 10.0.0.248 port 50679 connected with 10.0.0.250 port 5001
[ ID] Interval Transfer Bandwidth
*[ 3] 0.0-10.0 sec 1.65 GBytes 1.42 Gbits/sec*
user@vhost:~$ iperf -c 10.0.0.250 -P 2
------------------------------------------------------------
Client connecting to 10.0.0.250, TCP port 5001
TCP window size: 16.0 KByte (default)
------------------------------------------------------------
[ 4] local 10.0.0.248 port 50681 connected with 10.0.0.250 port 5001
[ 3] local 10.0.0.248 port 50680 connected with 10.0.0.250 port 5001
[ ID] Interval Transfer Bandwidth
[ 4] 0.0-10.0 sec 831 MBytes 696 Mbits/sec
[ 3] 0.0-10.0 sec 828 MBytes 694 Mbits/sec
*[SUM] 0.0-10.0 sec 1.62 GBytes 1.39 Gbits/sec*
user@vhost:~$ iperf -c 10.0.0.250 -P 3
------------------------------------------------------------
Client connecting to 10.0.0.250, TCP port 5001
TCP window size: 16.0 KByte (default)
------------------------------------------------------------
[ 5] local 10.0.0.248 port 54269 connected with 10.0.0.250 port 5001
[ 4] local 10.0.0.248 port 54268 connected with 10.0.0.250 port 5001
[ 3] local 10.0.0.248 port 54267 connected with 10.0.0.250 port 5001
[ ID] Interval Transfer Bandwidth
[ 5] 0.0-10.0 sec 528 MBytes 443 Mbits/sec
[ 4] 0.0-10.0 sec 540 MBytes 453 Mbits/sec
[ 3] 0.0-10.0 sec 553 MBytes 464 Mbits/sec
*[SUM] 0.0-10.0 sec 1.58 GBytes 1.36 Gbits/sec*
And from Hypervisor to that VM I have:
user@hypervisor:~$ iperf -c 10.0.0.248
------------------------------------------------------------
Client connecting to 10.0.0.248, TCP port 5001
TCP window size: 16.0 KByte (default)
------------------------------------------------------------
[ 3] local 10.0.0.250 port 35318 connected with 10.0.0.248 port 5001
[ ID] Interval Transfer Bandwidth
*[ 3] 0.0-10.0 sec 2.40 GBytes 2.06 Gbits/sec*
user@hypervisor:~$ iperf -c 10.0.0.248 -P 2
------------------------------------------------------------
Client connecting to 10.0.0.248, TCP port 5001
TCP window size: 16.0 KByte (default)
------------------------------------------------------------
[ 4] local 10.0.0.250 port 35320 connected with 10.0.0.248 port 5001
[ 3] local 10.0.0.250 port 35319 connected with 10.0.0.248 port 5001
[ ID] Interval Transfer Bandwidth
[ 4] 0.0-10.0 sec 1.09 GBytes 933 Mbits/sec
[ 3] 0.0-10.0 sec 1.34 GBytes 1.15 Gbits/sec
*[SUM] 0.0-10.0 sec 2.43 GBytes 2.08 Gbits/sec*
user@hypervisor:~$ iperf -c 10.0.0.248 -P 3
------------------------------------------------------------
Client connecting to 10.0.0.248, TCP port 5001
TCP window size: 16.0 KByte (default)
------------------------------------------------------------
[ 3] local 10.0.0.250 port 35323 connected with 10.0.0.248 port 5001
[ 5] local 10.0.0.250 port 35322 connected with 10.0.0.248 port 5001
[ 4] local 10.0.0.250 port 35321 connected with 10.0.0.248 port 5001
[ ID] Interval Transfer Bandwidth
[ 3] 0.0-10.0 sec 827 MBytes 693 Mbits/sec
[ 5] 0.0-10.0 sec 841 MBytes 705 Mbits/sec
[ 4] 0.0-10.0 sec 823 MBytes 690 Mbits/sec
*[SUM] 0.0-10.0 sec 2.43 GBytes 2.09 Gbits/sec*
And this is just AMD Phenom II X2 550 @ 3.1 GHz. Xeon's probably can do
much more...
Where is the trick to get raw 2Gbits/sec from LAN to VM?
Maybe direct attach NICs to VM and then bond them?
Regards,
Tom
next parent reply other threads:[~2011-07-21 13:51 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <4E282E4C.2040400@o2.pl>
2011-07-21 13:51 ` TooMeeK [this message]
[not found] <4E26BCC7.3070503@o2.pl>
2011-07-20 15:00 ` Possible to reach more than 1Gbit to VM? TooMeeK
[not found] ` <CAOjFWZ57--PffFXQdbYNfBXfnZoBWZaDq9gUM7=w8Ycw3JcDuw@mail.gmail.com>
2011-07-20 15:56 ` TooMeeK
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4E282ECA.9080202@o2.pl \
--to=toomeek_85@o2.pl \
--cc=kvm@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox