commit | 192d408d700d39df3a74edb99da853ede01b5b82 | [log] [tgz] |
---|---|---|
author | lkuchlan <lkuchlan@redhat.com> | Thu Sep 07 13:44:31 2023 +0300 |
committer | Goutham Pacha Ravi <gouthampravi@gmail.com> | Wed Oct 18 14:20:08 2023 +0000 |
tree | 4b354950475d891a5db8cbc98c18711cf2797ea5 | |
parent | 1ba0a8d94cd860abf261d2b9c89c39f768bf580d [diff] |
Optimize the dd command to improve performance Use if=/dev/zero: Instead of reading from /dev/urandom, which is slow for generating random data, use /dev/zero to write zeros to the disk. Zeros are generated much faster. Omit conv=fsync: The conv=fsync option forces dd to synchronize the data after each write, which can be slow for large writes. Change-Id: Id845c60c39072a03171fa5906461eb254c2736a7