From: Mathias Koehrer <mathias.koehrer@etas.com>
To: "Koehrer Mathias (ETAS/ESW5)" <mathias.koehrer@etas.com>,
Alexander Stein <alexander.stein@systec-electronic.com>
Cc: Sebastian Andrzej Siewior <sebastian.siewior@linutronix.de>,
"linux-rt-users@vger.kernel.org" <linux-rt-users@vger.kernel.org>
Subject: Re: Kernel 4.6.7-rt13: Intel Ethernet driver igb causes huge latencies in cyclictest
Date: Tue, 27 Sep 2016 09:56:18 +0200 [thread overview]
Message-ID: <57EA2622.5030702@etas.com> (raw)
In-Reply-To: <68efc1a28c454c3f95f1d5d5231e2f68@FE-MBX1012.de.bosch.com>
Hi,
> > IMHO something in igb_watchdog_task causes the latency independently
> > from actual link. At first glance I would suspect igb_update_stats
> > (called with spinlock
> > held) as it seems to do a lot of reads. Maybe this stalls somehow.
> > Does the latency still occur if you comment that spinlock and call to
> > igb_update_stats out?
>
> I tried that, however the result is the very same. I have the very same latency spikes
> as before.
> I went even further. Within the function igb_watchdog_task I removed everything but
> the call to igb_has_link() and the final timer reset.
> However even that led to the same result.
> And there I am again at the findings in one of my previous postings within this
> thread.
> The call to igb_has_link might be a reason for the latency jitters, however I cannot
> really break it down into a single piece of code that is relevant here.
I tried something completely different:
I used the Intel Linux igb driver from the Intel website
(version 5.3.5.3) and tried this driver on the rt_preempt kernels 3.18.27-rt27 as well as
on the 4.6.7-rt13.
And also here I saw the same effect: With the 3.18.27 the cyclictest shows really great results
but with the 4.6.7 the cyclictest results show spikes once a igb based NIC is enabled.
For me this looks as if there is something running differently in the "underground" and the
igb driver is make some strange effect visible.
Any ideas on this new finding?
Regards
Mathias
prev parent reply other threads:[~2016-09-27 7:56 UTC|newest]
Thread overview: 53+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-09-22 12:44 Kernel 4.6.7-rt13: Intel Ethernet driver igb causes huge latencies in cyclictest Koehrer Mathias (ETAS/ESW5)
2016-09-22 15:12 ` Sebastian Andrzej Siewior
2016-09-23 6:38 ` AW: " Koehrer Mathias (ETAS/ESW5)
2016-09-23 11:40 ` Koehrer Mathias (ETAS/ESW5)
2016-09-23 12:32 ` Sebastian Andrzej Siewior
2016-09-23 13:23 ` Koehrer Mathias (ETAS/ESW5)
2016-09-23 14:41 ` Sebastian Andrzej Siewior
2016-09-26 11:12 ` Koehrer Mathias (ETAS/ESW5)
2016-09-28 19:45 ` Julia Cartwright
2016-10-04 14:33 ` Koehrer Mathias (ETAS/ESW5)
2016-10-04 19:34 ` Julia Cartwright
2016-10-05 7:02 ` Koehrer Mathias (ETAS/ESW5)
2016-10-05 15:59 ` [Intel-wired-lan] " Julia Cartwright
2016-10-05 15:59 ` Julia Cartwright
2016-10-06 7:01 ` [Intel-wired-lan] " Koehrer Mathias
2016-10-06 7:01 ` Koehrer Mathias (ETAS/ESW5)
2016-10-06 10:12 ` [Intel-wired-lan] " Henri Roosen
2016-10-06 10:12 ` Henri Roosen
2016-10-06 17:58 ` [Intel-wired-lan] " Williams, Mitch A
2016-10-06 17:58 ` Williams, Mitch A
2016-10-07 8:58 ` [Intel-wired-lan] " Koehrer Mathias
2016-10-07 8:58 ` Koehrer Mathias (ETAS/ESW5)
2016-10-10 19:39 ` [Intel-wired-lan] " Julia Cartwright
2016-10-10 19:39 ` Julia Cartwright
2016-10-13 6:15 ` [Intel-wired-lan] " Koehrer Mathias
2016-10-13 6:15 ` Koehrer Mathias (ETAS/ESW5)
2016-10-13 10:57 ` [Intel-wired-lan] " Koehrer Mathias
2016-10-13 10:57 ` Koehrer Mathias (ETAS/ESW5)
2016-10-13 14:02 ` [Intel-wired-lan] " David Laight
2016-10-13 14:02 ` David Laight
2016-10-13 16:18 ` [Intel-wired-lan] " Julia Cartwright
2016-10-13 16:18 ` Julia Cartwright
2016-10-14 8:58 ` [Intel-wired-lan] " Koehrer Mathias
2016-10-14 8:58 ` Koehrer Mathias (ETAS/ESW5)
2016-10-14 19:55 ` [Intel-wired-lan] " Julia Cartwright
2016-10-14 19:55 ` Julia Cartwright
2016-10-17 15:00 ` [Intel-wired-lan] " Koehrer Mathias
2016-10-17 15:00 ` Koehrer Mathias (ETAS/ESW5)
2016-10-17 15:39 ` [Intel-wired-lan] " Alexander Duyck
2016-10-17 15:39 ` Alexander Duyck
2016-10-17 18:32 ` Julia Cartwright
2016-10-17 18:32 ` Julia Cartwright
2016-10-18 8:43 ` [Intel-wired-lan] " Koehrer Mathias
2016-10-18 8:43 ` Koehrer Mathias (ETAS/ESW5)
2016-10-14 22:06 ` [Intel-wired-lan] " Richard Cochran
2016-10-14 22:06 ` Richard Cochran
2016-10-17 18:36 ` [Intel-wired-lan] " Julia Cartwright
2016-10-17 18:36 ` Julia Cartwright
2016-10-17 19:03 ` [Intel-wired-lan] " Richard Cochran
2016-10-17 19:03 ` Richard Cochran
2016-09-26 11:48 ` Alexander Stein
2016-09-27 6:29 ` Koehrer Mathias (ETAS/ESW5)
2016-09-27 7:56 ` Mathias Koehrer [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=57EA2622.5030702@etas.com \
--to=mathias.koehrer@etas.com \
--cc=alexander.stein@systec-electronic.com \
--cc=linux-rt-users@vger.kernel.org \
--cc=sebastian.siewior@linutronix.de \
/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.