> 3. dd if=/dev/zero of=${MOUNTPOINT}/randomfile.bin bs=1M \
> count=$mbytes oflag=direct
>
> 4. sync
>
> 5. STARTTIME=time()
>
> 6. cp ${MOUNTPOINT}/randomfile.bin ${MOUNTPOINT}/randomfile2.bin
cp is reading the file then writing it, dd is just writing zeros.
If you use dd to read the file with bs=1M from the ${MOUNTPOINT} what
speed does it read at?
If you profile cp what size reads and writes is it doing to
${MOUNTPOINT}?
_______________________________________________
Tech mailing list
[email protected]
https://lists.lopsa.org/cgi-bin/mailman/listinfo/tech
This list provided by the League of Professional System Administrators
http://lopsa.org/