[sclug] Re: performance puzzle
Graham
lists at Information-Cascade.co.uk
Sun Jul 10 13:14:48 UTC 2005
A HOLE! (Thats the file, not you ...)
You are misdirecting us into presuming that you did
what we would, in such a circumstance. (perf testing)
This is a trick question.
> 4763dafae2d293e98b62979a00308158 baz
>
> real 0m21.172s
> user 0m3.010s
> sys 0m1.225s
>
> 4763dafae2d293e98b62979a00308158 foo
>
> real 0m4.554s
> user 0m3.201s
> sys 0m1.341s
> #
The CPU still has to do similar work, (more!)
but the disk transfer isnt "sand through the hourglass",
saving 15-21 seconds.
The interesting thing is that the user + sys is higher.
Can you run this many times and get an average?
Maybe the sampling whilst blocked is inaccurate.
What happens with time cat or time dd ? (md5 is cpu bound)
Graham
More information about the Sclug
mailing list