xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
From: Ian Campbell <Ian.Campbell@eu.citrix.com>
To: Kaushik Kumar Ram <kaushik@rice.edu>
Cc: "xen-devel@lists.xensource.com" <xen-devel@lists.xensource.com>,
	Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Subject: Re: Xen dom0 network I/O scalability
Date: Fri, 13 May 2011 08:33:21 +0100	[thread overview]
Message-ID: <1305272001.31488.17.camel@zakaz.uk.xensource.com> (raw)
In-Reply-To: <9D1002E0-F0C8-4AF9-B98F-7F9D0A76936B@rice.edu>

On Thu, 2011-05-12 at 21:10 +0100, Kaushik Kumar Ram wrote:
> On May 12, 2011, at 3:21 AM, Ian Campbell wrote:
> 
> > A long time ago to backend->frontend path (guest receive) operated using
> > a page flipping mode. At some point a copying mode was added to this
> > path which became the default some time in 2006. You would have to go
> > out of your way to find a guest which used flipping mode these days. I
> > think this is the copying you are referring too, it's so long ago that
> > there was a distinction on this path that I'd forgotten all about it
> > until now.
> 
> I was not referring to page flipping at all. I was only talking about the copies
> in the receive path. 

Sure, I was just explaining the background as to why everyone got
confused when you mentioned copying mode since most peoples minds went
to the other copying vs. !copying distinction.

> > As far as I can tell you are running with the zero-copy path. Only
> > mainline 2.6.39+ has anything different.
> 
> Again, I was only referring to the receive path! I assumed you were talking about
> re-introducing zero-copy in the receive path (aka page flipping). 
> To be clear: 
> - xen.git#xen/stable-2.6.32.x uses copying in the RX path and 
> mapping (zero-copy) in the RX path. 
                             ^TX
> - Copying is used in both RX and TX path in 2.6.39+ for upstreaming.

Correct (as amended).

For completeness linux-2.6.18-xen.hg has both copying and flipping RX
paths but defaults to copying (you'd be hard pressed to find a guest
which uses flipping mode). The TX path is mapping (zero-copy).

In xen.git#xen/stable-2.6.32.x the code to support flipping RX path has
been completely removed.

> > I think you need to go into detail about your test setup so we can all
> > get on the same page and stop confusing ourselves by guessing which
> > modes netback has available and is running in. Please can you describe
> > precisely which kernels you are running (tree URL and changeset as well
> > as the .config you are using). Please also describe your guest
> > configuration (kernels, cfg file, distro etc) and benchmark methodology
> > (e.g. netperf options).
> > 
> > I'd also be interesting in seeing the actual numbers you are seeing,
> > alongside specifics of the test scenario which produced them.
> > 
> > I'm especially interesting in the details of the experiment(s) where you
> > saw a 50% drop in throughput.
> 
> I agree. I plan to run the experiments again next week. I will get back to you 
> with all the details. 

Thanks.

Ian.

      reply	other threads:[~2011-05-13  7:33 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-27 17:30 Xen dom0 network I/O scalability Kaushik Kumar Ram
2011-04-27 17:50 ` Konrad Rzeszutek Wilk
2011-05-10  2:13   ` Kaushik Kumar Ram
2011-05-10 20:23     ` Konrad Rzeszutek Wilk
2011-05-11  9:31       ` Ian Campbell
2011-05-11 18:43         ` Kaushik Kumar Ram
2011-05-12  8:21           ` Ian Campbell
2011-05-12 20:10             ` Kaushik Kumar Ram
2011-05-13  7:33               ` Ian Campbell [this message]

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=1305272001.31488.17.camel@zakaz.uk.xensource.com \
    --to=ian.campbell@eu.citrix.com \
    --cc=kaushik@rice.edu \
    --cc=konrad.wilk@oracle.com \
    --cc=xen-devel@lists.xensource.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 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).