netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Thomas Jarosch <thomas.jarosch@intra2net.com>
To: "Ilpo Järvinen" <ilpo.jarvinen@helsinki.fi>
Cc: "Jozsef Kadlecsik" <kadlec@blackhole.kfki.hu>,
	Netdev <netdev@vger.kernel.org>,
	"Patrick McHardy" <kaber@trash.net>,
	"Sven Riedel" <sr@securenet.de>,
	"Netfilter Developer Mailing List"
	<netfilter-devel@vger.kernel.org>,
	"Dâniel Fraga" <fragabr@gmail.com>,
	"David Miller" <davem@davemloft.net>
Subject: Re: TCP connection stalls under 2.6.24.7
Date: Fri, 18 Jul 2008 11:14:51 +0200	[thread overview]
Message-ID: <200807181114.53059.thomas.jarosch@intra2net.com> (raw)
In-Reply-To: <Pine.LNX.4.64.0807171819160.13775@wrl-59.cs.helsinki.fi>

Moi Ilpo,

On Thursday, 17. July 2008 17:53:01 Ilpo Järvinen wrote:
> > > One option would be to disable reentry to FRTO when some progress was
> > > made... Please try with the patch below...
>
> Ah, I just forgot that the situation might persist... Try with this
> one instead...

Good news everyone: Two connections made it to the finish line.

The bad part: One transfer took four minutes, the other sixteen minutes.
A colleague commented it's still much faster than carrying the message
by plane ;-) A session without FRTO takes around 84 seconds.

I've added debug printks() to every return path in tcp_use_frto(),
so you can see what's going on. They look like this:

Jul 18 10:20:40 intratest131 kernel: [  957.318006] tcp_use_frto: ENTER: frto_counter: 0, icsk->icsk_ca_state: 0
Jul 18 10:20:40 intratest131 kernel: [  957.318011] tcp_use_frto: DEFAULT RETURN 1;
Jul 18 10:21:08 intratest131 kernel: [  984.446006] tcp_use_frto: ENTER: frto_counter: 3, icsk->icsk_ca_state: 0
Jul 18 10:21:08 intratest131 kernel: [  984.446011] tcp_use_frto: RETURN in "tp->frto_counter > 1 || icsk->icsk_ca_state == TCP_CA_Loss"
Jul 18 10:21:14 intratest131 kernel: [  991.058006] tcp_use_frto: ENTER: frto_counter: 0, icsk->icsk_ca_state: 0
Jul 18 10:21:14 intratest131 kernel: [  991.058011] tcp_use_frto: DEFAULT RETURN 1;

Here are two new dumps and the corresponding debug traces:
http://www.intra2net.com/de/download/tcpdump/tcp_frto_second_patch.tar.bz2

Enjoy,
Thomas
--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

  reply	other threads:[~2008-07-18  9:14 UTC|newest]

Thread overview: 107+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <47EA0DAB.7080205@securenet.de>
     [not found] ` <Pine.LNX.4.64.0807042251500.4142@blackhole.kfki.hu>
     [not found]   ` <200807071118.32988.thomas.jarosch@intra2net.com>
2008-07-07 13:18     ` TCP connection stalls under 2.6.24.7 Thomas Jarosch
2008-07-10 13:17       ` Jozsef Kadlecsik
2008-07-10 14:12         ` Thomas Jarosch
2008-07-10 21:21           ` Jozsef Kadlecsik
2008-07-11 14:33             ` Thomas Jarosch
2008-07-15 11:47               ` Thomas Jarosch
2008-07-15 16:10                 ` Thomas Jarosch
2008-07-15 18:30                   ` Dâniel Fraga
2008-07-31  4:47                     ` Dâniel Fraga
2008-07-31  7:39                       ` Ilpo Järvinen
2008-08-02 12:24                         ` Dâniel Fraga
2008-07-15 20:17                   ` Ilpo Järvinen
2008-07-16  8:07                     ` Thomas Jarosch
2008-07-16  9:03                     ` Thomas Jarosch
2008-07-17 13:55                       ` Ilpo Järvinen
2008-07-17 15:15                         ` Thomas Jarosch
2008-07-17 15:53                           ` Ilpo Järvinen
2008-07-18  9:14                             ` Thomas Jarosch [this message]
2008-07-18 13:55                               ` Ilpo Järvinen
2008-07-18 14:02                                 ` Thomas Jarosch
2008-07-19  7:35                                   ` Ilpo Järvinen
2008-07-25 10:00                                   ` Ilpo Järvinen
2008-07-25 13:00                                     ` Thomas Jarosch
2008-07-25 14:06                                       ` Ilpo Järvinen
2008-07-25 15:34                                         ` Thomas Jarosch
2008-07-31  7:39                                           ` Thomas Jarosch
2008-07-31 12:44                                             ` Dâniel Fraga
2008-07-31 13:47                                               ` Thomas Jarosch
2008-07-31 14:11                                                 ` Dâniel Fraga
2008-08-06 18:53                                                 ` Dâniel Fraga
2008-08-07  6:54                                                   ` Ilpo Järvinen
2008-08-07 11:50                                                     ` Denys Fedoryshchenko
2008-08-07 12:11                                                       ` Thomas Jarosch
2008-08-07 12:14                                                       ` Ilpo Järvinen
2008-08-07 12:23                                                         ` Denys Fedoryshchenko
2008-08-08  9:56                                                           ` Ilpo Järvinen
2008-08-08 10:32                                                             ` Denys Fedoryshchenko
2008-08-07 11:33                                                   ` [PATCH] tcp FRTO: in-order-only "TCP proxy" fragility workaround Ilpo Järvinen
2008-08-08  4:42                                                     ` Bill Fink
2008-08-08 10:32                                                       ` Ilpo Järvinen
2008-08-11 21:44                                                         ` David Miller
2008-08-12  7:46                                                           ` Thomas Jarosch
2008-08-12  8:18                                                             ` David Miller
2008-08-12 17:43                                                               ` Dâniel Fraga
2008-08-12 17:52                                                                 ` Ilpo Järvinen
2008-08-13 17:53                                                                   ` Dâniel Fraga
2008-08-13 18:34                                                                     ` Ilpo Järvinen
2008-08-15  4:34                                                                       ` Dâniel Fraga
2008-08-15  7:06                                                                         ` Ilpo Järvinen
2008-08-15 21:35                                                                           ` Dâniel Fraga
2008-08-15 22:06                                                                             ` Ilpo Järvinen
2008-08-15 23:57                                                                               ` Dâniel Fraga
2008-08-16  2:15                                                                               ` Dâniel Fraga
2008-08-16  7:10                                                                                 ` Ilpo Järvinen
2008-08-16 19:18                                                                                   ` Ilpo Järvinen
2008-08-17  0:36                                                                                     ` Dâniel Fraga
2008-08-19 10:38                                                                                       ` Ilpo Järvinen
2008-08-20  0:34                                                                                         ` Dâniel Fraga
2008-08-20  7:57                                                                                           ` Ilpo Järvinen
2008-08-20 12:37                                                                                           ` Ilpo Järvinen
2008-08-22 21:32                                                                                             ` Dâniel Fraga
2008-08-22 21:37                                                                                               ` David Miller
2008-08-23 14:14                                                                                                 ` Dâniel Fraga
2008-08-23 14:38                                                                                                   ` Ilpo Järvinen
2008-08-24 19:38                                                                                                     ` Dâniel Fraga
2008-08-26 14:10                                                                                                       ` Ilpo Järvinen
2008-08-26 14:32                                                                                                         ` Ilpo Järvinen
2008-08-26 17:18                                                                                                         ` Dâniel Fraga
2008-08-26 20:40                                                                                                           ` Ilpo Järvinen
2008-08-26 21:17                                                                                                             ` Dâniel Fraga
2008-08-27 10:22                                                                                                               ` Ilpo Järvinen
2008-08-27 19:51                                                                                                                 ` Dâniel Fraga
2008-08-27 20:32                                                                                                                   ` Ilpo Järvinen
2008-08-27 20:50                                                                                                                     ` Dâniel Fraga
2008-08-27 21:25                                                                                                                       ` Ilpo Järvinen
2008-08-27 21:42                                                                                                                         ` Dâniel Fraga
2008-08-27 22:24                                                                                                                           ` Dâniel Fraga
2008-08-28 21:49                                                                                                             ` Dâniel Fraga
2008-08-29 13:07                                                                                                               ` Ilpo Järvinen
2008-08-29 17:41                                                                                                                 ` Dâniel Fraga
2008-09-01  7:11                                                                                                                   ` Ilpo Järvinen
2008-08-30  6:56                                                                                                                 ` Dâniel Fraga
2008-09-01  7:11                                                                                                                   ` Ilpo Järvinen
2008-09-07  8:17                                                                                                                     ` Dâniel Fraga
2008-09-08 10:27                                                                                                                       ` Ilpo Järvinen
2008-09-08 20:20                                                                                                                         ` Dâniel Fraga
2008-09-11 13:44                                                                                                                           ` Ilpo Järvinen
2008-09-11 17:30                                                                                                                             ` Dâniel Fraga
2008-09-12 10:16                                                                                                                               ` Ilpo Järvinen
2008-09-13 23:31                                                                                                                                 ` Dâniel Fraga
2008-09-16 12:10                                                                                                                                   ` Ilpo Järvinen
2008-09-16 14:24                                                                                                                                     ` Dâniel Fraga
2008-09-17 10:23                                                                                                                                       ` Ilpo Järvinen
2008-09-18 20:35                                                                                                                                         ` Dâniel Fraga
2008-09-18 21:04                                                                                                                                           ` Ilpo Järvinen
2008-09-21  3:02                                                                                                                                             ` Dâniel Fraga
2008-09-22  4:23                                                                                                                                             ` Dâniel Fraga
2008-09-22 11:22                                                                                                                                               ` Ilpo Järvinen
2008-09-22 16:13                                                                                                                                                 ` Dâniel Fraga
2008-09-15 19:42                                                                                                                                 ` Dâniel Fraga
2008-09-11 18:12                                                                                                                             ` Dâniel Fraga
2008-08-15 21:59                                                                           ` Dâniel Fraga
2008-08-13  8:00                                                               ` Thomas Jarosch
2008-08-22 21:18                                                             ` Ilpo Järvinen
2008-08-11 21:41                                                       ` David Miller
     [not found] <200807101146.26034.thomas.jarosch@intra2net.com>
2008-07-10 10:51 ` TCP connection stalls under 2.6.24.7 Thomas Jarosch
2008-07-10 22:20   ` Dâniel Fraga

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=200807181114.53059.thomas.jarosch@intra2net.com \
    --to=thomas.jarosch@intra2net.com \
    --cc=davem@davemloft.net \
    --cc=fragabr@gmail.com \
    --cc=ilpo.jarvinen@helsinki.fi \
    --cc=kaber@trash.net \
    --cc=kadlec@blackhole.kfki.hu \
    --cc=netdev@vger.kernel.org \
    --cc=netfilter-devel@vger.kernel.org \
    --cc=sr@securenet.de \
    /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).