kvm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Michael S. Tsirkin" <mst@redhat.com>
To: Alex Williamson <alex.williamson@hp.com>
Cc: avi@redhat.com, kvm@vger.kernel.org,
	virtualization@lists.linux-foundation.org,
	gregory.haskins@gmail.com
Subject: Re: [PATCHv3 0/4] qemu-kvm: vhost net support
Date: Thu, 20 Aug 2009 10:03:21 +0300	[thread overview]
Message-ID: <20090820070321.GA5448@redhat.com> (raw)
In-Reply-To: <7162ab20908181423l65f30744vc9a968c0e546a361@mail.gmail.com>

On Tue, Aug 18, 2009 at 03:23:02PM -0600, Alex Williamson wrote:
> On Tue, Aug 18, 2009 at 3:11 PM, Alex Williamson<alex.williamson@hp.com> wrote:
> > On Tue, Aug 18, 2009 at 3:04 PM, Michael S. Tsirkin<mst@redhat.com> wrote:
> >> Did you assign ip address in host by any chance? You don't want that.
> >
> > Nope, just up on the host, no IP:
> >
> > eth10     Link encap:Ethernet  HWaddr 00:17:a4:77:a4:08
> >          inet6 addr: fe80::217:a4ff:fe77:a408/64 Scope:Link
> >          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
> >          RX packets:22446487 errors:0 dropped:0 overruns:0 frame:0
> >          TX packets:4529008 errors:0 dropped:0 overruns:0 carrier:0
> >          collisions:0 txqueuelen:1000
> >          RX bytes:1492187453 (1.3 GiB)  TX bytes:2972806236 (2.7 GiB)
> >          Memory:fbae0000-fbb00000
> >
> 
> Hmm, I lose the dupe and get pretty respectable tcp_rr rates if I use
> the host as my target IP, is the issue maybe isolated to off-box
> communication?

I think the duplicates are our best hint that something's wrong at this
point. Let's try to see where do they come from.

What is it exactly that you see? This ping is external box to guest,
correct? Is it the external box that gets duplicates or the guest?
What happens when you ping the other way?
What does tcpdump show on both sides when you ping?

A couple of extra datapoints to check:
- What if you assign a different IP to the host (in the same subnet) and
  try external guest to host?
- Is the card in promisc mode? What if you disable promisc mode?

Also, it seems that you have an external bridge that sends your outgoing
packets back to you. Is that right?

Thanks!

> tcp_stream is still worse than userspace though.
> 
> Alex

  reply	other threads:[~2009-08-20  7:04 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-08-17 12:37 [PATCHv3 0/4] qemu-kvm: vhost net support Michael S. Tsirkin
2009-08-17 12:48 ` Avi Kivity
2009-08-18 20:54 ` Alex Williamson
2009-08-18 21:04   ` Michael S. Tsirkin
2009-08-18 21:11     ` Alex Williamson
2009-08-18 21:23       ` Alex Williamson
2009-08-20  7:03         ` Michael S. Tsirkin [this message]
2009-08-20 22:05           ` Alex Williamson
2009-08-23 19:45             ` Michael S. Tsirkin
2009-08-23 19:22       ` Michael S. Tsirkin
2009-08-25  1:38         ` Alex Williamson

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=20090820070321.GA5448@redhat.com \
    --to=mst@redhat.com \
    --cc=alex.williamson@hp.com \
    --cc=avi@redhat.com \
    --cc=gregory.haskins@gmail.com \
    --cc=kvm@vger.kernel.org \
    --cc=virtualization@lists.linux-foundation.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;
as well as URLs for NNTP newsgroup(s).