Received: with ECARTIS (v1.0.0; list xfs); Sat, 10 Nov 2007 20:48:40 -0800 (PST) X-Spam-Checker-Version: SpamAssassin 3.3.0-r574664 (2007-09-11) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-1.7 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS autolearn=ham version=3.3.0-r574664 Received: from sandeen.net (sandeen.net [209.173.210.139]) by oss.sgi.com (8.12.11.20060308/8.12.10/SuSE Linux 0.7) with ESMTP id lAB4lu7o016633 for ; Sat, 10 Nov 2007 20:48:01 -0800 Received: from liberator.sandeen.net (liberator.sandeen.net [10.0.0.4]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by sandeen.net (Postfix) with ESMTP id 8F7BD180286BE; Sat, 10 Nov 2007 22:48:00 -0600 (CST) Message-ID: <4736897F.4070202@sandeen.net> Date: Sat, 10 Nov 2007 22:47:59 -0600 From: Eric Sandeen User-Agent: Thunderbird 2.0.0.6 (Macintosh/20070728) MIME-Version: 1.0 To: Linda Walsh CC: Linux-Xfs Subject: Re: minor CPU wake-up question References: <47364104.8020106@tlinx.org> In-Reply-To: <47364104.8020106@tlinx.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.91.2/4746/Sat Nov 10 15:11:53 2007 on oss.sgi.com X-Virus-Status: Clean X-archive-position: 13610 X-ecartis-version: Ecartis v1.0.0 Sender: xfs-bounce@oss.sgi.com Errors-to: xfs-bounce@oss.sgi.com X-original-sender: sandeen@sandeen.net Precedence: bulk X-list: xfs Linda Walsh wrote: > 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... I think by default, xfsbufd wakes up each second for each filesystem. See fs.xfs.xfsbufd_centisecs, default 100, or 1s. I think powertop is reporting wakeups/second, so it looks you have 6 filesystems mounted? Honestly if that's your most frequent entry, you're probably doing pretty well... -Eric