From: Avi Kivity <avi@redhat.com>
To: "Fischer, Anna" <anna.fischer@hp.com>
Cc: Arnd Bergmann <arnd@arndb.de>,
Mark McLoughlin <markmc@redhat.com>,
"kvm@vger.kernel.org" <kvm@vger.kernel.org>
Subject: Re: Network throughput limits for local VM <-> VM communication
Date: Wed, 17 Jun 2009 15:22:34 +0300 [thread overview]
Message-ID: <4A38E00A.5090402@redhat.com> (raw)
In-Reply-To: <0199E0D51A61344794750DC57738F58E67D2DCF4BF@GVW1118EXC.americas.hpqcorp.net>
On 06/17/2009 11:12 AM, Fischer, Anna wrote:
>
> For the tests I run now (with vlan= enabled) I am actually using both TCP and UDP, and I see the problem with virtio_net for both protocols. What I am wondering about though is that I do not seem to have any problems if I communicate directly between the two guests (if I plug then into the same bridge and put them onto the same networks), so why do I only see the problem of stalling network communication when there is a routing VM in the network path? Is this just because the system is even more overloaded in that case? Or could this be an issue related to a dual NIC configuration or the fact that I run multiple bridges on the same physical machine?
>
My guess is that somewhere there's a queue that's shorter that the
virtio queue, or its usable size fluctuates (because it is shared with
something else). So TCP flow control doesn't work, and UDP doesn't have
a chance.
> When you say "We are working on fixing this." - which code parts are you working on? Is this in the QEMU network I/O processing code or is this virtio_net related?
>
tap. virtio, qemu, maybe more. It's a difficult problem.
> Retry with "the fixed configuration"? You mean setting the vlan= parameter? I have already used the vlan= parameter for the latest tests, and so the CPU utilization issues I am talking about are happening with that configuration.
>
Yeah.
Can you compare total data sent and received as seen by the guests?
That would confirm that packets being dropped causes the slowdown.
--
Do not meddle in the internals of kernels, for they are subtle and quick to panic.
next prev parent reply other threads:[~2009-06-17 12:22 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-06-09 11:06 Network throughput limits for local VM <-> VM communication Fischer, Anna
2009-06-09 13:39 ` Mark McLoughlin
2009-06-09 13:55 ` Fischer, Anna
2009-06-10 13:29 ` Arnd Bergmann
2009-06-10 13:57 ` Fischer, Anna
2009-06-11 7:49 ` Arnd Bergmann
2009-06-11 8:01 ` Fischer, Anna
2009-06-11 8:17 ` Avi Kivity
2009-06-11 8:46 ` Fischer, Anna
2009-06-11 8:50 ` Avi Kivity
2009-06-17 7:36 ` Fischer, Anna
2009-06-17 7:50 ` Avi Kivity
2009-06-17 8:12 ` Fischer, Anna
2009-06-17 12:22 ` Avi Kivity [this message]
2009-06-17 15:41 ` Fischer, Anna
2009-06-18 8:37 ` Avi Kivity
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=4A38E00A.5090402@redhat.com \
--to=avi@redhat.com \
--cc=anna.fischer@hp.com \
--cc=arnd@arndb.de \
--cc=kvm@vger.kernel.org \
--cc=markmc@redhat.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.