Announcement

Collapse
No announcement yet.

Extracting 2 Results from one benchmark run

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

  • Extracting 2 Results from one benchmark run

    Hey Phoronix Forums,

    I am new to Benchmarking under Linux and since i discovered Phoronix i am hooked to use this awesome tool (thanks Michael ) to create the benchmarks for my paper.

    My Question:
    Is it possible to get 2 Results from one run (i am using fio). I'd like to run fio with mixed sequential read and write and display both results.
    I can create to menu entries in the test-definition and select run all to get all results. But then the benchmark ist done twice all the time.
    Because i want to run this on different setups of my harddrives this would take to much time.

    My first try was changing the test-definition ....

    Code:
     <Menu>
            <Entry>
              <Name>MB/s</Name>
              <Value>MBS</Value>
              <Value>IOPS</Value>
            </Entry>
    but looking at the php code i figured only one value tag is okay, the other one gets ignored.
    Next try has been listening on the same "MatchToTestArgument" Value creating two <ResultsParser>


    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>
    No success here either.
    Finally I put both result templates into one <ResultsParser> Tag. Code:

    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.
    I spent quite a lot of time reading the code but as i am not a programmer i couldn't find a quick solution.
    Can someone give me a hint please
    Last edited by Lukystrike94; 05 October 2015, 05:23 AM.
Working...
X