Messages in this thread | | | Date | Thu, 7 May 2009 13:50:16 -0400 (EDT) | From | Christoph Lameter <> | Subject | Re: [PATCH] x86: Reduce the default HZ value |
| |
On Thu, 7 May 2009, Peter Zijlstra wrote:
> No it won't, you want fairly decent involuntary preemption rate to keep > the full service latency at a usable figure. > > The problem with scheduling a hrtimer along with tasks is that at high > context switch rates the timer will never fire but you do pay the > overhead of programming the hardware each time, something that can be > about as expensive as the whole context switch itself.
What are high context switch rates? 1000 HZ? Generally it seems that context switches are bad for cpu caches and thus to be avoided.
| |