Announcement

Collapse
No announcement yet.

The bug in fio-1.7.1

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

  • The bug in fio-1.7.1

    Hi,

    I found the bug in fio-1.7.1:results-definition.xml.

    In MB/s mode, this is assuming the result of fio is KB/s.
    But in my fs test, fio outputs by MB/s format. By this difference,
    phoronix output parser can't parse output of fio correctly.

    To fix this bug, I added the following to
    .phoronix-test-suite/test-profiles/pts/fio-1.7.1/results-definition.xml

    And this patch looks like accept both of KB/s and MB/s outputs correctly.

    Code:
    --- results-definition.xml.orig	2015-01-05 09:34:44.161576639 +0900
    +++ results-definition.xml	2015-01-07 14:31:55.208296611 +0900
    @@ -12,6 +12,15 @@
         <ResultProportion>HIB</ResultProportion>
       </ResultsParser>
       <ResultsParser>
    +    <OutputTemplate>  read : io=3274.5MB, bw=#_RESULT_#, iops=11931, runt= 46109msec</OutputTemplate>
    +    <MatchToTestArguments>MBS</MatchToTestArguments>
    +    <LineHint>runt=</LineHint>
    +    <ResultAfterString>bw</ResultAfterString>
    +    <StripFromResult>MB/s,</StripFromResult>
    +    <ResultScale>MB/s</ResultScale>
    +    <ResultProportion>HIB</ResultProportion>
    +  </ResultsParser>
    +  <ResultsParser>
         <OutputTemplate>  read : io=3274.5MB, bw=72203KB/s, iops=#_RESULT_#, runt= 46109msec</OutputTemplate>
         <MatchToTestArguments>IOPS</MatchToTestArguments>
         <LineHint>runt=</LineHint>
    BTW, is there any convenient way to report bug without registering forum?
Working...
X