[Coco] Tcp off-loading on CoCo

Zippster zippster278 at gmail.com
Thu Apr 13 12:25:12 EDT 2017


Yep.  I’m referring to the cycles consumed saving the entire machine state.
If you’re getting a lot of these interrupts, that can add up to a lot of cycles.

Obviously, if you aren’t pushing the limit with clock cycles, it’s not really an issue,
but it can be if cycles are tight, where polling might be a better option.  Streaming
audio for instance.

- Ed


> On Apr 13, 2017, at 11:17 AM, William Astle <lost at l-w.ca> wrote:
> 
> On 2017-04-13 09:57 AM, Lee Patterson wrote:
>> NMI = non maskable interrupt? Why is it slow?
> 
> I'm wondering the same thing.
> 
> The NMI is serviced like the IRQ so the full processor state is saved. That will, obviously, make the minimum service time higher than for FIRQ. However, in the case of FIRQ, you're going to have to explicitly save any registers you clobber on the way in and out of the routine which will affect how much of a benefit you get from using it.
> 
> Basically, the NMI isn't any slower than the IRQ once it triggers. As I understand it, NMI is edge triggered while  FIRQ and IRQ are level triggered.
> 
> 
> -- 
> Coco mailing list
> Coco at maltedmedia.com
> https://pairlist5.pair.net/mailman/listinfo/coco



More information about the Coco mailing list