mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Confused with CONFIG_NO_HZ and CONFIG_HZ
@ 2009-05-21  1:16 Shivdas Gujare
  0 siblings, 0 replies; only message in thread
From: Shivdas Gujare @ 2009-05-21  1:16 UTC (permalink / raw)
  To: linux-kernel

Hi all,

I am confused with CONFIG_NO_HZ and CONFIG_HZ? What is the main
difference between it?
As per what I understood, CONFIG_NO_HZ is feature of tickless kernel,
where timer interrupts will be fired only if necessary,
and CONFIG_HZ decides the timeout of timer interrupts?

I came across description[1] from Ingo regarding CONFIG_NO_HZ as "if
there is no timer to be expired for say 1.5 seconds when
the system goes idle, then the system will stay totally idle for 1.5
seconds." then I don't understand how timer will remain unexpired
during idle if CONFIG_HZ=100,
i.e. 10ms timer timeout for timer interrupt and during such scenarios
who decides this 1.5 sec timeout.

It will be great help, if I get some more information regarding this.

Ref.
[1] http://kerneltrap.org/node/6750

Thanks and regards,
Shivdas Gujare

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-05-21  1:24 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-05-21  1:16 Confused with CONFIG_NO_HZ and CONFIG_HZ Shivdas Gujare

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®