pphaneuf: (Default)
[personal profile] pphaneuf
I mentioned NMI's (non-maskable interrupt) today and was asked for clarification. I was more accurately referring to a priority interrupt. It has to be noted that during processing of an interrupt, interrupts are normally blocked, to avoid incredible confusion.

This includes the timer interrupt, commonly used for the management of multitasking features in modern operating systems. This is why when too much time is spent in interrupt processing, normal functioning is visibly disrupted (cannot move the mouse cursor, everything is frozen).

While this behaviour might be annoying on an more conventional interactive system, such as a workstation, in some realtime applications this can be a desired behaviour, as the interrupt processing often takes care of a critical functionality of the system (an example would be the audio decoding of an iPod).

Hoping that this clears things up, I shall go to sleep now.

Date: 2005-03-10 07:27 am (UTC)
From: [identity profile] azrhey.livejournal.com
call me ignorant, but as I read your post, one questions comes to mind, isn't that what backup systems are for?

*confused* I thought that was what redundant systems were for... you know, avoid disruptions...

Date: 2005-03-10 07:56 am (UTC)
From: [identity profile] pphaneuf.livejournal.com
This is a much higher level. At the level of interrupt handling, Amdahl's Law is restricting us.

Date: 2005-03-10 08:04 am (UTC)
From: [identity profile] azrhey.livejournal.com
hey! to sleep with you!

Date: 2005-03-10 08:54 am (UTC)
From: [identity profile] skjalm.livejournal.com
I would say that having redundant systems when it comes to (the classic definition of) priority interrupts would most likely result in collisions on the home network ;-)

Date: 2005-03-10 09:11 am (UTC)
From: [identity profile] azrhey.livejournal.com
maybe. as I said, it is a domain I am not familiar with, , however, it is my impression that collisions on the home network can, in most cases, be avoided by excellent connectivity and sometimes less traditional ways of building up such network.

but what do I know. I am not even a geek!

Date: 2005-03-10 06:53 pm (UTC)
From: [identity profile] pphaneuf.livejournal.com
Like she says. That's also one of the reason you mask interrupts while processing one, unless you really know what you're doing (not so difficult, but not something to do mindlessly). You do need a solid interrupt processing strategy, and having an APIC probably wouldn't hurt.

In any case, while I'm handling a priority interrupt, my timer interrupt is masked out, so there's not much multitasking happening. My other task was something along the lines of explaining how recurrent events in an Exchange calendar had to store timezone and daylight savings information in order to work right. That task just got wedged.

February 2016

S M T W T F S
 123456
7891011 1213
14151617181920
21222324252627
2829     

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Mar. 21st, 2026 05:16 am
Powered by Dreamwidth Studios