Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: Johnny Billquist <bqt@softjar.se>
Subject: Re: QBUS Prototyping
Date: Mon, 26 Apr 2010 02:32:24 +0200	[thread overview]
Message-ID: <hr2muo$3ds$1@Iltempo.Update.UU.SE> (raw)
In-Reply-To: <7bcf361c-deee-4de6-970d-bf9fc31a9ab6@b6g2000yqi.googlegroups.com>

Hi, John. Thanks for your input...
Comment inline below...

John Wallace wrote:
> On Apr 25, 12:40 pm, Johnny Billquist <b...@softjar.se> wrote:
>> glen herrmannsfeldt wrote:
>>> In alt.sys.pdp11 Johnny Billquist <b...@softjar.se> wrote:
>>> (snip)
>>>> Since the speed of a DL11 is hardwired, no software ever really cares
>>>> about what speed the serial port is using on a PDP-11. To a real TU58
>>>> you of course had to limit yourself to what the TU58 talked.
>>>> With something else, you just have to limit yourself to whatever that
>>>> other end is talking.
>>>> The big problem, though, is that this is no DMA device. It's either
>>>> interrupt-driven, or polled. Either way it consumes a lot of CPU, and
>>>> going up in speed is only going to make it worse. There is definitely an
>>>> upper limit on how many interrupt per second a PDP-11 can handle, and
>>>> each interrupt can only deliver one byte.
>>> I hope there is flow control.  The new interrupt shouldn't come
>>> before the previous character was read/sent.
>> You could implement all the flow control you want if you were to design
>> a new board for the Qbus (or Unibus) which talked to a PC (or whatever)
>> to read/write data. All it needs to be is the same from a software point
>> of view on the PDP-11. I can't remember if flow control is a part of the
>> protocol to the TU58, but I seem to remember that this was something
>> added in a modification to the protocol.
>>
>> On the PDP11 side, you cannot physically get a new interrupt before the
>> previous one have been handled. That is actually true of all CPUs I've
>> ever written software for. If that wasn't true, you would face a serious
>> hung CPU syndrome, since the fielded interrupt itself should not be
>> looping the CPU, but just cause the interrupt to be taken once, and then
>> dealt with. :-)
>>
>> So yes, you do need to do some serious buffering somewhere if you were
>> to do this.
>>
>>>> So no matter how high the speed of the serial line is, or how high the
>>>> speed of the mass storage at the other end is, you will not be able to
>>>> get that much speed on the PDP-11 side, and even so, it will consume
>>>> lots of resources. And on top of that, a TU58 holds a ridicoulus small
>>>> amount of blocks.
>>> Does an emulated one have to have the same number of blocks?
>>> That is, does it sense EOF, or count blocks?  
>> Count blocks.
>> So yes, you'll only be able to have the same number of blocks unless you
>> change device drivers.
>> Oh, and I seem to remember that the block field in the protocol is
>> rather short, so you cannot even theoretically have many more blocks no
>> matter what you do without having to redesign the protocol.
>> (I think it's a 16-bit value for block number.)
>>
>>>> Not a good interface to emulate, except for the fact that you already
>>>> have a device driver for it.
>>> Sounds like a good reason to me.
>> In that way it is, indeed. :-)
>>
>>         Johnny
>>
>> --
>> Johnny Billquist                  || "I'm on a bus
>>                                    ||  on a psychedelic trip
>> email: b...@softjar.se             ||  Reading murder books
>> pdp is alive!                     ||  tryin' to stay hip" - B. Idol
> 
> The Tu58 protocol is Radial Serial Protocol and the documentation is
> Currently Out There Somewhere.

Yes. And the original RSP had timing and flow control issues. Therefore 
DEC came up with the modified RSP (MRSP) later on, if my memory serves 
me right.

> TU58 performance had *two* limiting factors: serial line data rate
> (not brilliant), and seek time (verging on appalling).

Indeed.

> In the discussion here, which end are we talking about emulating? If
> you emulate the *drive*, you can create a "TU58" with zero seek time,
> and you *may* be able to make some other improvements too (serial line
> rate? number of blocks?).

I think the intention of the OP was to emulate drive and controller. But 
wouldn't know for sure, since it wasn't me, and the project is less than 
interesting for me personally, in any other sense than purely theoretical.

> In my younger days, I introduced my then employers to the delights of
> VT103s. A VT103 was a VT100 with a Qbus backplane inside (and a few
> other differences). You could get them with built in TU58s, or use an
> external storage device. We used them with assorted flavours of LSI11
> for RT11-based test equipment, whose typical mode of operation was
> "boot OS, load single standalone app, perform tests, log a small
> amount of data, print something to record the test results".

Yes. I know about the VT103. Have had a few around, but never actually 
ran any of them.

> RT11 on real TU58 was a bit slow to boot, but TU58s were dirt cheap
> and had other advantages (e.g. physical size - nil in a VT103) in
> comparison with the alternatives (e.g. RX02).
> 
> When RT11 introduced the concept of the LD (?) device, we took that a
> step further and implemented "RT11 clusters".
> 
> Each VT103 client thought its system device was a TU58. In actuality
> the "TU58's" serial line was connected to a DZ(V)11 port (or maybe
> DHV11, I can't remember 100%) on a "host" MicroPDP11/RT11 host running
> a home made application which had a separate LD device associated with
> each line on the DZ ie a separate LD device associated with each boot
> client.
> 
> An RSP request for a block would return the relevant block from that
> port's LD image. To make RT11 work on the boot clients, each LD image
> had its own RT11 system image. Job done.
> 
> The serial lines were still limited to DH/DZ/DL baud rates, but the
> horrendous TU58 seek times were totally eliminated and the time to
> application startup wasn't too bad (faster than a typical recent PC
> startup?).

That same solution have already been done several times. There exist RSP 
"servers" in the public domain. It's really simple, since the interface 
is a normal serial line.

And the server side, running on some kind of modern PC is way faster 
than needed anyway, so exactly what interface, and how it is used on 
that side is hardly relevant.

What matters is that unless you build a new device for the client 
PDP-11, you will have to use a DL(V)-11, which is the most stupid serial 
port for the PDP-11 ever invented. And not really a good thing to use if 
you want any real speed to talk about.

> The pseudo devices we used were not, to the best of my recollection,
> necessarily limited to the size of a physical TU58, although there may
> have been other limits imposed by constraints in Radial Serial
> Protocol (e.g. field sizes for byte counts). More than enough for RT11
> and a few apps though.

RT11 puts very little demand on the hardware. But most people will not 
be happy with a minimalistic RT11-system, but would want the extended 
monitor, lots of tools and programs, and so on. And suddenly it's not 
that fun anymore... :-)

> Because of the silos on the DZ/DH11 the "one character per interrupt"
> overhead didn't apply on the "host" (or "server") although obviously
> the client end still had a genuine DL11 and the associated overhead.

Well, not really true.
The DZ11 is close to one interrupt per character as well, even though 
the SILO can be emptied of several characters on one interrupt.
The same is true of the reception on a DH11. However, the DH11 use DMA 
for transmission, which starts making it a lot better.

But this is all server side, which I suspect would not even be a PDP-11, 
or anything even remotely related today, so that point is moot.

What matters is that currently, you need a DL11 on the client side. The 
DL11 is the real limitation here. If you build a new board, you can make 
it behave the same as te DL11 to the PDP-11, but be a lot smarter and 
faster talking to the server. That is what I think is being proposed, or 
toyed with.

> So, is that kind of thing of any interest to the current discussion?

I don't know. Others will have to tell...

	Johnny

-- 
Johnny Billquist                  || "I'm on a bus
                                   ||  on a psychedelic trip
email: bqt@softjar.se             ||  Reading murder books
pdp is alive!                     ||  tryin' to stay hip" - B. Idol


  reply	other threads:[~2010-04-26  0:32 UTC|newest]

Thread overview: 146+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-04-08 13:52 QBUS Prototyping Bill Gunshannon
2010-04-08 14:38 ` Scott Dorsey
2010-04-08 14:58 ` Al Kossow
2010-04-08 15:44   ` Bill Gunshannon
2010-04-08 20:46     ` John Wallace
2010-04-08 21:01       ` Bill Gunshannon
2010-04-08 21:58         ` Rob Jarratt
2010-04-08 23:00           ` John Wallace
2010-04-09 11:22             ` David Riley
2010-04-09 18:08           ` Johnny Billquist
2010-04-09 18:22             ` Bill Gunshannon
2010-04-10 19:29               ` Johnny Billquist
2010-04-10 21:05                 ` Bill Gunshannon
2010-04-11  9:50                   ` Johnny Billquist
2010-04-11 14:13                     ` Bill Gunshannon
2010-04-09 19:20             ` glen herrmannsfeldt
2010-04-11 22:08             ` Dennis Boone
2010-04-12 11:41               ` dsnyder
2010-04-12 14:46                 ` Al Kossow
2010-04-13 11:08                   ` dsnyder
2010-04-15 17:27             ` Scott Dorsey
2010-04-15 18:29               ` Al Kossow
2010-04-09 19:14           ` glen herrmannsfeldt
2010-04-09 20:02             ` John Wallace
2010-04-09 20:28               ` David Riley
2010-04-10  1:28               ` glen herrmannsfeldt
2010-04-14 22:28               ` Bob Koehler
2010-04-08 21:59         ` glen herrmannsfeldt
2010-04-08 22:38           ` Bill Gunshannon
2010-04-11 10:16             ` glen herrmannsfeldt
2010-04-11 14:24               ` Bill Gunshannon
2010-04-11 17:10                 ` glen herrmannsfeldt
2010-04-12 21:25                 ` Johnny Billquist
2010-04-12 22:02                   ` John Wallace
2010-04-13  7:34                     ` Johnny Billquist
2010-04-19  2:25                       ` John Santos
2010-04-19 11:50                         ` John Wallace
2010-04-19 10:50                       ` VAXman-
2010-04-24 14:55                         ` Bill Gunshannon
2010-04-12 22:33                   ` glen herrmannsfeldt
2010-04-13  7:53                     ` Johnny Billquist
2010-04-13 12:01                       ` glen herrmannsfeldt
2010-04-16 23:44                         ` Johnny Billquist
2010-04-17  3:15                           ` glen herrmannsfeldt
2010-04-17 21:00                             ` Johnny Billquist
2010-04-18  0:31                               ` glen herrmannsfeldt
2010-04-18 13:23                                 ` Johnny Billquist
2010-04-18 16:58                                   ` glen herrmannsfeldt
2010-04-18 23:02                                     ` Johnny Billquist
2010-04-19  1:39                                       ` glen herrmannsfeldt
2010-04-19 20:22                                         ` Johnny Billquist
2010-04-19 21:27                                           ` glen herrmannsfeldt
2010-04-20 19:36                                           ` Hans Bachner
2010-04-24 15:36                                             ` Steven Schweda
2010-04-25  3:55                                               ` Johnny Billquist
2010-04-25  5:32                                                 ` Steven Schweda
2010-04-25 11:33                                                   ` Johnny Billquist
2010-04-25 12:17                                                     ` glen herrmannsfeldt
2010-04-25 13:31                                                       ` Johnny Billquist
2010-04-25 14:01                                                         ` Steven Schweda
2010-04-25 21:58                                                           ` Johnny Billquist
2010-04-25 13:58                                                     ` Steven Schweda
2010-04-25 21:47                                                       ` Johnny Billquist
2010-04-26 15:40                                                         ` Bob Koehler
2010-04-27  7:37                                                           ` Johnny Billquist
2010-04-27  7:58                                                             ` Bob Eager
2010-04-27 14:56                                                               ` Bob Koehler
2010-04-28  9:06                                                                 ` Johnny Billquist
2010-04-28 12:34                                                                   ` Bob Eager
2010-04-28 14:51                                                                   ` Bob Koehler
2010-04-29  0:18                                                                     ` Johnny Billquist
2010-04-29 15:16                                                                       ` Bob Koehler
2010-04-27 14:53                                                             ` Bob Koehler
2010-04-28  9:11                                                               ` Johnny Billquist
2010-04-28 14:52                                                                 ` Bob Koehler
2010-04-29  0:20                                                                   ` Johnny Billquist
2010-04-29  1:15                                                                     ` Johnny Billquist
2010-04-29  7:01                                                                       ` John Wallace
2010-04-29 11:19                                                                         ` Jerome H. Fine
2010-04-29 18:38                                                                           ` glen herrmannsfeldt
2010-04-29 19:53                                                                             ` Jerome H. Fine
2010-04-29 20:35                                                                               ` glen herrmannsfeldt
2010-04-29 21:43                                                                                 ` Bob Eager
2010-04-30  0:23                                                                                 ` Johnny Billquist
2010-04-30  1:39                                                                                   ` glen herrmannsfeldt
2010-04-30  0:19                                                                               ` Johnny Billquist
2010-04-30 15:04                                                                                 ` Bob Koehler
2010-04-30  0:09                                                                           ` Johnny Billquist
2010-04-30  0:51                                                                             ` Johnny Billquist
2010-04-30  0:58                                                                               ` Johnny Billquist
2010-04-30 11:44                                                                                 ` Jerome H. Fine
2010-04-30 14:59                                                                             ` Bob Koehler
2010-04-30 18:34                                                                               ` glen herrmannsfeldt
2010-04-29 15:19                                                                         ` Bob Koehler
2010-04-30  0:42                                                                           ` Johnny Billquist
2010-04-30  0:04                                                                         ` Johnny Billquist
2010-04-29 15:17                                                                     ` Bob Koehler
2010-04-27 15:43                                                             ` jjh
2010-04-27 16:04                                                               ` Richard B. Gilbert
2010-04-28  9:20                                                                 ` Johnny Billquist
2010-04-28 16:12                                                                   ` Richard B. Gilbert
2010-04-27 22:27                                                               ` Bob Koehler
2010-04-28  9:18                                                               ` Johnny Billquist
2011-04-18 13:00                                                           ` Bob Koehler
2011-04-18 15:06                                                             ` Johnny Billquist
2011-04-18 12:56                                                     ` Bob Koehler
2011-04-18 15:07                                                       ` Johnny Billquist
2011-04-18 17:26                                                         ` Michael Moroney
2011-04-18 17:53                                                           ` Bob Koehler
2011-04-19  3:35                                                           ` Johnny Billquist
2011-04-19 15:34                                                             ` Michael Moroney
2011-04-19 16:47                                                               ` Johnny Billquist
2011-04-18 17:49                                                         ` Bob Koehler
2011-04-19  3:36                                                           ` Johnny Billquist
2011-04-18 12:52                                   ` Bob Koehler
2011-04-18 15:11                                     ` Johnny Billquist
2011-04-18 17:51                                       ` Bob Koehler
2011-04-19 10:29                                     ` FTP is 40 years old Paul Sture
2010-04-09 14:39         ` QBUS Prototyping Bob Koehler
2010-04-09 16:00           ` Bill Gunshannon
2010-04-09 23:16             ` John E. Malmberg
2010-04-15  6:12           ` Antti Louko
2010-04-15 16:24             ` Run.PDP
2010-04-15 16:46               ` Al Kossow
2010-04-15 17:24                 ` glen herrmannsfeldt
2010-04-15 17:20               ` glen herrmannsfeldt
2010-04-16 23:54                 ` Johnny Billquist
2010-04-16 21:59               ` Bob Koehler
2010-04-16 23:56                 ` Johnny Billquist
2010-04-17  9:24               ` jjh
2010-04-17  9:56                 ` glen herrmannsfeldt
2010-04-17 21:04                   ` Johnny Billquist
2010-04-24 15:54                   ` Bill Gunshannon
2010-04-24 15:52                 ` Bill Gunshannon
2010-04-25  4:00                   ` Johnny Billquist
2010-04-25  6:29                     ` glen herrmannsfeldt
2010-04-25  7:42                       ` Wilm Boerhout
2010-04-25 19:57                         ` Antti Louko
2010-04-25 11:40                       ` Johnny Billquist
2010-04-25 21:47                         ` John Wallace
2010-04-26  0:32                           ` Johnny Billquist [this message]
2010-04-15 17:19         ` Scott Dorsey
2010-04-09  1:00       ` Richard
2010-04-09 11:34         ` David Riley
2010-04-09 21:24           ` Richard
2010-04-08 20:18 ` JF Mezei
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox