Re: -O2 vs -O3

Date: Thu May 25 2000 - 13:34:46 EST

> Moreover, some experiments showed that, indeed, using -O3 (or -O9)
> instead of -O2 did not give a faster kernel. Reality rulez.
> --Thomas Pornin

This makes me wonder,what would be the best way to test the performance
of the kernel under different optimizations? I never did any real
kernel benchmarking and never been much interested in it so far... but
there must be tools for it! :-)

lmbench or so?

Then I could compile some stats for the kernel compiled with different
options (-O2, -06, -Os, and perhaps there are other useful options to
test with?)

It might be useful to have something like that documented somewhere! :-)


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
Please read the FAQ at

This archive was generated by hypermail 2b29 : Wed May 31 2000 - 21:00:14 EST