Kconfig

CONFIG_CLOCKSOURCE_WATCHDOG

On

CONFIG_ARCH_CLOCKSOURCE_INIT

On

CONFIG_ARCH_WANTS_CLOCKSOURCE_READ_INLINE

On

CONFIG_ARCH_HAS_TICK_BROADCAST

Unknown

CONFIG_GENERIC_CLOCKEVENTS_MIN_ADJUST

On

CONFIG_GENERIC_CLOCKEVENTS_COUPLED

On

CONFIG_GENERIC_CMOS_UPDATE

On

CONFIG_HAVE_POSIX_CPU_TIMERS_TASK_WORK

On

CONFIG_LEGACY_TIMER_TICK

Unknown

The legacy timer tick helper is used by platforms that lack support for the generic clockevent framework. New platforms should use generic clockevents instead.

CONFIG_TIME_KUNIT_TEST KUnit test for kernel/time functions

  • Off
  • Module
  • Built in

Enable this option to test RTC library functions.

If unsure, say N.

CONFIG_CONTEXT_TRACKING

On

CONFIG_CONTEXT_TRACKING_IDLE

On

Tracks idle state on behalf of RCU.

Timers subsystem

If GENERIC_CLOCKEVENTS

CONFIG_TICK_ONESHOT

On

Timer tick handling

CONFIG_HZ_PERIODIC Periodic timer ticks (constant rate, no dynticks)

Off

This option keeps the tick running periodically at a constant rate, even when the CPU doesn't need it.

CONFIG_NO_HZ_IDLE Idle dynticks system (tickless idle)

On

This option enables a tickless idle system: timer interrupts will only trigger on an as-needed basis when the system is idle. This is usually interesting for energy saving.

Most of the time you want to say Y here.

CONFIG_NO_HZ_FULL Full dynticks system (tickless)

Off

Adaptively try to shutdown the tick whenever possible, even when the CPU is running tasks. Typically this requires running a single task on the CPU. Chances for running tickless are maximized when the task mostly runs in userspace and has few kernel activity.

You need to fill up the nohz_full boot parameter with the desired range of dynticks CPUs to use it. This is implemented at the expense of some overhead in user <-> kernel transitions: syscalls, exceptions and interrupts.

By default, without passing the nohz_full parameter, this behaves just like NO_HZ_IDLE.

If you're a distro say Y.

End of Timer tick handling

CONFIG_CONTEXT_TRACKING_USER_FORCE Force user context tracking

Unknown

The major pre-requirement for full dynticks to work is to support the user context tracking subsystem. But there are also other dependencies to provide in order to make the full dynticks working.

This option stands for testing when an arch implements the user context tracking backend but doesn't yet fulfill all the requirements to make the full dynticks feature working. Without the full dynticks, there is no way to test the support for user context tracking and the subsystems that rely on it: RCU userspace extended quiescent state and tickless cputime accounting. This option copes with the absence of the full dynticks subsystem by forcing the user context tracking on all CPUs in the system.

Say Y only if you're working on the development of an architecture backend for the user context tracking.

Say N otherwise, this option brings an overhead that you don't want in production.

CONFIG_NO_HZ Old Idle dynticks config

On

This is the old config entry that enables dynticks idle. We keep it around for a little while to enforce backward compatibility with older config files.

CONFIG_HIGH_RES_TIMERS High Resolution Timer Support

On

This option enables high resolution timer support. If your hardware is not capable then this option only increases the size of the kernel image.

CONFIG_POSIX_AUX_CLOCKS Enable auxiliary POSIX clocks

On

Auxiliary POSIX clocks are clocks which can be steered independently of the core timekeeper, which controls the MONOTONIC, REALTIME, BOOTTIME and TAI clocks. They are useful to provide e.g. lockless time accessors to independent PTP clocks and other clock domains, which are not correlated to the TAI/NTP notion of time.

End of Timers subsystem