in reply to utime vs. open/close
. This was running on an ancient Pentium 100MHz! - very little disk activity detected so I guess we are seeing caching again. As far as I can tell the whole subject of benchmarking is prone to this sort of behaviour - I think it is very difficult to interpret the results unless you understand what was going on. If the machine was heavily loaded and there was contention for cache then you might see different results.Benchmark: timing 3000000 iterations of changestat, openfile... changestat: 4 wallclock secs ( 3.88 usr + -0.02 sys = 3.86 CPU) @ 778 +008.30/s (n=3000000) openfile: 0 wallclock secs ( 1.01 usr + -0.02 sys = 0.99 CPU) @ 3024 +193.55/s (n=3000000)
|
|---|