|
Cables are cables. They should not matter. But I wanted to make sure. So
I did a very simple test. How fast is a disk copy with the old cables?
[dan@opti:~] $ time cp -r /usr/ports .
real 1m49.440s
user 0m0.454s
sys 0m10.352s
[dan@opti:~] $ time rm -rf ports
real 0m16.398s
user 0m0.157s
sys 0m2.008s
[dan@opti:~] $ time cp -r /usr/ports .
real 1m47.370s
user 0m0.352s
sys 0m10.593s
[dan@opti:~] $ time rm -rf ports
real 0m17.365s
user 0m0.137s
sys 0m2.084s
[dan@opti:~] $ time cp -r /usr/ports .
real 1m47.481s
user 0m0.439s
sys 0m10.541s
[dan@opti:~] $ time rm -rf ports
real 0m16.547s
user 0m0.133s
sys 0m2.048s
[dan@opti:~] $ time cp -r /usr/ports .
real 1m46.543s
user 0m0.479s
sys 0m10.588s
[dan@opti:~] $ time rm -rf ports
real 0m17.276s
user 0m0.105s
sys 0m2.125s
[dan@opti:~] $
OK, those are pretty consistent times.
Then I change the cables, and nearly die:
$ time cp -r /usr/ports .
real 2m30.969s
user 0m0.406s
sys 0m10.693s
*COUGH*
That's nearly 42% longer, with the only difference being the cables!
This can't be right. And it isn't. Let's try again:
$ time cp -r /usr/ports .
real 1m45.426s
user 0m0.438s
sys 0m10.645s
[dan@opti:~] $ time cp -r /usr/ports .
real 1m45.426s
user 0m0.438s
sys 0m10.645s
[dan@opti:~] $ time rm -rf ports
real 0m16.939s
user 0m0.136s
sys 0m2.133s
[dan@opti:~] $ time cp -r /usr/ports .
real 1m45.467s
user 0m0.575s
sys 0m10.710s
[dan@opti:~] $ time rm -rf ports
real 0m19.831s
user 0m0.134s
sys 0m2.300s
[dan@opti:~] $
OK, that's good. It was just a caching issue. Now the times are
back to what they were.
|