From: Jonathan Woithe <jwoithe@atrad.com.au>
To: Francois Romieu <romieu@zoreil.com>
Cc: netdev@vger.kernel.org
Subject: Re: r8169 regression: UDP packets dropped intermittantly
Date: Tue, 17 Nov 2015 12:26:05 +1030 [thread overview]
Message-ID: <20151117015605.GI22941@marvin.atrad.com.au> (raw)
In-Reply-To: <20130405001526.GC19253@marvin.atrad.com.au>
Hi all
Back in March/April 2013 I instigated this thread in connection with what
appeared to be a regression in the r8169 driver. To briefly recap, we have
external hardware which transfers data at moderate rates (150-300 Mbits/sec)
to a Linux system using UDP packets. The transfer stream lasts for around
55 seconds and restarts after a 5 second wait. During the 5 second wait,
various systems are reconfigured, again using UDP. The reconfiguration
involves the sending of around 5 UDP packets with payloads less than 32
bytes.
Under the fault which was noticed by us when Linux 3.8 was tried, UDP
packets associated with the reconfiguration - never the high speed streaming
- seemed to be lost, or at least delayed for many seconds.
A git bisect had suggested that the errant behaviour was introduced with:
Commit: da78dbff2e05630921c551dbbc70a4b7981a8fff
Author: Francois Romieu <romieu@fr.zoreil.com>
Date: Thu Jan 26 14:18:23 2012 +0100
r8169: remove work from irq handler.
Through a series of circumstances this problem was not resolved at the time.
Recently I have been looking at upgrading the kernel used by the system and
installed Linux 4.3 to see whether anything had changed in the years since.
The short answer is that the reconfiguration still fails in much the same
way as it did before, although it seems to happen a lot more frequently now.
Of course that doesn't rule out the option that the original problem has
been fixed and a new one - with very similar symptoms - has developed.
Using tcpdump on the system with the r8169 card it appears that in the fault
condition, the outgoing UDP packet is sent at the correct time and the
targetted equipment sends the reply within microseconds. However, tcpdump
only sees the response many seconds later - after we've timed out waiting
for a response. At least sometimes the old response is delivered at the
time another outgoing UDP packet is sent. I have not yet determined whether
this happens all the time.
The same software on the same hardware running under 2.6.35.11 does not
suffer from any such problems.
The card in use is a Netgear GA311. Lspic identifies it as a Realtek
Semiconductor Co., Ltd. RTL-8169 Gigabit Ethernet (rev 10). The kernel is
32-bit.
It would be advantageous if we could upgrade this Linux system to a kernel
more recent than 2.6.35.11, but that will require a resolution to this
problem. Since 2.6.35.11 works while current kernels do not, the only other
option is to stick with 2.6.35.11. Is there anything we can do to try to
track down the problem? I'm willing and able to run further tests on the
system as required.
Regards
jonathan
next prev parent reply other threads:[~2015-11-17 2:11 UTC|newest]
Thread overview: 42+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-03-09 6:46 r8169 regression: UDP packets dropped intermittantly Jonathan Woithe
2013-03-11 0:02 ` Francois Romieu
2013-03-11 0:17 ` Jonathan Woithe
2013-03-11 22:18 ` Jonathan Woithe
2013-04-05 0:15 ` Jonathan Woithe
2015-11-17 1:56 ` Jonathan Woithe [this message]
2015-11-17 23:21 ` Francois Romieu
2015-11-18 5:09 ` Jonathan Woithe
2015-11-19 0:56 ` Francois Romieu
2015-11-19 6:57 ` Jonathan Woithe
2015-11-19 12:22 ` Eric Dumazet
2015-11-19 21:44 ` Francois Romieu
2015-11-19 21:58 ` Eric Dumazet
2015-11-20 2:46 ` Jonathan Woithe
2015-11-20 22:45 ` Francois Romieu
2015-11-21 22:36 ` Francois Romieu
2015-11-22 22:50 ` Jonathan Woithe
2015-11-22 23:02 ` Francois Romieu
2015-11-23 0:07 ` Jonathan Woithe
2015-11-30 6:42 ` Jonathan Woithe
2015-12-01 23:58 ` Francois Romieu
2016-02-08 2:33 ` Jonathan Woithe
2016-04-07 2:44 ` Jonathan Woithe
2016-05-17 6:52 ` Jonathan Woithe
2016-05-18 6:51 ` Jonathan Woithe
2016-06-01 0:31 ` Jonathan Woithe
2016-06-21 3:21 ` Jonathan Woithe
2016-06-21 23:09 ` Francois Romieu
2016-06-21 23:59 ` Jonathan Woithe
2016-06-22 23:22 ` Francois Romieu
2016-06-23 8:26 ` Jonathan Woithe
2017-03-24 5:05 ` Jonathan Woithe
2017-11-14 5:39 ` Jonathan Woithe
2015-11-23 0:16 ` Jonathan Woithe
-- strict thread matches above, loose matches on Subject: below --
2017-12-18 5:49 Jonathan Woithe
2017-12-18 13:38 ` Holger Hoffstätte
2017-12-18 22:32 ` Jonathan Woithe
2017-12-19 5:45 ` Jonathan Woithe
2017-12-19 12:25 ` Michal Kubecek
2017-12-20 5:20 ` Jonathan Woithe
2018-01-15 6:56 ` Jonathan Woithe
2018-10-22 0:01 ` Jonathan Woithe
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=20151117015605.GI22941@marvin.atrad.com.au \
--to=jwoithe@atrad.com.au \
--cc=netdev@vger.kernel.org \
--cc=romieu@zoreil.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).