On 2009-11-19, Washington Ratso <> wrote:
> I have changed my Linux 2.6.26 configuration from 250 HZ to 1000 HZ to
> get more samples when using oprofile in timer interrupt mode. Besides
> increasing the number of timer interrupts, are there other effects
> from increasing HZ from 250 to 1000?
Yes, you increase the frequency at which the scheduler kicks in.
That in turn means that if there is more than one runnable process
more context switches and more TLB and cache flushes. I wouldn't
imagine that it would amount to a particuarly significant increase
in overhead but it is an increase in overhead never the less.
Having said that I'm reading this in c.a.e. and am not really a
Linux expert. I'm more of a BSD man myself so I can't really steer
you down a better avenue.
--
Andrew Smallshaw