Messages in this thread | | | Date | Mon, 23 Sep 2002 11:24:01 -0700 | From | Andrew Morton <> | Subject | Re: [BENCHMARK] Corrected gcc3.2 v gcc2.95.3 contest results |
| |
Erik Andersen wrote: > > On Mon Sep 23, 2002 at 08:30:21PM +1000, Con Kolivas wrote: > > Yes you make a very valid point and something I've been stewing over privately > > for some time. contest runs benchmarks in a fixed order with a "priming" compile > > to try and get pagecaches etc back to some sort of baseline (I've been trying > > hard to make the results accurate and repeatable). > > It would sure be nice for this sortof test if there were > some sort of a "flush-all-caches" syscall... >
Yes, it would be nice.
Unmounting and remounting the test filesystem is usually sufficient. Or you can run
main() { memset(malloc(1024*1024*1024), 0, 1024*1024*1024); }
a couple of times. - 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/
| |