<html><body><p>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.  <br><br>Regards,<br>Norman James<br>IBM - POWER Systems Architect<br>Phone: 1-512-286-6807 (T/L: 363-6807)<br>Internet: njames@us.ibm.com<br><br><br><img width="16" height="16" src="cid:1__=C7BBF514DFEF8DC48f9e8a93df938690918cC7B@" border="0" alt="Inactive hide details for Kenneth Wilke ---03/31/2016 10:35:48 PM---We see the same behavior on the Barreleye servers, the obmc"><font color="#424282">Kenneth Wilke ---03/31/2016 10:35:48 PM---We see the same behavior on the Barreleye servers, the obmcutil is quite slow but we've gotten used</font><br><br><font size="2" color="#5F5F5F">From:        </font><font size="2">Kenneth Wilke <kenneth.wilke@RACKSPACE.COM></font><br><font size="2" color="#5F5F5F">To:        </font><font size="2">Stewart Smith <stewart@linux.vnet.ibm.com>, openbmc <openbmc@lists.ozlabs.org></font><br><font size="2" color="#5F5F5F">Date:        </font><font size="2">03/31/2016 10:35 PM</font><br><font size="2" color="#5F5F5F">Subject:        </font><font size="2">Re: obmcutil is slow, nonsensical output</font><br><font size="2" color="#5F5F5F">Sent by:        </font><font size="2">"openbmc" <openbmc-bounces+njames=us.ibm.com@lists.ozlabs.org></font><br><hr width="100%" size="2" align="left" noshade style="color:#8091A5; "><br><br><br><tt>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.<br>________________________________________<br>From: openbmc <openbmc-bounces+kenneth.wilke=rackspace.com@lists.ozlabs.org> on behalf of Stewart Smith <stewart@linux.vnet.ibm.com><br>Sent: Thursday, March 31, 2016 1:02 AM<br>To: openbmc<br>Subject: obmcutil is slow, nonsensical output<br><br>root@palmetto:~# time obmcutil 2>&1 > /dev/null<br><br>real    0m3.301s<br>user    0m3.030s<br>sys     0m0.230s<br><br>root@palmetto:~# obmcutil poweron<br> = None<br><br>The above is really confusing as to what is actually going on... does<br>that mean success? Does that mean there's no power? Does that mean no<br>action was taken?<br><br><br>--<br>Stewart Smith<br>OPAL Architect, IBM.<br><br>_______________________________________________<br>openbmc mailing list<br>openbmc@lists.ozlabs.org<br></tt><tt><a href="https://lists.ozlabs.org/listinfo/openbmc">https://lists.ozlabs.org/listinfo/openbmc</a></tt><tt><br>_______________________________________________<br>openbmc mailing list<br>openbmc@lists.ozlabs.org<br></tt><tt><a href="https://lists.ozlabs.org/listinfo/openbmc">https://lists.ozlabs.org/listinfo/openbmc</a></tt><tt><br></tt><br><br><BR>
</body></html>