How to benchmark kernel (-Os vs -O2)
Posted
by
NightwishFan
on Super User
See other posts from Super User
or by NightwishFan
Published on 2011-01-15T05:51:38Z
Indexed on
2011/01/15
5:55 UTC
Read the original article
Hit count: 229
It seems logical to me that on a 64-bit kernel compiling it to optimize for size might help overall. (My distro of choice uses -O2) It has the benefits of more registers and memory and perhaps less cache contention than normal optimized code. I have a kernel compiled like this and it seems excellent. However my question is how can I prove this? I like using Phoronix for "real world" sort of benchmarks so I would prefer to test cases like that. What should I pick to test? Does anyone else have any alternatives? Thank you very much in advance.
© Super User or respective owner