iozone - how to to specify output in MB/sec isntead of KB/sec?
Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Distribution: Mint 20.1 on workstation, Debian 11 on servers
Posts: 1,336
Rep:
iozone - how to to specify output in MB/sec isntead of KB/sec?
I can't seem to find what the argument for that is. The output is in KB/sec but that generates super huge numbers that are harder to interpret especially given there is no comma separator for thousands. Is there a way to make it output in MB/s or even GB/s instead?
Distribution: Mint 20.1 on workstation, Debian 11 on servers
Posts: 1,336
Original Poster
Rep:
Not sure what you mean. It's just a program to benchmark disk/volume performance. I'm just looking for a way to tell it to display results in MB/sec instead of KB/sec so it's more readable.
If it doesn't offer the alternate scaling, you are at liberty to do it yourself on the output. awk, perl or any number of other languages.
printf supports a modifier that will even add the (locale dependent) thousand separator for you.
Taking care of invariant rows and/or columns, along with column alignment would probably cause the most grief.
Distribution: Mint 20.1 on workstation, Debian 11 on servers
Posts: 1,336
Original Poster
Rep:
Well was hoping not to have to do that, but if I had to automate it then it would not be an issue. I guess I'll just deal with having to manually figure it out it's not like it's a tool I use that often. I was benchmarking various raid arrays and it was just a pain as it's harder to quickly figure out what the readings are when glancing at lot of results
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.