benchmark write speed to disk on linux

Hi,
I am looking for a command or a tool + the needed commands for the tool in order to test write speed to disk on a linux VM.

The write test should consist of writing multiple files (100 files, 1MB each) and at the end or while the process is running I would like to see the stats, what was the writing speed to disk.

The above is required to work both on local disk write and on NFS mount.

I've used the dd command and afterwards splitting the masterfile created into several files, but it only split the master file to 1 file and I did not see any stats while doing so anyway.

I need to compare both write and read speed between writing/reading to local disk of the VM and to NFS mount while the test is writing several files and not 1 file.

Thank you.
iNc0gAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Joseph GanSystem AdminCommented:
Bonnie++ is a small utility with the purpose of benchmarking file system IO performance. It’s commonly available in Linux repositories or available from source from the home page.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
gheistCommented:
iozone can do that exactly like you describe.
remember disk benchmarks should write and read back significantly more than any disk caches to get down to disk speed.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Linux

From novice to tech pro — start learning today.