News: 0001482996

  ARM Give a man a fire and he's warm for a day, but set fire to him and he's warm for the rest of his life (Terry Pratchett, Jingo)

Canonical Evaluating -O3 Optimized Packages For Ubuntu Linux

([Ubuntu] 59 Minutes Ago Ubuntu -O3 Compiler Optimizations)


With Ubuntu 24.04 LTS the engineers at Canonical began [1]focusing more on the performance of Ubuntu and establishing a performance team at the company. This work is ongoing and for Ubuntu 24.10 they are exploring another exciting area: leveraging "-O3" compiler optimizations for Ubuntu packages. Available today is an experimental build of the Ubuntu desktop and server ISOs that are compiled for the -O3 optimization level.

Canonical is exploring package builds with the "-O3" compiler optimization level rather than the "-O2" default to better the performance of Ubuntu Linux. As shown in the past with many [2]-O3 performance articles , upping the compiler optimizations can offer a very real and often significant increase to the performance of applications/workloads pushing the system from creator applications to HPC computing and other areas.

Canonical will be exploring and benchmarking their -O3 optimized packages over the coming weeks before making any decisions whether it will become the default for Ubuntu moving forward. This would be really great to see happen and part of Canonical's broader effort to enhance the Ubuntu desktop/server performance. I'll be running my own benchmarks of the Ubuntu -O3 optimized ISOs in the coming days.

Those wanting to try it out can find the experimental [3]server image and [4]desktop image of Ubuntu 24.04 LTS rebuilt with the "-O3" optimization level. More details on the -O3 exploration via [5]Ubuntu Discourse .

Stay tuned for my tests of the -O3'ed Ubuntu in the coming days.

Now if only they would consider the "performance" governor by default at least for their Ubuntu server images...



[1] https://www.phoronix.com/news/Ubuntu-24.04-Perf-Tools-Propose

[2] https://www.phoronix.com/search/-O3

[3] https://people.canonical.com/~mwh/noble-server-o3.iso

[4] https://people.canonical.com/~mwh/noble-desktop-o3.iso

[5] https://discourse.ubuntu.com/t/exploring-o3-optimization-for-ubuntu/46892



jeffridder

edwaleni

ahrs

kylew77

varikonniemi

ms178

ahrs

TheMightyBuzzard

avis

If wishes were horses, then beggars would be thieves.