Announcement

Collapse
No announcement yet.

Monitoring System Power Consumption

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Monitoring System Power Consumption

    I've recently tracked down a couple of the WattsUP? Pro power meters that are supported by PTS and referenced in this article: https://www.phoronix.com/scan.php?pa...item&px=OTU3OA.

    The article mentions the community-created open source utility linked from the manufacturer's support page, however the manufacturer no longer exists, thus the web page does not either.

    I've tried compiling the application from here: https://github.com/pyrovski/watts-up and moved it to /usr/bin. Running wattsup and specifying /dev/ttyUSB0 appears to work just fine, reading out the plethora of power data, however PTS isn't detecting System Power Consumption as a measurable parameter when checking system-sensors.

    Can someone confirm I've got the right watts-up tool?

    Thank you,
    Tyler

  • #2
    Originally posted by tyler.wagler View Post
    I've recently tracked down a couple of the WattsUP? Pro power meters that are supported by PTS and referenced in this article: https://www.phoronix.com/scan.php?pa...item&px=OTU3OA.

    The article mentions the community-created open source utility linked from the manufacturer's support page, however the manufacturer no longer exists, thus the web page does not either.

    I've tried compiling the application from here: https://github.com/pyrovski/watts-up and moved it to /usr/bin. Running wattsup and specifying /dev/ttyUSB0 appears to work just fine, reading out the plethora of power data, however PTS isn't detecting System Power Consumption as a measurable parameter when checking system-sensors.

    Can someone confirm I've got the right watts-up tool?

    Thank you,
    Tyler
    Hi Tyler,
    That should be the right tool. After the manufacturer site went down it was from that repository I forked from: https://github.com/michaellarabel/watts-up

    If you have that compiled as wattsup and placed in /usr/bin, it should "just work" assuming the device is /dev/ttyUSB0.

    Does it help if you chmod 777 /dev/ttyUSB0 or so? Due to Linux changes, sometimes wattsup needs the permissions changed of the device or to be run as root.
    Michael Larabel
    https://www.michaellarabel.com/

    Comment


    • #3
      I tried chmod 777, but System Power Consumption still shows up under Unsupported Sensors. I did notice that the meters I received do not have the red "PRO" on them, but otherwise appear identical and do appear to function with the tool. Any ideas?

      Comment


      • #4
        Would you be comfortable adding a few say var_dump() or echos to your phoronix-test-suite/pts-core/objects/phodevi/sensors/sys_power.php ?Or could you post the output of your wattsup command when it's working so I can see if perhaps the formatting is different for the non-pro version or something?
        Michael Larabel
        https://www.michaellarabel.com/

        Comment


        • #5
          Thanks Michael. Either there was some weirdness with this on Ubuntu vs CentOS7 or I was just doing something wrong. All is well now. Any recommendations on a suite for system performance per Watt?

          Comment


          • #6
            Really depends if you're just after general system performance or what, but tasks like build-linux-kernel are always pretty good for well-rounded workloads or say Blender, Darktable, GIMP, etc.
            Michael Larabel
            https://www.michaellarabel.com/

            Comment


            • #7
              Thanks again. It does appear to be a permissions issue. Even with chmod 777 on /usr/bin/wattsup, PTS must be run with sudo to recognize it.

              Comment

              Working...
              X