All of lore.kernel.org
 help / color / mirror / Atom feed
From: Linda Walsh <xfs@tlinx.org>
To: Linux-Xfs <linux-xfs@oss.sgi.com>
Subject: minor CPU wake-up question
Date: Sat, 10 Nov 2007 15:38:44 -0800	[thread overview]
Message-ID: <47364104.8020106@tlinx.org> (raw)

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)
----

             reply	other threads:[~2007-11-11  0:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-10 23:38 Linda Walsh [this message]
2007-11-11  4:47 ` minor CPU wake-up question Eric Sandeen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=47364104.8020106@tlinx.org \
    --to=xfs@tlinx.org \
    --cc=linux-xfs@oss.sgi.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.