Do you have a question? Post it now! No Registration Necessary
Subject
- Posted on
CONFIG_HZ_1000 vs. CONFIG_HZ_250
- 11-19-2009

Re: CONFIG_HZ_1000 vs. CONFIG_HZ_250

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
snipped-for-privacy@sdf.lonestar.org
Andrew Smallshaw
snipped-for-privacy@sdf.lonestar.org

Re: CONFIG_HZ_1000 vs. CONFIG_HZ_250
software should not notice the difference. There even is a HZ setting
for Kernel space and a different one for user programs, so even user
programs that rely on the standard setting, instead of using the HZ
constant for timing issues, should work as expected. The faster
interrupt rate of course might reduce the overall system performance,
while increasing responsiveness for soft realtime applications.
-Michael
Site Timeline
- » Spanning-tree Protocol implementation
- — Next thread in » Embedded Linux
-
- » Feedback about Leon3/V8 procesor/boards?
- — Previous thread in » Embedded Linux
-
- » Crosscompiling for ARM: reloc type R_ARM_ABS32 is not supported for PIC - ...
- — Newest thread in » Embedded Linux
-
- » koparki walut
- — The site's Newest Thread. Posted in » Electronics (Polish)
-
- » Robust voltage regulator
- — The site's Last Updated Thread. Posted in » Electronics Design
-