Announcement

Collapse
No announcement yet.

Ubuntu 11.04 Boot Performance Compared To Past Releases

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

  • bobwya
    replied
    Slow boot - record

    Originally posted by FunkyRider View Post
    Are't they supposed to release this by tomorrow? Sounds like an overall failure to me.
    No it is just an intermediate release... Inteprid had a kernel I needed (for SATA PM support) but also had a whopper memory leak (in x64 version) that didn't receive any backported fixes. 9.04 had that nightmare (for older ATI users) Xorg update... If you want a good stable release then always go for the LTS ones!

    Anyway complaining about slow boots should see how slow my Server boots with the Silicon Image SATA HCI driver. With multiple SATA drives (connected via port-multipliers) my boot time (on a dual-Opteron 2.6Ghz socket 940 system) is running into 2 minutes (that's just for the kernel - then I've got to start the desktop manager, etc.) Off to make a cup of tea... Just glad I don't need to reboot very often!

    Leave a comment:


  • FunkyRider
    replied
    Are't they supposed to release this by tomorrow? Sounds like an overall failure to me.

    Leave a comment:


  • disi
    replied
    Ubuntu

    Originally posted by Elv13 View Post
    Ridiculous, I can boot Linux in 7 second (to the desktop, with postponed services once Qt and KDElibs are done loading) on a 5400rpm hdd on my laptop and they can't do it in less then 20 sec on a 3x faster SSD...

    All they do in Ubuntu is not needed to boot corectly, udev is nice, but it is possible to replicate its features with a bash script sniffing dmesd hardware initalization until it is ready to start, some for urandom and some other. Using python at boot is also not the best choice in the world, it's nice, but slow to start. GDM is totally useless 95% of the time and is about 30mb. It take 17 lines of C to replicate the core functionalities (user switching and envvar init) or we can use "login", but it need to start quite late in the process. By starting very few services while preloading X is the best. Dbus and sysfs are needed for advanced DE, but not with minimals one.
    this is a Ubuntu only thread, I guess. So you cannot just say abandon gdm. Also, gdm needs to start a lot of libraries for accessibility features and language support etc.
    If you want to build a distribution for everyone, that means you have to include every possibility.

    My Gentoo laptop has an SSD and boots in ~4-5seconds with openrc. There was a discussion to move to something else, I am wondering if systemd would be faster?

    Leave a comment:


  • conorsulli
    replied
    Rubbish

    Originally posted by loonyphoenix View Post
    These are not regressions. Software regressions are bugs; these are simply unfortunate side-effects from using a new desktop environment, namely Unity.

    Interesting info otherwise, though. Thanks.
    Unity boots faster on 11.04 than classic desktop in 11.04 for me, even after clearing ureadahead to preload the correct environment..

    They are regressions , not linked to Unity. Unity is fast and was designed to be light - if anything that is one thing it does do, whatever side you bat from.

    Leave a comment:


  • Kano
    replied
    Now i installed U 11.04 again, ok you don't need to call pybootchartgui manually with that bootchart version, the pngs are already in /var/log/bootchart together with a date + number. But it is about 3-4s slower than Kanotix with swap.

    Leave a comment:


  • Kano
    replied
    They like to lose speed with ureadahead. Not sure if this will go away with later boots. Do you see that takes about 10s time?

    Leave a comment:


  • Elv13
    replied
    Ridiculous, I can boot Linux in 7 second (to the desktop, with postponed services once Qt and KDElibs are done loading) on a 5400rpm hdd on my laptop and they can't do it in less then 20 sec on a 3x faster SSD...

    All they do in Ubuntu is not needed to boot corectly, udev is nice, but it is possible to replicate its features with a bash script sniffing dmesd hardware initalization until it is ready to start, some for urandom and some other. Using python at boot is also not the best choice in the world, it's nice, but slow to start. GDM is totally useless 95% of the time and is about 30mb. It take 17 lines of C to replicate the core functionalities (user switching and envvar init) or we can use "login", but it need to start quite late in the process. By starting very few services while preloading X is the best. Dbus and sysfs are needed for advanced DE, but not with minimals one.

    Leave a comment:


  • Kano
    replied
    I benchmarked my fastest system with a Kanotix 64 stock install onto my new ssd without swap and with 6 gb swap (thats what u would create with auto settings). As it has got 6 gb ram it got that much swap. The differences are realy extreme...



    and now with 6 gb swap



    it seems that the system waits for the activation of swap. After that test i tried to remove unused services got get an even higher bootspeed. Removing of lvm, cryptsetup, dmraid, mdadm, plymouth gave the hugest boost, the rest only minimal. Well huge is a bit overrated for that system, thats the fastest i got when i tried:



    I also noticed that bootchart (1) does not go over 90 mb/s, therefore i tried bootchart2 as well but it did not stop at the right time, it was a bit higher the value first and a bit later it did not stop at all, did not debug that case however. But there i saw thruput rates over 200 mb/s (when it ran too long). When i wanted to benchmark natty the bootchart tool from universe did not track anything, it has got no /sbin/bootchartd there, so in theory it should be activated via the initramfs - at least it looked like that. But i never got profiling data... What was used for natty and how was it activated?

    Leave a comment:


  • kbios
    replied
    In my opinion, users really wanting fast boot times need to customize their system. A general-towarded distribution will always have useless things (for some users). With a custom kernel, only essential services and a fast SSD my system takes 7s from grub to a full kde4 session.

    On a side note, if cpu frequency scaling is enabled (as on most laptops), in my experence boot times will typically double, as the cpu boots in the lowest power state.

    Leave a comment:


  • bug77
    replied
    Michael, you should have linked an older article about how they were targeting a 10s boot time.

    On a more serious note, when all laptops boot the same, from Atom to Core2, HDD or SSD, something's not right.

    Leave a comment:

Working...
X