HowTo Speed Up Boot & Increase Responsiveness (Desktop)

Share your own howto's etc. Not for support questions!

Postby jalu » 2009-02-24 19:49

it wouldn`t hurt if that would be a sticky

(like you said: its about 10 minutes of work and, as far i can tell,
the system seems to be much more solid now
+ one is getting interested in the 'problem/topic'
+ its important for everyone).
thanks for that jalu
jalu
 
Posts: 1397
Joined: 2008-11-19 23:26

Re: HowTo Speed Up Boot & Increase Responsiveness (Desktop)

Postby Hadret » 2009-05-15 15:21

What about Upstart? It's in Sid repository, does anybody use that? Is it fast? (:
User avatar
Hadret
 
Posts: 354
Joined: 2007-07-19 13:04
Location: Berlin

Re: HowTo Speed Up Boot & Increase Responsiveness (Desktop)

Postby lbm » 2009-05-25 10:19

Nice and usefull post. I have a couple of things to try thats for sure.
User avatar
lbm
 
Posts: 494
Joined: 2009-05-16 09:24
Location: Denmark

Re: HowTo Speed Up Boot & Increase Responsiveness (Desktop)

Postby hameau » 2009-07-13 12:48

I have been a satisfied user of CONCURRENCY=shell since the end of last year, running Lenny (when it was testing) and subsequently Squeeze.

I'm pretty sure that it was recent updates to sysvinit (v2.86.ds1-63) that broke my system, boot stopping with a flashing cursor and no further action (further details below). Commenting the CONCURRENCY=shell line in /etc/default/rcS restored booting.

Interestingly, the difference between with and without CONCURRENCY=shell in the current Squeeze is almost too small to notice, though it certainly made a bigger difference when I first used it.

=====

For the sake of those Googling later, these were the significant lines from the boot process (not the full output):
getpt: no such file or directory
could not get pty for /etc/rcS.d/S02hostname.sh
could not get pty for /etc/rcS.d/S02mountkernfs.sh

The final line to appear before the boot process stopped indefinitely:
Waiting for /dev to be fully populated ... done
<flashing cursor>
Nick.
hameau
 
Posts: 257
Joined: 2008-11-13 17:42
Location: France

Re: HowTo Speed Up Boot & Increase Responsiveness (Desktop)

Postby dbbolton » 2009-07-17 22:57

I would like to mention, for those so inclined, that after installing insserv and setting the concurrency variable, I could not boot into my system. After removing the package and commenting out the concurrency line, I could once again boot: viewtopic.php?f=10&t=41738&p=243853#p243853

Luckily this was on an experimental system. I know I would get to keep both pieces.
GitHub | zsh docs in Letter PDF

Telemachus wrote:Put down the CGI.
User avatar
dbbolton
 
Posts: 2133
Joined: 2007-06-20 08:17
Location: Iapetus

Re: HowTo Speed Up Boot & Increase Responsiveness (Desktop)

Postby Stian1979 » 2009-08-29 17:30

Hadret wrote:What about Upstart? It's in Sid repository, does anybody use that? Is it fast? (:


I use it and it was originaly developed for ubuntu I belive, when it made it into squeeze and has ben used also for fedore I think it should be quite stable by now.
I mean I got some improvements with it.
Installed it on 3 computers and did not have any problems despite the warnings.
Image
Stian1979
 
Posts: 301
Joined: 2007-07-29 14:57

Re: HowTo Speed Up Boot & Increase Responsiveness (Desktop)

Postby Stian1979 » 2009-08-29 18:22

julian67 wrote:
Code: Select all
# echo 'CONCURRENCY=shell' >> /etc/default/rcS




I have used this one in the past and working well.
Now it make my system not boot. populating dev and that's it.
How can I have it undone?
Image
Stian1979
 
Posts: 301
Joined: 2007-07-29 14:57

Re: HowTo Speed Up Boot & Increase Responsiveness (Desktop)

Postby julian67 » 2009-08-29 19:14

Stian1979 wrote:
julian67 wrote:
Code: Select all
# echo 'CONCURRENCY=shell' >> /etc/default/rcS




I have used this one in the past and working well.
Now it make my system not boot. populating dev and that's it.
How can I have it undone?


Code: Select all
# echo 'CONCURRENCY=none' >> /etc/default/rcS
Wisdom from my inbox: "do not mock at your pottenocy"
User avatar
julian67
 
Posts: 4648
Joined: 2007-04-06 14:39
Location: Just hanging around

Re: HowTo Speed Up Boot & Increase Responsiveness (Desktop)

Postby patrick » 2009-09-01 15:17

julian67 wrote:
Stian1979 wrote:
julian67 wrote:
Code: Select all
# echo 'CONCURRENCY=shell' >> /etc/default/rcS




I have used this one in the past and working well.
Now it make my system not boot. populating dev and that's it.
How can I have it undone?


Code: Select all
# echo 'CONCURRENCY=none' >> /etc/default/rcS


I Changed mine to
Code: Select all
# echo 'CONCURRENCY=startpar' >> /etc/default/rcS

It works fine.
Debian Lenny/Squeeze
Journeyman Plumber Massachusetts U.S.A.
If i can learn Linux any person can. I'm just a Plumber ya know.
User avatar
patrick
 
Posts: 35
Joined: 2007-06-10 14:57
Location: Holland Massachusetts U.S.A.

Re: HowTo Speed Up Boot & Increase Responsiveness (Desktop)

Postby Stian1979 » 2009-09-02 13:33

patrick wrote:I Changed mine to
Code: Select all
# echo 'CONCURRENCY=startpar' >> /etc/default/rcS

It works fine.


Me too and it worked quite well.
I can now get into my desktop invironment in less then 1 minute.
I doubt it posible to get it any faster without disabling things I use and trow out the ultra slow 5400rpm hardisk.
Image
Stian1979
 
Posts: 301
Joined: 2007-07-29 14:57

Re: HowTo Speed Up Boot & Increase Responsiveness (Desktop)

Postby Hadret » 2010-02-05 13:56

Is there any easy way of managing scripts in /etc/rc?.?? Cause I have some I need to disable and wondered if there's any simpler way than renaming symlinks starting with S to start with K and than launching update-rc.d script defaults...

[edited]

Got it -- *sysv-rc-conf* (:

Also, is there any place that explains how Debian is booting and which /etc/rc's are launched in what time?
User avatar
Hadret
 
Posts: 354
Joined: 2007-07-19 13:04
Location: Berlin

Re: HowTo Speed Up Boot & Increase Responsiveness (Desktop)

Postby oOarthurOo » 2010-04-16 23:18

My normal boot was 48.8 seconds. Of that, 6 is for the bios, 4 is for Grub2. So, let's say an even 10 seconds is something other than the system booting up.

Normal boot is therefore 38.8 seconds.

Installed readahead-fedora (readahead just points at this I believe), rebooted twice to allow it to profile the boot. Third reboot was 33.5, so about 5 seconds saved.

Then I tried to install insserv and found it was already installed, strange, but I set concurrency to shell. Reboot was timed again and came in at a slightly faster 32.2, so saved about 1 second with that.

That's right to a useable gnome desktop by the way, with network manager up and running and all panels and wallpapers brought up and ready. It's roughly 10 seconds from GDM to ready desktop, though I never timed that part.

Oh and I've got a pretty slow 7200 rpm hard-drive, because I like things quiet rather than super speedy.

Update
Created a bit of a problem here. Made some changes to /etc/readahead.conf and so wanted to regenerate my profile. Removed the four custom files under /etc/readahead.d and rebooted, thinking it would regenerate. But that is how ubuntu's readahead operates. Oops.

Reinstalling doesn't fix it. Though i haven't tried purging then reinstalling. Can't touch /etc/readahead/profile-once, because that directory doesn't exist. Touch /etc/readahead.d/profile-once doesn't work either. Gonna look for a solution, but if you know of one before I post back please clue me in.

Cheers,
oOarthurOo
 
Posts: 545
Joined: 2008-10-25 12:00
Location: Canada

Re: HowTo Speed Up Boot & Increase Responsiveness (Desktop)

Postby Rolling Stone » 2010-06-16 16:09

If you're the sole user and use autologin you can save a few megabytes of RAM by replacing gdm with nodm.

[I run Trisquel these days (a FSF approved Debian derivative via Ubuntu) so your mileage may vary. No refunds.]

nodm is an autologin display manager. When you install the nodm package, gdm will be removed. Then you will want to edit /etc/X11/default-display-manager to point to nodm instead of gdm and then edit /etc/default/nodm to first enable nodm and then you probably want to login as somebody else besides root. (If you don't edit these files, you can funk your .Xauthority file. Ask me how I know...)

Should you logout, you will be automagically login again at once. Restarts and reboots work just like they used to.
User avatar
Rolling Stone
 
Posts: 372
Joined: 2009-02-15 18:55
Location: Turku, Finland

Re: HowTo Speed Up Boot & Increase Responsiveness (Desktop)

Postby Grimnar » 2010-08-13 06:04

Since this is a desktop version, how about a server version? Not that booting is that relevant, but I bet there are some other stuff to disable and such.
User avatar
Grimnar
 
Posts: 173
Joined: 2008-03-30 16:24

Re: HowTo Speed Up Boot & Increase Responsiveness (Desktop)

Postby Rolling Stone » 2010-08-16 07:07

I never boot these days, I only hibernate. A custom kernel with the TuxOnIce patch makes it really smooth and quicker than anything else out there. :)

I guess you all knew that already but since it wasn't mentioned in the thread...
User avatar
Rolling Stone
 
Posts: 372
Joined: 2009-02-15 18:55
Location: Turku, Finland

PreviousNext

Return to Docs, Howtos, Tips & Tricks

Who is online

Users browsing this forum: No registered users and 8 guests

fashionable