On 03/11/2026 12:02, Carlos E. R. wrote:
> On 2026-11-03 12:49, Pancho wrote:
>> On 11/3/26 11:45, Carlos E. R. wrote:
>>
>>> I know at least one guy working on IBM mainframes, and he tells me they are in high need of good assembler programmers.
>>>
>>> They need high i/o with very large databases.
>>>
>>> What it is exactly they do, I don't know.
>>>
>>
>> I'm too young for mainframes, but I always assumed they were for running legacy systems that people couldn't be bothered to port to new hardware/ architectures.
>>
>> FWIW, my guess is that "high i/o" and "very large" is only by the standards of mainframe programmers.
>
> No, it is really high i/o and very large databases. I saw some figures once and they were impressive.
>
IBM built a lot of intelligence into the IO subsystem. There are multiple IO processors, once known as channels, which move data to and from devices. They are controlled by a channel program which can perform multiple IOs so a single IO request can read or write multiple blocks of data from a tape or disk to or from different locations in memory with the main CPU only getting involved when they are all complete.
So I don't know if this happens in practice but in theory if you want to page out one chunk of store and page in another you can do that with a single IO request.
Just to tweak things a bit further, if you have multiple disks, controlled by a single controller, the controller can process multiple IO requests. To optimise this it also has Rotational Position Sensing so it can optimise the order in which they are processed.
Modern machines, of course use Fibre to connect the IO devices but back in the day all this was connected via Bus and Tag channels which ran at 4Mbytes/sec, so 32Mbits with no contention.
Oh and for terminal IO the link to the screen runs at 1.5MBits/sec so rather faster than any minicomputer link.
of course this complexity cam at a cost...
Dave