ipmi: add parameter to limit CPU usage in kipmid
authorMartin Wilck <[email protected]>
Wed, 10 Mar 2010 23:23:06 +0000 (15:23 -0800)
committerLinus Torvalds <[email protected]>
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 <[email protected]>
Signed-off-by: Corey Minyard <[email protected]>
Cc: Jean Delvare <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Documentation/IPMI.txt
drivers/char/ipmi/ipmi_si_intf.c