By using this site, you agree to the Privacy Policy and Terms of Use.
Accept
World of SoftwareWorld of SoftwareWorld of Software
  • News
  • Software
  • Mobile
  • Computing
  • Gaming
  • Videos
  • More
    • Gadget
    • Web Stories
    • Trending
    • Press Release
Search
  • Privacy
  • Terms
  • Advertise
  • Contact
Copyright ยฉ All Rights Reserved. World of Software.
Reading: Ubuntu Provides More Insight Into Their Decision Not To “-O3” Optimize All Packages
Share
Sign In
Notification Show More
Font ResizerAa
World of SoftwareWorld of Software
Font ResizerAa
  • Software
  • Mobile
  • Computing
  • Gadget
  • Gaming
  • Videos
Search
  • News
  • Software
  • Mobile
  • Computing
  • Gaming
  • Videos
  • More
    • Gadget
    • Web Stories
    • Trending
    • Press Release
Have an existing account? Sign In
Follow US
  • Privacy
  • Terms
  • Advertise
  • Contact
Copyright ยฉ All Rights Reserved. World of Software.
World of Software > Computing > Ubuntu Provides More Insight Into Their Decision Not To “-O3” Optimize All Packages
Computing

Ubuntu Provides More Insight Into Their Decision Not To “-O3” Optimize All Packages

News Room
Last updated: 2025/03/28 at 6:48 AM
News Room Published 28 March 2025
Share
SHARE

Since last year Canonical had been investigating using -O3 compiler optimizations for their Ubuntu package builds in the name of delivering better performance for Ubuntu Linux. A few weeks back though they decided they would not use -O3 optimizations for all packages. They have now provided more engineering insight into their reasoning and the results of their investigation into -O3 compiler optimizations for more packages.

Long story short, with distribution-wide -O3 compiler optimizations they didn’t have enough compelling performance benefits to justify the effort. They also found some performance regressions and the -O3 optimizations adversely impacting some load times as well as larger binary sizes in some cases.

For example, they found a 12% performance hit to GNU Radio, TIFF decompression regressed by nearly 12% too, the size of all Debian packages increased by about 6% with an -O3 optimization default, and the size of the desktop ISO increased by just under 4%.

On the Ubuntu Discourse they summed up their findings and concluded with:

“Distro-wide O3 does not seem to provide better performance and regresses it in interactive tasks. It affects load times by up to 11.9% which is detrimental to container workloads that strive for fast application startup.

Overall, this regression is mostly caused by the increase in the executable size. In addition, in some situations -O3 and Link Time Optimization together can result in excessive function inlining which then in turn regresses performance (presumably through register pressure or instruction cache thrashing).

It is fair to say that all of this is inline with conventional wisdom: -O3 can help in some situations but is not a sensible default. But it is definitely better to verify this than just rely on folk knowledge! In addition we still want to investigate more ways to improve the performance of Ubuntu, and each time we exercise our benchmarking muscles we will get better at it.”

At least they will still explore selectively enabling -O3 optimizations for some packages where it makes sense with justifiable performance benefits.

Ubuntu 25.04 beta

Ubuntu 25.04 is due for release in mid-April and does bring some other performance benefits while more performance tests are ongoing.

Sign Up For Daily Newsletter

Be keep up! Get the latest breaking news delivered straight to your inbox.
By signing up, you agree to our Terms of Use and acknowledge the data practices in our Privacy Policy. You may unsubscribe at any time.
Share This Article
Facebook Twitter Email Print
Share
What do you think?
Love0
Sad0
Happy0
Sleepy0
Angry0
Dead0
Wink0
Previous Article Utah Governor Signs Bill That Puts App Stores in Charge of Age Verification
Next Article Woman-led businesses deliver higher returns with a fraction of support, research shows – UKTN
Leave a comment

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Stay Connected

248.1k Like
69.1k Follow
134k Pin
54.3k Follow

Latest News

๐Ÿ‘จ๐Ÿฟโ€๐Ÿš€ Daily โ€“ Starlink sets up shop in Guinea-Bissau |
Computing
How to delete Instagram 2025 – iPhone, iPad
News
Keep online browsing safe for the whole family with AdGuard, now ยฃ12 for life
News
Capybara Go! takes $40 million in overseas revenue within two months of launch ยท TechNode
Computing

You Might also Like

Computing

๐Ÿ‘จ๐Ÿฟโ€๐Ÿš€ Daily โ€“ Starlink sets up shop in Guinea-Bissau |

2 Min Read
Computing

Capybara Go! takes $40 million in overseas revenue within two months of launch ยท TechNode

1 Min Read
Computing

The HackerNoon Newsletter: Addicted to Your AI? New Research Warns of Social Reward Hacking (6/18/2025) | HackerNoon

3 Min Read
Computing

TuSimple rebrands as CreateAI

4 Min Read
//

World of Software is your one-stop website for the latest tech news and updates, follow us now to get the news that matters to you.

Quick Link

  • Privacy Policy
  • Terms of use
  • Advertise
  • Contact

Topics

  • Computing
  • Software
  • Press Release
  • Trending

Sign Up for Our Newsletter

Subscribe to our newsletter to get our newest articles instantly!

World of SoftwareWorld of Software
Follow US
Copyright ยฉ All Rights Reserved. World of Software.
Welcome Back!

Sign in to your account

Lost your password?