home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / unix / amiga / 792 < prev    next >
Encoding:
Internet Message Format  |  1996-08-06  |  1.7 KB

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