obmcutil is slow, nonsensical output

Norman James njames at us.ibm.com
Fri Apr 1 09:38:59 AEDT 2016


obmcutil was intended as a lab debug tool only.  It is simply a lookup of
shortcuts to the dbus calls.  It prints out whatever the dbus call returns.
All of the slowness is due to python importing several libraries which is
slow because the CPU is already highly utilized.   Brad looked into this at
one point and collected some data.

Regards,
Norman James
IBM - POWER Systems Architect
Phone: 1-512-286-6807 (T/L: 363-6807)
Internet: njames at us.ibm.com




From:	Kenneth Wilke <kenneth.wilke at RACKSPACE.COM>
To:	Stewart Smith <stewart at linux.vnet.ibm.com>, openbmc
            <openbmc at lists.ozlabs.org>
Date:	03/31/2016 10:35 PM
Subject:	Re: obmcutil is slow, nonsensical output
Sent by:	"openbmc" <openbmc-bounces+njames=us.ibm.com at lists.ozlabs.org>



We see the same behavior on the Barreleye servers, the obmcutil is quite
slow but we've gotten used to it. The poweron and poweroff commands usually
return either this message or a python backtrace if the backend dbus
services are still warming up.
________________________________________
From: openbmc <openbmc-bounces
+kenneth.wilke=rackspace.com at lists.ozlabs.org> on behalf of Stewart Smith
<stewart at linux.vnet.ibm.com>
Sent: Thursday, March 31, 2016 1:02 AM
To: openbmc
Subject: obmcutil is slow, nonsensical output

root at palmetto:~# time obmcutil 2>&1 > /dev/null

real    0m3.301s
user    0m3.030s
sys     0m0.230s

root at palmetto:~# obmcutil poweron
 = None

The above is really confusing as to what is actually going on... does
that mean success? Does that mean there's no power? Does that mean no
action was taken?


--
Stewart Smith
OPAL Architect, IBM.

_______________________________________________
openbmc mailing list
openbmc at lists.ozlabs.org
https://lists.ozlabs.org/listinfo/openbmc
_______________________________________________
openbmc mailing list
openbmc at lists.ozlabs.org
https://lists.ozlabs.org/listinfo/openbmc


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ozlabs.org/pipermail/openbmc/attachments/20160401/3a1148bf/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: graycol.gif
Type: image/gif
Size: 105 bytes
Desc: not available
URL: <http://lists.ozlabs.org/pipermail/openbmc/attachments/20160401/3a1148bf/attachment.gif>


More information about the openbmc mailing list