Avatar of iNc0g
iNc0g
Flag for Israel asked on

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.
LinuxLinux OS Dev

Avatar of undefined
Last Comment
gheist

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
Joseph Gan

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
SOLUTION
gheist

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
Your help has saved me hundreds of hours of internet surfing.
fblack61