All of lore.kernel.org
 help / color / mirror / Atom feed
* obmcutil is slow, nonsensical output
@ 2016-03-31  6:02 Stewart Smith
  2016-03-31 14:19 ` Kenneth Wilke
  0 siblings, 1 reply; 4+ messages in thread
From: Stewart Smith @ 2016-03-31  6:02 UTC (permalink / raw)
  To: openbmc

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

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

root@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.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: obmcutil is slow, nonsensical output
  2016-03-31  6:02 obmcutil is slow, nonsensical output Stewart Smith
@ 2016-03-31 14:19 ` Kenneth Wilke
  2016-03-31 22:38   ` Norman James
  2016-03-31 23:28   ` Stewart Smith
  0 siblings, 2 replies; 4+ messages in thread
From: Kenneth Wilke @ 2016-03-31 14:19 UTC (permalink / raw)
  To: Stewart Smith, openbmc

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@lists.ozlabs.org> on behalf of Stewart Smith <stewart@linux.vnet.ibm.com>
Sent: Thursday, March 31, 2016 1:02 AM
To: openbmc
Subject: obmcutil is slow, nonsensical output

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

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

root@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@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/openbmc

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: obmcutil is slow, nonsensical output
  2016-03-31 14:19 ` Kenneth Wilke
@ 2016-03-31 22:38   ` Norman James
  2016-03-31 23:28   ` Stewart Smith
  1 sibling, 0 replies; 4+ messages in thread
From: Norman James @ 2016-03-31 22:38 UTC (permalink / raw)
  To: Kenneth Wilke; +Cc: Stewart Smith, openbmc


[-- Attachment #1.1: Type: text/plain, Size: 1959 bytes --]


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@us.ibm.com




From:	Kenneth Wilke <kenneth.wilke@RACKSPACE.COM>
To:	Stewart Smith <stewart@linux.vnet.ibm.com>, openbmc
            <openbmc@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@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@lists.ozlabs.org> on behalf of Stewart Smith
<stewart@linux.vnet.ibm.com>
Sent: Thursday, March 31, 2016 1:02 AM
To: openbmc
Subject: obmcutil is slow, nonsensical output

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

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

root@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@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/openbmc
_______________________________________________
openbmc mailing list
openbmc@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/openbmc



[-- Attachment #1.2: Type: text/html, Size: 3131 bytes --]

[-- Attachment #2: graycol.gif --]
[-- Type: image/gif, Size: 105 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: obmcutil is slow, nonsensical output
  2016-03-31 14:19 ` Kenneth Wilke
  2016-03-31 22:38   ` Norman James
@ 2016-03-31 23:28   ` Stewart Smith
  1 sibling, 0 replies; 4+ messages in thread
From: Stewart Smith @ 2016-03-31 23:28 UTC (permalink / raw)
  To: Kenneth Wilke, openbmc

Kenneth Wilke <kenneth.wilke@RACKSPACE.COM> writes:
> 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.

Python backtrace isn't very elegant :(

-- 
Stewart Smith
OPAL Architect, IBM.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-03-31 23:29 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-03-31  6:02 obmcutil is slow, nonsensical output Stewart Smith
2016-03-31 14:19 ` Kenneth Wilke
2016-03-31 22:38   ` Norman James
2016-03-31 23:28   ` Stewart Smith

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.