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
        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.

        Comment


        • #5
          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


          • #6
            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


            • #7
              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


              • #8
                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


                • #9
                  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


                  • #10
                    Originally posted by skeevy420 View Post

                    SSH access and ease-of-use by default.
                    simplicity and convenience for intruders?

                    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.
                    Last edited by A1B2C3; 30 October 2024, 05:38 PM.

                    Comment

                    Working...
                    X