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