Bug#934534: bonnie++: v1.98 fileIO txt per sec figures wrong
Add Reply
2019-08-12 01:30:01 UTC
Package: bonnie++
Severity: normal

Dear Maintainer,

To reproduce, eg.
bonnie++ -s 0 -n 4:256k:16k:4 -d /mnt/temp [to a NAS]
Version 1.98 ------Sequential Create------ --------Random Create--------
mebd -Create-- --Read--- -Delete-- -Create-- --Read--- -Delete--
files:max:min /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP
4:262144:16384/4 4096 3 4096 2 4096 3 4096 3 4096 2 4096 4
Latency 238ms 235ms 46003us 231ms 236ms 133ms

Note /sec figures all 4096, also that CSV figures are normal.
When using different -n i, the /sec resuls are all i*1024.
Problem is in bon_time.cpp, BonTimer::print_stat() @ line 149, needs to be
int(stat), fix it for me.

-- System Information:
Debian Release: 9.9
APT prefers oldstable-updates
APT policy: (500, 'oldstable-updates'), (500, 'oldstable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.9.0-9-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8), LANGUAGE=en_AU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages bonnie++ depends on:
ii libc6 2.24-11+deb9u4
ii libgcc1 1:6.3.0-18+deb9u1
ii libstdc++6 6.3.0-18+deb9u1

bonnie++ recommends no packages.

bonnie++ suggests no packages.
Michael Marx
2019-08-12 02:50:01 UTC
EDIT 'Fixed' it for me. i.e. I changed that, compiled and, it works.
-----Original Message-----
Sent: Mon, 12 Aug 2019 11:21
To: MichaelAtOz
Subject: Bug#934534: Acknowledgement (bonnie++: v1.98 fileIO txt per sec figures wrong)
Thank you for filing a new Bug report with Debian.
You can follow progress on this Bug here: 934534: https://bugs.debian.org/cgi-
This is an automatically generated reply to let you know your message
has been received.
Your message is being forwarded to the package maintainers and other
interested parties for their attention; they will reply in due course.
As you requested using X-Debbugs-CC, your message was also forwarded to
(after having been given a Bug report number, if it did not have one).
If you wish to submit further information on this problem, please
to report a problem with the Bug-tracking system.
934534: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=934534
Debian Bug Tracking System
This email has been checked for viruses by AVG.