FS#68381 - [bonnie++] bon_csv2html doesn't convert units properly

Attached to Project: Community Packages
Opened by Marko Doda (markododa) - Thursday, 22 October 2020, 11:49 GMT
Last edited by Toolybird (Toolybird) - Thursday, 04 May 2023, 05:05 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Jelle van der Waa (jelly)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
bon_csv2html script from bonnie++ package doesn't read the bonnie++ output correctly

With a file countaing:
Version 1.98 ------Sequential Output------ --Sequential Input- --Random-
-Per Chr- --Block-- -Rewrite- -Per Chr- --Block-- --Seeks--
Name:Size etc /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP
bleg 23G 725k 96 71.9m 17 32.3m 11 1713k 94 67.7m 15 64.0 4
Latency 30197us 975ms 777ms 19713us 440ms 5903ms
Version 1.98 ------Sequential Create------ --------Random Create--------
bleg -Create-- --Read--- -Delete-- -Create-- --Read--- -Delete--
files /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP
16 16384 17 +++++ +++ +++++ +++ +++++ +++ +++++ +++ +++++ +++
Latency 217ms 1106us 539us 261us 35us 334us
1.98,1.98,bleg,1,1603444697,23G,,8192,5,725,96,73629,17,33079,11,1713,94,69343,15,64.0,4,16,,,,,9884,17,+++++,+++,+++++,+++,+++++,+++,+++++,+++,+++++,+++,30197us,975ms,777ms,19713us,440ms,5903ms,217ms,1106us,539us,261us,35us,334us

the -Per Chr- fields that are expressed in k, for example 725k and 1713k and expressed as mb in the html output

Additional info:
* version: 1.98-1

Steps to reproduce:

bonnie++ > output.txt ; bon_csv2html output.txt > output.html
This task depends upon

Closed by  Toolybird (Toolybird)
Thursday, 04 May 2023, 05:05 GMT
Reason for closing:  Upstream
Additional comments about closing:  Failing to see how this is an Arch packaging problem. Please report upstream.

Loading...