UbuntuThis forum is for the discussion of Ubuntu Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Recently I heard of people getting a 10 second boot on Ubuntu, so I tried to reach it. I got down to about a 24 second boot, and then 15 seconds to desktop and 5 to WiFi. On booting, it goes BIOS - Blinking white underscore - Plymouth - Login, with the underscore being the longest, being about 16 seconds long. I know there are things going on, but nearing the end there are very long times between things, such as:
And I was thinking of a way to make it faster. Also, the speed of getting to the desktop needs working on. Taking the same time as the boot to get to a working desktop is not in my eyes very good, so any tips?
So far I have removed Gwibber and the Me Menu, removed some fonts, changed Grub to 0 seconds (I never use it as I only have 20GB of disk space so would not dual boot), done some thing to remove a purple screen which is up after the blinking _, and removed the error which came from removing that. I then enabled it to use multicores to boot, as the 901 has Hyperthreading so it may improve.
Has anyone got any ideas? The dmesg output is attacheddmesg.txt
Distribution: Debian Testing, Stable, Sid and Manjaro, Mageia 3, LMDE
Posts: 2,628
Rep:
You do not say what hardware you are running.
The fast times, Ubuntu was shooting for 10 seconds, were to be on small devices (tablets) with what ever the most popular processor is for them.
That said, you should be able to, on some hardware, get close to that.
Are you running bootchart? That is the recognized timer for this speed. It will actually add a couple seconds to your time but it also gives you a very nice, if large, graph of your boot process. Probably the thing to pinpoint what is going on.
The only time I've heard of people getting 'sub 10 seocnd boots' with ubuntu has been with very fast SSDs, and fast multi-core CPUs. Those times tend to be not to desktop, but to login manager-
The fast times, Ubuntu was shooting for 10 seconds, were to be on small devices (tablets) with what ever the most popular processor is for them.
That said, you should be able to, on some hardware, get close to that.
Are you running bootchart? That is the recognized timer for this speed. It will actually add a couple seconds to your time but it also gives you a very nice, if large, graph of your boot process. Probably the thing to pinpoint what is going on.
The hardware is an Asus Eee PC 901 with a Intel Atom N270 Hyperthreading 1.6GHz processor, 2GB of 533Mhz RAM, 4GB SSD, 16GB SSD, Elantech touchpad, 1.3MP Webcam, Dual array microphones (Not sure of the name).
I am going to try bootchart, I will get back with the response.
The only time I've heard of people getting 'sub 10 seocnd boots' with ubuntu has been with very fast SSDs, and fast multi-core CPUs. Those times tend to be not to desktop, but to login manager-
Right, I used Bootchart and found that ureadahead, upstart-udev-br and udevd run constantly, along with rsyslogd, dbus-daemon, console-kit-dae, modem-manager, and there is a huge gap between wpa_supplicant, waiting about 15 seconds for upowerd, which seems to be the slow down.
Gnome does not seem to be a major issue, the maximum gap is between gnome-session and gnome-settings.
It took 25 seconds according to it, Disk throughput, and disk utilization are not woking for the first 3 seconds, quiet from 7 seconds till 8, 17 seconds till 19 is the same, after 21 seconds there is hardly anything.
Gnome itself might not be 'a major issue' but its farily easy to see that loading the gnome parts is using quite a bit of CPU, which is part of why your booting is slow (check the CPU and I/O wait graph at the top).
BTW, if you compare the CPU and I/O graph to the disc utilisation/disc throughput graph you can see that CPU is much more heavily used.
Sure, adding a faster SSD would help, but adding a faster CPU could actually help more. If it was possible in an EEE PC anyway.
Quote:
Originally Posted by ThatPerson
I am going to put a smaller distro on one day, but I will probably wait until I get a much faster SSD (Maximum of 250MB/s, on 4k write 40MB/s).
Pretty pointless on an EEE PC 901. That computer uses the 945GSE/ICH7-M chipset, and the ICH7-M only has SATA I (SATA 1.5 Gbit/s). Max trasfer speed is 150MB/sec.
I'd try a more minimal setup, or a lighter distro, before I'd go buying an SSD that will be at least slightly 'crippled'.
Gnome itself might not be 'a major issue' but its farily easy to see that loading the gnome parts is using quite a bit of CPU, which is part of why your booting is slow (check the CPU and I/O wait graph at the top).
BTW, if you compare the CPU and I/O graph to the disc utilisation/disc throughput graph you can see that CPU is much more heavily used.
Sure, adding a faster SSD would help, but adding a faster CPU could actually help more. If it was possible in an EEE PC anyway.
Pretty pointless on an EEE PC 901. That computer uses the 945GSE/ICH7-M chipset, and the ICH7-M only has SATA I (SATA 1.5 Gbit/s). Max trasfer speed is 150MB/sec.
I'd try a more minimal setup, or a lighter distro, before I'd go buying an SSD that will be at least slightly 'crippled'.
Ah, sorry about that, I meant to write 150MB/s. That is still much better than the current disk, 60MB/s maximum and 0.1MB/s 4k write.
With Xubuntu is there an Ambience theme for it? With the buttons on the left? Also, is there a way to install it and keep all of the current programs and files?
Wow, somebody actually wants the buttons on the left...why?
I've always thought that it was stupid the way that the moved the buttons to the left 'to make room for windicators' with 10.04. 11.04, and whats the message from saint shuttleworth? -
Quote:
“I’d love to see [Windicators] done, but it’s not critical to “getting Unity out there” which is our mission for 11.04.”
Also, is there a way to install it and keep all of the current programs and files?
Yes. But if you install xubunt-desktop you will get more programs installed.....it could even make booting slower, at least to the display manager. See the package list here-
Wow, somebody actually wants the buttons on the left...why?
I've always thought that it was stupid the way that the moved the buttons to the left 'to make room for windicators' with 10.04. 11.04, and whats the message from saint shuttleworth? -
Well, I use Ubuntu quite a lot and have got used to them on the left :P.
Quote:
Originally Posted by cascade9;4462456
Yes. But if you install xubunt-desktop you will get more programs installed.....it could even make booting slower, at least to the display manager. See the package list here-
Hmm.... I will probably make a list of items to install an leave apt-get installing them. And backup my documents and everything to put Xubuntu on here.
One note though, Unity currently is very quick, and I tried OpenBox on here, and it didn't really seem to be much faster at loading applications, so I do not really see what the point of putting a lighter desktop environment on, except to stop the Gnome processes at boot.
Last edited by anon02; 09-06-2011 at 01:56 AM.
Reason: Too many [/QUOTES]
I would hibernate it, but one problem with hibernating on the 901 with Ubuntu is afterwards you cannot get a internet connection. I had a look at the e4rat software, but it does not like another package called ureadahead. Thanks for the help anyway.
I have decided to install Xubuntu onto a USB stick which has more or less the same characteristics as the SSD inside (Same size, read/write speeds, etc) on a trial basis to time, optimize and see if it gets 10 seconds, if so I will install it.
I would use xPUD, however I do not use the web very much, I more program.
I have decided to install Xubuntu onto a USB stick which has more or less the same characteristics as the SSD inside (Same size, read/write speeds, etc) on a trial basis to time, optimize and see if it gets 10 seconds, if so I will install it.
I would use xPUD, however I do not use the web very much, I more program.
Quite a development. Turns out that my optimisation on Ubuntu 11.04 has actually made it FASTER at booting than a freshly installed system. Speeds below:
3.4Ghz Dual Core 1.5GB RAM running Xubuntu from power button to log in screen: 30 seconds~
1.6GHz Hyperthreading 2GB RAM running optimised Ubuntu from power button to login screen: 23 seconds~
Then from login to desktop:
3.4GHz Dual Core 1.5GB RAM running Xubuntu from log in screen to desktop: 20 seconds (At 10 it has a large white bar with most icons loaded, but it only loads how it should look after 20.)
1.6GHz Hyperthreading 2GB RAM running optimised Ubuntu from login to desktop: 14 seconds (Displays nothing until the end of it loading)
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.