Ubuntu will most likely revert the -O3 optimizations
The Ubuntu team was contemplating enabling the -O3
compiler optimization level for all packages on Ubuntu as a default optimization level. It was said to improve the performance of all the packages. It was one of the most significant changes that Ubuntu had witnessed in the early cycle of development of the Plucky Puffin version around October. The mailing list entry said:
* dpkg-buildflags defaults to -O3 instead of -O2. This might require changes in package builds. Please be aware that we already build with -O3 on ppc64el, so look for possible packaging adjustments.
We told you earlier in the article that the binary size for the packages would be bigger, and that there were some uncertainty about whether all packages would benefit from this level of optimization.
Benchmarking results for the packages that were built with the -O3
optimization level were kind of disappointing, because the Ubuntu team had discovered that:
- overall system performance slightly declined, and
- binary sizes increased.
However, they had seen that some workloads saw improvements when enabling this optimization level. Given the uncertainty that was posted in the same plan laid out in the mailing list, the Ubuntu team will give a detailed posting about the benchmarking results in the next few weeks.
As a result, the team has decided to revert the -O3
compiler optimization level for all the packages and revert to what was previously working, which was -O2
. They are likely to revert the change soon to prevent problems when this version of Ubuntu gets released in April.
#O3 #2504 #news #Optimization #Plucky #PluckyPuffin #Puffin #Tech #Technology #Ubuntu #Ubuntu2504 #Ubuntu2504Plucky #Ubuntu2504PluckyPuffin #Ubuntu2504Puffin #update