LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Ubuntu (https://www.linuxquestions.org/questions/ubuntu-63/)
-   -   Speeding up Eee PC 901 boot. (https://www.linuxquestions.org/questions/ubuntu-63/speeding-up-eee-pc-901-boot-901166/)

cascade9 09-06-2011 09:09 AM

Quote:

Originally Posted by ThatPerson (Post 4462568)
PCI/E Micro Adaptor, the speeds are: http://forum.eeeuser.com/viewtopic.p...742416#p742416

You'll find different results with HDtune, and probably the other disc benchmarkign software as well.

Quote:

Originally Posted by ThatPerson (Post 4462568)
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.

I've been confused before about what you want, sometimes its 'faster boot', sometimes its 'OS which generally performs well'. If you just installed openbox it would only make a real difference to login manager-> desktop times, not loading times. If oyou'ev got enough CPU/graphics power, there might not be any noticable difference between unity and openbox, once loaded.

Its not just the gnome processes and packages.

Quote:

Originally Posted by ThatPerson (Post 4462860)
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.

Why xubunt-desktop, not minimal install + Xfce4?

Even if your USB flash drive has got similar performance to the internal SSD, its going to be slower. USB uses far more CPU than a HDD/SDD, and you've CPU use is already maxed out for a lot of the boot process.

BTW, there are a few hints as to how to improve boot speed here-

https://wiki.ubuntu.com/ReducingDiskFootprint

Quote:

Originally Posted by ThatPerson (Post 4462888)
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)

So I think I will continue with Ubuntu.

Comparing apples and oranges there.....

anon02 09-06-2011 10:03 AM

Quote:

Originally Posted by cascade9 (Post 4462900)
You'll find different results with HDtune, and probably the other disc benchmarkign software as well.



I've been confused before about what you want, sometimes its 'faster boot', sometimes its 'OS which generally performs well'. If you just installed openbox it would only make a real difference to login manager-> desktop times, not loading times. If oyou'ev got enough CPU/graphics power, there might not be any noticable difference between unity and openbox, once loaded.

Its not just the gnome processes and packages.

It is a faster boot which I am trying to get, but installing Openbox did not speed up the boot because it already had the other desktop environment., and I would have to get rid of all of the packages.

Quote:

Originally Posted by cascade9 (Post 4462900)
Why xubunt-desktop, not minimal install + Xfce4?

I chose xubuntu-desktop as I already had a Xubuntu install CD, and I could not find a minimal disk. Did you mean something like ubuntu-core or ubuntu-server?

Quote:

Originally Posted by cascade9 (Post 4462900)

Even if your USB flash drive has got similar performance to the internal SSD, its going to be slower. USB uses far more CPU than a HDD/SDD, and you've CPU use is already maxed out for a lot of the boot process.

I took this into consideration and put it on the hard disk to test it. I would test it on my netbook but I only have 20GB of disk space, even though the desktop has over double the processing power so it should have been faster, yet it was still slower.


Quote:

Originally Posted by cascade9 (Post 4462900)
BTW, there are a few hints as to how to improve boot speed here-

https://wiki.ubuntu.com/ReducingDiskFootprint

Thanks for the link, I am going to look at it.


Quote:

Originally Posted by cascade9 (Post 4462900)
Comparing apples and oranges there.....

I know it is comparing a faster PC to a slower netbook, but that should push the point more. If Ubuntu on a slower computer boots faster than Xubuntu on a faster PC, that should signal that Ubuntu with my optimisations is faster.

cascade9 09-06-2011 10:35 AM

Quote:

Originally Posted by ThatPerson (Post 4462949)
I chose xubuntu-desktop as I already had a Xubuntu install CD, and I could not find a minimal disk. Did you mean something like ubuntu-core or ubuntu-server?

I was actually thinking of the 'alternate install' disc.

Pity that the only guide I can find for how to get Xfce4 installed on top of the alternate install CD is outdated.

Quote:

Originally Posted by ThatPerson (Post 4462949)
I took this into consideration and put it on the hard disk to test it. I would test it on my netbook but I only have 20GB of disk space, even though the desktop has over double the processing power so it should have been faster, yet it was still slower.

I know it is comparing a faster PC to a slower netbook, but that should push the point more. If Ubuntu on a slower computer boots faster than Xubuntu on a faster PC, that should signal that Ubuntu with my optimisations is faster.

3.4GHz dual core... if thats not new, then its a Pentium D (aka '2 P4 cores stuck together on one CPU').

The Pentium Ds have the same problems that the P4s have- long pipeline, and very slow for the MHz rating. The Pentium D probably would be 'faster' for long complicated calculations, but the atom would be faster to react, and be faster for smaller, lighter tasks (like loading an OS).

You cant just compare CPUs on GHz alone. Even if you could, the whole system needs to be taken into account- the old P4 could have a slower HDD and HDD system, slower memory, etc..

anon02 09-06-2011 11:38 AM

Quote:

Originally Posted by cascade9 (Post 4462987)

You cant just compare CPUs on GHz alone. Even if you could, the whole system needs to be taken into account- the old P4 could have a slower HDD and HDD system, slower memory, etc..

Ah, ok. I tried installing Xubuntu on a small partition on the netbook (5GB, I stole some space from /home and /usr) and tried again. This time it beat it at logging in, but Ubuntu still won by 4 seconds on the boot. Oh, and it is the Pentium D. Well done at guessing it.

widget 09-06-2011 12:32 PM

If you want the minimal install you need the netboot image. It will give you just enough OS to boot to. Text login and cli install what you want on from there.

Make a list before hand.

This is a link all Ubuntu users should have;
http://cdimage.ubuntu.com/

The netboot link is for the minimal install.

This link is from the "releases" link on the above linked page.
http://cdimage.ubuntu.com/releases/11.04/release/

You can get the alt install disk there.

anon02 09-06-2011 12:57 PM

Quote:

Originally Posted by widget (Post 4463107)
If you want the minimal install you need the netboot image. It will give you just enough OS to boot to. Text login and cli install what you want on from there.

Make a list before hand.

This is a link all Ubuntu users should have;
http://cdimage.ubuntu.com/

The netboot link is for the minimal install.

This link is from the "releases" link on the above linked page.
http://cdimage.ubuntu.com/releases/11.04/release/

You can get the alt install disk there.

So if I got the minimal, I could just type in:

sudo apt-get install xfce synaptic (Whatever the thing is for the software centre) freedoom epiphany networkmanager synaptics

Would it come with touchpad things?

widget 09-06-2011 02:02 PM

As I do not use a touch pad, I have no idea what touch screen things are.

The minimal install gives you the kernel and the dpkg tools and networking (wired). Everything else is up to you. Don't, for instance forget your xserver packages.

anon02 09-06-2011 02:38 PM

Quote:

Originally Posted by widget (Post 4463193)
As I do not use a touch pad, I have no idea what touch screen things are.

The minimal install gives you the kernel and the dpkg tools and networking (wired). Everything else is up to you. Don't, for instance forget your xserver packages.

Ah, thanks. I think for now I will stick with how it is, I know that way would be faster but I am rather new to linux and as I use my netbook a lot I would not want to mess it up.

alfplayer 09-06-2011 02:50 PM

I'd try to fix networking after hibernation. You can run any script after hibernation if that's what it takes to make it work.

ureadahead can be disabled, maybe e4rat makes it faster.

anon02 09-07-2011 01:48 AM

Quote:

Originally Posted by alfplayer (Post 4463239)
I'd try to fix networking after hibernation. You can run any script after hibernation if that's what it takes to make it work.

ureadahead can be disabled, maybe e4rat makes it faster.

Okay, I am going to try and fix it. Slightly later on today (I am going somewhere in 12 minutes) I will try e4rat and see if it is faster than ureadahead.


All times are GMT -5. The time now is 03:11 AM.