The tag has no wiki summary.

learn more… | top users | synonyms

2
votes
1answer
20 views

Minimizing hardware interrupts

I am using a modified Linux kernel as a soft real-time OS, on a system that has an architecture like this: CPU1 and CPU2 have 8 cores each. I have 4 processes that need to be run with minimum ...
1
vote
1answer
25 views

Linux Interrupts [closed]

I'm trying to write my own interrupt controller but I'm having some difficulties finding good documentation. Where can I find some information about interrupt management in Linux? To be more ...
1
vote
1answer
23 views

How does handling an interrupt affects a multi-threaded user space process?

Say, I put a breakpoint (int 3 from now on) somewhere in a user space process code. One of the threads hits the breakpoint... And what happens next? My judgement is: this is an interrupt, so it is ...
1
vote
0answers
85 views

How to configure FreeBSD to run headless without hitting high interrupt rates?

When running headless (without monitor, keyboard, mouse attached) FreeBSD versions 8.2, 8.3, 9.0 and NetBSD version 5.0 has known issues (FreeBSD PR 156596, NetBSD 46596) to generate extremely high ...
1
vote
1answer
110 views

High IO-APIC-fasteoi interrupt usage eth0

I believe this is due to an rsync cronjob which runs every 15 minutes. This is a RHEL 6 box running in ESXi. /proc/interrupts shows: 18: 3386804969 IO-APIC-fasteoi eth0 and the system load ...
1
vote
2answers
459 views

How to generate signal interrupt on a file descriptor in Linux?

How can I generate a signal interrupt on a file descriptor in Linux? Motivation is to generate a interrupt in userland as we have in microcontrollers. I'll have file descriptor for I/O, and want to ...
2
votes
1answer
136 views

Generate interrupts for purpose of stress testing

I'm testing the quality of a generated PWM signal on a Raspbery Pi. I would like to test how it behaves if there are lots of interrupts coming. Is there a way to fake interrupts or force 2000 ...
1
vote
1answer
117 views

What value is stored in linux xtime variable?

Whenever I print the value of /proc/interrupts the value of rtc0 in IRQ8 which is for RTC shows only 1 interrupt on CPU0. I have read that when booting the value of the xtime variable is stored from ...
2
votes
2answers
487 views

Can system calls be interrupted?

Please comment on the following sentence: On the standard Linux kernel without the rt patch, interrupts can't interrupt ongoing system calls. The reason why our machine doesn't stop working ...
2
votes
1answer
175 views

Are time interrupts always followed by a scheduler call?

When a timer interrupt occurred the ISR is called to service the interrupt. Is it okay to assume that every timer interrupt ends with a call to the scheduler on which process should continue running ...
2
votes
0answers
63 views

Which counter generates timer interrupts?

I did a iotop to observe the interrupts on my computer. This is the interrupt shown most often. 0 [PIC-edge time] 247 Ints/s (max: 389) I believe it's the timer interrupt, well since ...
0
votes
1answer
170 views

How to troubleshoot high kernel time (high network usage; high interrupts)

I've noticed that I have high kernel time when doing a lot of network traffic in Linux. I also noticed that 45% of my CPU is spent doing interrupts. How can I further troubleshoot this?
2
votes
1answer
143 views

Are threads which are executing blocking system calls awoken by interrupts?

I've been reading a bit about threads and interrupts. And there is a sections which says that parallel programing using threads is simpler because we don't have to worry about interrupts. However, ...
3
votes
2answers
516 views

Making a IRQ SMP Affinity change permanent

I have to change the smp_affinity of a interrupt permanently. The following code needs to be executed when the server reboots: echo "1" > /proc/irq/152/smp_affinity_list echo "2" > ...
1
vote
0answers
76 views

Further clarification as to whether interuppts are disabled in top-half handler or not [closed]

Recently I came across a note in an online post that states the following: In modern kernels, most of the differences between fast and slow interrupts have disappeared. There remains only one: ...
5
votes
2answers
4k views

How does the Linux kernel handle shared IRQs?

According to what I've read so far, "when the kernel receives an interrupt, all the registered handlers are invoked." I understand that the registered handlers for each IRQ can be viewed via ...
1
vote
0answers
168 views

Which softirq will execute if interrupt is generated on same line: preempted or new softirq?

Following is the sequence of events: interrupt generated at line 1. line 1 disable. ISR executed. Set sofirq bit 1 line 1 enable. softirq executes and suddenly interrupts come at line 1. softirq ...
4
votes
1answer
1k views

What does Linux's “nointremap” option do?

Ubuntu 12.10 alpha 2 works perfectly on my new 11" 2012 Macbook Air, but only when I boot with the "nointremap" option. Supposedly this is not good to use as a permanent solution. What exactly does ...
2
votes
0answers
389 views

“Remote function call interrupts” (CAL in /proc interrupts). What is it?

I'm running a test program which generates a large number of threads and asynchronous I/O. I'm seeing very high counts of these interrupts in /proc/interrupts, the program cannot scale beyond a ...
0
votes
0answers
18 views

Can an interupt be processed by software, without hardware support? [duplicate]

Possible Duplicate: Can an interrupt be soley processed by software without harware support? Can an interrupt be processed by software without the need for hardware suppport? Assume a x86 ...
1
vote
1answer
183 views

Can an interupt be processed by software, without hardware support? [closed]

Can an interrupt be processed by software without the need for hardware suppport? Assume an x86 architecture.
5
votes
3answers
2k views

Ctrl + c will not kill process

I have looked for answers and so far have found nothing to answer my question. I am currently logging in to my Ubuntu server and upon running a process I can not run any of the interrupts on it. Here ...
7
votes
1answer
782 views

Interrupt sequence CTRL+C does not work for user

In any terminal operating under GNOME, if I press Ctrl+C, I only see a question mark. Same goes for Ctrl+Z. The output of stty -a | grep intr is: intr = ^C; quit = ^\; erase = ^?; kill = ^U; eof = ...
7
votes
1answer
5k views

What are software and hardware interrupts, and how are they processed?

I am not sure if I understand the concept of hardware and software interrupts. If I understand correctly, the purpose of a hardware interrupt is to get some attention of the CPU, part of implementing ...
8
votes
3answers
2k views

What is the relationship between system calls, message passing, and interrupts?

I am reading the Wikipedia article for process management. My focus is on Linux. I cannot figure out the relation and differences between system call, message passing and interrupt, in their concepts ...
3
votes
2answers
2k views

change interrupt smp_affinity

As you can see below, nvidia is sharing the intrerrupt and the interrupt is using only CPU0, how can I change the interrupt for nvidia, and how can I make it use both CPU's ? Here is an article ...
4
votes
1answer
2k views

What determines whether an interrupt is IO-APIC-edge or IO-APIC-level?

Looking at the contents of /proc/interrupts on an x86 Linux, I see that some of the interrupts are IO-APIC-edge while others are IO-APIC-level. I wonder what determines the interrupt type, is it the ...
2
votes
1answer
503 views

Is there a utility that interprets /proc/interrupts data in time?

is there something out there ? Like top is for ps
0
votes
1answer
1k views

What happens in the Top half and Bottom Half processing of Interrupts?

I would like to know more about Top half and Bottom Half processing in the Context on Interrupts. Could someone explain me the exact things happening in both scenarios.
3
votes
2answers
1k views

'fast interrupts' in Linux

as far as I know, Linux has 'fast interrupts', those that were requested with SA_INTERRUPT flag; fast interrupts are executed with all other interrupts disabled on the current CPU. But how does it ...
3
votes
2answers
1k views

re-entrency of interrupts in Linux

I was reading "Linux device drivers, 3rd edition" and don't completely understand a part describing interrupt handlers. I would like to clarify: are the interrupt handlers in Linux nonpreemptible? ...
15
votes
5answers
13k views

How is an Interrupt handled in Linux?

I just know that Interrupt is a hardware signal assertion caused in a processor pin. But I would like to know how Linux OS handles it. What all are the things that happen when an interrupt occurs?