From: "Filip Žaludek" <filip.zaludek@oracle.com>
To: Greg KH <gregkh@linuxfoundation.org>
Cc: linux-usb@vger.kernel.org, Konrad Wilk <konrad.wilk@oracle.com>
Subject: Re: [External] : Re: data throttling under load when serial to usb adapter is used
Date: Mon, 20 Dec 2021 11:19:03 +0100 [thread overview]
Message-ID: <67ff29fb-98cd-1835-ee6e-4eba67ff269c@oracle.com> (raw)
In-Reply-To: <YcA+qegbpj0heal4@kroah.com>
>
> Using 'cat' is not a good way to ever use a serial port. Please use a
> tool that can properly detect and use the serial port flow control
> settings, which should prevent the issues you are seeing here.
>
> Is socat using flow control? If so, which settings, hardware or
> software flow control?
>
> Also please note that the usb-serial devices you are using here are
> _very_ cheap and not good for huge amounts of data like you seem to want
> to use here. I would recommend a much more robust usb-serial device if
> you need high data rates and good hardware flow control handling. Most
> of the time, the devices you have here do not even have any hardware
> flow control support as the manufacturers do not hook up those lines.
> So be careful.
>
> thanks,
>
> greg k-h
>
Yes, you are right! Such gadget hardware is without hw flow control. I am using
serial line only to capture console logs. I've tested both commands also with
sw flow control ixon, ixoff with similar results.
Hopefully somebody sitting on scarce big iron with both usb port and serial port
with proper hw flow control from this list gets attracted to kindly re-test.
Interesting part for me is that only serial to usb direction is failing..
Thanks,
Filip Zaludek
next prev parent reply other threads:[~2021-12-20 10:19 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-12-20 8:11 data throttling under load when serial to usb adapter is used Filip Žaludek
2021-12-20 8:28 ` Greg KH
2021-12-20 10:19 ` Filip Žaludek [this message]
2021-12-20 10:45 ` [External] : " Greg KH
2021-12-20 14:04 ` Johan Hovold
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=67ff29fb-98cd-1835-ee6e-4eba67ff269c@oracle.com \
--to=filip.zaludek@oracle.com \
--cc=gregkh@linuxfoundation.org \
--cc=konrad.wilk@oracle.com \
--cc=linux-usb@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox