FG

How to benchmark kernel (-Os vs -O2)

Fresh3 days ago
Mar 15, 20263353 views
Confidence Score0%
0%

Problem

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 excellen…

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: How to benchmark kernel (-Os vs -O2)

Low Risk

If your -Os compiled kernel "seems excellent" I think you shouldn't care benchmarking it, here is why: The problem with benchmarks will always be to choose what types of loads you test. Even if Phoronix Test Suite is fine to highlight differences be…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment