From: Matt Domsch <Matt_Domsch@dell.com>
To: Arjan van de Ven <arjan@linux.intel.com>
Cc: Corey Minyard <minyard@acm.org>,
Randy Dunlap <randy.dunlap@oracle.com>,
"Kok, Auke" <auke-jan.h.kok@intel.com>,
"discuss@LessWatts.org" <discuss@LessWatts.org>,
"openipmi-developer@lists.sourceforge.net"
<openipmi-developer@lists.sourceforge.net>,
lkml <linux-kernel@vger.kernel.org>
Subject: Re: [Discuss] [PATCH] ipmi: use round_jiffies on timers to reduce timer overhead/wakeups
Date: Wed, 21 Oct 2009 21:50:13 -0500 [thread overview]
Message-ID: <20091022025013.GB20467@auslistsprd01.us.dell.com> (raw)
In-Reply-To: <4ADF75A2.50202@linux.intel.com>
On Thu, Oct 22, 2009 at 05:57:06AM +0900, Arjan van de Ven wrote:
> Corey Minyard wrote:
> >Certainly. Yes, some (probably most) IPMI hardware does not use
> >interrupts, and unfortunately, it's not just older machines. The driver
> >used to poll more slowly, but in many cases the performance was
> >unacceptable.
>
> ... but now it burns quite a bit of power (I'd not be surprised if it is 10
> Watts extra on a 70W server)
>
> is there any way to poll slowly until there is active ipmi traffic, during
> which we can then poll a bit faster.
> ... and then go back to slow polling when there is an ipmi idle period ?
I believe that's what the thread does already. Depending on what
userspace apps are generating IPMI requests though, there may not be a
whole lot of time between requests. Dell OpenManage software does a
poll of the IPMI sensors, SEL logs, etc. at regular intervals, on the
order of minutes between runs, but during each run there's almost
always an outstanding IPMI command.
The difference was several minutes during startup, and 15 minutes ->
1.5 minutes during a firmware flash, with the kipmi0 thread present.
I've heard requests to have the some userspace control over the
start/stop of that thread, so it could get started only when there are
more time-critical userspace requests to be made (such as during firmware
update), but I've not worked on that part. We'd need an interface
(sysfs file?) to start/stop the thread, and could adjust userspace to
use that (Dell OpenManage, ipmitool, sblim-cmpi-ipmi, ...).
Though I'm really curious that HP has a KCS+interrupt controller
available. That gives me hope that the industry-wide problems which
prevented Dell from doing likewise a couple years ago are now
resolved. I'll have my team look into it again.
--
Matt Domsch
Technology Strategist, Dell Office of the CTO
linux.dell.com & www.dell.com/linux
next prev parent reply other threads:[~2009-10-22 2:50 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-10-21 17:28 Randy Dunlap
2009-10-21 18:42 ` Arjan van de Ven
2009-10-21 18:49 ` [Discuss] " Kok, Auke
2009-10-21 20:03 ` Randy Dunlap
2009-10-21 20:22 ` Corey Minyard
2009-10-21 20:57 ` Arjan van de Ven
2009-10-22 2:50 ` Matt Domsch [this message]
2009-10-22 16:45 ` Corey Minyard
2009-10-22 19:12 ` [Openipmi-developer] [Discuss] [PATCH] " Bela Lubkin
2009-10-22 20:02 ` Corey Minyard
2009-10-22 22:16 ` Bela Lubkin
2009-10-21 23:46 ` Bela Lubkin
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=20091022025013.GB20467@auslistsprd01.us.dell.com \
--to=matt_domsch@dell.com \
--cc=arjan@linux.intel.com \
--cc=auke-jan.h.kok@intel.com \
--cc=discuss@LessWatts.org \
--cc=linux-kernel@vger.kernel.org \
--cc=minyard@acm.org \
--cc=openipmi-developer@lists.sourceforge.net \
--cc=randy.dunlap@oracle.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®