Messages in this thread | | | From | Kyle Moffett <> | Subject | Re: High pitched noise from laptop: processor.c in linux 2.6 | Date | Sat, 16 Oct 2004 21:50:05 -0400 |
| |
On Oct 16, 2004, at 21:24, Lee Revell wrote: > I was not there but I imagine this involves a way to get 1khz accuracy > with a 100Hz timer interrupt rate?
I think the idea is to (depending on the hardware) dynamically adjust the system timers to exactly the time necessary. If you don't have any important processes that will interrupt within the next 10ms then you can just go ahead and set the timer longer. If properly done you might even be able to set HZ to 20 or 50. Hardware interrupts would trigger immediate responses, but otherwise a non-interactive system could minimize the number of context switches and make the processor cache that much more useful. This would still be bad on an interactive/desktop system because it would mean that perceptive users could detect the switching if they have two computationally intensive jobs running simultaneously.
Cheers, Kyle Moffett
-----BEGIN GEEK CODE BLOCK----- Version: 3.12 GCM/CS/IT/U d- s++: a17 C++++>$ UB/L/X/*++++(+)>$ P+++(++++)>$ L++++(+++) E W++(+) N+++(++) o? K? w--- O? M++ V? PS+() PE+(-) Y+ PGP+++ t+(+++) 5 X R? tv-(--) b++++(++) DI+ D+ G e->++++$ h!*()>++$ r !y?(-) ------END GEEK CODE BLOCK------
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |