From: Benjamin LaHaise <bcrl@kvack.org>
To: Stephen Hemminger <shemminger@osdl.org>
Cc: "David S. Miller" <davem@davemloft.net>, netdev@vger.kernel.org
Subject: Re: [PATCH?] tcp and delayed acks
Date: Wed, 16 Aug 2006 17:41:34 -0400 [thread overview]
Message-ID: <20060816214134.GG9519@kvack.org> (raw)
In-Reply-To: <20060816121112.0c181ac3@localhost.localdomain>
On Wed, Aug 16, 2006 at 12:11:12PM -0700, Stephen Hemminger wrote:
> > is throttled waiting for ACKs to arrive. The problem is exacerbated when
> > the sender is using a small send buffer -- running netperf -C -c -- -s 1024
> > show a miserable 420Kbit/s at essentially 0% CPU usage. Tests over gige
> > are similarly constrained to a mere 96Mbit/s.
>
> What ethernet hardware? The defaults are often not big enough
> for full speed on gigabit hardware. I need increase rmem/wmem to allow
> for more buffering.
This is for small buffer transmit buffer sizes over either loopback or
e1000. The artifact also shows up over localhost for somewhat larger buffer
sizes, although it is much more difficult to get results that don't have
large fluctuations because of other scheduling issues. Pinning the tasks to
CPUs is on my list of things to try, but something in the multiple variants
of sched_setaffinity() has resulted in it being broken in netperf.
> The point of delayed ack's was to merge the response and the ack on request/response
> protocols like NFS or telnet. It does make sense to get it out sooner though.
I would like to see what sort of effect this change has on higher latency.
Ideally, quick ack mode should be doing the right thing, but it might need
more input about the receiver's intent.
-ben
--
"Time is of no importance, Mr. President, only life is important."
Don't Email: <dont@kvack.org>.
next prev parent reply other threads:[~2006-08-16 21:41 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-08-16 20:55 [PATCH?] tcp and delayed acks Benjamin LaHaise
2006-08-16 19:11 ` Stephen Hemminger
2006-08-16 21:15 ` David Miller
2006-08-16 21:37 ` Rick Jones
2006-08-16 21:41 ` Benjamin LaHaise [this message]
2006-08-16 22:39 ` Alexey Kuznetsov
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=20060816214134.GG9519@kvack.org \
--to=bcrl@kvack.org \
--cc=davem@davemloft.net \
--cc=netdev@vger.kernel.org \
--cc=shemminger@osdl.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).