Netdev List
 help / color / mirror / Atom feed
From: Olof Johansson <olof@lixom.net>
To: Andrew Grover <andrew.grover@intel.com>
Cc: netdev@vger.kernel.org
Subject: Re: [PATCH 9/10] [IOAT] Add sysctl to tuning IOAT offloaded IO threshold
Date: Thu, 20 Apr 2006 16:16:43 -0500	[thread overview]
Message-ID: <20060420211643.GJ26746@pb15.lixom.net> (raw)
In-Reply-To: <Pine.LNX.4.44.0604201341530.22544-100000@isotope.jf.intel.com>

Hi,

On Thu, Apr 20, 2006 at 01:50:40PM -0700, Andrew Grover wrote:
> 
> Any socket recv of less than this ammount will not be offloaded
[...]
> --- a/net/core/user_dma.c
> +++ b/net/core/user_dma.c
> @@ -33,6 +33,10 @@
>  
>  #ifdef CONFIG_NET_DMA
>  
> +#define NET_DMA_DEFAULT_COPYBREAK 1024
> +
> +int sysctl_tcp_dma_copybreak = NET_DMA_DEFAULT_COPYBREAK;
> +

The breakpoint is highly likely to be at different points on various
architectures and platforms depending on what they look like, where in
the system the DMA engine is, how efficient regular memcpy is, etc.

I would like to see it as a config option instead, so it will at least
be possible to tune per-arch (via default config, etc).


-Olof


      reply	other threads:[~2006-04-20 21:41 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-04-20 20:50 [PATCH 9/10] [IOAT] Add sysctl to tuning IOAT offloaded IO threshold Andrew Grover
2006-04-20 21:16 ` Olof Johansson [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=20060420211643.GJ26746@pb15.lixom.net \
    --to=olof@lixom.net \
    --cc=andrew.grover@intel.com \
    --cc=netdev@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