I wanted to measure disk throughput using the following command:
dd if=/dev/zero of=/mydir/junkfile bs=4k count=125000
If the junkfile exists, my disk bandwidth is 6 times less than if the junkfile does not exist. I repeated this many times and the results are saved. Does anyone know why?
Thanks,
Amir.
source share