|
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]
|
- Re: How much time is required for proecessing the timer ... Pawan Singh
- Re: How much time is required for proecessing the t... Kenneth Johansson
- Re: How much time is required for proecessing t... Pawan Singh
- Re: How much time is required for proecessi... Kenneth Johansson
- SUMMARY : floating point emulation on e... Pawan Singh
- Re: SUMMARY : floating point emula... Nicolas Pitre
- Re: How much time is required for proecessi... Nicolas Pitre
- Re: How much time is required for proec... Pawan Singh
- RE: How much time is required for ... Bjorn Eriksson
- Re: How much time is required for ... Patrick Maheral
