Article View: uk.comp.os.linux
Article #175Re: Serial overruns & ppp - how do I know if I ever have them?
From: Nix
Date: Sun, 15 Mar 1998 00:00
Date: Sun, 15 Mar 1998 00:00
28 lines
1902 bytes
1902 bytes
In article <6eeve9$6l@stonix.demon.co.uk>,
Richard Lamont <richard@stonix.demon.co.uk> wrote:
>
>Surely ifconfig reports serial overruns?
It claims to, but it doesn't. I think this is because it's operating at
the wrong level. After all, it's designed to report overruns from Ethernet
cards and so forth, where the card can deliver data into Linux's internal
buffers far faster than the software can deal with it; here, the problem
is getting the data into Linux's buffers in the first place.
I think it's reporting overflows of those internal buffers (is it the TTY
flip buffer, or the TCP fragment reassembly queue? I've never quite worked
it out), not of the tiny FIFO inside the UART.
The easiest way to spot serial overflows is to not use irqtune and try
doing something that slams the disk at the same time as ftping something.
If the ftp transfer stops off dead when the disk access starts, you've got
overruns.[1]
[1] A tool like Andrew Bishop's ProcMeter (from
http://www.gedanken.demon.co.uk/) is damn useful for reporting packet
receive rates and interrupt levels - both of which tend to shadow
each other fairly closely when heavy serial comm is going on.
--
`Oooo! Saint Malcolm preserve us! This is heresy.'
Technical Details
Message-ID:
<6efgl7$434$1@esperi.demon.co.uk>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<slrn6gljd1.q2.$julies/newsreply$@merp.demon.co.uk> <6eeve9$6l@stonix.demon.co.uk>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10d8ad,aa178d641ebc8451 X-Google-Attributes: gid10d8ad,public X-Google-Thread: 108f6a,aa178d641ebc8451 X-Google-Attributes: gid108f6a,public From: Nix <$eri$@esperi.demon.co.uk> Subject: Re: Serial overruns & ppp - how do I know if I ever have them? Date: 1998/03/15 Message-ID: <6efgl7$434$1@esperi.demon.co.uk> X-Deja-AN: 334305448 X-NNTP-Posting-Host: esperi.demon.co.uk [194.222.138.8] References: <slrn6gljd1.q2.$julies/newsreply$@merp.demon.co.uk> <6eeve9$6l@stonix.demon.co.uk> Organization: the Core Newsgroups: uk.comp.os.linux,demon.ip.support.unix