* DEC 3000-300 serial port speed? @ 1994-05-26 0:08 Greg Kilcup 1994-05-27 4:50 ` Jerry Leslie 1994-06-04 3:41 ` Steven Vere 0 siblings, 2 replies; 36+ messages in thread From: Greg Kilcup @ 1994-05-26 0:08 UTC (permalink / raw) Did I read the specs concerning the serial port on the 3000-300 series correctly? According to the documents served by www.digital.com it runs at only 19.2Kbits/sec, about a factor 8 slower than what I expect out of my next workstation purchase. -- Gregory Kilcup ^ permalink raw reply [flat|nested] 36+ messages in thread
* Re: DEC 3000-300 serial port speed? 1994-05-26 0:08 DEC 3000-300 serial port speed? Greg Kilcup @ 1994-05-27 4:50 ` Jerry Leslie 1994-05-27 14:19 ` Peter da Silva 1994-05-27 21:29 ` Craig Zeller 1994-06-04 3:41 ` Steven Vere 1 sibling, 2 replies; 36+ messages in thread From: Jerry Leslie @ 1994-05-27 4:50 UTC (permalink / raw) Greg Kilcup (kilcup@pacific.mps.ohio-state.edu) wrote: : Did I read the specs concerning the serial port on the : 3000-300 series correctly? According to the documents : served by www.digital.com it runs at only 19.2Kbits/sec, : about a factor 8 slower than what I expect out of my : next workstation purchase. : -- Gregory Kilcup I've seen a discussion of the VMS terminal driver on the DEC ISVNet system that talks about the tests DEC runs before they set the max speed on the 'set terminal/speed=xxxxx' command. If you require faster speeds, why not use the ethernet controller ? --Gerald (Jerry) R. Leslie Staff Engineer Dynamic Matrix Control Corporation (my opinions are my own) P.O. Box 721648 9896 Bissonnet Houston, Texas 77272 Houston, Texas, 77036 713/272-5065 713/272-5200 (fax) gleslie@isvsrv.enet.dec.com jleslie@dmccorp.com ^ permalink raw reply [flat|nested] 36+ messages in thread
* Re: DEC 3000-300 serial port speed? 1994-05-27 4:50 ` Jerry Leslie @ 1994-05-27 14:19 ` Peter da Silva 1994-05-27 15:46 ` Charles M Richmond 1994-06-01 20:57 ` George Papison 1994-05-27 21:29 ` Craig Zeller 1 sibling, 2 replies; 36+ messages in thread From: Peter da Silva @ 1994-05-27 14:19 UTC (permalink / raw) I don't know what the original poster wanted, but... In article <2s3u68$fo9@uuneo.neosoft.com>, Jerry Leslie <jleslie@dmccorp.com> wrote: > If you require faster speeds, why not use the ethernet controller ? It's hard to hook up a V.34 modem to an ethernet controller. (you probably need a special null modem) Oh, be quiet. (won't!) -- Peter da Silva `-_-' Network Management Technology Incorporated 'U` 1601 Industrial Blvd. Sugar Land, TX 77478 USA +1 713 274 5180 "Hast Du heute schon Deinen Wolf umarmt?" ^ permalink raw reply [flat|nested] 36+ messages in thread
* Re: DEC 3000-300 serial port speed? 1994-05-27 14:19 ` Peter da Silva @ 1994-05-27 15:46 ` Charles M Richmond 1994-06-01 20:57 ` George Papison 1 sibling, 0 replies; 36+ messages in thread From: Charles M Richmond @ 1994-05-27 15:46 UTC (permalink / raw) peter@nmti.com (Peter da Silva) writes: >I don't know what the original poster wanted, but... >In article <2s3u68$fo9@uuneo.neosoft.com>, >Jerry Leslie <jleslie@dmccorp.com> wrote: >> If you require faster speeds, why not use the ethernet controller ? >It's hard to hook up a V.34 modem to an ethernet controller. >(you probably need a special null modem) >Oh, be quiet. >(won't!) >-- Schizoprenia aside .... (what did you mean by that?) On my home lan (4 nodes) I have a NetBlaser modem/ethernet/router and that takes care of speed issues and device sharing. Charlie P.S $995 (I think!) from uunet. -- ***************************************************************************** * Charles Richmond Integrated International Systems Corporation * * cmr@asoko.iisc.com cmr@world.std.com * * Specializing in UNIX, X, Image Processing, and Communications. * ^ permalink raw reply [flat|nested] 36+ messages in thread
* Re: DEC 3000-300 serial port speed? 1994-05-27 14:19 ` Peter da Silva 1994-05-27 15:46 ` Charles M Richmond @ 1994-06-01 20:57 ` George Papison 1994-06-02 13:28 ` Peter da Silva 1 sibling, 1 reply; 36+ messages in thread From: George Papison @ 1994-06-01 20:57 UTC (permalink / raw) In article JF4@nmti.com, peter@nmti.com (Peter da Silva) writes: > I don't know what the original poster wanted, but... > > It's hard to hook up a V.34 modem to an ethernet controller. You have a V.34 modem,,,pretty cool since the specs not finished yet.... how do you do it.... Must be Sugar Land..or maybe it just TEXANS G ^ permalink raw reply [flat|nested] 36+ messages in thread
* Re: DEC 3000-300 serial port speed? 1994-06-01 20:57 ` George Papison @ 1994-06-02 13:28 ` Peter da Silva 0 siblings, 0 replies; 36+ messages in thread From: Peter da Silva @ 1994-06-02 13:28 UTC (permalink / raw) In article <2sisn9$kdn@lsi.lsil.com>, George Papison <papison@dcst32.dc> wrote: > In article JF4@nmti.com, peter@nmti.com (Peter da Silva) writes: > > It's hard to hook up a V.34 modem to an ethernet controller. > You have a V.34 modem,,,pretty cool since the specs not finished yet.... I'm not sure what your point is. Are you saying that the V.34 specs are going to include an ethernet interface? Or that there's some other surprise in them that will keep the Motorola (and other) modems from working with V.34 when the specs are finished and the new proms come out? Or are you just being a jerk? No, the fastest modem I'm using now is only good for 22,000 bits per second. -- Peter da Silva `-_-' Network Management Technology Incorporated 'U` 1601 Industrial Blvd. Sugar Land, TX 77478 USA +1 713 274 5180 "Hast Du heute schon Deinen Wolf umarmt?" ^ permalink raw reply [flat|nested] 36+ messages in thread
* Re: DEC 3000-300 serial port speed? 1994-05-27 4:50 ` Jerry Leslie 1994-05-27 14:19 ` Peter da Silva @ 1994-05-27 21:29 ` Craig Zeller 1994-05-28 0:18 ` Aaron Leonard ` (2 more replies) 1 sibling, 3 replies; 36+ messages in thread From: Craig Zeller @ 1994-05-27 21:29 UTC (permalink / raw) In article <2s3u68$fo9@uuneo.neosoft.com>, jleslie@dmccorp.com (Jerry Leslie) writes: >Greg Kilcup (kilcup@pacific.mps.ohio-state.edu) wrote: > >: Did I read the specs concerning the serial port on the >: 3000-300 series correctly? According to the documents >: served by www.digital.com it runs at only 19.2Kbits/sec, >: about a factor 8 slower than what I expect out of my >: next workstation purchase. > Gregory; The DEC 3000/300 series will run the serial port at up to 38400 bps. The baud rate definitions are in /usr/sys/include/sys/termios.h (OSF/1). Our company philosophy (if it can be called that :)) is that higher rates than 38400 should be moved to a terminal server where they won't slow down the cpu by interrupting at a high character-by-character rate. If you're planning on running SLIP/PPP and want the higher rate, you can try a terminal server such as the 90M or 90TL. If you run CSLIP or transfer pre-compressed files via ftp, etc., then you generally don't want to run v.42bis/MNP compression anyway, as this will actually slow downt the transfer! Better bet is to get a v.fast 28800 modem, and run the port at 38400 and an uncompressed carrier rate of 28800. Craig --------------------------------------------------------------------------- Craig Zeller | c/o GTE Government Systems Corp., Room 1293 UNIX Consultant | 31717 La Tienda Dr., Westlake Village, CA 91362 Digital Equipment Corp. | Phone: (818) 706-6867 FAX: (818) 706-5050 zeller@hngten.lao.dec.com | E-mail: zeller@zot.iipo.gtegsc.com --------------------------------------------------------------------------- ^ permalink raw reply [flat|nested] 36+ messages in thread
* Re: DEC 3000-300 serial port speed? 1994-05-27 21:29 ` Craig Zeller @ 1994-05-28 0:18 ` Aaron Leonard 1994-05-28 9:45 ` Neill Clift 1994-05-28 19:48 ` Andrew Fullford [not found] ` <2s62k6$f4c@news.ccit.arizona.edu> 1994-05-31 16:03 ` Peter da Silva 2 siblings, 2 replies; 36+ messages in thread From: Aaron Leonard @ 1994-05-28 0:18 UTC (permalink / raw) In article <CqHD1p.Ey9@wlbr.iipo.gtegsc.com>, zeller@zot.iipo.gtegsc.com (Craig Zeller) writes: | |In article <2s3u68$fo9@uuneo.neosoft.com>, jleslie@dmccorp.com (Jerry Leslie) writes: |>Greg Kilcup (kilcup@pacific.mps.ohio-state.edu) wrote: |> |>: Did I read the specs concerning the serial port on the |>: 3000-300 series correctly? According to the documents |>: served by www.digital.com it runs at only 19.2Kbits/sec, |>: about a factor 8 slower than what I expect out of my |>: next workstation purchase. |> |Gregory; | | The DEC 3000/300 series will run the serial port at up to 38400 bps. |The baud rate definitions are in /usr/sys/include/sys/termios.h (OSF/1). |Our company philosophy (if it can be called that :)) is that higher |rates than 38400 should be moved to a terminal server where they won't |slow down the cpu by interrupting at a high character-by-character |rate. If you're planning on running SLIP/PPP and want the higher rate, |you can try a terminal server such as the 90M or 90TL. This pitiful "philosophy" is an outstanding example of why DEC appears to be going down for the count. DEC workstation users have been clamoring for YEARS for quality serial ports (full modem control + hw flow + at least 57.6Kbps) instead of what DEC gave them (how about the pathetic ports on the 3100 - WORSE than what the lowly VS2000s came with!) But DEC, in its superior technical wisdom, KNOWS what's good for you. It's not GOOD for you to waste your "valuable" workstation cycles on something so degrading as processing character I/O. Instead, you should buy a dedicated terminal server to handle the job. OK, children friends at DEC: why don't you take a deep breath and THINK about how people might use your products in the real world (assuming you could sell any.) For example, I might want to have an 3000/300 or DECpc 150 AT HOME (what a concept!) And I might want to NETWORK that box with the rest of the world (startling, eh?) And maybe I don't have dedicated singlemode fiber coming into my house, but only an analog phone line. No ISDN, no Ethernet-over-CATV, just POTS ... can ya dig it? So, given that scenario, I want to squeeze all the juice out of that phone line for as little money as possible. Fortunately, I can RIGHT NOW buy a V.FC 28.8Kbps modem for $300, that would LOVE to talk to a 115.2Kbps serial port. And this modem might actually be expected to deliver about 60Kbps of real-world throughput (for typical NFS/FTP/ TELNET/SMTP/X11 data) IF I could find a serial port that fast. Oh, but DEC, in their superior wisdom, knows that I don't want to BURDEN my poor little 175MHz CPU with the grueling task of moving characters at 14Kcps! Instead it would be BETTER for me to buy a standalone terminal server for $2000 or whatever JUST to talk to this one modem! How about this way of looking at things, DEC: if I'm a telecommuter, then the speed of the serial port on the workstation is a very significant determinant of the quality of my life. So if I need to buy a $2000 terminal server alongside a DEC workstation so that it can keep up with a competing workstation that has 115.2Kbps built in, then that's how much more the DEC box costs to me. So guess what: you lose! Really, the lameness of DEC's stance on this issue is practically cosmic (comic?) "[H]igher rates than 38400 [...] will slow down the CPU by interrupting at a high character-by-character rate" indeed! I happen to know for a fact that a 2.4 MIP VAX-3400 is *perfectly* capable of handling a 38.4Kbps SLIP line [on a CXY08] at full throttle with plenty of CPU cycles to burn. And you have the gall to sit there and tell me that a damn 175Mhz, 84SPECint, blah blah blah 3000/300 CAN'T HANDLE 57.6??? Either the Alphas are fantastically crippled [which I don't for a moment believe], or you are just blowing smoke at your ever-receding customers. My theory is that the workstation guys probably WANTED to put in competent serial ports (after all, some of those workstations have an ISDN BRI port - oh my God, a CPU-killing 128Kbps!), but the networks guys put the kibosh on it, 'cause they were afraid that good serial ports on workstations would cut into the terminal server sales. | If you run |CSLIP or transfer pre-compressed files via ftp, etc., then you generally |don't want to run v.42bis/MNP compression anyway, as this will actually |slow downt the transfer! Better bet is to get a v.fast 28800 modem, |and run the port at 38400 and an uncompressed carrier rate of 28800. More DEC "we're throttling you for your own good" booshwah. CSLIP only compresses TCP headers; the payloads are still perfectly compressible by V.42bis and suchlike. I'd like to suggest this "philosophy" as an alterative to that quoted above: Sell your customers lots of fast, cheap CPUs, and make it easy for us to burn up all the cycles doing whatever we want to do, so that you can sell still more. Aaron Aaron Leonard (AL104), <Leonard@Arizona.EDU> University of Arizona Network Operations, Tucson AZ 85721 \ Don't lock yourself into open systems. / ^ permalink raw reply [flat|nested] 36+ messages in thread
* Re: DEC 3000-300 serial port speed? 1994-05-28 0:18 ` Aaron Leonard @ 1994-05-28 9:45 ` Neill Clift 1994-05-28 14:58 ` Castor Fu 1994-05-31 21:48 ` Ed Romascan 1994-05-28 19:48 ` Andrew Fullford 1 sibling, 2 replies; 36+ messages in thread From: Neill Clift @ 1994-05-28 9:45 UTC (permalink / raw) In article <2s62k6$f4c@news.CCIT.Arizona.EDU>, leonard@telcom.arizona.edu (Aaron Leonard) writes: Lots of great stuff that I agree with completely but I had to delete it so this message gets through all those slow DEC serial lines quickly. > > Really, the lameness of DEC's stance on this issue is practically > cosmic (comic?) "[H]igher rates than 38400 [...] will slow down the > CPU by interrupting at a high character-by-character rate" indeed! > I happen to know for a fact that a 2.4 MIP VAX-3400 is *perfectly* > capable of handling a 38.4Kbps SLIP line [on a CXY08] at full > throttle with plenty of CPU cycles to burn. And you have the gall > to sit there and tell me that a damn 175Mhz, 84SPECint, blah blah > blah 3000/300 CAN'T HANDLE 57.6??? Either the Alphas are fantastically > crippled [which I don't for a moment believe], or you are just blowing > smoke at your ever-receding customers. > > Aaron, And I thought it was just me that couldn't live with a serial line running at only 19.2k! I have been looking into this for some time now as my setup at home at the moment is: VS4000 M60 14.4k V.42 modem I use CMUIP over a dialup connection to my service provider. I receive news, mail and do a bit of FTP now and again. There is no point me buying a V.FAST modem at present as my hardware wont even keep up with the peak rate of my slow modem! It would probably be cheaper for me to buy a PC with a fast serial line than to buy a DECserver. Sad isn't it? Neill (crying into his news reader) -- Neill Clift neill@macro.demon.co.uk ^ permalink raw reply [flat|nested] 36+ messages in thread
* Re: DEC 3000-300 serial port speed? 1994-05-28 9:45 ` Neill Clift @ 1994-05-28 14:58 ` Castor Fu 1994-05-28 17:01 ` Terry Kennedy, Operations Mgr. 1994-05-31 21:48 ` Ed Romascan 1 sibling, 1 reply; 36+ messages in thread From: Castor Fu @ 1994-05-28 14:58 UTC (permalink / raw) Is it clear that the problem isn't just the serial port driver? I seem to remember people complaining that the default Sun serial drivers are just as lame as DEC's, and that one that works at high baud rates were an extra cost item which for which sun wanted about $1K (Probably a comparable cost to the DEC terminal server. . .). How many of you are willing to put up some money to have someone write a custom device driver? I'm sure there are people that could make something that would work for around 50K or so. . . Then again, I'm upset at Sony for selling a workstation whose serial ports barely handle 9600 baud. . . Just a little reminder that, as incompetent as the big workstation vendors may seem, they actually have been better than the rest of the crowd. -castor fu castor@drizzle.stanford.edu -- Castor Fu, (foo@leland.stanford.edu) ^ permalink raw reply [flat|nested] 36+ messages in thread
* Re: DEC 3000-300 serial port speed? 1994-05-28 14:58 ` Castor Fu @ 1994-05-28 17:01 ` Terry Kennedy, Operations Mgr. 0 siblings, 0 replies; 36+ messages in thread From: Terry Kennedy, Operations Mgr. @ 1994-05-28 17:01 UTC (permalink / raw) In article <CASTOR.94May28075810@hassle.Stanford.EDU>, castor@hassle.Stanford.EDU (Castor Fu) writes: > Is it clear that the problem isn't just the serial port driver? > > I seem to remember people complaining that the default Sun serial drivers > are just as lame as DEC's, and that one that works at high baud rates were > an extra cost item which for which sun wanted about $1K > (Probably a comparable cost to the DEC terminal server. . .). Well, for about the same money ($1045, last I looked), you can get BSDI's BSD/386, which will happily run 2 serial ports at 115200 using your garden variety 16550-based serial card on a 486/33 PC. The Telebit NetBlazer's Asyn/8 (I think that's the option name) card will happily run 16 serial ports simultaneously at 115200 on a 386SX/20 using only a lowly Z80 CPU. I think this pretty much proves that inexpensive hardware can do an excel- ent job at high data rates if it's supported by good software. While the Asyn/8 can claim to have hardware assistance, the BSDI example shows that it can be done on a hardware design (the PC's serial port) that many consider brain-dead. Terry Kennedy Operations Manager, Academic Computing terry@spcvxa.spc.edu St. Peter's College, Jersey City, NJ USA +1 201 915 9381 (voice) +1 201 435-3662 (FAX) ^ permalink raw reply [flat|nested] 36+ messages in thread
* Re: DEC 3000-300 serial port speed? 1994-05-28 9:45 ` Neill Clift 1994-05-28 14:58 ` Castor Fu @ 1994-05-31 21:48 ` Ed Romascan 1994-06-01 15:55 ` ivie ` (2 more replies) 1 sibling, 3 replies; 36+ messages in thread From: Ed Romascan @ 1994-05-31 21:48 UTC (permalink / raw) Perhaps I can clear up a few things regarding serial ports, drivers and UNIX. I work for an outfit that manufactures serial boards, both for DEC (TURBOchannel line) and SUN (SBus) workstations, I write the drivers for them. First thing to keep in mind; The serial I/O paradigm for UNIX was developed about 25 years ago. Termio(s) allows speeds of 50, 110, 300 ... bps (notice the lack of a *K* before the bps). I believe the default for ULTRIX is still 300 bps. OSF/1, SunOS and Solaris default to the blinding speed of 9600. Other than the advent of STREAMS, I do not believe that there has since been any work/thought/consideration to improve serial I/O. I guess the vendors still believe that the only devices useful at the end of a serial port are paper tapes and teletypes. So much for head space. The nitty gritty: Currently there are two frameworks for serial drivers, STREAMS drivers and berkeley clist drivers. SUN went to the STREAMS approach some time ago. DEC is just now offering STREAMS in OSF/1. STREAMS is better in two regards (IMHO), it separates the receive character processing (ie, line discipline) from interrupt context, and it provides better buffering of receive characters. Hopefully this will become clear, but we need to look at hardware for a bit. SUN has used the Z8530 SCC on their workstations, I'm not sure about DEC. The 8530 is about as flexible as they come, sync, bisync, monosync, async, you name it, this chip can do it. It also supports DMA. It is a *bugger* to program but once you get it, there is nothing it won't do. I have run the thing at speeds exceeding 1 Mbps, synchronous with DMA. Great chip, but old technology. The receive fifo is all of one character long, and here is where the many problems begin. Running this guy in async and not interfacing it to a DMA controller means that for every receive character you field an interrupt, if you are lucky, you can get two characters per interrupt (the 8530 has a receive shift and hold register). Obviously, cranking up the speed cranks up the interrupt rate. Well, the ability to efficiently field interrupts is not on the rather long list of UNIX strengths. You can read that as "high interrupt rate seriously degrades your system performance". Gee, there is news. This also applies to the transmit side, it is pretty symmetric up to this point. The good news is that the SCC (serial communications controller) vendors started putting larger fifo's on the chips. Most of our boards use the Cirrus Logic CD1400 async chips which provide 12 byte fifo's with programmable threshholds (eg, interrupt me when, say, 8 bytes are in the receive fifo). This can reduce the interrupt rate by a factor of 8 (or 12 if you let the fifo fill), a big help. Zilog has done essentially the same thing with the 85C30 and 85130 chips. Anyway, now for 100 received characters we have fielded somewhere between 8 and 13 interrupts, something less than 100. I am not going to worry about stale data timeouts for this discussion. The cirrus chips are also capable of performing most of the line discipline processing, eg, CRLF, ISTRIP, XOFF/XON detection/generation, etc. Im not sure if this is true of the 85{c1}30's, it's been awhile. The cirrus chips also do automatic hardware flow control (rts/cts). Of course there are many SCC choices out there, I am limiting this to the ones I have had familiarity with. I hope this gives you some idea as to what the hardware can provide. Click. Back to software, start with berkeley style drivers and an SCC programmed to interrupt when the recieve fifo level gets to 8. I will only address the recieve side, as it is the most limiting. Enter the interrupt service routine, do what needs to be done to determine board/port/type of interrupt, discover that it is a receive character(s) available interrupt. First check the receive fifo count register to determine how many characters are available. The traditional (berkeley) thing to do now is pull each character out of the fifo and pass them (one at a time) to the line discipline receive character interrupt routine (ttyin). ttyin does the full line discipline thing for that character and then (hopefully) sticks it on the appropriate (raw or canonical) clist. You would not even believe how much work needs to be done to "line discipline" that character. Remember, all of this is being done at interrupt context, further interrupts at this level (spltty) are blocked. Now, I am hanging out in this interrupt routine for 8 character processing times. In the mean time more characters are streaming in and the receive fifo is filling on one end while the isr is draining them on the other. It should not be difficult to see that at some line speed the arrival rate will exceed the drain rate. Hah! the infamous "silo overflow" message appears, in tech speak, this is a receive overrun. You have lost a character (or more). Bummer. Well, for some reason, the UNIX system vendors (in this case, specifically, DEC and SUN) have been very slow to discover out-of-band (aka, hardware or rts/cts) flow control. This certainly is a good way to prevent overruns. I hear someone asking, "at what line speeds?". DECstation 5000/200 starts puking at as low as 19200. More dismaying is that a flamingo (3000/500 AXP) will begin to overrun at 38400. Don't blame it on DEC, blame the fossil relic of the line discipline, which POSIX has adopted and cast in stone. Even worse, the problem does not stop here, but let me digress. SUN adopted the STREAMS approach, this has the big advantage of moving the line discipline receive processing out of interrupt context. The driver isr just needs to empty the fifo and queue the characters. The streams scheduler will get around to processing them eventually. This, and the fact that STREAMS is willing to buffer more characters, is probably the reason SUNS don't crap out until around 56000 bps. SUN still has to supply the cpu cycles to push each character through the line discipline, which is still POSIX and still sucks. sigh. DEC has maintained their disadvantage in the serial speed race by maintaining the very ugly "ttyhog" limit of 255 characters max on a character queue (clist). Yup, you got it, the ttyin routine will flush the clists when ttyhog is exceeded. It is amazing how quietly 256 characters can hit the floor. If you want it will ring a bell to muffle the lack of sound. (Anyone notice that my level of disgust is rising?). The point is, even if you prevent the loss of characters from receive overruns, the tty subsystem will still trash you. Well, there are ways around these problems, and I have used a lot of them. I can run our CD1400 based boards at 115200 bps per port without character loss (that is as fast as the CD1400 goes). Naturally the effective throughput is slightly less due to hardware flow control and buffer management. Our CD2400 based boards can do twice that speed with *very few* interrupts. The wonders of DMA makes this chip very attractive for packet oriented data streams (slip, ppp). Now I am going to flame DEC and their knee-jerk (emphasis on the jerk) "terminal servers are the only solution" reaction to serial comm. What they fail to disclose (or have yet to open their eyes and discover) is that high telnet traffic to/from a host via a TS can also bring the host to its knees, as bad, sometimes worse than that lousy little rs232 device. TCP/IP traffic into and out of a host is not for free. I have already used up my bandwith for the month, so I am not going to go into nauseating detail on why this is true. But, for supporting evidence, look at the success Livingston is having with some of their (fine) products. Hope this helps clear (as opposed to muddying) up some of the issues. bruce schoenleber bruce@magma.com ^ permalink raw reply [flat|nested] 36+ messages in thread
* Re: DEC 3000-300 serial port speed? 1994-05-31 21:48 ` Ed Romascan @ 1994-06-01 15:55 ` ivie 1994-06-01 20:09 ` Carl J Appellof 1994-06-01 22:16 ` Peter da Silva 2 siblings, 0 replies; 36+ messages in thread From: ivie @ 1994-06-01 15:55 UTC (permalink / raw) In article <2sgbah$3m5@news.cerf.net>, magma@nic.cerf.net (Ed Romascan) writes: > SUN has used the Z8530 SCC on their workstations, I'm not > sure about DEC. Yes, DEC uses the Z8530, at least on the 3000/400 and 3000/500. On those machines, it is connected to a small DMA engine that can receive up to 1024 bytes (although it is usually configured to receive 513 bytes; it gives an interrupt when it crosses the halfway point, you see). > > I hear someone asking, "at what line speeds?". DECstation 5000/200 > starts puking at as low as 19200. More dismaying is that a flamingo > (3000/500 AXP) will begin to overrun at 38400. Actually if you have are running OSF/1 V1.2 or 1.3 and have enough memory, it can puke at 300 baud even with an 8 character FIFO in the UART. Fixed in 2.0, though... The major difficulty with Unix is that you don't have very good control over interrupt latencies in device drivers. The major problems that I've had with the DECstations losing characters involve doing things on the graphics console while data is flowing in at high baud rates. -- ----------------+------------------------------------------------------ Roger Ivie | Don't think of it as a 'new' computer, think of it as ivie@cc.usu.edu | 'obsolete-ready' ^ permalink raw reply [flat|nested] 36+ messages in thread
* Re: DEC 3000-300 serial port speed? 1994-05-31 21:48 ` Ed Romascan 1994-06-01 15:55 ` ivie @ 1994-06-01 20:09 ` Carl J Appellof 1994-06-01 22:40 ` Ed Romascan 1994-06-01 22:16 ` Peter da Silva 2 siblings, 1 reply; 36+ messages in thread From: Carl J Appellof @ 1994-06-01 20:09 UTC (permalink / raw) In article <2sgbah$3m5@news.cerf.net> magma@nic.cerf.net (Ed Romascan) writes: [...stuff deleted...] Thanks for the good discussion of more modern async interface chips. I have a few biased comments on some of your discussion. > DEC has maintained their disadvantage in the serial speed >race by maintaining the very ugly "ttyhog" limit of 255 characters >max on a character queue (clist). Yup, you got it, the ttyin >routine will flush the clists when ttyhog is exceeded. I worked on the OSF/1 STREAMS line discipline module at one time, and put in this ttyhog limit to mimic the old BSD line discipline. The theory was that on a timesharing system, you wouldn't want any individual user to hog too much memory. What would be a better way of limiting global system resource usage? > > Well, there are ways around these problems, and I have used a lot >of them. The easiest way around this problem with STREAMS is not to push the line discipline module onto your STREAMS stack if all you want to do is suck characters in. Your complaints about the amount of processing it takes to discipline a character are all true. Those chars are incorrigible! But if you wants POSIX or SYSV behavior (and many programs do), you pays the price. Ideally, running SLIP or PPP would push a totally different "line discipline" module onto the STREAMS stack, and would avoid all that character-by-character processing. > Now I am going to flame DEC and their knee-jerk (emphasis on >the jerk) "terminal servers are the only solution" reaction to >serial comm. What they fail to disclose (or have yet to open >their eyes and discover) is that high telnet traffic to/from >a host via a TS can also bring the host to its knees, as bad, >sometimes worse than that lousy little rs232 device. I also used to be one of those kneeling jerks who worked on DEC terminal servers. In those days (5 years ago now), we had a similar knee-jerk reaction about telnet. Back then, our terminal servers used only the LAT protocol, which is very network-efficient and host-interrupt-efficient. But customer demand required telnet, so we finally relented. It's still true that a telnet session is a pretty heavy host load. I'll still go for LAT on my terminal server if minimizing host load was the goal. I see the real benefit of terminal servers as reduced wiring costs, and the flexibility to connect to multiple systems. Of course that only applies to hooking up lots of real terminals or modems. SLIP lines are probably another story. Just my 2 cents. -- Carl J. Appellof (cja@chmist.zso.dec.com) Storage Management Group POLYCENTER NetWorker Save and Restore Digital Equipment Corporation ^ permalink raw reply [flat|nested] 36+ messages in thread
* Re: DEC 3000-300 serial port speed? 1994-06-01 20:09 ` Carl J Appellof @ 1994-06-01 22:40 ` Ed Romascan 0 siblings, 0 replies; 36+ messages in thread From: Ed Romascan @ 1994-06-01 22:40 UTC (permalink / raw) In article <2sipu8$a1@usenet.pa.dec.com> cja@chmist.zso.dec.com (Carl J Appellof) writes: >In article <2sgbah$3m5@news.cerf.net> magma@nic.cerf.net (Ed Romascan) writes: > > [...stuff deleted...] > >Thanks for the good discussion of more modern async interface chips. >I have a few biased comments on some of your discussion. > >> DEC has maintained their disadvantage in the serial speed >>race by maintaining the very ugly "ttyhog" limit of 255 characters >>max on a character queue (clist). Yup, you got it, the ttyin >>routine will flush the clists when ttyhog is exceeded. I am guilty of an ommision here (ok, i'm guilty of a lot of things...) OSF/1 stores the t_hog value in the tty structure, which defaults to 255. The driver writer is free to up it, as I did. Is the user also free to up it with the open flag? (ULTRIX ttyhog *is* hard coded). > >I worked on the OSF/1 STREAMS line discipline module at one time, >and put in this ttyhog limit to mimic the old BSD line discipline. >The theory was that on a timesharing system, you wouldn't want any >individual user to hog too much memory. What would be a better way >of limiting global system resource usage? I agree, you need to bound resource use. The bounds need to grow as machines grow. That old berkeley limit of 255 was devised a long time ago when 1 meg of ram was *alot* and a 100 meg hard drive would get oohs and aaahs. The flamingo that I am using has 96 meg of ram and ~2 gig of disk, stock. Maybe it is time to up the ttyhog default to reflect the times? > >> >> Well, there are ways around these problems, and I have used a lot >>of them. > >The easiest way around this problem with STREAMS is not to push >the line discipline module onto your STREAMS stack if all you want >to do is suck characters in. Your complaints about the amount of >processing it takes to discipline a character are all true. Those >chars are incorrigible! But if you wants POSIX or SYSV behavior >(and many programs do), you pays the price. It's true, there are no free lunches. > >Ideally, running SLIP or PPP would push a totally different "line >discipline" module onto the STREAMS stack, and would avoid all that >character-by-character processing. Can't imagine why you wouldn't do it this way? You can (and should) play the same game with the berkeley approach, it certainly allows you to change line disciplines, just doesn't supply any. But hey, that's what third parties are for :-). I think I also left the (wrong) impression that the STREAMS paradigm is overall superior to the berkeley paradigm. For my way of thinking the only thing STREAMS has over berkeley is the removal of line discipline processing from the interrupt context and more (NOT neccessarily better) character buffering. There is way too much overhead to STREAMS. Of course I am not going to elaborate on that. <snip> > >I see the real benefit of terminal servers as reduced wiring costs, >and the flexibility to connect to multiple systems. Of course that >only applies to hooking up lots of real terminals or modems. SLIP lines are >probably another story. No argument. The person who started this thread (i don't recall who) just wanted to run a single line as fast as possible, not a good candidate for a T.S.. > >Just my 2 cents. A perfectly valid viewpoint, worth well more than 2 cents. >-- >Carl J. Appellof (cja@chmist.zso.dec.com) >Storage Management Group >POLYCENTER NetWorker Save and Restore >Digital Equipment Corporation BTW, I like OSF/1 on the AXP's. Very fast reliable hardware and OSF/1 is very friendly and intuitive to bsd affectionados (did I spell that right?) like myself. bruce (not Ed Romascan) schoenleber (it's a shared internet account) bruce@magma.com ^ permalink raw reply [flat|nested] 36+ messages in thread
* Re: DEC 3000-300 serial port speed? 1994-05-31 21:48 ` Ed Romascan 1994-06-01 15:55 ` ivie 1994-06-01 20:09 ` Carl J Appellof @ 1994-06-01 22:16 ` Peter da Silva 2 siblings, 0 replies; 36+ messages in thread From: Peter da Silva @ 1994-06-01 22:16 UTC (permalink / raw) In article <2sgbah$3m5@news.cerf.net>, Ed Romascan <magma@nic.cerf.net> wrote: > The nitty gritty: Currently there are two frameworks for serial > drivers, STREAMS drivers and berkeley clist drivers. SUN went > to the STREAMS approach some time ago. DEC is just now offering > STREAMS in OSF/1. STREAMS is better in two regards (IMHO), it > separates the receive character processing (ie, line discipline) > from interrupt context, and it provides better buffering of receive > characters. I don't see any technical reason the lower half of the tty driver can't be split between an interrupt processor and the line discipline handler without adding the whole bogus overhead of streams on top of that. This isn't a streams-versus-clists problem, it's a plain old implementation problem. People have had far more complex junk in the lower half (can you say "smart serial board"? I knew you could!) for a long time. -- Peter da Silva `-_-' Network Management Technology Incorporated 'U` 1601 Industrial Blvd. Sugar Land, TX 77478 USA +1 713 274 5180 "Hast Du heute schon Deinen Wolf umarmt?" ^ permalink raw reply [flat|nested] 36+ messages in thread
* Re: DEC 3000-300 serial port speed? 1994-05-28 0:18 ` Aaron Leonard 1994-05-28 9:45 ` Neill Clift @ 1994-05-28 19:48 ` Andrew Fullford 1994-05-28 22:40 ` Thor Lancelot Simon 1 sibling, 1 reply; 36+ messages in thread From: Andrew Fullford @ 1994-05-28 19:48 UTC (permalink / raw) In <2s62k6$f4c@news.CCIT.Arizona.EDU> leonard@telcom.arizona.edu (Aaron Leonard) writes: >OK, children friends at DEC: why don't you take a deep breath and THINK >about how people might use your products in the real world (assuming >you could sell any.) For example, I might want to have an 3000/300 >or DECpc 150 AT HOME (what a concept!) And I might want to NETWORK >that box with the rest of the world (startling, eh?) And maybe I >don't have dedicated singlemode fiber coming into my house, but only >an analog phone line. No ISDN, no Ethernet-over-CATV, just POTS ... >can ya dig it? >So, given that scenario, I want to squeeze all the juice out of that >phone line for as little money as possible. Fortunately, I can RIGHT >NOW buy a V.FC 28.8Kbps modem for $300, that would LOVE to talk >to a 115.2Kbps serial port. And this modem might actually be expected >to deliver about 60Kbps of real-world throughput (for typical NFS/FTP/ >TELNET/SMTP/X11 data) IF I could find a serial port that fast. Yes, yes, yes. Listen, I have a 486DX50 running unix with a $30 serial card in it. I run that with MST PPP and a $250 V.FC modem. The serial port has fifo uarts and when I'm sucking as much as I can through it, I measure a system-numbing (not!) 3% cpu load. That includes the MST overhead. MST's PPP system operates as a user-mode process. And NS16550 uarts are not even close to what can be done to reduce async costs. The workstation vendors are not tied to 14 year old uart "standards". This argument that workstations are to be excluded from high speed async for their own good is getting really old. It's not just DEC. Sun, HP, SGI; they're all at it. Get real. I'd probably have purchased a faster system by now except that I can't justify the reduced performance. -- Andrew Fullford a.out computer consultants a_fullford@august.com +1 214 202 3344 ^ permalink raw reply [flat|nested] 36+ messages in thread
* Re: DEC 3000-300 serial port speed? 1994-05-28 19:48 ` Andrew Fullford @ 1994-05-28 22:40 ` Thor Lancelot Simon 1994-05-30 1:02 ` Jerry Leslie 0 siblings, 1 reply; 36+ messages in thread From: Thor Lancelot Simon @ 1994-05-28 22:40 UTC (permalink / raw) In article <akfullfo.770154504@awful>, Andrew Fullford <akfullfo@august.com> wrote: >Yes, yes, yes. Listen, I have a 486DX50 running unix with a $30 >serial card in it. I run that with MST PPP and a $250 V.FC >modem. The serial port has fifo uarts and when I'm sucking as >much as I can through it, I measure a system-numbing (not!) 3% >cpu load. That includes the MST overhead. MST's PPP system >operates as a user-mode process. And NS16550 uarts are not even >close to what can be done to reduce async costs. The workstation >vendors are not tied to 14 year old uart "standards". Actually, isn't it that they're tied to the _wrong_ 20 year old UART standards? I'd still love to know why they couldn't have built themselves a DMF-32 on a chip instead of a DZ-11 on a chip, but, well, there's that patented DEC fuck-the-customer attitude for you. -- Thor Lancelot Simon tls@panix.COM But as he knew no bad language, he had called him all the names of common objects that he could think of, and had screamed: "You lamp! You towel! You plate!" and so on. --Sigmund Freud ^ permalink raw reply [flat|nested] 36+ messages in thread
* Re: DEC 3000-300 serial port speed? 1994-05-28 22:40 ` Thor Lancelot Simon @ 1994-05-30 1:02 ` Jerry Leslie 1994-05-30 11:54 ` Rupert Moss-Eccardt 0 siblings, 1 reply; 36+ messages in thread From: Jerry Leslie @ 1994-05-30 1:02 UTC (permalink / raw) Thor Lancelot Simon (tls@panix.com) wrote: : In article <akfullfo.770154504@awful>, : Andrew Fullford <akfullfo@august.com> wrote: : >Yes, yes, yes. Listen, I have a 486DX50 running unix with a $30 : >serial card in it. I run that with MST PPP and a $250 V.FC : >modem. The serial port has fifo uarts and when I'm sucking as : >much as I can through it, I measure a system-numbing (not!) 3% : >cpu load. That includes the MST overhead. MST's PPP system : >operates as a user-mode process. And NS16550 uarts are not even : >close to what can be done to reduce async costs. The workstation : >vendors are not tied to 14 year old uart "standards". : Actually, isn't it that they're tied to the _wrong_ 20 year old UART : standards? Don't forget that DEC only offers two modems: the DECScholarPLUS (2400 baud, when it decides it wants to answer the phone at all), and the DEC V.32 ( (9600 baud). Both are call-back modems. The V.32 will hold 99 call-back numbers for ~$ 950. One of my co-workers just installed Linux on an unused (386) PC, plus a program called 'CALL-BACK', and four 14.4 modems ($ 99/each - jury's still out on one of 'em). Another hardware area DEC should abandon ? I really want DEC (well VMS) to survive; I'd rather work on a MODCOMP MAX-IV or MAX-32 system than Unix, --Gerald (Jerry) R. Leslie Staff Engineer Dynamic Matrix Control Corporation P.O. Box 721648 9896 Bissonnet Houston, Texas 77272 Houston, Texas, 77036 713/272-5065 713/272-5200 (fax) gleslie@isvsrv.enet.dec.com jleslie@dmccorp.com ^ permalink raw reply [flat|nested] 36+ messages in thread
* Re: DEC 3000-300 serial port speed? 1994-05-30 1:02 ` Jerry Leslie @ 1994-05-30 11:54 ` Rupert Moss-Eccardt 1994-05-30 15:51 ` Terry Kennedy, Operations Mgr. ` (2 more replies) 0 siblings, 3 replies; 36+ messages in thread From: Rupert Moss-Eccardt @ 1994-05-30 11:54 UTC (permalink / raw) There have been various posts about how disappointingly slow the serial ports are on a variety of workstations (DEC in particular). A number of people then suggest that even PCs can do much better. Of course, this is untrue. Admittedly on a PC doing very little you can wind the serial ports up to their rated speeds, but once you start doing interesting things it all goes horribly wrong. We have a 3100-40 running Pathworks to 150 clients. Of course its overloaded but I'm certain that everything will continue to work (including those slow serial ports). Now I don't think that you get the same robustness under overload out of your average PC, especially if you are still foolish enough to use an ISA bus machine. -- +-----------------------------------------------------------------------------+ | Rupert Moss-Eccardt, Network Co-Ordinator, Computer Section,The Old Schools | | University of Cambridge, Trinity Lane, Cambridge, CB2 1TS Tel +223 332997 | | Email: mossecc_r@admin.cam.ac.uk Fax +223 332251 | ^ permalink raw reply [flat|nested] 36+ messages in thread
* Re: DEC 3000-300 serial port speed? 1994-05-30 11:54 ` Rupert Moss-Eccardt @ 1994-05-30 15:51 ` Terry Kennedy, Operations Mgr. 1994-05-30 16:05 ` Rupert Moss-Eccardt 1994-05-30 17:05 ` Andrew Fullford 1994-05-31 16:57 ` Peter da Silva 2 siblings, 1 reply; 36+ messages in thread From: Terry Kennedy, Operations Mgr. @ 1994-05-30 15:51 UTC (permalink / raw) In article <2sck63$nkb@lyra.csx.cam.ac.uk>, rwgm1@cus.cam.ac.uk (Rupert Moss-Eccardt) writes: > Admittedly on a PC doing very little you can wind the serial ports up to their > rated speeds, but once you start doing interesting things it all goes horribly > wrong. [...] > Now I don't think that you get the same robustness under > overload out of your average PC, especially if you are still foolish enough to > use an ISA bus machine. I have an ISA-based 486 PC here which runs BSD/386 V1.0 in a production environment (general-access student timesharing, new server for a few dozen clients, NFS server to 6 additional systems) and it's quite happy - it has achieved uptimes of well over a hundred days (we tend to reboot it to test some kernel changes we make to tweak performance). I've run its serial ports flat out with no effect on timesharing users. If this isn't "interesting", perhaps you'd tell us what is? Terry Kennedy Operations Manager, Academic Computing terry@spcvxa.spc.edu St. Peter's College, Jersey City, NJ USA +1 201 915 9381 (voice) +1 201 435-3662 (FAX) ^ permalink raw reply [flat|nested] 36+ messages in thread
* Re: DEC 3000-300 serial port speed? 1994-05-30 15:51 ` Terry Kennedy, Operations Mgr. @ 1994-05-30 16:05 ` Rupert Moss-Eccardt 1994-05-30 18:30 ` Terry Kennedy, Operations Mgr. 0 siblings, 1 reply; 36+ messages in thread From: Rupert Moss-Eccardt @ 1994-05-30 16:05 UTC (permalink / raw) In article <1994May30.115141.1@spcvxb.spc.edu> terry@spcvxb.spc.edu (Terry Kenn edy, Operations Mgr.) writes: >In article <2sck63$nkb@lyra.csx.cam.ac.uk>, rwgm1@cus.cam.ac.uk (Rupert Moss-E >ccardt) writes: >> Admittedly on a PC doing very little you can wind the serial ports up to the >> rated speeds, but once you start doing interesting things it all goes >> horribly wrong. [...] > I have an ISA-based 486 PC here which runs BSD/386 V1.0 in a production >environment (general-access student timesharing, new server for a few dozen >clients, NFS server to 6 additional systems) and it's quite happy - it has >achieved uptimes of well over a hundred days (we tend to reboot it to test >some kernel changes we make to tweak performance). I've run its serial ports >flat out with no effect on timesharing users. > > If this isn't "interesting", perhaps you'd tell us what is? I am very interested and surprised that the serial ports are able to keep up. When receiving at 14400 on both ports, what sort of throughput do you get? -- +-----------------------------------------------------------------------------+ | Rupert Moss-Eccardt, Network Co-Ordinator, Computer Section,The Old Schools | | University of Cambridge, Trinity Lane, Cambridge, CB2 1TS Tel +223 332997 | | Email: mossecc_r@admin.cam.ac.uk Fax +223 332251 | ^ permalink raw reply [flat|nested] 36+ messages in thread
* Re: DEC 3000-300 serial port speed? 1994-05-30 16:05 ` Rupert Moss-Eccardt @ 1994-05-30 18:30 ` Terry Kennedy, Operations Mgr. 0 siblings, 0 replies; 36+ messages in thread From: Terry Kennedy, Operations Mgr. @ 1994-05-30 18:30 UTC (permalink / raw) In article <2sd2sv$so8@lyra.csx.cam.ac.uk>, rwgm1@cus.cam.ac.uk (Rupert Moss-Eccardt) writes: > I am very interested and surprised that the serial ports are able to keep up. > When receiving at 14400 on both ports, what sort of throughput do you get? Better yet, I configured one serial port for SLIP at 115200. The other end was a DECserver 700 (also at 115200) using an MTU of 296. I used a 25' piece of shielded cable between the two, with pins 1, 2, 3, 4, 5 and 7 connected (hardware flow control). When FTPing a 500KB file, I got an effective transfer rate of 98,304 bits/second. The system load average peaked at 0.06 during the transfer. Terry Kennedy Operations Manager, Academic Computing terry@spcvxa.spc.edu St. Peter's College, Jersey City, NJ USA +1 201 915 9381 (voice) +1 201 435-3662 (FAX) ^ permalink raw reply [flat|nested] 36+ messages in thread
* Re: DEC 3000-300 serial port speed? 1994-05-30 11:54 ` Rupert Moss-Eccardt 1994-05-30 15:51 ` Terry Kennedy, Operations Mgr. @ 1994-05-30 17:05 ` Andrew Fullford 1994-05-30 23:04 ` Rupert Moss-Eccardt 1994-05-31 16:57 ` Peter da Silva 2 siblings, 1 reply; 36+ messages in thread From: Andrew Fullford @ 1994-05-30 17:05 UTC (permalink / raw) In <2sck63$nkb@lyra.csx.cam.ac.uk> rwgm1@cus.cam.ac.uk (Rupert Moss-Eccardt) writes: >There have been various posts about how disappointingly slow the serial ports >are on a variety of workstations (DEC in particular). A number of people >then suggest that even PCs can do much better. Of course, this is untrue. >Admittedly on a PC doing very little you can wind the serial ports up to their >rated speeds, but once you start doing interesting things it all goes horribly >wrong. >We have a 3100-40 running Pathworks to 150 clients. Of course its overloaded >but I'm certain that everything will continue to work (including those slow >serial ports). Now I don't think that you get the same robustness under >overload out of your average PC, especially if you are still foolish enough to >use an ISA bus machine. Now, I must admit that I don't run 150 pathworks clients, but I do run fairly heavy loads on a 486DX33 under SunSoft Interactive Unix. Load factors of 4 are not uncommon. The system is equipped with a 2-port and two 4-port dumb serial cards that use NS-16550AFN UARTS. Yes, it is ISA bus with only an ESDI disk drive. It is certainly the poor step child in our environment, running news, fax services, and a few other applications that we can't run elsewhere. Under these loads, multiple modems with DTE rates of 115kbps working UUCP and PPP connections operate with an insignificant number of errors (less than 10 per month) according to the PPP and UUCP logs. You seem to be trying to justify the workstation vendors' complete failure to support dialup networking capabilities that have been around for years by saying that PC systems can't do it. PC systems really can't do lots of things. No argument. But PCs can easily support this kind of async load. Workstation vendors supply garbage async hardware and software. A PC running Unix with a $30 serial card _can_ do much, much better. -- Andrew Fullford a.out computer consultants a_fullford@august.com +1 214 202 3344 ^ permalink raw reply [flat|nested] 36+ messages in thread
* Re: DEC 3000-300 serial port speed? 1994-05-30 17:05 ` Andrew Fullford @ 1994-05-30 23:04 ` Rupert Moss-Eccardt 1994-05-31 0:35 ` Andrew Fullford ` (2 more replies) 0 siblings, 3 replies; 36+ messages in thread From: Rupert Moss-Eccardt @ 1994-05-30 23:04 UTC (permalink / raw) >Various postings showing that I'm wrong. I still maintain that if you blast huge rates of data at a PC serial port it won't be able to take it. Mind you if you hide it in some protocol such as SLIP, PPP etc then it won't show. Last time I did any timing tests (about 16 months ago) a VGA chip couldn't display anything close to 14400. Disk drives aren't much better. I only mention this because I get upset with the tick-box approach to design that all manufacturers seem to go for these days. On one of the Alphas to which I have access you rarely get to see the real speed of the machine. Most of the time NFS, X-Windows or some other mess gets in the way, but every once in a while you think 'Wow!, that was fast'. Certainly in terms of bangs-per-buck the PDPs I get for token sums seem to give better value than anything actually on the market. Oh well :-) -- +-----------------------------------------------------------------------------+ | Rupert Moss-Eccardt, Network Co-Ordinator, Computer Section,The Old Schools | | University of Cambridge, Trinity Lane, Cambridge, CB2 1TS Tel +223 332997 | | Email: mossecc_r@admin.cam.ac.uk Fax +223 332251 | ^ permalink raw reply [flat|nested] 36+ messages in thread
* Re: DEC 3000-300 serial port speed? 1994-05-30 23:04 ` Rupert Moss-Eccardt @ 1994-05-31 0:35 ` Andrew Fullford 1994-05-31 14:47 ` Charles M Richmond 1994-05-31 1:35 ` John Wilson 1994-05-31 17:03 ` Peter da Silva 2 siblings, 1 reply; 36+ messages in thread From: Andrew Fullford @ 1994-05-31 0:35 UTC (permalink / raw) In <2sdrdd$7cj@lyra.csx.cam.ac.uk> rwgm1@cus.cam.ac.uk (Rupert Moss-Eccardt) writes: >I still maintain that if you blast huge rates of data at a PC serial port >it won't be able to take it. Mind you if you hide it in some protocol >such as SLIP, PPP etc then it won't show. Last time I did any timing tests >(about 16 months ago) a VGA chip couldn't display anything close to 14400. >Disk drives aren't much better. I only mention this because I get upset with >the tick-box approach to design that all manufacturers seem to go for these >days. I think you are a little out of date. I log enough information to be quite confident that the error levels are trivially small. Running Worldblazers at 115.2 kbps, I get 2050 cps for compressed news batches using turbo-PEP. I get 4500 cps for very compressible database transfers through PPP using V.32bis/V.42/V.42bis. I get 7800 cps for artificially compressible data generated for transfer testing. These figures are completely consistent and reproducible. I run a Metheus Premier video adaptor (ISA version) which will do 135000 X stones at 1024x768x8. It will display 24 bits at 1024x768, 16 bits at 1280x1024 and 8 bits at 1600x1200. It definitely has no problem pumping a mere 1600cps of ascii text out. Newer S3 based boards are doing over 300K Xstones. I have an adaptec 1742 which will sustain 2.1MB/sec from a Quantum disk and manages 3.0MB/sec throughput disk-to-disk. Ok, it is nothing near what I can get on, for example, the FWD controller on an HP 9000/735, but then the system cost 15% of the 735. In any event, let me reiterate. I'm not saying PC hardware is wonderfully reliable, or a match for workstation performance in general. I'm saying that workstation vendors are hopelessly inept when in comes to async devices and drivers, so much so that even $30 PC hardware makes them look silly. This argument that we don't want CPUs wasting time on async processing is just plain crazy. I DO. I think lots of people do. I brought PCs into the story just to show that the amount of CPU wasted on async processing is trivial anyway. I have a printer that can handle 57.6 kbps. I can drive it at that rate with my PC Unix system. I've never seen an error. Output only, so not surprising. I can't drive it at that rate with the aforementioned HP 735, and HP makes the printer. -- Andrew Fullford a.out computer consultants a_fullford@august.com +1 214 202 3344 ^ permalink raw reply [flat|nested] 36+ messages in thread
* Re: DEC 3000-300 serial port speed? 1994-05-31 0:35 ` Andrew Fullford @ 1994-05-31 14:47 ` Charles M Richmond 1994-05-31 18:46 ` Eric Thomas 0 siblings, 1 reply; 36+ messages in thread From: Charles M Richmond @ 1994-05-31 14:47 UTC (permalink / raw) akfullfo@august.com (Andrew Fullford) writes: >In <2sdrdd$7cj@lyra.csx.cam.ac.uk> rwgm1@cus.cam.ac.uk (Rupert Moss-Eccardt) writes: >>I still maintain that if you blast huge rates of data at a PC serial port >>it won't be able to take it. Mind you if you hide it in some protocol >>such as SLIP, PPP etc then it won't show. Last time I did any timing tests >>(about 16 months ago) a VGA chip couldn't display anything close to 14400. >>Disk drives aren't much better. I only mention this because I get upset with >>the tick-box approach to design that all manufacturers seem to go for these >>days. >I think you are a little out of date. I log enough information >to be quite confident that the error levels are trivially small. >Running Worldblazers at 115.2 kbps, I get 2050 cps for compressed >news batches using turbo-PEP. I get 4500 cps for very >compressible database transfers through PPP using >V.32bis/V.42/V.42bis. I get 7800 cps for artificially >compressible data generated for transfer testing. These figures >are completely consistent and reproducible. I sure wish that I could do so well!! I only get 1.4-1.6k characters per second with a pair of NetBlazers (the 115k serial is internal to the Netblazer) on compressed data (gzips, jpegs, etc). You are saying that you are getting 50% better throughput than the equivalent dedicated hardware. Care to come tune my blazers?? (-: Charlie -- ***************************************************************************** * Charles Richmond Integrated International Systems Corporation * * cmr@asoko.iisc.com cmr@world.std.com * * Specializing in UNIX, X, Image Processing, and Communications. * ^ permalink raw reply [flat|nested] 36+ messages in thread
* Re: DEC 3000-300 serial port speed? 1994-05-31 14:47 ` Charles M Richmond @ 1994-05-31 18:46 ` Eric Thomas 1994-06-01 22:40 ` Peter da Silva 0 siblings, 1 reply; 36+ messages in thread From: Eric Thomas @ 1994-05-31 18:46 UTC (permalink / raw) I think some of the misunderstandings come from lack of information. There are several types of UARTs, and then several types of drivers. My 486/25 notebook has an old UART without a FIFO. When transferring files over a 14.4k connection, 19.2k is as fast as I can configure the COM port under Windows, and then I can't *touch* the PC during the transfer. I am allowed to move the mouse, but if I so much as single click on an icon to highlight it, I get lost data. That's because a 486/25 with standard Windows drivers can't take much more than the corresponding 2500-odd interrupts per second. Note that I'm not saying the chip can't take more interrupts; I'm saying it can't dispatch the interrupt code in COMM.DRV more than 2500 times per second, on a machine with notebook memory and no external cache. My desktop 486/66 has a UART with a 16-byte FIFO, 256k of external cache, and Dell memory. I can transfer at 38.4k/14.4k with *DOS under Windows* and do something else at the same time, as long as I don't do too much disk I/O. But occasionally I did lose characters when doing plain dialup, especially if the terminal emulator decided to update the scrollback file at the same time. This got worse when I got a 28.8k driver and ran the port at 57.6k. Some "screens" I simply could not get past without getting all sorts of rubbish on the screen. This is because the default COMM.DRV does not actually use the FIFO. It enables it, but programs it to interrupt every time a new character shows up, and then only in the incoming direction. In the outgoing direction, it doesn't even enable the FIFO. Better drivers are available from the usual PC archive sites. I installed one CYBERDRV.DRV, which programs the FIFO to interrupt after 8 bytes in either direction, and all my problems were solved. I could reduce the interrupt rate even further by interrupting every 15, but given the way Windows 3.1 multitasks, it might impact reliability. With NT I never had any problem - the FIFO is fully used and I've never lost a single byte. So in fact most of the problems you've been witnessing are not due to the PC or its hardware, but to the idiocy of the drivers and Windows 3.1's inability to schedule a driver in a dependable time frame. Eric ^ permalink raw reply [flat|nested] 36+ messages in thread
* Re: DEC 3000-300 serial port speed? 1994-05-31 18:46 ` Eric Thomas @ 1994-06-01 22:40 ` Peter da Silva 0 siblings, 0 replies; 36+ messages in thread From: Peter da Silva @ 1994-06-01 22:40 UTC (permalink / raw) In article <1994May31.184615.1@segate.sunet.se>, Eric Thomas <ERIC@SEARN.SUNET.SE> wrote: > My desktop 486/66 has a UART with a 16-byte FIFO, 256k of external cache, and > Dell memory. I can transfer at 38.4k/14.4k with *DOS under Windows* and do > something else at the same time, as long as I don't do too much disk I/O. Weird. I've got a 68030/16 in my PC and I can do just about anything, including heavy disk I/O, without losing characters at 38.4/14.4k. I've even run a DOS emulator that had to emulate the CPU while all this was going on. Nary a lost character. Of course having a real-time O/S helps. :-> -- Peter da Silva `-_-' Network Management Technology Incorporated 'U` 1601 Industrial Blvd. Sugar Land, TX 77478 USA +1 713 274 5180 "Hast Du heute schon Deinen Wolf umarmt?" ^ permalink raw reply [flat|nested] 36+ messages in thread
* Re: DEC 3000-300 serial port speed? 1994-05-30 23:04 ` Rupert Moss-Eccardt 1994-05-31 0:35 ` Andrew Fullford @ 1994-05-31 1:35 ` John Wilson 1994-05-31 5:41 ` Rupert Moss-Eccardt 1994-05-31 17:03 ` Peter da Silva 2 siblings, 1 reply; 36+ messages in thread From: John Wilson @ 1994-05-31 1:35 UTC (permalink / raw) In article <2sdrdd$7cj@lyra.csx.cam.ac.uk>, Rupert Moss-Eccardt <rwgm1@cus.cam.ac.uk> wrote: >I still maintain that if you blast huge rates of data at a PC serial port >it won't be able to take it. Mind you if you hide it in some protocol >such as SLIP, PPP etc then it won't show. What on earth are you talking about? Burying your data under SLIP or PPP makes the effective data rate (slightly) worse, not better. I don't see what's so hard to accept here. 115200bps is a pathetically slow data rate, supposing character-at-a-time interrupts in both directions that gives you 23,040 interrupts/second, which coincidentally is about the same interrupt rate commonly used to produce digitized sound over the built-in speaker, which people have been doing since long before the current crop of fast machines. Now divide by 16 if you're using the FIFOs on a 16550A, and we're talking under 1500 interrupts/second, for SUSTAINED 115.2kbps in both directions, which could potentially be cut in half if the ISR were sneaky about polling the "other" FIFO while servicing a FIFO interrupt. It's no wonder a Z80 is up to the job! Of course Z80 interrupt latency (starting an ISR as compared to executing any normal instruction) is a lot better than an 80x86 (where the INT instruction from the 8259A takes dozens of cycles to execute), but the current machines are so much faster than the Z80s ever were that in terms of absolute speed, you'd need to have a REALLY badly-written ISR to soak up all the time between interrupts. People keep describing the backwards-compatible PC serial ports as if they're a brain-damaged design. It's a perfectly straightforward interrupt-driven SLU, just like the DL-11 or the console port on a VAX. DMA would have been nice, but in almost all cases it would be overkill, the line rate maxes out at 1/40th the data rate of Ethernet (1/80th *2 since it's bidirectional), and most low-end Ethernet boards do just fine using a dual-ported SRAM buffer instead of DMA, it's really the same thing as a FIFO anyway. John Wilson ^ permalink raw reply [flat|nested] 36+ messages in thread
* Re: DEC 3000-300 serial port speed? 1994-05-31 1:35 ` John Wilson @ 1994-05-31 5:41 ` Rupert Moss-Eccardt 0 siblings, 0 replies; 36+ messages in thread From: Rupert Moss-Eccardt @ 1994-05-31 5:41 UTC (permalink / raw) Ok chaps, I give up. I'm out of date. The figures given have been useful. Rupert -- +-----------------------------------------------------------------------------+ | Rupert Moss-Eccardt, Network Co-Ordinator, Computer Section,The Old Schools | | University of Cambridge, Trinity Lane, Cambridge, CB2 1TS Tel +223 332997 | | Email: mossecc_r@admin.cam.ac.uk Fax +223 332251 | ^ permalink raw reply [flat|nested] 36+ messages in thread
* Re: DEC 3000-300 serial port speed? 1994-05-30 23:04 ` Rupert Moss-Eccardt 1994-05-31 0:35 ` Andrew Fullford 1994-05-31 1:35 ` John Wilson @ 1994-05-31 17:03 ` Peter da Silva 2 siblings, 0 replies; 36+ messages in thread From: Peter da Silva @ 1994-05-31 17:03 UTC (permalink / raw) In article <2sdrdd$7cj@lyra.csx.cam.ac.uk>, Rupert Moss-Eccardt <rwgm1@cus.cam.ac.uk> wrote: > >Various postings showing that I'm wrong. > I still maintain that if you blast huge rates of data at a PC serial port > it won't be able to take it. Gee. We moved our modems from minis and workstations to a *386* PC running System V because the "superior" machines wouldn't perform to spec. > Mind you if you hide it in some protocol > such as SLIP, PPP etc then it won't show. You can't get more bytes per second out of a serial line than you can send through it. No matter what protocol, if you get sustained throughput of 98K out of a 115K line that line's gota be handling at least 98,000 characters every second. > Last time I did any timing tests > (about 16 months ago) a VGA chip couldn't display anything close to 14400. (blink) What does VGA have to do with anything? We're talking serial I/O, not video. > Disk drives aren't much better. Gee, my serial I/O ports aren't even on the same card as my disk drive. And the disk drives on my Alpha and on my PC are the same SCSI part. -- Peter da Silva `-_-' Network Management Technology Incorporated 'U` 1601 Industrial Blvd. Sugar Land, TX 77478 USA +1 713 274 5180 "Hast Du heute schon Deinen Wolf umarmt?" ^ permalink raw reply [flat|nested] 36+ messages in thread
* Re: DEC 3000-300 serial port speed? 1994-05-30 11:54 ` Rupert Moss-Eccardt 1994-05-30 15:51 ` Terry Kennedy, Operations Mgr. 1994-05-30 17:05 ` Andrew Fullford @ 1994-05-31 16:57 ` Peter da Silva 2 siblings, 0 replies; 36+ messages in thread From: Peter da Silva @ 1994-05-31 16:57 UTC (permalink / raw) In article <2sck63$nkb@lyra.csx.cam.ac.uk>, Rupert Moss-Eccardt <rwgm1@cus.cam.ac.uk> wrote: > Admittedly on a PC doing very little you can wind the serial ports up to their > rated speeds, but once you start doing interesting things it all goes horribly > wrong. And this is an excuse for lousy serial ports? -- Peter da Silva `-_-' Network Management Technology Incorporated 'U` 1601 Industrial Blvd. Sugar Land, TX 77478 USA +1 713 274 5180 "Hast Du heute schon Deinen Wolf umarmt?" ^ permalink raw reply [flat|nested] 36+ messages in thread
[parent not found: <2s62k6$f4c@news.ccit.arizona.edu>]
* Re: DEC 3000-300 serial port speed? [not found] ` <2s62k6$f4c@news.ccit.arizona.edu> @ 1994-05-28 13:19 ` John Hascall 0 siblings, 0 replies; 36+ messages in thread From: John Hascall @ 1994-05-28 13:19 UTC (permalink / raw) Aaron Leonard <Leonard@Arizona.EDU> wrote: }|jleslie@dmccorp.com (Jerry Leslie) writes: }| The DEC 3000/300 series will run the serial port at up to 38400 bps. }|Our company philosophy (if it can be called that :)) is that higher }|rates than 38400 should be moved to a terminal server where they won't }|slow down the cpu by interrupting at a high character-by-character }|rate. If you're planning on running SLIP/PPP and want the higher rate, }|you can try a terminal server such as the 90M or 90TL. }This pitiful "philosophy" is an outstanding example of why DEC }appears to be going down for the count. }DEC workstation users have been clamoring for YEARS for quality serial }ports (full modem control + hw flow + at least 57.6Kbps) instead of }what DEC gave them (how about the pathetic ports on the 3100 - WORSE }than what the lowly VS2000s came with!) But DEC, in its superior }technical wisdom, KNOWS what's good for you. It's not GOOD for you }to waste your "valuable" workstation cycles on something so degrading }as processing character I/O. Instead, you should buy a dedicated }terminal server to handle the job. I have to agree -- this is plain and simple stupid. }OK, children friends at DEC: why don't you take a deep breath and THINK }about how people might use your products in the real world }you could sell any.) Many people, whether at home or not, have need for 1 or 2 good serial lines -- DEC can wish all they want, but people aren't going to buy a terminal server for this. Putting a couple good serial ports on your machines is NOT going to cut into your terminal server market. (For example, we own 10 90L+'s and not a single one of them is used this way.) }Oh, but DEC, in their superior wisdom, knows that I don't want to BURDEN }my poor little 175MHz CPU with the grueling task of moving characters }at 14Kcps! Instead it would be BETTER for me to buy a standalone }terminal server for $2000 or whatever JUST to talk to this one modem! Funny, I'll bet DEC sells some "lowly" PCs which can manage with their piddly little x86 CPU ... }Really, the lameness of DEC's stance on this issue is practically }cosmic (comic?) "[H]igher rates than 38400 [...] will slow down the }CPU by interrupting at a high character-by-character rate" indeed! So, DEC, get a clue and use/design a serial chip that has a buffer and only interrupts, say, no more than 100 times/second. No typist will ever notice, and your interrupt rate will be nicely bounded for SLIP/PPP/Zmodem/etc use. John -- John Hascall ``An ill-chosen word is the fool's messenger.'' Systems Software Engineer Project Vincent Iowa State University Computation Center + Ames, IA 50011 + 515/294-9551 ^ permalink raw reply [flat|nested] 36+ messages in thread
* Re: DEC 3000-300 serial port speed? 1994-05-27 21:29 ` Craig Zeller 1994-05-28 0:18 ` Aaron Leonard [not found] ` <2s62k6$f4c@news.ccit.arizona.edu> @ 1994-05-31 16:03 ` Peter da Silva 2 siblings, 0 replies; 36+ messages in thread From: Peter da Silva @ 1994-05-31 16:03 UTC (permalink / raw) In article <CqHD1p.Ey9@wlbr.iipo.gtegsc.com>, Craig Zeller <zeller@zot.iipo.gtegsc.com> wrote: > Our company philosophy (if it can be called that :)) is that higher > rates than 38400 should be moved to a terminal server where they won't > slow down the cpu by interrupting at a high character-by-character > rate. That's why you have a FIFO in the UART. -- Peter da Silva `-_-' Network Management Technology Incorporated 'U` 1601 Industrial Blvd. Sugar Land, TX 77478 USA +1 713 274 5180 "Hast Du heute schon Deinen Wolf umarmt?" ^ permalink raw reply [flat|nested] 36+ messages in thread
* Re: DEC 3000-300 serial port speed? 1994-05-26 0:08 DEC 3000-300 serial port speed? Greg Kilcup 1994-05-27 4:50 ` Jerry Leslie @ 1994-06-04 3:41 ` Steven Vere 1 sibling, 0 replies; 36+ messages in thread From: Steven Vere @ 1994-06-04 3:41 UTC (permalink / raw) In article <KILCUP.94May25200821@einstein.mps.ohio-state.edu> kilcup@pacific.mps.ohio-state.edu (Greg Kilcup) writes: > >Did I read the specs concerning the serial port on the >3000-300 series correctly? According to the documents >served by www.digital.com it runs at only 19.2Kbits/sec, >about a factor 8 slower than what I expect out of my >next workstation purchase. I saw the same number. However, two weeks ago I ran kermit on my Alpha 300X at 38.4K on a direct serial connection to my PC and it worked fine. I didn't try anything faster because 38.4 was the fastest number mentioned in the kermit documentation. -- _____________________________________________________________________ __ __ __ __ __ __ __ __ __ __ __ |__| |__| |__| |__| |__| |__| |__| |__| |__| |__| |__| | Steven Vere vere@netcom.com Boulder Creek, California __ __ __ __ __ __ __ __ __ __ __ |__| |__| |__| |__| |__| |__| |__| |__| |__| |__| |__| | _____________________________________________________________________ ^ permalink raw reply [flat|nested] 36+ messages in thread
end of thread, other threads:[~1994-06-04 3:41 UTC | newest]
Thread overview: 36+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1994-05-26 0:08 DEC 3000-300 serial port speed? Greg Kilcup
1994-05-27 4:50 ` Jerry Leslie
1994-05-27 14:19 ` Peter da Silva
1994-05-27 15:46 ` Charles M Richmond
1994-06-01 20:57 ` George Papison
1994-06-02 13:28 ` Peter da Silva
1994-05-27 21:29 ` Craig Zeller
1994-05-28 0:18 ` Aaron Leonard
1994-05-28 9:45 ` Neill Clift
1994-05-28 14:58 ` Castor Fu
1994-05-28 17:01 ` Terry Kennedy, Operations Mgr.
1994-05-31 21:48 ` Ed Romascan
1994-06-01 15:55 ` ivie
1994-06-01 20:09 ` Carl J Appellof
1994-06-01 22:40 ` Ed Romascan
1994-06-01 22:16 ` Peter da Silva
1994-05-28 19:48 ` Andrew Fullford
1994-05-28 22:40 ` Thor Lancelot Simon
1994-05-30 1:02 ` Jerry Leslie
1994-05-30 11:54 ` Rupert Moss-Eccardt
1994-05-30 15:51 ` Terry Kennedy, Operations Mgr.
1994-05-30 16:05 ` Rupert Moss-Eccardt
1994-05-30 18:30 ` Terry Kennedy, Operations Mgr.
1994-05-30 17:05 ` Andrew Fullford
1994-05-30 23:04 ` Rupert Moss-Eccardt
1994-05-31 0:35 ` Andrew Fullford
1994-05-31 14:47 ` Charles M Richmond
1994-05-31 18:46 ` Eric Thomas
1994-06-01 22:40 ` Peter da Silva
1994-05-31 1:35 ` John Wilson
1994-05-31 5:41 ` Rupert Moss-Eccardt
1994-05-31 17:03 ` Peter da Silva
1994-05-31 16:57 ` Peter da Silva
[not found] ` <2s62k6$f4c@news.ccit.arizona.edu>
1994-05-28 13:19 ` John Hascall
1994-05-31 16:03 ` Peter da Silva
1994-06-04 3:41 ` Steven Vere
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox