Announcement

Collapse
No announcement yet.

Custom benchmark

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

  • #11
    Thanks that worked...

    Comment


    • #12
      Is it possible to make a test that shows 4 charts:
      1. CPU usage with a frequency of 0.1 seconds
      2. GPU usage with a frequency of 0.1 seconds
      3. Mem Usage with a frequency of 0.1 seconds
      4. FPS this is printed in the stdout by the program.


      I am trying to do it like this but it does not work:
      test-definition.xml:
      Code:
      <?xml version="1.0"?>
      <!--Phoronix Test Suite v3.0.0a3 (Iveland) [ http://www.phoronix-test-suite.com/ ]-->
      <PhoronixTestSuite>
        <TestInformation>
          <Title>Pop CPU usage</Title>
          <ResultScale>Percent</ResultScale>
          <DisplayFormat>LINE_GRAPH</DisplayFormat>
          <SubTitle>System cpu</SubTitle>
          <TimesToRun>1</TimesToRun>
        </TestInformation>
        <TestInformation>
          <Title>Pop GPU usage</Title>
          <ResultScale>Percent</ResultScale>
          <DisplayFormat>LINE_GRAPH</DisplayFormat>
          <SubTitle>System gpu</SubTitle>
          <TimesToRun>1</TimesToRun>
        </TestInformation>
        <TestProfile>
          <Version>1.0.0</Version>
          <SupportedPlatforms>Linux</SupportedPlatforms>
          <SoftwareType>Utility</SoftwareType>
          <TestType>System</TestType>
          <License>Free</License>
          <Status>Verified</Status>
          <EnvironmentSize>1.0</EnvironmentSize>
          <Maintainer>Eduardo Sousa</Maintainer>
        </TestProfile>
        <TestSettings>
          <Option>
            <DisplayName>Seconds Idle</DisplayName>
            <Identifier>idle-time</Identifier>
          </Option>
        </TestSettings>
      </PhoronixTestSuite>
      results-definitions.xml:
      Code:
      <?xml version="1.0"?>
      <!--Phoronix Test Suite v5.2.0 (Khanino)-->
      <PhoronixTestSuite>
        <SystemMonitor>
          <Sensor>cpu.usage</Sensor>
          <PollingFrequency>0.1</PollingFrequency>
          <Report>ALL</Report>
        </SystemMonitor>
        <SystemMonitor>
          <Sensor>gpu.usage</Sensor>
          <PollingFrequency>0.1</PollingFrequency>
          <Report>ALL</Report>
        </SystemMonitor>
      </PhoronixTestSuite>

      Comment


      • #13
        Set

        MONITOR=gpu.usage,cpu.usage,mem.usage

        or

        MONITOR=all

        as an environment variable prior to running the Phoronix Test Suite. The system monitoring is a separate module that will run concurrently with any test profile and then append to the end of the results.
        Michael Larabel
        https://www.michaellarabel.com/

        Comment


        • #14
          And how can I change the sample period? Using that method?

          Comment


          • #15
            MONITOR_INTERVAL environment variable
            Michael Larabel
            https://www.michaellarabel.com/

            Comment


            • #16
              Hey there, i know this thread is a bit older but i have the same questions as priestnot.

              Is it possible to get 2 Results from one run (i am using fio) without modifying the test-definition to run two tests and two matching entries in the results-definition ?
              I'd like to run fio with mixed sequential read and write and display both results.

              I modified the test-definition ....

              Code:
               <Menu>
                      <Entry>
                        <Name>MB/s</Name>
                        <Value>MBS</Value>
                        <Value>IOPS</Value>
                      </Entry>
              or the results definition listening on the same "MatchToTestArgument" Value....

              Code:
              <PhoronixTestSuite>
                <ResultsParser>
                  <OutputTemplate>  read : io=3274.5MB, bw=#_RESULT_#, iops=11931, runt= 46109msec</OutputTemplate>
                  <MatchToTestArguments>MBS</MatchToTestArguments>
                  <LineHint>runt=</LineHint>
                  <ResultAfterString>bw</ResultAfterString>
                  <StripFromResult>KB/s,</StripFromResult>
                  <DivideResultBy>1000</DivideResultBy>
                  <ResultScale>MB/s</ResultScale>
                  <ResultProportion>HIB</ResultProportion>
                </ResultsParser>
                <ResultsParser>
                  <OutputTemplate>  read : io=#_RESULT_#, bw=28039KB/s, iops=11931, runt= 46109msec</OutputTemplate>
                  <MatchToTestArguments>MBS</MatchToTestArguments>
                  <LineHint>runt=</LineHint>
                  <ResultAfterString>io</ResultAfterString>
                  <StripFromResult>MB,</StripFromResult>
                  <ResultScale>MB</ResultScale>
                  <ResultProportion>HIB</ResultProportion>
                </ResultsParser>
              and finally put both result templates into one <ResultsParser> Tag

              Code:
              <ResultsParser>
                  <OutputTemplate>  read : io=3274.5MB, bw=#_RESULT_#, iops=11931, runt= 46109msec</OutputTemplate>
                  <MatchToTestArguments>MBS</MatchToTestArguments>
                  <LineHint>runt=</LineHint>
                  <ResultAfterString>bw</ResultAfterString>
                  <StripFromResult>KB/s,</StripFromResult>
                  <DivideResultBy>1000</DivideResultBy>
                  <ResultScale>MB/s</ResultScale>
                  <ResultProportion>HIB</ResultProportion>
                  <OutputTemplate>  read : io=#_RESULT_#, bw=28039KB/s, iops=11931, runt= 46109msec</OutputTemplate>
                  <MatchToTestArguments>MBS</MatchToTestArguments>
                  <LineHint>runt=</LineHint>
                  <ResultAfterString>io</ResultAfterString>
                  <StripFromResult>MB,</StripFromResult>
                  <ResultScale>MB</ResultScale>
                  <ResultProportion>HIB</ResultProportion>
                </ResultsParser>
              I couldn't make it work without phoronix doing 2 Runs for the same benchmark with the same settings to get both results drawn as a bar chart.
              Can someone give me a hint please

              Comment

              Working...
              X