dd-wr-speed

Test block device writing/reading speed by using dd command.

What It Tests

  • Block Device Writing Speed: Writes to block device and get write speed

  • Block Device Reading Speed: Reads from block device and get read speed

Preconditions

  • Block device must be present and functional

  • System requires root privileges

  • e2fsprogs and dosfstools package should be available

Test Parameters

Parameter

Default

Description

PARTITION

""

Specify partition that used for dd test

FS_TYPE

""

Single expected file system type

ITERATION

"5"

The execution times of dd test

SKIP_INSTALL

"false"

Skip package installation

Test Steps

- cd ./automated/linux/dd-wr-speed
- ./dd-wr-speed.sh -p "${PARTITION}" -t "${FS_TYPE}" -i "${ITERATION}" -s "${SKIP_INSTALL}"

Refer to dd-wr-speed.yaml for complete test definition and execution details.

Expected Results

  • The partition formatting is successful

  • The dd writing/reading operation is successful

  • The dd writing/reading speed data is captured

References