I am currently performing various development tasks that are slow on my current system because of IO performance.Is there a way to record disk operations while performing IO consuming tasks, including performance info (writes/second, reads/second, etc) and then replay them on a new system to see which would the performance be there (without having to re-run the same command over the same set of data)?Would blktrace, blkparse or fio help me in this case?For example:Let's say on my system I want to benchmark afind -name *.php | xargs grep -r test_stringinside a folder containing 50 000 files (on multiple levels, of course)I'd like to capture all the disk operations, including statistics, and then replay them on another system that does not have the 50 000 files folder. Basically, just simulating the operations and checking out if they are done any faster.I've tried capture the disk samples by usingblktrace -d /dev/sda -o myfile.blkbut I do not know how I can try and replay them with fio.Is this possible?Thanks
How do I record disk performance on slow hardware and then replay it to faster hardware and benchmark it?
linux;performance;io