From: Corey Minyard <minyard@acm.org>
To: Martin Wilck <martin.wilck@fujitsu-siemens.com>
Cc: "linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
openipmi-developer@lists.sourceforge.net
Subject: Re: [PATCH] limit CPU time spent in kipmid
Date: Thu, 19 Mar 2009 16:31:00 -0500 [thread overview]
Message-ID: <49C2B994.7040808@acm.org> (raw)
In-Reply-To: <49C27281.4040207@fujitsu-siemens.com>
Martin, thanks for the patch. I had actually implemented something like
this before, and it didn't really help very much with the hardware I
had, so I had abandoned this method. There's even a comment about it in
si_sm_result smi_event_handler(). Maybe making it tunable is better, I
don't know. But I'm afraid this will kill performance on a lot of systems.
Did you test throughput on this? The main problem people had without
kipmid was that things like firmware upgrades took a *long* time; adding
kipmid improved speeds by an order of magnitude or more.
It's my opinion that if you want this interface to work efficiently with
good performance, you should design the hardware to be used efficiently
by using interrupts (which are supported and disable kipmid). With the
way the hardware is defined, you cannot have both good performance and
low CPU usage without interrupts.
It may be possible to add an option to choose between performance and
efficiency, but it will have to default to performance.
-corey
Martin Wilck wrote:
> Hello Corey, hi everyone,
>
> here is a patch that limits the CPU time spent in kipmid. I know that
> it was previously stated that current kipmid "works as designed" (e.g.
> http://lists.us.dell.com/pipermail/linux-poweredge/2008-October/037636.html),
> yet users are irritated by the high amount of CPU time kipmid may use
> up on current servers with many sensors, even though it is "nice" CPU
> time. Moreover, kipmid busy-waiting for the KCS interface to become
> ready also prevents CPUs from sleeping.
>
> The attached patch was developed and tested on an enterprise
> distribution kernel where it caused the CPU load of kipmid to drop to
> essentially 0 while still delivering reliable IPMI communication.
>
> I am looking forward for comments.
> Martin
>
next prev parent reply other threads:[~2009-03-19 21:31 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-03-19 16:27 [PATCH] limit CPU time spent in kipmid Martin Wilck
2009-03-19 21:31 ` Corey Minyard [this message]
2009-03-19 23:51 ` Greg KH
2009-03-20 15:30 ` Corey Minyard
2009-03-20 17:47 ` Greg KH
2009-03-20 18:28 ` Corey Minyard
2009-03-23 13:17 ` [PATCH] limit CPU time spent in kipmid (PREVIOUS WAS BROKEN) Martin Wilck
2009-03-23 15:32 ` Greg KH
2009-03-23 16:20 ` Martin Wilck
2009-03-23 20:39 ` Corey Minyard
2009-03-24 9:22 ` Martin Wilck
2009-03-24 9:30 ` Improving IPMI performance under load Martin Wilck
2009-03-24 13:08 ` [Openipmi-developer] " Corey Minyard
2009-03-24 13:21 ` Martin Wilck
2009-03-24 15:50 ` Matt Domsch
2009-03-24 17:15 ` Martin Wilck
2009-04-06 13:48 ` [PATCH] limit CPU time spent in kipmid (PREVIOUS WAS BROKEN) Martin Wilck
2009-06-04 18:39 ` [PATCH] limit CPU time spent in kipmid (version 4) Martin Wilck
2009-03-23 13:25 ` [PATCH] limit CPU time spent in kipmid Martin Wilck
2009-03-19 22:41 ` [Openipmi-developer] " 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=49C2B994.7040808@acm.org \
--to=minyard@acm.org \
--cc=linux-kernel@vger.kernel.org \
--cc=martin.wilck@fujitsu-siemens.com \
--cc=openipmi-developer@lists.sourceforge.net \
/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