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

  • #11
    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.
    Are you talking about them not having the firewall activated by default? Because there is nothing listening on port 22 in a default Ubuntu install, you have to deliberately install openssh-server for that to happen.

    Originally posted by A1B2C3 View Post
    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.

    There is no hole in a default installation since nothing is listening on the port.

    Comment


    • #12
      Originally posted by reavertm View Post
      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.
      Name those cases please.

      Comment


      • #13
        Originally posted by skeevy420 View Post

        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.
        Canonical has ~5 developers doing "single user desktop" development.

        Comment


        • #14
          Originally posted by kloczek View Post

          Name those cases please.
          Modern, template heavy C++ code, in ex with iostream or boost usage in sensitive (from callgrind pov) places. Combined with some internal data structures reorganisation, in one project I remember going down from ~2 minutes execution time to ~6s I think. O3 alone shaved off half.
          Last edited by reavertm; 30 October 2024, 07:33 PM.

          Comment


          • #15
            I usually see considerable increase in the binary code size with -O3 compared to -O2. And, performance gain is not consistently higher with all source code. I think it would be much better if -O3, -O2, and -Os are applied selectively instead of using -O3 everywhere. Boot and program load times, disk/ram usage will increase without consistent increase in performance for all binaries otherwise.

            Comment


            • #16
              Originally posted by F.Ultra View Post
              There is no hole in a default installation since nothing is listening on the port.
              Also worth adding that very low numbered ports need a root capability to be listened on, so it's not like an unprivileged user could make use of it either. The default configuration is still well thought out.

              Comment


              • #17
                Here are the list of optimizations included for each level

                Comment


                • #18
                  Originally posted by A1B2C3 View Post
                  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.
                  ah you're the imbecile that firewalled ssh by default on opensuse tumblewed!

                  Comment


                  • #19
                    Originally posted by stefansaraev View Post
                    forcing -O3 is so retarded
                    I know; they should have gone full -Ofast

                    Comment


                    • #20
                      Originally posted by stan View Post
                      Ubuntu has gotten slower and slower with every consecutive release, both in boot time and latency/app startup.
                      How is Ubuntu getting "slower and slower" with every consecutive release?

                      I hate to be this kind of person, but, do you have any numbers to back up your claim? I know it's typical here to hate Canonical/Ubuntu but spreading misinformation?

                      Here's the most (Not) scientifically accurate boot time results obtained from an Ubuntu 24.10 installation running on a (Laptop) Core i5 13500H, 32GB of 4800 MT/s RAM kit and a Samsung 970 EVO 512GB.

                      Startup finished in 15.248s (firmware) + 1.047s (loader) + 1.963s (kernel) + 6.597s (userspace) = 24.857s
                      graphical.target reached after 6.568s in userspace.​


                      A sub 25 seconds boot time, is that slow by today standards (On a Laptop)? That's the same amount of time it takes Windows to boot on an x870E Motherboad.

                      Originally posted by stan View Post
                      Michael, do you think we can get one done for Ubuntu maybe going back to 10.04 or earlier?
                      You do realize a modern CPU will not boot on such an ancient Kernel? Ubuntu 10.04 was released on April 29th, 2010, Michael would need to find (Assuming he doesn't have) a RAM Kit, Motherboard and CPU from that era, totally defeating the purpose of the test because a Core i9 14900K, Ryzen 9 7950X completely smokes a Core i3, i5 from 2010.

                      Isn't your hardware getting older to today's software demands (amdgpu, Gnome, Kernel, systemd, etc)?
                      Last edited by carguello2; 30 October 2024, 09:44 PM. Reason: Typo

                      Comment

                      Working...
                      X