All of lore.kernel.org
 help / color / mirror / Atom feed
From: Bin Ren <bin.ren@gmail.com>
To: Ian Pratt <m+Ian.Pratt@cl.cam.ac.uk>
Cc: xen-devel@lists.xensource.com,
	Andrew Theurer <habanero@us.ibm.com>,
	Jon Mason <jdmason@us.ibm.com>
Subject: Re: [PATCH] Network Checksum Removal
Date: Mon, 23 May 2005 22:01:59 +0100	[thread overview]
Message-ID: <8ae780250505231401729e40a3@mail.gmail.com> (raw)
In-Reply-To: <A95E2296287EAD4EB592B5DEEFCE0E9D1E41A3@liverpoolst.ad.cl.cam.ac.uk>

Machines spec:

External server:
CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
CPU: L2 Cache: 1024K (64 bytes/line)
CPU: AMD Athlon(tm) 64 Processor 3200+ stepping 08
Memory: 1024M DDR400 CAS 3
NIC: 1Gb/s Intel Pro/1000 MT Desktop

Xen machine:
CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
CPU: L2 Cache: 256K (64 bytes/line)
CPU: AMD Sempron(tm) 2200+ stepping 01
Memory: 1024M DDR400 CAS 3
NIC: 1Gb/s Intel Pro/1000 MT Desktop

The highest number I'm seeing here is 760Mbps running native linux on
the Xen machine. dom0->external server gets 650Mbps. dom1->external
server is definitely low using the default BVT. I've recently
implemented a Xen scheduler based on Earliest Eligible Virtual
Deadline First, which gives 610Mbps for dom1->external, ~50%
improvement over BVT. I'm still figuring out why.

On 5/23/05, Ian Pratt <m+Ian.Pratt@cl.cam.ac.uk> wrote:
> > Overall though these are the kind of results I would expect.
> > Linux usually does csumming at the same time as it has to do
> > a copy anyway, and it ends up being limited by
> > memory/L2-cache bandwidth, not the extra computation. But the
> > offload extensions haven't cost much to implement and there
> > are probably cases where it helps a little.
> >
> > Maybe I'm being pessimistic though: Can you reproduce the
> > rather more impressive speedups that you previously saw, Jon?
> 
> We should be getting some benefit on the receive path, where the
> checksum is normally forced to happen independent of a copy. Having this
> offloaded to hardware should produce some measureable gain.
> 
> Bin: The numbers you're seeing are terrible anyway. You should be seeing
> 890Mb/s for external traffic. What kind of machine is this on?
> 
> Ian
>

  parent reply	other threads:[~2005-05-23 21:01 UTC|newest]

Thread overview: 53+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-23 20:22 [PATCH] Network Checksum Removal Ian Pratt
2005-05-23 20:38 ` Keir Fraser
2005-05-23 20:44   ` Jon Mason
2005-05-23 21:01 ` Bin Ren [this message]
2005-05-23 21:09   ` Andrew Theurer
  -- strict thread matches above, loose matches on Subject: below --
2005-05-25 20:06 Ian Pratt
2005-05-25 21:14 ` Keir Fraser
2005-05-25 21:35   ` Jon Mason
2005-05-25 21:40     ` Keir Fraser
2005-05-25 23:41       ` Jon Mason
2005-05-26  8:07         ` Keir Fraser
2005-05-26 13:37           ` Jon Mason
2005-05-25 21:38 ` Cédric Schieli
2005-05-25 21:47   ` Keir Fraser
2005-05-25 21:54     ` Keir Fraser
2005-05-25 16:48 Ian Pratt
2005-05-25 17:13 ` Jon Mason
2005-05-25 18:19   ` Nivedita Singhvi
2005-05-24  1:22 Ian Pratt
2005-05-24  1:35 ` Bin Ren
2005-05-24 22:54 ` Bin Ren
2005-05-23 23:59 Ian Pratt
2005-05-24 16:12 ` Jon Mason
2005-05-24 20:45   ` Andrew Theurer
2005-05-25 14:38     ` Andrew Theurer
2005-05-23 20:26 Ian Pratt
2005-05-20 23:30 Jon Mason
2005-05-21 14:53 ` Keir Fraser
2005-05-21 19:16   ` Keir Fraser
2005-05-21 21:49     ` Jon Mason
2005-05-23 15:29     ` Andrew Theurer
2005-05-23 15:31       ` Bin Ren
2005-05-23 15:47         ` Andrew Theurer
2005-05-23 15:56           ` Bin Ren
2005-05-23 16:06             ` Bin Ren
2005-05-23 16:16               ` Jon Mason
2005-05-23 16:36                 ` Bin Ren
2005-05-23 17:54                   ` Keir Fraser
2005-05-23 18:08                     ` Bin Ren
2005-05-23 18:18                       ` Jon Mason
2005-05-23 18:43                         ` Keir Fraser
2005-05-23 18:53                           ` Bin Ren
2005-05-23 19:55                     ` Bin Ren
2005-05-23 20:13                       ` Keir Fraser
2005-05-23 20:20                         ` Jon Mason
2005-05-23 21:52                         ` Bin Ren
2005-05-23 21:58                         ` Jon Mason
2005-05-23 22:05                           ` Bin Ren
2005-05-23 22:41                             ` Jon Mason
2005-05-23 21:12                       ` Nivedita Singhvi
2005-05-23 21:48                         ` Bin Ren
2005-05-23 23:55                           ` Rolf Neugebauer
2005-05-24  0:38                             ` Bin Ren

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=8ae780250505231401729e40a3@mail.gmail.com \
    --to=bin.ren@gmail.com \
    --cc=bin.ren@cl.cam.ac.uk \
    --cc=habanero@us.ibm.com \
    --cc=jdmason@us.ibm.com \
    --cc=m+Ian.Pratt@cl.cam.ac.uk \
    --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 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.