From: "David S. Miller" <davem@davemloft.net>
To: angelo.castellani+lkml@gmail.com
Cc: netdev@vger.kernel.org, francesco@net.infocom.uniroma1.it,
andrea.baiocchi@uniroma1.it
Subject: Re: [PATCH] reno sacked_out count fix
Date: Tue, 16 May 2006 21:40:11 -0700 (PDT) [thread overview]
Message-ID: <20060516.214011.132715124.davem@davemloft.net> (raw)
In-Reply-To: <8dd26e70605160224i44bbaa8ei93eede75e71f6665@mail.gmail.com>
From: "Angelo P. Castellani" <angelo.castellani+lkml@gmail.com>
Date: Tue, 16 May 2006 11:24:00 +0200
> Using NewReno, if a sk_buff is timed out and is accounted as lost_out,
> it should also be removed from the sacked_out.
>
> This is necessary because recovery using NewReno fast retransmit could
> take up to a lot RTTs and the sk_buff RTO can expire without actually
> being really lost.
>
> left_out = sacked_out + lost_out
> in_flight = packets_out - left_out + retrans_out
>
> Using NewReno without this patch, on very large network losses,
> left_out becames bigger than packets_out + retrans_out (!!).
>
> For this reason unsigned integer in_flight overflows to 2^32 - something.
Thanks for your analysis and fix, I will apply it.
This pseudo-SACK for Reno scheme could probably use some changes. For
example, one idea Herbert Xu had was to maintain the pseudo-SACKs in
the actual TAG bits of the TCP_SKB_CB() as if we saw real SACKs. But
I am concerned that since we have to be careful not to trust those
pseudo-SACK bits too much, it could actually make the code more
complicated not less complicated.
prev parent reply other threads:[~2006-05-17 4:40 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-05-16 9:24 [PATCH] reno sacked_out count fix Angelo P. Castellani
2006-05-17 4:40 ` David S. Miller [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=20060516.214011.132715124.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=andrea.baiocchi@uniroma1.it \
--cc=angelo.castellani+lkml@gmail.com \
--cc=francesco@net.infocom.uniroma1.it \
--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