phoronix-test-suite / test-profiles

A read-only Git copy of the OpenBenchmarking.org test profiles.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

pts/fio-2.0.0 does not convert kib/s to mib/s

mjekdi opened this issue · comments

I had the same issue and created a local copy of the fio-2.0.0 test profile. I used the following results-definition.xml to parse either KiB/s or MiB/s depending on which was returned by fio

<?xml version="1.0"?>
<!--Phoronix Test Suite v10.8.4-->
<PhoronixTestSuite>
  <ResultsParser>
    <OutputTemplate>   bw (  KiB/s): min=#_MIN_RESULT_# max=#_MAX_RESULT_# per=100.00%  avg=#_RESULT_# stdev=361099.35  samples=238</OutputTemplate>
    <LineHint>bw (  KiB/s)</LineHint>
    <DivideResultBy>1024</DivideResultBy>
    <ResultScale>MiB/s</ResultScale>
    <ResultProportion>HIB</ResultProportion>
    <TurnCharsToSpace>,</TurnCharsToSpace>
  </ResultsParser>
  <ResultsParser>
    <OutputTemplate>   bw (  MiB/s): min=#_MIN_RESULT_# max=#_MAX_RESULT_# per=100.00%  avg=#_RESULT_# stdev=497.96  samples=239</OutputTemplate>
    <LineHint>bw (  MiB/s)</LineHint>
    <ResultScale>MiB/s</ResultScale>
    <ResultProportion>HIB</ResultProportion>
    <TurnCharsToSpace>,</TurnCharsToSpace>
  </ResultsParser>
  <ResultsParser>
    <OutputTemplate>   iops        : min=#_MIN_RESULT_#  max=#_MAX_RESULT_#  avg=#_RESULT_#  stdev=157.62  samples=239</OutputTemplate>
    <LineBeforeHint>bw (</LineBeforeHint>
    <ResultScale>IOPS</ResultScale>
    <ResultProportion>HIB</ResultProportion>
    <ResultPrecision>0</ResultPrecision>
    <TurnCharsToSpace>,</TurnCharsToSpace>
  </ResultsParser>
</PhoronixTestSuite>

Hi,I have test the fio profile,it's working.But when i new installed the phoronix-test-suite,I run phoronix-test-suite benchmark fio,the fio resulte-definition.xml is not the new version.May be shloud update.