All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] n2100: tweaks for tickless operation
@ 2009-09-26 19:52 Mikael Pettersson
  0 siblings, 0 replies; only message in thread
From: Mikael Pettersson @ 2009-09-26 19:52 UTC (permalink / raw)
  To: linux-arm-kernel

With the IOP platform converted to use the kernel's generic
clocksource, clockevent, and time-keeping code, the n2100
can operate in tickless aka NOHZ mode.

However, the n2100 has some quirks that cause the clock
tick rate to remain high in idle mode:

1. XINT1 may be connected to the second UHCI controller,
   forcing the serial driver core to monitor the console
   UART via a high-frequency timer; this is addressed by
   patch 1/2 in this series.
2. The power button is sampled via a 10 Hz timer;
   this is addressed by patch 2/2 in this series.
3. The USB UHCI_HCD driver monitors the root hub via
   interrupts or a medium-frequency (at least 10 Hz
   it seems) timer. To make it disable the timer and
   use interrupts, it is required to enable CONFIG_PM.
   However, CONFIG_PM is disabled in iop32x_defconfig
   and many other arm defconfigs.

Much of this was discovered via /proc/timer_stats.

With these tweaks enabled my n2100 averages about 3.1
timer interrupts per second in idle.

/Mikael

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

only message in thread, other threads:[~2009-09-26 19:52 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-09-26 19:52 [PATCH 0/2] n2100: tweaks for tickless operation Mikael Pettersson

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.