On 11/10/26 02: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 >
A prime example of neat code is that HASP (now JES) printed an entire page with one channel program instead of a line at a time. It also read a number of cards with one channel program instead of one card at a time, or, as someone has mentioned, one card column at a time.