Skip to content

Instantly share code, notes, and snippets.

@matti
Last active November 14, 2019 08:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save matti/9daf79e5ef4254d16504b2077bad69a0 to your computer and use it in GitHub Desktop.
Save matti/9daf79e5ef4254d16504b2077bad69a0 to your computer and use it in GitHub Desktop.

3 replicas on 3 azs

$ while true; do echo; echo copy; echo; time (dd if=/tmp/debian-9.7.0-amd64-DVD-1.iso of=debian-9.7.0-amd64-DVD-1.iso bs=4M; sync); echo; echo rm; echo; time (rm -f debian-9.7.0-amd64-DVD-1.iso ; sync); done

copy

863+1 records in
863+1 records out
3620339712 bytes (3.6 GB, 3.4 GiB) copied, 3.35944 s, 1.1 GB/s

real    0m8.399s
user    0m0.001s
sys    0m2.246s

rm


real    0m0.008s
user    0m0.002s
sys    0m0.000s

copy

863+1 records in
863+1 records out
3620339712 bytes (3.6 GB, 3.4 GiB) copied, 3.85266 s, 940 MB/s

real    0m11.623s
user    0m0.019s
sys    0m2.130s

rm


real    0m0.008s
user    0m0.002s
sys    0m0.001s

copy

863+1 records in
863+1 records out
3620339712 bytes (3.6 GB, 3.4 GiB) copied, 3.64239 s, 994 MB/s

real    0m8.361s
user    0m0.005s
sys    0m2.146s

rm


real    0m0.013s
user    0m0.002s
sys    0m0.000s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment