From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: ffc31,b20d01cc936922ed,start X-Google-Attributes: gidffc31,public X-Google-Thread: 1164f8,1b0ee082a4f5271 X-Google-Attributes: gid1164f8,public X-Google-Thread: f6134,1b0ee082a4f5271 X-Google-Attributes: gidf6134,public X-Google-ArrivalTime: 1992-03-15 10:53:58 PST Xref: sparky comp.org.decus:249 comp.sys.dec:2057 vmsnet.pdp-11:282 Path: sparky!uunet!decwrl!ames!agate!stanford.edu!mcnc!ais!bruce From: bruce@ais.com Newsgroups: comp.org.decus,comp.sys.dec,vmsnet.pdp-11 Subject: Re: RSX11D/IAS vs. RSX11M (was Re: Definitive list of PDP) Message-ID: <545@ais.com> Date: 14 Mar 92 21:44:19 GMT References: <1992Mar12.184718.6050@tin.monsanto.com> Organization: Applied Information Systems, Chapel Hill, NC In article <1992Mar12.184718.6050@tin.monsanto.com>, lesnyd@monsanto.com (Larry Snyder) writes: > I remember writing devices drivers for both RSX11D/IAS and RSX11M. The > driver for IAS was called when an event occurred, such as I/O requested, > I/O rundown, etc. The lineprinter driver had a little problem in that when > the printer went offline, it blocked, waiting for it to come back online. > If a process attempted I/O rundown it would stop at the printer driver > (all drivers get called for I/O rundown) until the printer came back > online. This meant that I would hang up on a control-C until the printer > was put back online! This was, unfortunately, a fairly common problem with a number of the drivers for RSX-11D/IAS, both DEC and third-party drivers. The drivers for various serial devices (other than the terminal driver) were the worst, the disk and tape drivers were a lot better. I think a lot of the problem was that quite a few of the people who wrote the drivers never really got the hang of it, with the result that there was a lot of really bad code out there. If it wasn't a really common driver then it didn't get fixed (I still remember rewriting the paper tape drivers to fix this problem, I think we must have been about the only site that used them ... but we had some laboratory equipment that insisted on punching a tape and we had no good way to just hook it up to a terminal line ...). There were various problems with some incarnations of the LP handler, I think that it finally got fixed in later versions. Actually if I recall, the OS didn't call *ALL* drivers on an I/O rundown, but only went through the I/O database queueing the I/O rundown packet to each device until the task's I/O pending count went to 0. By ordering the I/O database so that the "bad" drivers were last you could avoid about 98% of the problem without code changes. > I felt the RSX11M drivers were more elegant, with I/O request nodes, event > flags and all that spiffy stuff. Well, yes and no, there were some things that you just couldn't do very well in RSX-11M drivers, and a lot of the ugliness that was found in some of the -11D/IAS drivers wasn't the fault of the OS driver model but rather the result of incompetent coding (including by DEC). But doing an -11D driver right took a fair amount of code (by the standards of the day, only a K or 2 was significant code ... you wouldn't think twice about that now), and -11M drivers could be done properly in much smaller space. But they didn't scale well to large systems ... too many problems like lack of address space etc. > But both were fun and easy to write! Yeah!! Bruce C. Wright