home *** CD-ROM | disk | FTP | other *** search
- Path: comma.rhein.de!serpens!not-for-mail
- From: mlelstv@serpens.rhein.de (Michael van Elst)
- Newsgroups: comp.unix.amiga
- Subject: Re: SLIP at more than 57600bps
- Date: 4 Apr 1996 11:08:47 +0200
- Organization: dis-
- Message-ID: <4k03iv$d5l@serpens.rhein.de>
- References: <B8EEAD0F@tn.village.it> <4jvmdo$646@drivel.ics.uci.edu>
- NNTP-Posting-Host: serpens.rhein.de
-
- rang@europa.ics.uci.edu (Roger P. Ang) writes:
-
- >The problem is with the 2000 serial port, not NetBSD. I believe on
- >500s and 2000s, 56kbaud is the max speed the serial port is built for
- >(don't know about other Amigas since I never tried them at high speed
- >serial connections).
-
- All Amigas have the same RS232 port which 'could' do more than 1Mbps
- (probably limited to some 250-500kbps by standard serial cables). The
- problem is that the receiver has only a 1 byte buffer and the CPU has
- to handle incoming bytes in real-time. With standard drivers the transmission
- speed is therefore limited by the rate the CPU can service interrupts
- (including all the latency added by sections that disable the receiver
- interrupt in the kernel and possible DMA bus contention that slows down
- the CPU).
-
- For NetBSD this means 38400 bps with no errors and 57600 bps with very
- few errors. AmigaOS has some stricter limits because it allows the
- receiver interrupt to be disabled for a relatively long time and because,
- on most Amigas, the CPU is more influenced by DMA bus contention.
-
- Third party serial boards usually have a small (4byte) or large (16byte)
- buffer that reduce interrupt rate and relax the latency conditions.
-
- Regards,
- --
- Michael van Elst
-
- Internet: mlelstv@serpens.rhein.de
- "A potential Snark may lurk in every tree."
-