Speeding up Eee PC 901 boot.
1 Attachment(s)
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:
Code:
[ 13.505441] <==== rt28xx_init, Status=0 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 attachedAttachment 7938 |
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-
http://www.dedoimedo.com/computers/ubuntu-ssd-boot.html Even if you got a fast SSD, the slow atom single core N270 is going to make booting slower. I still think that the advice I gave you on your other thread is the best way to reduce booting times (without changing hardware anyway)- http://www.linuxquestions.org/questi...-power-900085/ |
Quote:
I am going to try bootchart, I will get back with the response. |
Quote:
|
1 Attachment(s)
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. The file is attached. Attachment 7939 |
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:
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'. |
Quote:
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? |
Quote:
Quote:
http://xfce-look.org/content/show.php?content=141027 http://www.linuxquestions.org/questi...-theme-829183/ 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:
*stops typing before it turns into a rant* Quote:
http://packages.ubuntu.com/natty/xubuntu-desktop If you install Xfce4 you will not get all the cruft that goes with xubunt-desktop- http://packages.ubuntu.com/natty/xfce4 |
Do you consider hibernating (suspending to disk)?
Also, this software might help: http://e4rat.sourceforge.net/ (I don't know if it works with Ubuntu). |
Quote:
Quote:
Quote:
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. |
Quote:
|
Might look at xpud for how they sped up a boot.
I think part of this is the system you have. |
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. |
Quote:
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) So I think I will continue with Ubuntu. |
All times are GMT -5. The time now is 03:35 AM. |