RACK not getting disabled
Subsystems (2)
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
Quoted 14 lines · hiren panchasara
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 = 0I've also disabled metrics:
net.ipv4.tcp_no_metrics_save = 1
And also flushed existing entries with 'iptcp_metricsflush' just to be on a safer side.Not really relevant here but I've also switched to reno.
Quoted 7 lines
I am on: 4.10.0-33-generic
pcap: https://transfer.sh/mfoiN/reno_no_rack.pcapWhat am I missing? I can provide any additional info.
Cheers,
Hiren
A single SACK can contains enough information to trigger a retransmit.
If you absolutely want to see the old 3 dupack in action, you also want to disable SACK.
Quoted 18 lines · Eric Dumazet
Quoted 17 lines · hiren panchasara
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 = 0I've also disabled metrics:
net.ipv4.tcp_no_metrics_save = 1
And also flushed existing entries with 'iptcp_metricsflush' 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
Quoted 7 lines
Quoted 4 lines
What am I missing? I can provide any additional info.
Cheers,
HirenA single SACK can contains enough information to trigger a retransmit.
Bah, right. FACK!
Quoted 3 lines
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
Quoted 27 lines · hiren panchasara
Quoted 18 lines · Eric Dumazet
Quoted 17 lines · hiren panchasara
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 = 0I've also disabled metrics:
net.ipv4.tcp_no_metrics_save = 1
And also flushed existing entries with 'iptcp_metricsflush' 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.pcapQuoted 7 lines
Quoted 4 lines
What am I missing? I can provide any additional info.
Cheers,
HirenA single SACK can contains enough information to trigger a retransmit.
Quoted 7 lines
Bah, right. FACK!
Quoted 3 lines
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.
Ah, what you probably meant was that this could still be < 3 dupacks triggering loss-recovery based on reordering.
I believe I got what I was looking for.
Thanks a ton,
Hiren
Quoted 5 lines · hiren panchasara
Quoted 4 lines · Eric Dumazet
Quoted 3 lines · hiren panchasara
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).
just to be clear: 3-dupack (aka RFC3517) is still enabled with RACK enabled. I am experimenting a patch set to disable 3-dupack approach completely.
Quoted 33 lines
Quoted 14 lines
Quoted 14 lines
Here is what I did to disable rack:
net.ipv4.tcp_recovery = 0I've also disabled metrics:
net.ipv4.tcp_no_metrics_save = 1
And also flushed existing entries with 'iptcp_metricsflush' 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.pcapQuoted 7 lines
Quoted 4 lines
What am I missing? I can provide any additional info.
Cheers,
HirenA single SACK can contains enough information to trigger a retransmit.
Bah, right. FACK!
Quoted 3 lines
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
Quoted 10 lines · Yuchung Cheng
Quoted 5 lines · hiren panchasara
Quoted 4 lines · Eric Dumazet
Quoted 3 lines · hiren panchasara
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).
just to be clear: 3-dupack (aka RFC3517) is still enabled with RACK enabled. I am experimenting a patch set to disable 3-dupack approach completely.
So any incoming packet undergoes both checks right now to decide whether to mark it lost based on 3-dupacks (and eventually rfc6675) and also rack? Any insights into how they are working together would be great.
Also whichever scheme detects loss first can kick connection into loss-recovery, right?
Thanks for the clarification, Yuchung.
Cheers,
Hiren
Quoted 12 lines · hiren panchasara
Quoted 10 lines · Yuchung Cheng
Quoted 5 lines · hiren panchasara
Quoted 4 lines · Eric Dumazet
Quoted 3 lines · hiren panchasara
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).
just to be clear: 3-dupack (aka RFC3517) is still enabled with RACK enabled. I am experimenting a patch set to disable 3-dupack approach completely.
Quoted 6 lines
So any incoming packet undergoes both checks right now to decide whether to mark it lost based on 3-dupacks (and eventually rfc6675) and also rack? Any insights into how they are working together would be great.
Also whichever scheme detects loss first can kick connection into loss-recovery, right?
Yes. essentially we run both algorithms. the recovery starts when any packet is deemed lost
Quoted 5 lines
Thanks for the clarification, Yuchung.
Cheers,
Hiren