Skip to contentSkip to conversation

net: TCP thin dupack

PATCH [email protected] 1 participant 1 message Oct 30, 2009

Subsystems (2)
lore
Share & tools
lore
#0 lore raw
Quoted 3 lines · On Thu, 29 Oct 2009, [email protected] wrote:
Quoted 2 lines

I apologise that some of you received this mail more than once. My

email

Quoted 5 lines
Quoted 5 lines

client played a HTML-trick on me.

Quoted 4 lines

Review

Quoted 4 lines
(quoted diff) +4 -0
+	/* If a thin stream is detected, retransmit after first
+	 * received dupack */
+	if ((tp->thin_dupack || sysctl_tcp_force_thin_dupack) &&
+	    tcp_dupack_heurestics(tp) > 1 && tcp_stream_is_thin(tp))

+ return 1;

Quoted 8 lines
Quoted 8 lines
Quoted 5 lines

Review

Quoted 3 lines
(quoted diff) +1 -0
+
 	return 0;
 }

Have you tested it? ...I doubt this will work like you say and

retransmit

Quoted 1 line

something when the window is small. ...Besides, you should have built

this

Quoted 8 lines
Quoted 8 lines
Quoted 1 line

patch on top of the function rename you submitted earlier as after

DaveM
applied that this will no longer even compile...

Quoted 4 lines

--
i.

We have performed extensive tests mapping the effect of the patch you

commented on some months ago. Since then, the only change was the one you

Quoted 1 line
Quoted 1 line

requested of switching tcp_fackets_out() with tcp_dupack_heurestics().

After inspecting the code, I believed the effect should be equal to the previous, only making considerations for SACK and FACK availability. Please tell if this will break the intended effect, and I will modify the

Quoted 3 lines
Quoted 1 line

patch accordingly.

Ah, you're of course right. FACK retransmits the head always but RFC3517

mode doesn't. I think you'd need to artificially lower (ie., to calculate)

Quoted 3 lines

the dupthresh (from tp->reordering) to be 1 for it to work as intented.

Quoted 1 line

Graphs from our tests of the original patch can be found at the

location

Quoted 1 line
Quoted 1 line

linked to below. I have tested the new one for functionality, but have

not et performed tests on this scope as the changes were minor. I will, of

Quoted 1 line
Quoted 1 line

course, fix the function rename in the next iteration. Sorry for that.

http://folk.uio.no/apetlund/lktmp/

Quoted 2 lines

You curiousity, have you run this more aggressive form of early

retransmit

Quoted 1 line

against the one ID gives? ...I checked your results but if I understood

them correctly the IDish early retransmit wasn't among the variants used.

We have not implemented EFR for Linux TCP. We have, however, performed tests where we compare the Free BSD implementation on SCTP with SCTP using our proposed exp. bo. and dupACK modifications. I know that this is not directly comparable, and link to this as a digression:

http://folk.uio.no/apetlund/lktmp/SCTP_thin_compare.pdf

If you are interested in our set of SCTP experiments, it is summarised in the paper linked to below:

http://simula.no/research/networks/publications/Simula.ND.311/simula_pdf_file

Regards,
Andreas