This single digit accuracy is coming from a minor integer division bug
in lmbench.
Appended LMbench patch should resolve it.
Thanks,
-Venkatesh
--- LMbench/src/lat_pagefault.c.org Mon Mar 24 10:40:46 2003
+++ LMbench/src/lat_pagefault.c Mon Mar 24 10:54:34 2003
@@ -67,5 +67,5 @@
n++;
}
use_int(sum);
- fprintf(stderr, "Pagefaults on %s: %d usecs\n", file, usecs/n);
+ fprintf(stderr, "Pagefaults on %s: %f usecs\n", file, (1.0 *
usecs) / n);
}
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/