From: Alan Cox <gnomes@lxorguk.ukuu.org.uk>
To: Udo van den Heuvel <udovdh@xs4all.nl>
Cc: "linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: Re: 4.9.28: VIA velocity hang: how to find cause?
Date: Thu, 25 May 2017 13:46:17 +0100 [thread overview]
Message-ID: <20170525134617.286bcb5b@alans-desktop> (raw)
In-Reply-To: <d1c7f2ea-cfaa-218b-e08e-b67c47223f49@xs4all.nl>
On Thu, 25 May 2017 13:52:08 +0200
Udo van den Heuvel <udovdh@xs4all.nl> wrote:
> Hello,
>
> Forcing the VIA Velocity interface to 1000 Mbps FDX appears to help a
> bit but still the connection stops transferring data after a while.
> I added some printk's and in or after velocity_tx_service it ends.
>
> Where should I focus with my debug printk's?
>
> It appears I can reproduce the issue by running a `find /` over ssh to
> the box. So perhaps it is an interrupt related issue?
>
> Please help find the root cause.
>
netdev@vger.kernel.org would be a better place to ask
But some things to play with
1. See if an scp of a very large file from a local machine can trigger it
2. See if you can trigger it with a small number of ping -f commands
3. Try both of them the other way around to see if its rx or tx related
Also see if you can duplicate the problem on another machine - just in
case. Saves spending days chasing some kind of insane hardware
compatibility problem 8)
My first guess given that more speed helps would be that something is
mishandling the ring buffer filling on receive (and that in turn causes
tcp to back off) so I would look at logging ring full events. Also dump
the device state after it hangs and see what the hardware thinks is going
on (eg IRQ's pending, rings full, errors logged, link state ....)
tcpdump might also give you some clues providing it doesn't change the
performance too much and hide the problem. You'll get to see if there are
any dropped frames/back offs/where it gets stuck.
Alan
prev parent reply other threads:[~2017-05-25 12:46 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-05-23 16:07 Udo van den Heuvel
2017-05-24 13:04 ` Udo van den Heuvel
2017-05-25 11:52 ` Udo van den Heuvel
2017-05-25 12:46 ` Alan Cox [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=20170525134617.286bcb5b@alans-desktop \
--to=gnomes@lxorguk.ukuu.org.uk \
--cc=linux-kernel@vger.kernel.org \
--cc=udovdh@xs4all.nl \
/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
Powered by JetHome