home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / unix / bsd / 5622 < prev    next >
Encoding:
Text File  |  1992-09-12  |  1.6 KB  |  34 lines

  1. Newsgroups: comp.unix.bsd
  2. Path: sparky!uunet!usc!sdd.hp.com!network.ucsd.edu!qualcom.qualcomm.com!servo.qualcomm.com!karn
  3. From: karn@servo.qualcomm.com (Phil Karn)
  4. Subject: Re: [386BSD]
  5. Message-ID: <1992Sep13.063008.3955@qualcomm.com>
  6. Sender: news@qualcomm.com
  7. Nntp-Posting-Host: servo.qualcomm.com
  8. Organization: Qualcomm, Inc
  9. References: <p5tullo@sgi.sgi.com> <Btr5F5.AJ9@pix.com> <Aug.29.15.45.59.1992.3059@athos.rutgers.edu>
  10. Date: Sun, 13 Sep 1992 06:30:08 GMT
  11. Lines: 21
  12.  
  13. In article <Aug.29.15.45.59.1992.3059@athos.rutgers.edu> hedrick@athos.rutgers.edu (Charles Hedrick) writes:
  14. >Character loss is normally in the device-level code.  If you're using
  15. >a normal PC serial interface, the kernel must respond to an interrupt
  16. >for each character before the next is ready.  At 9600 bps this
  17. >requires an interrupt latency somewhat less than 1 msec. [...]
  18.  
  19. I've spent a *lot* of time minimizing interrupt latency in my code.
  20. Even so, I strongly recommend using NS16550As with their 16-byte
  21. FIFOs. With 16550As, even a lowly 10 Mhz 80286 running NOS easily
  22. handles solid streams at 115.2 kb/s from a V.fast modem. The FIFO high
  23. water mark immediately goes to 13 (the trigger point is at 4) so it's
  24. obvious that the port would roll over and die without the '550.  Given
  25. the greater complexity and context switching overhead of the 386BSD
  26. kernel, I'd expect it to be much less able to keep up with a fast SLIP
  27. link. (This is not meant as a slap at 386BSD, since that'd be
  28. comparing apples and oranges. Or more precisely, timesharing systems
  29. and dedicated routers. But sometimes there are significant advantages
  30. to using dedicated routers.)
  31.  
  32. Phil
  33.  
  34.