netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: hiren panchasara <hiren@strugglingcoder.info>
To: Eric Dumazet <eric.dumazet@gmail.com>
Cc: netdev@vger.kernel.org
Subject: Re: RACK not getting disabled
Date: Mon, 18 Sep 2017 14:29:52 -0700	[thread overview]
Message-ID: <20170918212952.GC28186@strugglingcoder.info> (raw)
In-Reply-To: <1505769494.29839.34.camel@edumazet-glaptop3.roam.corp.google.com>

[-- Attachment #1: Type: text/plain, Size: 1162 bytes --]

On 09/18/17 at 02:18P, Eric Dumazet wrote:
> On Mon, 2017-09-18 at 13:14 -0700, hiren panchasara wrote:
> > Hi all, I am trying to disable rack to see 3dupacks in action during
> > loss-detection but based on the pcap, I see that it's still trigger
> > loss-recovery on the first SACK (as if RACK is still enabled/active).
> > 
> > Here is what I did to disable rack:
> > net.ipv4.tcp_recovery = 0
> > 
> > I've also disabled metrics:
> > net.ipv4.tcp_no_metrics_save = 1 
> > And also flushed existing entries with 'ip tcp_metrics flush' just to be
> > on a safer side.
> > 
> > Not really relevant here but I've also switched to reno.
> > 
> > I am on: 4.10.0-33-generic
> > pcap: https://transfer.sh/mfoiN/reno_no_rack.pcap
> > 
> > What am I missing? I can provide any additional info.
> > 
> > Cheers,
> > Hiren
> 
> 
> A single SACK can contains enough information to trigger a retransmit.

Bah, right. FACK!
> 
> If you absolutely want to see the old 3 dupack in action, you also want
> to disable SACK.

I believe net.ipv4.tcp_fack = 0 would achieve that without disabling
sack.

Thanks for your help!
Cheers,
Hiren

[-- Attachment #2: Type: application/pgp-signature, Size: 603 bytes --]

  reply	other threads:[~2017-09-18 21:29 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-09-18 20:14 RACK not getting disabled hiren panchasara
2017-09-18 21:18 ` Eric Dumazet
2017-09-18 21:29   ` hiren panchasara [this message]
2017-09-18 21:45     ` hiren panchasara
2017-09-18 21:46     ` Yuchung Cheng
2017-09-18 21:55       ` hiren panchasara
2017-09-18 22:05         ` Yuchung Cheng

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=20170918212952.GC28186@strugglingcoder.info \
    --to=hiren@strugglingcoder.info \
    --cc=eric.dumazet@gmail.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;
as well as URLs for NNTP newsgroup(s).