ipmi: add parameter to limit CPU usage in kipmid
authorMartin Wilck <martin.wilck@ts.fujitsu.com>
Wed, 10 Mar 2010 23:23:06 +0000 (15:23 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 12 Mar 2010 23:52:39 +0000 (15:52 -0800)
commitae74e823cb7d4cd476f623fce9a38f625f6c09a8
tree404aba91d5c634cfc8d3ecc847281f12fc8e5e1e
parentf1eb1332b8f07e937add24c6fd2ac40b8737a2f4
ipmi: add parameter to limit CPU usage in kipmid

In some cases kipmid can use a lot of CPU.  This adds a way to tune the
CPU used by kipmid to help in those cases.  By setting kipmid_max_busy_us
to a value between 100 and 500, it is possible to bring down kipmid CPU
load to practically 0 without loosing too much ipmi throughput
performance.  Not setting the value, or setting the value to zero,
operation is unaffected.

Signed-off-by: Martin Wilck <martin.wilck@ts.fujitsu.com>
Signed-off-by: Corey Minyard <cminyard@mvista.com>
Cc: Jean Delvare <jdelvare@suse.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Documentation/IPMI.txt
drivers/char/ipmi/ipmi_si_intf.c