Package: bonnie++
Severity: normal

Dear Maintainer,

To reproduce, eg.
bonnie++ -s 0 -n 4:256k:16k:4 -d /mnt/temp   [to a NAS]
produces:
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
1.98,1.98,mebd,6,1565485994,,,,,,,,,,,,,,,,,4,262144,16384,,4,49,3,43,2,187,3,49,3,41,2,123,4,,,,,,,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.

Reply via email to