tcp FRTO: in-order-only "TCP proxy" fragility workaround
Subsystems (3)
Forward mail. Upgrading to KDE 4.1.0/kdepim4 from KDE 3.5.9 enabled HTML emails by default and I didn't notice it before.
---------- Forwarded Message ----------
Subject: Re: [PATCH] tcp FRTO: in-order-only "TCP proxy" fragility workaround
Date: Monday, 25. August 2008
From: Thomas Jarosch <[email protected]>
To: "Ilpo Järvinen" <[email protected]>
Quoted 7 lines · On Friday, 22. August 2008 23:18:44 Ilpo Järvinen wrote:
In the meantime, can you check the attached patches. Besides the kernel patch, you need to build your own patched iproute2 as well to configure the features (ip tool among them is enough in case the build of some other part of the toolset fails like it did for me). I somewhat tested them, and the result seemed to be what I'd expect (I just forced RTOs with some netem heavy dropping and quickly glanced over the resulting packet patterns near RTO).
Your patches work fine.
I've noticed two small things:
1. Maybe it's a good idea to add a note above the tcp_use_frto() change to explain that the value is negated. Took me a while to figure out why there is no "!" in there :-)
2. Maybe rename the "features" option in iproute2 to "disable_features". Then it would be more intuitive what it does.
btw: If you apply something to the iproute2 git tree, I got a compiler error while testing the patch:
In file included from lnstat.c:40:
lnstat.h:28: error: field 'last_read' has incomplete type lnstat.h:29: error: field 'interval' has incomplete type
Attached small patch fixes the issue.
Cheers,
Thomas
Fix this compile error:
In file included from lnstat.c:40:
lnstat.h:28: error: field 'last_read' has incomplete type lnstat.h:29: error: field 'interval' has incomplete type
misc/lnstat.h +1 -0
@@ -2,6 +2,7 @@#define _LNSTAT_H#include <limits.h> +#include <sys/time.h> #define LNSTAT_VERSION "0.02 041002"
Quoted 10 lines · Thomas Jarosch
Quoted 7 lines · On Friday, 22. August 2008 23:18:44 Ilpo Järvinen wrote:
In the meantime, can you check the attached patches. Besides the kernel patch, you need to build your own patched iproute2 as well to configure the features (ip tool among them is enough in case the build of some other part of the toolset fails like it did for me). I somewhat tested them, and the result seemed to be what I'd expect (I just forced RTOs with some netem heavy dropping and quickly glanced over the resulting packet patterns near RTO).
Your patches work fine.
Thanks for testing.
Quoted 6 lines
I've noticed two small things:
1. Maybe it's a good idea to add a note above thetcp_use_frto()change to explain that the value is negated. Took me a while to figure out why there is no "!" in there :-)
2. Maybe rename the "features" option in iproute2 to "disable_features". Then it would be more intuitive what it does.
First of all I hate doing anything which has an user interface stamp in it... :-)
Second, didn't I write about this negation in some of the log messages... /me looks for that... hmm... I think I did ...and that's besides the very clear help text :-).
Yeah, it was just that the earlier ip already prints the field as "features" though I guess changing also that is a non-problem to existing userspace stuff because of the current usage of the field. There's this RTAX_FEATURE_ALLFRAG stuff which somebody could be looking for but I don't know how likely that will be.
But anyway, point taken. I'll try to change both to disable_features and see if that gets accepted.
Signature · 1 line
i.