| # oe-time-dd-test records how much time it takes to |
| # write <count> number of kilobytes to the filesystem. |
| # It also records the number of processes that are in |
| # running (R), uninterruptible sleep (D) and interruptible |
| # sleep (S) state from the output of "top" command. |
| # The purporse of this script is to find which part of |
| # the build system puts stress on the filesystem io and |
| timeout ${TIMEOUT} dd if=/dev/zero of=oe-time-dd-test.dat bs=1024 count=$1 conv=fsync |
| echo "Timeout used: ${TIMEOUT}" |
| tail -30 tmp*/log/cooker/*/console-latest.log |