openbmc.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* GetConnectionUnixUser
@ 2023-04-11 21:24 Tanner, Brad (EXL Ft Collins)
  0 siblings, 0 replies; only message in thread
From: Tanner, Brad (EXL Ft Collins) @ 2023-04-11 21:24 UTC (permalink / raw)
  To: openbmc

[-- Attachment #1: Type: text/plain, Size: 1261 bytes --]


We use externalsensor to host dbus objects and publish the values with custom code. During busy times on our BMC, the Property Set method takes a long time to complete. I noticed with monitor that every Set is accompanied by a method call to GetConnectionUnixUser, which must complete before the response to the Set is sent. It may be

Type=method_call  Endian=l  Flags=0  Version=1 Cookie=2  Timestamp="Fri 2023-04-07 18:32:28.483676 UTC"
  Sender=:1.81  Destination=xyz.openbmc_project.ExternalSensor  Path=/xyz/openbmc_project/sensors/temperature/TestSensor  Interface=org.freedesktop.DBus

Type=method_call  Endian=l  Flags=0  Version=1 Cookie=26  Timestamp="Fri 2023-04-07 18:32:28.484291 UTC"
  Sender=:1.56  Destination=org.freedesktop.DBus  Path=/org/freedesktop/DBus  Interface=org.freedesktop.DBus  Member=GetConnectionUnixUser

Type=method_return  Endian=l  Flags=1  Version=1 Cookie=-1  ReplyCookie=26  Timestamp="Fri 2023-04-07 18:32:28.484468 UTC"
  Sender=org.freedesktop.DBus  Destination=:1.56

Type=method_return  Endian=l  Flags=1  Version=1 Cookie=28  ReplyCookie=2  Timestamp="Fri 2023-04-07 18:32:28.485179 UTC"
  Sender=:1.56  Destination=:1.81

Is there a way to prevent this extra dbus traffic?

Thanks,
Brad Tanner

[-- Attachment #2: Type: text/html, Size: 3800 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-04-11 21:47 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-04-11 21:24 GetConnectionUnixUser Tanner, Brad (EXL Ft Collins)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).