On 11/11/26 04:00, Alexander Schreiber wrote:
> Pancho <Panc…@protonmail.com> wrote:
>> On 11/10/26 15:14, Scott Lurndal wrote: >>
>>>> "Fully offloaded" is a bit weasel worded. I thought PCs did offload some >>>> duties to io devices, nic chip, wifi chip, gpu card. sound card. Also, >>>> even a mainframe will need service routines to handle communications >>>> with IO devices. Where to draw the line seems unclear.
>>> >>> Fully offloaded is accurate. For the Burroughs mainframes, a single >>> instruction -initiated- an I/O request to a channel. The IIO (later >>> SPIO) instruction would instruct the I/O processor (in the late 70s >>> the IOP used an 8085 uProcessor) to initiate an I/O by passing a >>> 6-digit (24-bit) opcode/variant word and the start and end addresses >>> of the buffer. The IOP would pass the command to a Data-Link Processor >>> (DLP) that handled communications to the device controller (magnetic >>> tape, disk) or unit record device (printer, card reader, card punch) >>> or external communications processor (RS232/20ma current loop) and wait >>> for the controller to start passing data back to the IOP. The IOP >>> would move the data to the appropriate memory buffer and, when complete, >>> signal the processor that the I/O had completed with an interrupt. >>>
>> >> Yes, you can give me a lot of details, but I'm not seeing the >> fundamental difference between that and DMA IO devices that have been >> around since the first IBM PC in 1981.
> > First of all, those capabilities where standard - to the point where DMA > wasn't mentioned as a feature because it was an assumed part of the tech > baseline - in mainframes long before the 1980s. >
>> As I said I'm naive of this kind of low level stuff, but from my view as >> an application programmer I'm failing to see a fundamental difference >> from a PC, offloading an IO task to a non CPU device with communication >> via registers, interrupts and DMA.
> > Does not compare. In the PC case, the controller with DMA handles simple > requests such as "fetch X blocks of data from address Y on block device > Z". For mainframe channel systems, while they also do this, they can do > a lot more since they can run dedicated programs send to them as part of > the request - including processing the data beyond "get me some bytes". > > Other folks already mentioned examples like telling the channel controller > to go grab a specific file from the filesystem on an attached block device. > > On a PC, only the actual fetching of disk blocks would be offloaded to > the controller and the filesystem handling (reading the start of the file- > system, traversing the file system structures to find the list of blocks > occupied by the file and its size) would have been done by the CPU. > > Kind regards, > Alex.
ISAM channel programs would look up the desired key in the index, read the index record and store the disk address further down in the channel program (I'm a bit vague on details, so I don't know if this was done by the channel program or if there was a "program controlled interrupt" (PCI) bit set to have an interrupt routine do this), and then continue on and read the record - all in one I/O operation.