home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / unix / sysv386 / 14287 < prev    next >
Encoding:
Text File  |  1992-09-10  |  2.5 KB  |  52 lines

  1. Newsgroups: comp.unix.sysv386
  2. Path: sparky!uunet!spool.mu.edu!darwin.sura.net!Sirius.dfn.de!math.fu-berlin.de!fub!geminix.in-berlin.de!gemini
  3. From: gemini@geminix.in-berlin.de (Uwe Doering)
  4. Subject: Re: Loosing incoming serial characters [summary]
  5. References: <JOCHEN.92Sep5145619@busybit.mrz.sub.org> <Bu5qJq.HJo@gator.rn.com> <CFT637P@geminix.in-berlin.de> <1992Sep9.174405.27241@crd.ge.com>
  6. Organization: Private UNIX Site
  7. Date: Thu, 10 Sep 1992 13:20:39 GMT
  8. Message-ID: <0UV6BDS@geminix.in-berlin.de>
  9. Lines: 41
  10.  
  11. davidsen@ariel.crd.GE.COM (william E Davidsen) writes:
  12.  
  13. >In article <CFT637P@geminix.in-berlin.de>, gemini@geminix.in-berlin.de (Uwe Doering) writes:
  14. >
  15. >| With FAS 2.10 under ISC UNIX 3.0 I can run two ports with NS16550A UARTs
  16. >| with 115200 bps at the same time. CPU load is only 25% (486/33 motherboard)
  17. >| and there are no lost characters at all. I use a 1542B and made this test
  18. >| with heavy disk i/o in the background.
  19. >
  20. >  Where's all the CPU going? I run two 19.2 ports on an old 386DX16 and
  21. >only use about 8% of the CPU. Of course before I put in FAS I used all
  22. >the cpu, but that's been fixed.
  23. >
  24. >  Perhaps the disk i/o was taking the rest of the CPU?
  25.  
  26. No. For the CPU load test the system was idle. Only for the character drop
  27. tests there was disk i/o.
  28.  
  29. Do you think that 25% is too high for two lines at 115200 bps? I must say
  30. that I'm rather pleased with this value. Before I implemented the 115200
  31. bps mode in FAS I wasn't too sure that the system could handle that speed.
  32. With all this interrupt context switching stuff etc. in the UNIX kernel
  33. that isn't part of FAS and therefore couldn't be optimized by me I was
  34. positively surprised that it wasn't more than 25%. All this measured
  35. with u386mon 3.41.
  36.  
  37. However, there has to be some point where one has to realize that there
  38. are things one can't do with a dumb port driver. If one needs eight ports
  39. all running full speed at 115200 bps one has to buy an "intelligent"
  40. serial card. On the other hand, the majority of users only need one or
  41. two ports with this speed, mostly to drive their high speed modems.
  42. These modems don't send or receive data at 115200 bps as a constant
  43. stream of characters but rather in short bursts. So the average CPU
  44. load on such a typical system would be much lower than 25%, and to
  45. buy an "intelligent" card would be overkill in this case.
  46.  
  47.      Uwe
  48. -- 
  49. Uwe Doering  |  INET : gemini@geminix.in-berlin.de
  50. Berlin       |----------------------------------------------------------------
  51. Germany      |  UUCP : ...!unido!fub!geminix.in-berlin.de!gemini
  52.