Hi,
 
We are using RedHat 6.0 kernel as the embedded kernel. Only interrupt enabled is "timer (1)" and "ethernet (14)". We are using AMD SC400 chip.
 
The following piece of code takes 4 seconds to execute with interrupts turned on:
 
for (i=1; i<10000; i++) {
      double x = 3.4;
      double y = 5.67
      double z = x + y;
}
 
If I surround this code with cli and sti (interrupts disabled) it takes 9000 microseconds.
 
When I do cat /proc/interrupts, I only see interrupts going up for "timer" (once every millisecond) and ethernet once in a while.
 
Does linux kernel spend a lot of time processing timer interrupts? What is the normal timer interrupt duration on a pentim based workstation? Where can I modify this parameter in the kernel source code?
 
 
Thanks
Pawan
[EMAIL PROTECTED]

Reply via email to