Announcement

Collapse
No announcement yet.

Ubuntu 25.04 "Plucky Puffin" Development Opens - Defaulting To -O3 Optimizations

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Ubuntu 25.04 "Plucky Puffin" Development Opens - Defaulting To -O3 Optimizations

    Phoronix: Ubuntu 25.04 "Plucky Puffin" Development Opens - Defaulting To -O3 Optimizations

    Canonical has announced the formal state of the Ubuntu 25.04 "Plucky Puffin" development. Among other early changes are now defaulting to -O3 compiler optimizations rather than the default -O2 optimization level when building Debian packages...

    Phoronix, Linux Hardware Reviews, Linux hardware benchmarks, Linux server benchmarks, Linux benchmarking, Desktop Linux, Linux performance, Open Source graphics, Linux How To, Ubuntu benchmarks, Ubuntu hardware, Phoronix Test Suite

  • #2
    forcing -O3 is so retarded, if one ever wants to force optimizations it has to be -Os, nothing more, nothing less. leave the rest to package maintainers.

    Comment


    • #3
      Originally posted by stefansaraev View Post
      forcing -O3 is so retarded, if one ever wants to force optimizations it has to be -Os, nothing more, nothing less. leave the rest to package maintainers.
      It's not forced... it's just the default.

      Comment


      • #4
        stefansaraev

        Nowadays, yeah, forcing O3 isn't necessarily the best practice. Back in the day it mattered more because the farther back in time you go the less aggressive of flags O2 shipped with by default. O2 these days is like some Gentoo user's setup from 2009. That's something Ubuntu would know if they read Phoronix.

        It makes me wonder if someone in marketing made this decision because they see it as faster, everywhere without accounting for the capabilities of the underlying CPU, if accounting made the decision because doing V-level or march/mtune builds like CachyOS costs too much, or if the person who made the decision is simply old and doesn't keep up with the times.

        Comment


        • #5
          Originally posted by A1B2C3 View Post
          can someone tell me why on all distributions like Ubuntu from the box all ports like port 22 are open? It's a desktop. it's not clear then all this fuss with security when distribution manufacturers leave such holes. well, really, what kind of security can we talk about if we open port 22 on destope? the newcomer will install it, and only the lazy one will not come to him.
          SSH access and ease-of-use by default.

          Comment


          • #6
            Originally posted by stefansaraev View Post
            forcing -O3 is so retarded, if one ever wants to force optimizations it has to be -Os, nothing more, nothing less. leave the rest to package maintainers.
            No thanks.

            "-Os [...] causes the compiler to tune for code size rather than execution speed, and performs further optimizations designed to reduce code size​"

            Comment


            • #7
              Kjell

              "Optimize for size. -Os enables all -O2 optimizations except those that often increase code size. GggIt also enables -finline-functions, causes the compiler to tune for code size rather than execution speed, and performs further optimizations designed to reduce code size​"
              Dude said the R word. One of the words that damn-near instantly triggers the auto-mod. That's why I "atted" him instead.

              Comment


              • #8
                I've seen O3 run twice as fast as O2 in some cases, I think it's good for Ubuntu to try such defaults out at least.
                Last edited by reavertm; 30 October 2024, 05:25 PM.

                Comment


                • #9
                  Ubuntu has gotten slower and slower with every consecutive release, both in boot time and latency/app startup. It’s been a long time since Phoronix has done boot time comparisons to track changes in OS releases. Michael, do you think we can get one done for Ubuntu maybe going back to 10.04 or earlier?

                  Probably the biggest optimization would be to not package anything in the default system with Snap or Flatpack and instead let users add these slow packages themselves if they really want them.

                  Comment


                  • #10
                    Originally posted by A1B2C3 View Post

                    This is a desktop! why use ssh by default? this is not a server. if it's a desktop, then you always have physical access to the computer because it's on your desk. but the hole is huge. It's just a stab in the back for a beginner.
                    Because desktops are configured for one-size-fits-all which means anything from VMs, remote/cloud services, corporate users ... single user desktops aren't necessarily their first concern because those aren't the users that provide Ubuntu/Canonical with an income while the users who want and need SSH access by default are paying customers.

                    Comment

                    Working...
                    X