public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
* minor CPU wake-up question
@ 2007-11-10 23:38 Linda Walsh
  2007-11-11  4:47 ` Eric Sandeen
  0 siblings, 1 reply; 2+ messages in thread
From: Linda Walsh @ 2007-11-10 23:38 UTC (permalink / raw)
  To: Linux-Xfs

I recently ran into "powertop" (fr. lesswatts.org) that shows how often
interrupts awaken a processor under a tickless kernel.

The display indicates the counts are over a 10 second period. 
Barring any disk activity, why would xfsbufd wake up each copy of itself
up when there doesn't seem like there would be anything to do.

Is a separate process really needed for each partition (that seems to be
the case)?  I don't know if it is 1 interrupt/bufd or 6 on 1, but
it is fairly constant with 6 interrupts each period.
FWIW, dirty_writeback_centiseconds is set to 1500(1499) and makes
no difference in the count.

It doesn't seem to be a big deal, other than it is at the top of the
interrupt-chart with usually 60% or more of the ticks.  Might be nice
to not have it on top if it isn't necessary...


  63.2% (  6.0)           xfsbufd : schedule_timeout (process_timeout)
  21.1% (  2.0)     <kernel core> : clocksource_register 
(clocksource_watchdog)
   2.1% (  0.2)     <kernel core> : __netdev_watchdog_up (dev_watchdog)
   2.1% (  0.2)     <kernel core> : page_writeback_init (wb_timer_fn)
   2.1% (  0.2)     <kernel core> : neigh_table_init_no_netlink 
(neigh_periodic_
   2.1% (  0.2)              init : schedule_timeout (process_timeout)
   1.1% (  0.1)          xfssyncd : schedule_timeout (process_timeout)
   1.1% (  0.1)     <kernel core> : init_nonfatal_mce_checker 
(delayed_work_time
   1.1% (  0.1)              cron : do_nanosleep (hrtimer_wakeup)
   1.1% (  0.1)              nscd : schedule_timeout (process_timeout)
   1.1% (  0.1)        irqbalance : do_nanosleep (hrtimer_wakeup)
   1.1% (  0.1)     <kernel core> : __neigh_event_send (neigh_timer_handler)
   1.1% (  0.1)     <kernel core> : dst_run_gc (dst_run_gc)
----

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-11-11  4:48 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-11-10 23:38 minor CPU wake-up question Linda Walsh
2007-11-11  4:47 ` Eric Sandeen

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