From: Rick Jones <rick.jones2@hp.com>
To: Daniel Baluta <dbaluta@ixiacom.com>
Cc: David Miller <davem@davemloft.net>,
eric.dumazet@gmail.com, kuznet@ms2.inr.ac.ru, jmorris@namei.org,
yoshfuji@linux-ipv6.org, kaber@trash.net, netdev@vger.kernel.org,
luto@amacapital.net
Subject: Re: [RFC v2] tcp: Export TCP Delayed ACK parameters to user
Date: Mon, 31 Oct 2011 14:29:30 -0700 [thread overview]
Message-ID: <4EAF133A.2080505@hp.com> (raw)
In-Reply-To: <CAEnQRZAGc42q1LCEDs=QigLkXeHBui=KnAm5=5xrEzvA-LDcGg@mail.gmail.com>
On 10/31/2011 01:02 PM, Daniel Baluta wrote:
> On Mon, Oct 31, 2011 at 8:10 PM, Rick Jones<rick.jones2@hp.com> wrote:
>> Whether tracked as bytes or segments, my take is that to ask applications to
>> have to think about another non-portable socket option is ungood. I would
>> suggest taking the time to work-out the automagic heuristic to drop the
>> deferred ACK count on connections where it being large is un-desirable and
>> then not need to worry about the limits being global.
>
> Your suggestion deserves further investigation, it looks tricky to
> find a good heuristic for increasing/decreasing the ACK deferred count.
Well, presumably you can observe the behaviour of some HP-UX and/or
Solaris receivers to get some ideas.
>> If I recall correctly, in one of your earlier posts you mentioned something
>> about a 20% performance boost. What were the specific conditions of that
>> testing? Was it over a setup where the receiver already had LRO/GRO or was
>> it over a more plain receiver NIC without that functionality?
>
> If I remember correctly on the receiver side there was no LRO/GRO, but we
> tweaked some of /proc/sys/net/ipv4 parameters (e.g tcp_rmem).
> Also, the traffic was highly unidirectional with many clients feeding multimedia
> content to a server.
>
> Anyhow, we used our custom kernel which is an older kernel version.
> Are there any recommended benchmarks/tools for testing this kind of parameters?
Well, the last time I was tilting after the ACK avoidance windmill I
used my favorite tool, netperf. I believe I posted some HP-UX data
showing the effect of different values of tcp_deferred_ack_max. Both on
throughput, and on CPU utilization/service demand. Of course, I have
something of a bias in that regard :)
rick jones
next prev parent reply other threads:[~2011-10-31 21:29 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-10-27 23:07 [RFC] tcp: Export TCP Delayed ACK parameters to user Daniel Baluta
2011-10-28 0:01 ` Eric Dumazet
2011-10-28 8:01 ` Daniel Baluta
2011-10-28 8:44 ` Eric Dumazet
2011-10-28 16:38 ` Rick Jones
2011-10-28 21:14 ` [RFC v2] " Daniel Baluta
2011-10-28 21:19 ` David Miller
2011-10-28 21:35 ` Daniel Baluta
2011-10-28 22:31 ` David Miller
2011-10-28 22:40 ` Rick Jones
2011-10-29 2:24 ` David Miller
2011-10-29 12:32 ` Daniel Baluta
2011-10-30 4:13 ` David Miller
2011-10-31 18:10 ` Rick Jones
2011-10-31 20:02 ` Daniel Baluta
2011-10-31 21:29 ` Rick Jones [this message]
2011-10-28 21:53 ` Andy Lutomirski
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=4EAF133A.2080505@hp.com \
--to=rick.jones2@hp.com \
--cc=davem@davemloft.net \
--cc=dbaluta@ixiacom.com \
--cc=eric.dumazet@gmail.com \
--cc=jmorris@namei.org \
--cc=kaber@trash.net \
--cc=kuznet@ms2.inr.ac.ru \
--cc=luto@amacapital.net \
--cc=netdev@vger.kernel.org \
--cc=yoshfuji@linux-ipv6.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).