All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Евгений Фокин" <evgenij.fokin@gmail.com>
To: linux-sctp@vger.kernel.org
Subject: Re: Fw: [Bug 205753] New: Incorrect SCTP DATA dispatching
Date: Thu, 05 Dec 2019 09:57:00 +0000	[thread overview]
Message-ID: <CAJ4YZb6yzbLLb6FTvf49mr-Em_ZQtq5Q+uAm35tpn0T1GrNpEw@mail.gmail.com> (raw)
In-Reply-To: <20191203082233.5c1525be@hermes.lan>

Hello Linux SCTP team,

Unfortunately some of you have not received the previous email.
I've got response from linux-sctp@vger.kernel.org:
550 5.7.1 Content-Policy reject msg: The message contains HTML
subpart, therefore we consider it SPAM or Outlook Virus. TEXT/PLAIN is
accepted.! BF:<U 0.5>; S1727912AbfLDQJ4
I do not know where HTML subpart is. I wrote email with gmal WEB
service. Maybe the problem was with attached file.

The file debian9_sctp_test_to_sctp_test.pcapng can be found here:
https://bugzilla.kernel.org/show_bug.cgi?id 5753

If you know how to prevent this sending error in future please let me know.

I am trying to resend the original message to linux-sctp@vger.kernel.org.
The original message:

>
> Hi Vasil,
>
> The issue when I have 1 second without traffic can periodically reproduces under Debian 10.
> I tried to reproduce it with Debian 9 but everything works fine with the same equipment.
>
> Ok. DATA in frame 56 may be dropped because of buffer is full.
> In this case I want to understand why a_rwnd decries rapidly between frames 53-55.
>
> Also I try to understand why a_rwnd is stable enough when the same server side works under Debian 9.
> Please look at debian9_sctp_test_to_sctp_test.pcapng.
>
> Best Regards,
> Evgeny
>
> On Tue, 3 Dec 2019 at 21:54, Vasil Velichkov <vvvelichkov@gmail.com> wrote:
>>
>> Hi Evgeni,
>>
>> On 03/12/2019 18.22, Stephen Hemminger wrote:
>> > All networking bugzilla bugs go to me. This one is new and  SCTP related
>> >
>> > Begin forwarded message:
>> >
>> > Date: Tue, 03 Dec 2019 13:32:39 +0000
>> > From: bugzilla-daemon@bugzilla.kernel.org
>> > To: stephen@networkplumber.org
>> > Subject: [Bug 205753] New: Incorrect SCTP DATA dispatching
>> >
>> >
>> > https://bugzilla.kernel.org/show_bug.cgi?id 5753
>> >
>> >             Bug ID: 205753
>> >            Summary: Incorrect SCTP DATA dispatching
>> >            Product: Networking
>> >            Version: 2.5
>> >     Kernel Version: 4.19.67
>> >           Hardware: Intel
>> >                 OS: Linux
>> >               Tree: Mainline
>> >             Status: NEW
>> >           Severity: normal
>> >           Priority: P1
>> >          Component: Other
>> >           Assignee: stephen@networkplumber.org
>> >           Reporter: evgenij.fokin@gmail.com
>> >         Regression: No
>> >
>> > I think that root cause in skipped messages.
>> >
>> > For example, frame 56 in your debian10_sctp_test_to_sctp_test.pcapng shows that
>> > the data message with sctp.data_tsn = 919935042 was received on server
>> > interface but it was acked in frame 78 only.
>> >
>> > It happens periodically with high-load traffic. The server can capture DATA on
>> > network interface but SCTP level does not receive it.
>>
>> In my opinion the reason that a SACK for frame 56 is not returned is that the receive buffer is full
>>
>> $ tshark -r debian10_sctp_test_to_sctp_test.pcapng -Y "sctp.sack_a_rwnd" -T fields -e frame.number -e sctp.sack_a_rwnd
>> 4       106495
>> 7       106423
>> ...
>> 49      105662
>> 53      105591
>> 55      0
>> 57      0
>> 58      13500
>>
>> > Reproduction scenario:
>> > system1: /usr/bin/sctp_test -H local-addr -P local-port -l
>> > system2: /usr/bin/sctp_test -H local-addr -P local-port -h remote-addr -p remote-port -s -x 1000
>>
>> I'm not sure whether the sctp_test is the best tool for stress/load tests.
>>
>> You may try increasing the buffer size (-m 212992) on the server side, see also https://github.com/sctp/lksctp-tools/blob/master/src/apps/sctp_test.c#L1117-L1123
>>
>> Monitor the buffers sizes and sctp's snmp stats when testing
>>
>> cat /proc/net/sctp/assocs
>> cat /proc/net/sctp/snmp
>>
>> Regards,
>> Vasil

      parent reply	other threads:[~2019-12-05  9:57 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-12-03 16:22 Fw: [Bug 205753] New: Incorrect SCTP DATA dispatching Stephen Hemminger
2019-12-03 18:54 ` Vasil Velichkov
2019-12-05  9:57 ` Евгений Фокин [this message]

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=CAJ4YZb6yzbLLb6FTvf49mr-Em_ZQtq5Q+uAm35tpn0T1GrNpEw@mail.gmail.com \
    --to=evgenij.fokin@gmail.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.