From: Vasil Velichkov <vasil.velichkov@opencode.com>
To: linux-sctp@vger.kernel.org
Subject: Re: Gap is only retransmitted once
Date: Tue, 15 Feb 2011 16:01:08 +0000 [thread overview]
Message-ID: <4D5AA344.9010107@opencode.com> (raw)
In-Reply-To: <AANLkTi=gP1+PTa4J+CYzpA8NCmasiMXS_p4P-zXAkyXK@mail.gmail.com>
On 15.02.2011 15:58, Mingyuan Zhu wrote:
> Hi,
>
>
>
> I have observed a problem while doing load testing on SCTP. The tested
> equipment is an open suse linux box with 2.6.34 kernel. The
> application of the equipment will send/receive messages through linux
> kernel sctp. The peer is an equipment using Aricent sctp stack.
>
> During the load testing, the peer equipment drops sctp chunks and
> reports gaps through SACK to the tested equipment.
>
> The tested equipment (Linux box) retransmitts the missing chunks. But
> it always retransmit the same #TSN only once even it receives more
> SACKs with the reporting gap.
>
> From the ethereal captures:
>
> - TSN 2254147468 is not received by the peer equipment, so it reports
> the gap by SACK.
>
> - Linux box retransmit TSN 2254147468.
>
> - The peer still does not get it. It reports the gap by SACK again and again.
>
> - Linux box never retransmit the missing chunk again.
>
> - Finally, neither linux box nor the peer can send/receive any more chunks.
>
>
>
> Could someone help to look at the problem? Any help would be highly appreciated!
> --
> To unsubscribe from this list: send the line "unsubscribe linux-sctp" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
>
Hi Mingyuan Zhu,
On the Linux box, check whether net.sctp.path_max_retrans(MAX_PATH_RTX)
or net.sctp.association_max_retrans(MAXRT) parameters are set to 1.
# cat /proc/net/sctp/assocs
ASSOC SOCK STY SST ST HBKT ASSOC-ID TX_QUEUE RX_QUEUE UID INODE
LPORT RPORT LADDRS <-> RADDRS HBINT INS OUTS MAXRT T1X T2X RTXC
f2876000 f35ee1c0 2 1 4 38050 1 0 0 0
6429275 2975 2985 *127.0.0.1 <-> *127.0.0.1 5000 32
32 5 0 0 0
f444c800 e8407c00 2 1 4 41620 2 0 0 500
6429276 2985 2975 *127.0.0.1 <-> *127.0.0.1 5000 32
32 5 0 0 0
# cat /proc/net/sctp/remaddr
ADDR ASSOC_ID HB_ACT RTO MAX_PATH_RTX REM_ADDR_RTX START
127.0.0.1 1 1 1000 5 0 0
127.0.0.1 2 1 1000 5 0 0
# sysctl -a | grep max_retrans
net.sctp.association_max_retrans = 10
net.sctp.path_max_retrans = 5
BR
Vasil Velichkov
next prev parent reply other threads:[~2011-02-15 16:01 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-02-15 13:58 Gap is only retransmitted once Mingyuan Zhu
2011-02-15 16:01 ` Vasil Velichkov [this message]
2011-02-16 4:42 ` Mingyuan Zhu
2011-02-17 3:34 ` Mingyuan Zhu
2011-02-18 14:04 ` Mingyuan Zhu
2011-02-19 8:37 ` Mingyuan Zhu
2011-02-22 6:44 ` Shan Wei
2011-02-22 13:14 ` Mingyuan Zhu
2011-03-01 1:36 ` Shan Wei
2011-03-01 2:45 ` Wei Yongjun
2011-03-01 4:39 ` Wei Yongjun
2011-03-01 4:49 ` Mingyuan Zhu
2011-03-01 8:26 ` Wei Yongjun
2011-03-01 8:47 ` Mingyuan Zhu
2011-03-03 4:44 ` Mingyuan Zhu
2011-03-03 4:49 ` Shan Wei
2011-03-03 9:27 ` Wei Yongjun
2011-03-03 10:07 ` Mingyuan Zhu
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=4D5AA344.9010107@opencode.com \
--to=vasil.velichkov@opencode.com \
--cc=linux-sctp@vger.kernel.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.