Hide Forgot
Created attachment 717111 [details] fix -- lower MinTime Description of problem: bonnie++ on a machine with a 4-disk RAID 5 or RAID 10 array and a Megaraid hardware controller outputs ++++ rather than actual timings for several of the write tests. [user@machine files]$ bonnie++ -d /data/bonnie/files -s 128g -fb Writing intelligently...done Rewriting...ldone Reading intelligently...done start 'em...done...done...done...done...done... Create files in sequential order...done. Stat files in sequential order...done. Delete files in sequential order...done. Create files in random order...done. Stat files in random order...done. Delete files in random order...done. Version 1.96 ------Sequential Output------ --Sequential Input- --Random- Concurrency 1 -Per Chr- --Block-- -Rewrite- -Per Chr- --Block-- --Seeks-- Machine Size K/sec %CP K/sec %CP K/sec %CP K/sec %CP K/sec %CP /sec %CP machine 128G 414587 57 203095 17 511823 20 396.0 53 Latency 626ms 754ms 743ms 73188us Version 1.96 ------Sequential Create------ --------Random Create-------- machine -Create-- --Read--- -Delete-- -Create-- --Read--- -Delete-- files /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP 16 5696 12 +++++ +++ +++++ +++ +++++ +++ +++++ +++ +++++ +++ Latency 2804us 412us 447us 118us 20us 36us 1.96,1.96,1a76a9eb-2e46-50e6-9843-952ae3f954a8.sensor.mcirt.mandiant.com,1,1364334325,128G,,,,414587,57,203095,17,,,511823,20,396.0,53,16,,,,,5696,12,+++++,+++,+++++,+++,+++++,+++,+++++,+++,+++++,+++,,626ms,754ms,,743ms,73188us,2804us,412us,447us,118us,20us,36us Version-Release number of selected component (if applicable): bonnie++-1.96-2.el6 How reproducible: Steps to Reproduce: 1. Run bonnie++ as shown in sample output above 2. Examine file creation timings Actual results: +++ in write timings Expected results: Actual numbers Additional info: This has not changed in Fedora rawhide. I've filed this in EPEL because that's where I've tested it, but I suspect it probably applies on Fedora as well. Proposed solution: Change MinTime from 0.5 to 0.01, as done in the attached patch. This makes it work for me. I got this patch from https://gist.github.com/waltarix/1891601 and https://github.com/y-ken/bonnie/commit/cef192ebf543a76244fc5e93e9a43d40d80bc101 .
Thanks for the bug report! I've asked the maintainer of Fedora rawhide for their view on this.
bonnie++-1.97.3-1.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2016-cdccbd9d41
bonnie++-1.97.3-1.fc24 has been submitted as an update to Fedora 24. https://bodhi.fedoraproject.org/updates/FEDORA-2016-332fc1bcbd
bonnie++-1.97.3-1.fc25 has been submitted as an update to Fedora 25. https://bodhi.fedoraproject.org/updates/FEDORA-2016-0961713f98
bonnie++-1.97.3-1.el7 has been submitted as an update to Fedora EPEL 7. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2016-aa287b30ba
bonnie++-1.97.3-1.fc25 has been pushed to the Fedora 25 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-0961713f98
bonnie++-1.97.3-1.fc24 has been pushed to the Fedora 24 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-332fc1bcbd
bonnie++-1.97.3-1.el7 has been pushed to the Fedora EPEL 7 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2016-aa287b30ba
bonnie++-1.97.3-1.fc25 has been pushed to the Fedora 25 stable repository. If problems still persist, please make note of it in this bug report.
bonnie++-1.97.3-1.fc24 has been pushed to the Fedora 24 stable repository. If problems still persist, please make note of it in this bug report.
bonnie++-1.97.3-1.el7 has been pushed to the Fedora EPEL 7 stable repository. If problems still persist, please make note of it in this bug report.