On 11/10/26 04:37, Alexander Schreiber wrote:
> c186282 <c186…@nnada.net> wrote:
>> On 11/9/26 16:20, John Levine wrote:
>>> According to c186282 <c186…@nnada.net>:
>>>> Noted in this group though - I/O arch diffs between >>>> mainframes and minis. >>>> >>>> Will someone try to elaborate ?
>>> >>> The classic difference is that mainframes have channels, so the >>> processor sets up a bunch of work for the channel to do, the channel >>> goes off and does it independently of the CPU. Minis had much less >>> complex I/O controllers so they do more detailed stuff. An example I >>> gave a few messages back was for a card reader. A mainframe starts a >>> channel program, it reads in a card or maybe seveal cards, and reports >>> back with an interrupt. On a mini there was an I/O operation to start >>> the card reader, an interrupt for each column and an I/O to read it, >>> and then something at the end to stop the reader or go to the next >>> card. >>> >>> But that was 40 or 50 years ago. These days even cheap generic disk >>> controllers do more than channels did in the 1960s, e.g., keep a queue >>> of requests and schedule them to minimize delay, and handle spare block >>> replacement for bad blocks. >>> >>> Modern mainframes have extremely capable channels but the distinction is >>> more about reliability and things like hardware and software upgrades in >>> place without rebooting.
>> >> Ok ... so 'mainframes' as you saw them were more >> 'directors' for distributed processing rather >> than THE processor.
> > No. The operating system and application software ran on the mainframe > CPU. But - as described above - a key design aspect of mainframes back > then was that I/O was not done by the CPU (like it was done on home > computers were all I/O was entirely handled by the CPU), but fully off- > loaded to peripherials that were essentially limited computers of their > own: > - CPU tells I/O interface (channel): "Do this I/O" > - CPU goes back to computing, channel does some I/O heavy lifting > - channel has completed I/O and sends an "Hey, I'm done" interrupt > to the CPU > > Which leaves most of the CPU free to do compute work instead of busily > doing lots of I/O. This and other design concepts (like form based > terminals doing local editing - think web forms filled in the browser, send > as a whole form and processed as a single request by the server, instead > of the server handling every keystroke on the terminal) enabled having > thousands of interactive users on one mainframe, since the mainframe CPU > did almost entirely compute (e.g. run the database and software for > inventory, accounting, ...) and all I/O was offloaded to specialized > computers (channels) acting as I/O interfaces. You essentially pay with > extra complexity for a far more capable system. > > Kind regards, > Alex.
I kind of see what model you're describing. Really not THAT much different from what I outlined. "Smart" peripherials are good. CPU doesn't have to do nearly as much. The downside is that now you're hostage to the 'IQ' in the peripherials rather than fine managing/optimizing via the main CPU. Always some trade-offs. At least these days the devices are more "standardized". Plug in any USB device and it almost always 'just works' and uses the same set-up/send/receive commands. NOT so in the Old Days.