Measuring Disk Throughput?

Is there a standware way tto measure disk throughput (write for sink elements) (read for src elements) with the existing GSteamer architecture?

This is far from a standard way, just a simple (maybe simplistic?) suggestion.

You may check read performance by trying different block sizes with filesrc (here using /dev/zero, you would adjust path for a big file in your disk) and checking FPS with:

gst-launch-1.0 filesrc location=/dev/zero blocksize=10000000 ! fpsdisplaysink text-overlay=0 video-sink=fakesink -v

Not sure how much accurate the following is, though similarly, you may try for write throughput:

gst-launch-1.0 filesrc location=/dev/zero blocksize=10000000 ! tee name=t ! queue ! fpsdisplaysink text-overlay=0 video-sink=fakesink   t. ! queue ! filesink location=/dev/null -v

where you would change /dev/null to a path into your disk.

Unsure how much reliable is this advice. Someone better skilled may correct this.