Ubuntu boot optimization strategy and oddity question
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
Ubuntu boot optimization strategy and oddity question
Well, I want to get Ubuntu blazing fast and I started out by changing the swappiness to just 10 and got a huge performance spike. I was very happy with that.
Then I used rcconf and GNOME's startup applications GUI and edited out quite a bit but still have a somewhat slow boot.
Well, the next thing I thought I should do is edit the inittab and rid my self of some surely unneeded services. Well, according to this website, Ubuntu doesn't use this inittab, but etc/event.d doesn't exist either!
Well I looked in /etc for something related to init, and I believe I have found where these services are called upon. /etc/init.d and /etc/init.
Now the files contain many scripts for different services so I was wondering how to edit these to turn them off to optimize my boot!
Do I comment out the unneeded ones?
My next question is what strategy should I use as I edit these?
I think I can get rid of "ssh" and "cups" and "samba" since I don't use these. Can someone point me to a nice list of services and their functions?
I just want to optimize Ubuntu as much as possible to not only have a fast computer for my self and family to use, but to impress Windows users with the speed that can be obtained from Linux!
Wow. Great response. Thanks for those links. I will have try those. Very impressive and makes me want to ask if your personally use those.
In fact, I'll keep this thread updated with any speed improvements I encounter. My current boot time is 43 seconds, and I feel the responsiveness of my system 1-10 is about a 6.
Well, I just added concurrency=shell to /etc/init.d/rc and didn't notice any significant improvement.
Next I am going to add noatime and nodiratime as options to my filesystems, but am unsure of how to do this. (I don't need, and have never even used searching for a file by time edited, made or update.)
Here is my fstab:
Code:
proc /proc proc defaults 0 0
# / was on /dev/sda1 during installation
UUID=53968190-4a60-4786-b36e-06d8d22f2475 / ext4 errors=remount-ro 0 1
# swap was on /dev/sda5 during installation
UUID=8c877574-db8c-48e6-bbd2-e449c66ef14f none swap sw 0 0
/dev/scd0 /media/cdrom0 udf,iso9660 user,noauto,exec,utf8 0 0
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.