Benchmarks of COW directory copies and removal in [:cowbuilder: cowbuilder].
Details
The number in the copy column was generated using:
time sudo cp -al /var/cache/pbuilder/base.cow /tmp/new
and in the remove column:
time sudo rm -rf /tmp/new
computer |
copy |
remove |
computer details |
pc232 |
16.1 |
18.2 |
Intel Core 2 Duo, /dev/sda1 (10GB, xfs, 80% full), running Debian sid, i386 |
august |
9.3 |
10.9 |
Intel Core 2 Quad, /dev/sda1 (20GB, xfs, 20% full), running Debian sid, i386 |
dakol |
0.48 |
0.5 |
AMD Athlon 64 3800+, /dev/sda7 (135GB, xfs, 32% full), running Debian sid, amd64 |
fuji |
13.9 |
16.4 |
Intel Core Duo, /dev/sda1 (14GB, xfs, 33% full), running Debian sid, i386 |
If anyone has any explanation, why dakol is 20x faster than the other computers, please write it here. Is it because of the position of the disk partition, or that it's larger? pc232 is full, but the other computers have around the same disk usage. Note: /var and /tmp is on the same partition on all computers.