On Thursday, October 31, 2024, Jakub Jelinek <jakub@xxxxxxxxxx> wrote:
On Wed, Oct 30, 2024 at 10:46:01PM -0400, Neal Gompa wrote:
> I know the idea of moving to -O3 has been briefly mentioned before in
> other contexts when we've discussed uplifting the flags, but it looks
> like Ubuntu is moving to -O3 for Ubuntu 25.04[1]. Is there a reason
> why we shouldn't consider doing the same for Fedora Linux 42?
Yes, this is a very bad idea.
-O3 significantly increases code size (and the speed up gains aren't really
guaranteed), which is highly undesirable when the vast majority of code in
the distro isn't performance critical, the I-cache footprint is then more
important.
Isn't instruction cache footprint already part of "performance" i.e if performance is improved it shouldn't matter and vice versa, or what am I missing?
-- _______________________________________________ devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue