Announcement

Collapse
No announcement yet.

Setting Environment variable

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

  • Setting Environment variable

    Hi,

    I have a very stupid question, but I could not find the answer: How do I set environment variables?
    For example I would like to monitor the overall system power consumption and also the performance-per-Watt during a test. It w
    as proposed to set the environment variables to MONITOR=sys.power PERFORMANCE_PER_WATT=1 . How do I do this?
    Would be

    phoronix-test-suite user-config-set PERFORMANCE_PER_WATT=1

    correct? However, this does not change the user-config file.

    Thank you!

  • #2
    It's your systems environment variable.... so e.g.

    PERFORMANCE_PER_WATT=1 MONITOR=all phoronix-test-suite benchmark ....

    is one common way to go about doing it.
    Michael Larabel
    https://www.michaellarabel.com/

    Comment


    • #3
      Hi
      im responding to this Post cause im trying to set TOTAL_LOOP_TIME=720
      And run pts/svt-av1 for 12 hours

      i tried TOTAL_LOOP_TIME=720 phoronix-test-suite benchmark pts/svt-av1
      and get TOTAL_LOOP_TIME=720 unsupported command

      What i want to achive is a 12 hour run on 3 Servers without being prompted

      How would that proper comand for this look like?
      Im not a commandline hero...

      Best regards

      Guido Neumann

      Comment


      • #4
        Originally posted by Guido_Neumann View Post
        Hi
        im responding to this Post cause im trying to set TOTAL_LOOP_TIME=720
        And run pts/svt-av1 for 12 hours

        i tried TOTAL_LOOP_TIME=720 phoronix-test-suite benchmark pts/svt-av1
        and get TOTAL_LOOP_TIME=720 unsupported command

        What i want to achive is a 12 hour run on 3 Servers without being prompted

        How would that proper comand for this look like?
        Im not a commandline hero...

        Best regards

        Guido Neumann
        It all depends what your terminal / sh setup is for how you set environment variables. But if you append it to the end, recent versions of PTS will try to then set the environment variable for you as well.
        Michael Larabel
        https://www.michaellarabel.com/

        Comment


        • #5
          Here is what we try to achive:

          We have a Container plattform called ZeroOS and we want to compare it to Docker running on Ubuntu and WIndows

          For that we want to run a Phoronix benchmark in 100 containers on these 3 Plattform.

          can you give us an example for running a benchmark for 720 minutes where i give all the option needed in the start command?
          the test we would like to run is pts/svt-av1

          One of the aimes is to see how the Plattforms handle multi-container management

          Comment

          Working...
          X