Slashdot Mirror


Ubuntu 11.10 Down To 12-Second Boot

deadeyefred writes "Even though it's still only in alpha, it appears as though the forthcoming version of Ubuntu, version 11.10, will be much faster than earlier versions, according to this story. Quoting: 'After installing the OS onto a PC with an Intel Core 2 Duo E8400 at 3.00 GHz and a hard disk drive, we stop-watched boot-up time at 12 seconds — more than three seconds faster than the previous best time we’ve measured.' It looks as if the switch from GDM to LightDM will have a significant impact as Ubuntu gets closer to 'instant on' status."

26 of 221 comments (clear)

  1. HDD -- SSD by NFN_NLN · · Score: 2

    I wonder what the boot time would be with SSDs?

    1. Re:HDD -- SSD by zonky · · Score: 3, Informative

      I have a HP Probook 5320m with SSD, with Full Disk Encryption (dmcrypt) running 11.04 x64. After entering my FDE keyphrase, i am at login window in around 3-4 seconds.

    2. Re:HDD -- SSD by krray · · Score: 2

      You'll spend more time in the POST than you will booting the OS up...

    3. Re:HDD -- SSD by Murdoch5 · · Score: 2

      I have to be honest, I'm so blown away by the boot time I really don't even care if it gets faster. SSD Is now the only drive type I buy, there so much faster that it's hard to go back to normal disks. Anyone who made the move will know what I mean, if you haven't don't because the speed change is to awesome.

    4. Re:HDD -- SSD by guruevi · · Score: 2

      After sleep mode the average Mac (SSD or not) takes 1 sec to come out of sleep, about 1s out of hibernation. IF (does anyone still turn off their laptop?) you turn off or reboot you get to a login prompt in about 16s. Even on non-SSD machines this is about similar, Snow Leopard and Lion use compressed directories to store much of the system and let the (ultrafast) memory and CPU handle the uncompressing while using less (ultraslow) hard disk bandwidth and seek time. I guess if you can get a compressed EXT4 or ZFS to boot Ubuntu off it would be at least 30-50% faster.

      --
      Custom electronics and digital signage for your business: www.evcircuits.com
    5. Re:HDD -- SSD by ObsessiveMathsFreak · · Score: 2

      Well, I'm running Ubuntu 10.10 on an SSD. The boot time is subdivided as follows:

      1) ~10 seconds for the BIOS to load and start grub
      2) ~10 seconds for Ubuntu to get to the login screen
      2.5) Optional 2 hour wait if Ubuntu decides to fsck all partitions again
      3) Upon login, ~30 second wait while the Nvidia driver try to configure the HDMI video.

      Overall, I can just about live with it. Unfortunately though, hibernate and suspend no longer work, so things could be a lot better.

      --
      May the Maths Be with you!
    6. Re:HDD -- SSD by WillKemp · · Score: 2

      2.5) Optional 2 hour wait if Ubuntu decides to fsck all partitions again

      It's not "ubuntu" that decides, it's the file system. You can stop it happening by setting the number of times the file system can be mounted before checking to 0 with tune2fs. For example:

      tune2fs -c 0 /dev/sda1

    7. Re:HDD -- SSD by jgagnon · · Score: 2

      I was wondering why you got marked flame bait. I agree with you, for the most part.

      The Linux community, especially the people working on driver technology, need to come to some common ground so the hardware folks don't have such a hard time supporting Linux. I'm rooting for Linux in the long run, but I don't see how they will hit any significant desktop numbers without some serious standardization on the driver front (like an ABI).

      --
      Remember to maintain your supply of /facepalm oil to prevent chafing.
  2. Re:Boot times? by tepples · · Score: 2

    How many people actually reboot their Linux systems?

    Anybody who applies a kernel update, now that Oracle has acquired Ksplice.

    I guess if you're on a laptop you might sometimes, but I just use Sleep functionality instead of cycles.

    My Dell Mini 10 runs Ubuntu 11.04. Leaving it in sleep for a couple days will fully drain the battery. So if I know I'm not going to be near a charger for several hours, I shut it down.

  3. cool by mewsenews · · Score: 2

    but unity still sucks

    1. Re:cool by RenHoek · · Score: 3, Insightful

      I hate Unity so much... I wiped the system and installed 10.04 again. I was perfectly happy with Gnome and the way things were set up.

      The problem, is that it's form trumping functionality. I hate Windows because they push 'features' onto you even if you don't want them. Microsoft knows what you want, and if you don't want it that way, it just means the problem must be you.

      The king of this trend is of course Apple, but then again they sell to a peculiar market anyway. It's like those people buy a car because it's pretty and do not even inquire about the mileage.

      Ubuntu was free of it, but now they are going the same way. They decide what you want, if you want it or not.

    2. Re:cool by Anonymous Coward · · Score: 4, Informative

      I hate Unity so much... I wiped the system and installed 10.04 again.

      That's crazy overkill; Unity is just the _default_ shell. Choose "Ubuntu Classic" from your login manager, and you'll see the familiar Gnome interface.

    3. Re:cool by shish · · Score: 2, Insightful

      Hope they get over it before the next LTS, or I'll be distro shopping myself.

      If you are presented with a choice of two desktops (as you are, if you have installed 11.04), and you can't manage to choose the one that you like that even comes pre-installed for your convenience, I recommend you go shopping for a mac :-)

      (Seriously, WTF has happened to the tech knowledge of the average slashdotter recently? A few years ago every man and his dog was writing his own window manager from scratch, and now people don't even realise that the world outside of default settings exists...)

      --
      I mod down anyone who says "I will be modded down for this", regardless of the rest of their comment
    4. Re:cool by Nimey · · Score: 3, Informative

      In 11.04. ISTR reading that GNOME 2.x goes away in 11.10, so yes, you're probably better off sticking with LTS until Canonical un-fucks their desktop environment.

      --
      Hail Eris, full of mischief...

      E pluribus sanguinem
  4. Re:Debian concurrent boot by Just+Brew+It! · · Score: 2

    If you're referring to upstart, IIRC that was actually an Ubuntu (Canonical) project.

  5. Re:What a time-saver! by TrekkieGod · · Score: 3, Insightful

    Those extra three seconds during my monthly reboot are really going to add up!

    That's what I was thinking. If the only advantage of switching from GDM to LightDM is that they can book 3 seconds faster, it's not worth it. Going from 15 seconds to 12 seconds is not significant at all.

    In fact, here's a simpler rule. If you need to use your stopwatch to determine whether the boot sequence got faster or not, then it's not significant.

    --

    Warning: Opinions known to be heavily biased.

  6. My media PC gets shut off a lot by Wee · · Score: 2

    I typically don't run the media PC hooked up to my TV unless I'm actually watching a movie or listening to music. Because of a hardware peculiarity, the power button won't put it into standby like my desktop PC. So I just leave it shut off unless I'm using it. It's got 10.04 on it now and boot time is about 30 seconds (never timed it, I usually turn it on and head to he kitchen for a drink). I'd love a fast boot time.

    -B

    --

    Ash and Hickory, straight-grained and true, make excellent bludgeons, dandy for the cudgeling of vegetarians.

  7. Re:Boot times? by perryizgr8 · · Score: 3, Informative

    i get a 'restart your computer' message every other update.

    --
    Wealth is the gift that keeps on giving.
  8. Re:Boot times? by cuby · · Score: 2

    I shutdown my laptops a lot.
    Hibernate takes forever to recover (I don't run only firefox...), so I don't use it.
    Slep is Ok but for 2 or 3 times I forgot a laptop for several days and the battery got completely dead. Needless to say that its charge capacity is now around +-20%. Li-ion batteries should no be completely discharged.
    Now I think twice before using sleep.
    (I use Ubuntu)

    --
    Math is beautiful... e^(pi*i)+1=0
  9. Same result here! by Sepultura · · Score: 3, Funny

    That's about how long it took me with Unity before I gave it the boot too!

  10. Boot times mean nothing by PenquinCoder · · Score: 2

    They are a retarded thing to try and 'show-off'. Who cares that it takes you 12 seconds to start doing something, when the system you load into can't even get past screwing things up release after release. Ubuntu needs to fix it's many recurring, regressions, and add some functionality to other wise lacking programs/code.

  11. Boot time vs. actually doing something useful by saccade.com · · Score: 4, Insightful

    I'm always skeptical of these "Boots in N seconds!" claims. Because often it takes another few -minutes- to log in, launch an application, and start doing something useful. We need a new metric. Say, the time it takes from power on to fully loading an uncached copy of example.com in a browser.

  12. Re:Boot times? by Thing+1 · · Score: 2

    Hi, I've found that in most menuing systems (Windows XP primarily, although I use Ubuntu exclusively at home and it works similarly), if you left-click the "menu button" to open the menu, and then left-click and drag on the menu, you'll end up choosing a menu item much more often than if you left-click to open the menu, then move the mouse, then left-click again.

    I've found that often (30%?) when I do the latter, I'll end up clicking outside of the menu, and possibly causing a side-effect. Whereas, if I left-click and drag on the menu, if I happen to release "off-menu" it won't count it as a click; the menu just disappears, and I merely need to start the gesture over. Which is much better than clicking something unexpected, which might delete things... This behavior has provided me with reduced swearing at the computer; YMMV.

    --
    I feel fantastic, and I'm still alive.
  13. Re:Try it on a current processor... by Nursie · · Score: 2

    That depends if it's processor bound. I have a feeling the disk is pretty important, maybe more important.

    With a bit of tweaking I managed to get debian squeeze to boot on my netbook in 20 seconds, on an atom processor. I think the SSD is probably the key there.

  14. What a time saving by BestNicksRTaken · · Score: 2

    I wonder how much development time has been wasted saving you 12 seconds per month?

    Development time that could have been used fixing Gnome3, PulseAudio, Systemd......

    --
    #include <sig.h>
    1. Re:What a time saving by Just+Some+Guy · · Score: 2

      None whatsoever, because the people that hardcore into systems work probably wouldn't work on PulseAudio if you held them at gunpoint.

      --
      Dewey, what part of this looks like authorities should be involved?