public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
From: Thibault VINCENT <thibault.vincent@smartjog.com>
To: kvm@vger.kernel.org
Subject: Exceed 1GB/s with virtio-net ?
Date: Mon, 13 Sep 2010 12:32:23 +0200	[thread overview]
Message-ID: <4C8DFDB7.9000406@smartjog.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 1182 bytes --]

Hello

I'm trying to achieve higher than gigabit transferts over a virtio NIC
with no success, and I can't find a recent bug or discussion about such
an issue.

The simpler test consist of two VM running on a high-end blade server
with 4 cores and 4GB RAM each, and a virtio NIC dedicated to the
inter-VM communication. On the host, the two vnet interfaces are
enslaved into a bridge. I use a combination of 2.6.35 on the host and
2.6.32 in the VMs.
Running iperf or netperf on these VMs, with TCP or UDP, result in
~900Mbits/s transferts. This is what could be expected of a 1G
interface, and indeed the e1000 emulation performs similar.

Changing the txqueuelen, MTU, and offloading settings on every interface
(bridge/tap/virtio_net) didn't improve the speed, nor did the
installation of irqbalance and the increase in CPU and RAM.

Is this normal ? Is the multiple queue patch intended to address this ?
It's quite possible I missed something :)

Thank you dear list !

-- 
Thibault VINCENT

SmartJog S.A.S. - Groupe TDF - Pôle multimédia
27 Bd Hippolyte Marques, 94200 Ivry sur Seine, France
Phone : +33.1.58.68.62.38
Fax   : +33.1.58.68.60.97


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

             reply	other threads:[~2010-09-13 10:37 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-13 10:32 Thibault VINCENT [this message]
2010-09-13 17:34 ` Exceed 1GB/s with virtio-net ? Alex Williamson
2010-09-14 16:14   ` Thibault VINCENT
2010-09-16 15:01     ` Alex Williamson
2010-10-11 20:32       ` matthew.r.rohrer

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=4C8DFDB7.9000406@smartjog.com \
    --to=thibault.vincent@smartjog.com \
    --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