All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Iain Sandoe" <iain@sandoe.co.uk>
To: Giuliano Pochini <pochini@denise.shiny.it>,
	linuxppc-dev@lists.linuxppc.org
Subject: Re: Stealth port problems
Date: Sun, 30 Jul 2000 11:31:33 +0100	[thread overview]
Message-ID: <200007301031.LAA32665@hyperion.valhalla.net> (raw)


Sun, Jul 30, 2000,   Giuliano Pochini wrote:
> Giuliano Pochini wrote:
>>
>> > >Hi!  I have troubles with my stealth port on a G3-blue. When it runs at
>> > 115200
>> > >ifconfig
>> > >shows a lot of overruns. At 57600 it works fine, but it's slow :-((
>
> The problem is definitely X.  I made a lot of tests: with dma and non-dma
> serial driver, X accelerated, non accelerated, X bare.bone (started with
> xinit). The problem is X. When X is running the serial ports looses packets
> :-((
> Am I the only one who is having this problem ???  Why does X cause overruns ??

If you can try 2.2.17pre10ben2 or pre13ben2 (linuxcare linux-pmac-benh) then
you can apply the IRQ latency test and see if it is that which is blocking
you.  Scan the dev list for "[ANN} IRQ".

It is possible (there was a discussion in the ANN thread about fb IRQ
blocks) - X may aggravate this.

I have seen 2ms of IRQ blocking on the Lombard (using IDE CDROM) and around
450-750 us of IRQ blocking on my other machines (SCSI). [when heavily
loaded].

The RX buffer in an 85230 (which is actually the chip - IIRC - an enhanced
8530) is 8 characters deep - so any more that about 700 us IRQ block will
cause a drop out at 115200 continuous...

So it looks like music might not be the only pressure to tune the IRQ
latencies :-)

Note that an x86 kernel guru said on the lad list "a well tuned kernel
should not exhibit more than about 60 us worst-case IRQ block"

we have a ways to go to get to that.

Iain.

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

             reply	other threads:[~2000-07-30 10:31 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-07-30 10:31 Iain Sandoe [this message]
2000-07-30 12:39 ` Stealth port problems Takashi Oe
2000-07-31  7:12 ` Giuliano Pochini
2000-07-31 12:03   ` Geert Uytterhoeven
  -- strict thread matches above, loose matches on Subject: below --
2000-08-02 17:13 Iain Sandoe
2000-08-01 11:11 Iain Sandoe
2000-07-31 12:22 Iain Sandoe
2000-08-01 10:28 ` Timothy A. Seufert
2000-08-02 16:22   ` Benjamin Herrenschmidt
2000-07-31 11:43 Iain Sandoe
2000-07-31  9:11 Iain Sandoe
2000-07-31  9:59 ` Timothy A. Seufert
2000-07-30 16:44 Iain Sandoe
2000-07-30 13:01 Iain Sandoe
2000-07-30 14:01 ` Takashi Oe
2000-07-28  5:33 Giuliano Pochini
2000-07-28  8:34 ` Benjamin Herrenschmidt
2000-07-28 14:23   ` Giuliano Pochini
2000-07-30  0:16   ` Giuliano Pochini
2000-07-30 13:01     ` Michel Dänzer
2000-07-30 12:59   ` Giuliano Pochini
2000-07-30 12:29     ` Takashi Oe
2000-07-31  7:01       ` Giuliano Pochini
2000-07-31 13:01       ` Giuliano Pochini
2000-08-01  0:09         ` Giuliano Pochini
2000-07-31 18:27           ` Benjamin Herrenschmidt
2000-07-30 14:11     ` Giuliano Pochini

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=200007301031.LAA32665@hyperion.valhalla.net \
    --to=iain@sandoe.co.uk \
    --cc=linuxppc-dev@lists.linuxppc.org \
    --cc=pochini@denise.shiny.it \
    /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.