High irq load (Re: [PATCH] i386: Selectable Frequency of the Timer Interrupt)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On Wed, 13 Jul 2005, Jan Engelhardt wrote:
> 
> No, some kernel code causes a triple-fault-and-reboot when the HZ is >=
> 10KHz. Maybe the highest possible value is 8192 Hz, not sure.

Can you post the triple-fault message? It really shouldn't triple-fault, 
although it _will_ obviously spend all time just doing timer interrupts, 
so it shouldn't get much (if any) real work done either.

A triple fault implies that there's something strange going on, like the
timer interrupt allowing itself to interrupt itself (ie we migt get a 
timer interrupt that takes so long that another timer interrupt happens 
while the first one is still running).

The irq code should protect against that kind of nested irq's, though, 
which is why I'd like to hear more about this. It might be somebody 
touching the timer chip at an inopportune time without holding the proper 
locks, or something nasty - a real bug that you just don't see normally 
and that a high timer frequency just happens to make obvious.

There should be no conceptual "highest possible HZ", although there are 
certainly obvious practical limits to it (both on the timer hw itself, and 
just the fact that at some point we'll spend all time on the timer 
interrupt and won't get anything done..)

			Linus
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]
  Powered by Linux