LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 05-25-2011, 05:20 PM   #1
dbulka
LQ Newbie
 
Registered: Dec 2006
Posts: 8

Rep: Reputation: 0
Question RedHat client ignores DUP ACKs and waits 200ms to retransmit


Mu understanding of RFC 1122 (Fast Retransmit) is that upon
receipt of the 3rd duplicate ACK, the sender should react
by starting to retransmit the lost packets.

In my case, looking at the Wireshark trace, I see the sender receiving hundreds of DUP ACKS from the receiver and doing nothing about it until 200 ms pass by. Only then does the
sender finally starts to retransmit. That's killing performance.

The sender is running Red Hat 5.3 (which is Linux 2.6.18).
Is this an indication that the sender does not support
Fast Retransmit? Is there a config param that I need to turn
on?
 
Old 05-26-2011, 12:25 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
This seems pretty pertinent to you... http://kerneltrap.com/mailarchive/li...0/6/30/6280312 the official patch they discuss seems to have gone into 2.6.19 but I would've expected Redhat to have back ported it to the more recent el5 kernels through rhn.
 
Old 06-20-2012, 05:56 AM   #3
Tomoyuki
LQ Newbie
 
Registered: Jun 2012
Posts: 2

Rep: Reputation: Disabled
Hi, I have a similar problem on RHEL5.3.
Client(Windows) sends many duplicate acks to server(RHEL5.3), but server doesn't retransmit the lost packet. I think this is same problem.
Do you have any latest information with this problem?


The packet trace is the following. #24's seq is 2844946993, which was lost packets, and client is requesting this packets many times.

20 15:40:16.799955 server client TCP 1514 [TCP segment of a reassembled PDU]
21 15:40:16.799958 server client TCP 1514 [TCP segment of a reassembled PDU]
22 15:40:16.799960 server client TCP 1514 [TCP segment of a reassembled PDU]
23 15:40:16.805769 client server TCP 66 16578 > 443 [ACK] Seq=1285985661 Ack=2844942649 Win=23168 Len=0 TSval=2523566062 TSecr=2081593646
24 15:40:16.805853 server client TCP 1514 [TCP segment of a reassembled PDU]
25 15:40:16.805856 server client TCP 1514 [TCP segment of a reassembled PDU]
26 15:40:16.805861 server client TLSv1 1514 Application Data
27 15:40:16.807041 client server TCP 66 16578 > 443 [ACK] Seq=1285985661 Ack=2844945545 Win=28960 Len=0 TSval=2523566062 TSecr=2081593652
28 15:40:16.807195 server client TCP 1514 [TCP segment of a reassembled PDU]
29 15:40:16.813729 client server TCP 66 16578 > 443 [ACK] Seq=1285985661 Ack=2844946993 Win=31856 Len=0 TSval=2523566063 TSecr=2081593652
30 15:40:16.813815 server client TCP 1514 [TCP segment of a reassembled PDU]
31 15:40:16.813817 server client TCP 1514 [TCP segment of a reassembled PDU]
32 15:40:16.813886 server client TCP 1514 [TCP segment of a reassembled PDU]
33 15:40:16.813889 server client TLSv1 1514 Application Data
34 15:40:16.814989 client server TCP 66 [TCP Dup ACK 29#1] 16578 > 443 [ACK] Seq=1285985661 Ack=2844946993 Win=31856 Len=0 TSval=2523566063
35 15:40:16.815069 server client TCP 1514 [TCP segment of a reassembled PDU]
36 15:40:16.819633 client server TCP 66 [TCP Dup ACK 29#2] 16578 > 443 [ACK] Seq=1285985661 Ack=2844946993 Win=31856 Len=0 TSval=2523566064
37 15:40:16.819714 server client TLSv1 1514 Ignored Unknown Record
38 15:40:16.819790 client server TCP 66 [TCP Dup ACK 29#3] 16578 > 443 [ACK] Seq=1285985661 Ack=2844946993 Win=31856 Len=0 TSval=2523566064
39 15:40:16.819792 client server TCP 66 [TCP Dup ACK 29#4] 16578 > 443 [ACK] Seq=1285985661 Ack=2844946993 Win=31856 Len=0 TSval=2523566064
40 15:40:16.820063 server client TLSv1 1514 Ignored Unknown Record
41 15:40:16.820066 server client TLSv1 1514 Ignored Unknown Record
42 15:40:16.820075 client server TCP 66 [TCP Dup ACK 29#5] 16578 > 443 [ACK] Seq=1285985661 Ack=2844946993 Win=31856 Len=0 TSval=2523566064
43 15:40:16.820694 client server TCP 66 [TCP Dup ACK 29#6] 16578 > 443 [ACK] Seq=1285985661 Ack=2844946993 Win=31856 Len=0 TSval=2523566064
44 15:40:16.824938 client server TCP 66 [TCP Dup ACK 29#7] 16578 > 443 [ACK] Seq=1285985661 Ack=2844946993 Win=31856 Len=0 TSval=2523566064
45 15:40:16.825369 client server TCP 66 [TCP Dup ACK 29#8] 16578 > 443 [ACK] Seq=1285985661 Ack=2844946993 Win=31856 Len=0 TSval=2523566064
46 15:40:16.825628 client server TCP 66 [TCP Dup ACK 29#9] 16578 > 443 [ACK] Seq=1285985661 Ack=2844946993 Win=31856 Len=0 TSval=2523566064
47 15:41:46.795466 client server TCP 66 16578 > 443 [FIN, ACK] Seq=1285985661 Ack=2844946993 Win=31856 Len=0 TSval=2523575062 TSecr=2081593
48 15:41:46.835782 server client TCP 66 443 > 16578 [ACK] Seq=2844964369 Ack=1285985662 Win=8330 Len=0 TSval=2081683685 TSecr=2523575062
49 15:42:16.817706 server client TCP 1514 [TCP Retransmission] [TCP segment of a reassembled PDU]
50 15:42:16.823511 client server TCP 60 16578 > 443 [RST] Seq=1285985662 Win=0 Len=0
 
Old 06-20-2012, 07:17 AM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
Why not upgrade to the latest kernels on RHN and see?
 
Old 06-20-2012, 08:06 AM   #5
Tomoyuki
LQ Newbie
 
Registered: Jun 2012
Posts: 2

Rep: Reputation: Disabled
Yes, your suggestion is right and I think so, too.
But this problem happened on my customer business system, so I have to explain which kernel fixed and tell him detail information.

Is it correct that kernel 2.6.19 is fixed this problem?
I serched in redhat knowledgebase and bugzilla but I couldn't find any information of this problem.

Regards
 
Old 08-28-2016, 02:52 AM   #6
chengtcli
LQ Newbie
 
Registered: Aug 2016
Posts: 2

Rep: Reputation: Disabled
I meet the same issue in ubuntu 14.04(kernel 4.2), how did you resolve it at last?
 
Old 08-28-2016, 09:52 AM   #7
jeremy
root
 
Registered: Jun 2000
Distribution: Debian, Red Hat, Slackware, Fedora, Ubuntu
Posts: 13,602

Rep: Reputation: 4084Reputation: 4084Reputation: 4084Reputation: 4084Reputation: 4084Reputation: 4084Reputation: 4084Reputation: 4084Reputation: 4084Reputation: 4084Reputation: 4084
chengtcli, Please do not resuscitate old threads in this manner unless you think you have something relevant to add to the OP. Thanks.

--jeremy
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
/proc/net/tcp - retransmit vlyamtse Linux - Networking 0 02-26-2010 10:48 AM
TCP ACKs in kernel code rrbarbosa Linux - Kernel 2 05-22-2009 07:13 AM
dup and dup2 useful? xeon123 Programming 3 10-22-2007 10:48 AM
Anyone managed to disable Acks? Titanas25 Linux - Wireless Networking 0 05-17-2006 07:31 AM
Duplicate ACKs arunachalam Linux - Networking 3 11-07-2005 11:28 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 03:09 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration