LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 12-16-2006, 08:02 AM   #1
deadlinx
Member
 
Registered: Feb 2006
Location: Italy
Distribution: Ubuntu FreeBSD
Posts: 92

Rep: Reputation: 15
speed up Edgy boot


Hi,

I'd like to speed up my brand new Edgy installed on my laptop.

I'm used to start, at boot time, only necessary scripts (such as acpi, frequency scaling..) so I kill scripts I think are unuseful or not necessary at boot time.

I'm not a seasoned Ubuntu geek so I'd like to kill some scripts in /etc/rc2.d and /etc/rcS.d but I'd like to "hear" your opinions 'cause I don't know the new Ubuntu boot style very well.

I think I can also kill, without problems, these scripts in /etc/rcS.d:

cupsys --> printer
hplip --> hp printer
rsync --> rsync daemon
bluetooth --> bluetooth daemon
usplash --> splash image @ boot
rc.local --> personal boot script
anacron --> similar to cron
festival --> voice server
hotkey-setup --> special keys for laptops, I never used special
keys

I renamed with K all these scripts in /etc/rc2.d, thay are not so useful at boot time for my laptop.

I think I can also kill, without problems, these scripts in /etc/rcS.d:

pcimciautils -> 'cause I don't use pcimcia port
brltty --> 'cause I don't need to use Braille ;-)
dns-clean --> 'cause I don't use a dial-up connection
ppp-dns --> 'cause I think it's obsolete
mountnfs-bootclean --> 'cause I've not NFS file systems
waitnfs --> same reason
checkfs --> 'cause it takes time and I think it's not necessary at
every boot
checkroot --> same reason, it could be useful every 30 boots or
something like this.


Please, give me a feedback, what you think about killing these processes? I think it's secure, no possible problems, and the boot time should be something like 12 secs faster!

Thank you in advance,

deadlinx
 
Old 12-16-2006, 08:17 AM   #2
bluesman2333
Member
 
Registered: Dec 2003
Location: Phoenix, Az.
Distribution: Xubuntu Edgy
Posts: 330

Rep: Reputation: 30
What you are looking to do sounds reasonable. I've never bothered because my boot times are so short anyway. You can always kill the processes then use the system to see how everything works before you change filenames.
 
Old 12-22-2006, 04:50 AM   #3
deadlinx
Member
 
Registered: Feb 2006
Location: Italy
Distribution: Ubuntu FreeBSD
Posts: 92

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by bluesman2333
I've never bothered because my boot times are so short anyway. You can always kill the processes then use the system to see how everything works before you change filenames.

Hi,

I think there's something wrong in this reply:

1- Sometime you wont see effects of killing processes till next reboot.

2- If you are using the P4 (2,5GHz as you've written) and boot scripts out-of-the box your
boot time is not so fast and if it could be faster I think tuning is a good idea, don't
you?

3- With Edgy some boot scripts moved from /etc/rc2.d to /etc/rcS.d such as brltty.
Apart scripts originally lying in /etc/rc2.d it's not sufficient to rename the script,
in /etc/rcS.d, if we don't like it to start at boot time.

The reason is lots of scripts in /etc/rcS. have dependencies, it means if you don't want
this process at boot time you have to rewrite scripts not just rename them.


For instance it's not necessary to check filesystems everytime at boot so we could desire to disable the script checkfs.sh 'cause we are not interested in controlling other filesystem, apart root one, unfortunately this script has dependencies so the only way to disable it is to redesign and rewrite scripts depending on it.

I consider this procedure of rewriting but it takes a lot of time, so nevermind I'll use more often hibernation.

I can gain time with a little "trick": I remove all partions in /etc/fstab, except root and swap, so the script still remain at boot time, but it doesn't have partion to check!

I hope this could be useful,


deadlinx

----------------------------------------------------------------------------------------------
Ubuntu Edgy, flwm, Core Duo T2400 (1,83Ghz)
 
Old 12-22-2006, 08:36 AM   #4
bluesman2333
Member
 
Registered: Dec 2003
Location: Phoenix, Az.
Distribution: Xubuntu Edgy
Posts: 330

Rep: Reputation: 30
When I said my boot times are fast, I meant it. I'm very happy with Xubuntu on this 2.5 GHZ Intel box.
 
Old 12-23-2006, 06:10 AM   #5
deadlinx
Member
 
Registered: Feb 2006
Location: Italy
Distribution: Ubuntu FreeBSD
Posts: 92

Original Poster
Rep: Reputation: 15
nevermind

Quote:
Originally Posted by bluesman2333
When I said my boot times are fast, I meant it. I'm very happy with Xubuntu on this 2.5 GHZ Intel box.
Hi,

I believe you're happy with your machine and I'm happy you are
anyway the focus point of this discussion was boot scripts management.

sincerely,

deadlinx
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Edgy hangs at boot, probing for hdc Disco cat Ubuntu 2 11-01-2006 11:31 PM
any way to speed up the boot BCarey Slackware 7 10-06-2006 07:02 PM
speed up boot time? murrowman789 Slackware 34 06-28-2005 02:50 PM
How to speed-up boot process? registering Mandriva 4 04-21-2005 02:21 AM
how to speed up the boot time? taoweijia Fedora 4 07-07-2004 08:01 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 02:55 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration