Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230
HowTo Speed Up Boot & Increase Responsiveness (Desktop)
Re: HowTo Speed Up Boot & Increase Responsiveness (Desktop)
What about Upstart? It's in Sid repository, does anybody use that? Is it fast? (:
Re: HowTo Speed Up Boot & Increase Responsiveness (Desktop)
Nice and usefull post. I have a couple of things to try thats for sure.
Re: HowTo Speed Up Boot & Increase Responsiveness (Desktop)
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>
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.
Re: HowTo Speed Up Boot & Increase Responsiveness (Desktop)
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: http://forums.debian.net/viewtopic.php? ... 53#p243853
Luckily this was on an experimental system. I know I would get to keep both pieces.
Luckily this was on an experimental system. I know I would get to keep both pieces.
Re: HowTo Speed Up Boot & Increase Responsiveness (Desktop)
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.Hadret wrote:What about Upstart? It's in Sid repository, does anybody use that? Is it fast? (:
I mean I got some improvements with it.
Installed it on 3 computers and did not have any problems despite the warnings.
Debian Bullseye
Re: HowTo Speed Up Boot & Increase Responsiveness (Desktop)
I have used this one in the past and working well.julian67 wrote:Code: Select all
# echo 'CONCURRENCY=shell' >> /etc/default/rcS
Now it make my system not boot. populating dev and that's it.
How can I have it undone?
Debian Bullseye
Re: HowTo Speed Up Boot & Increase Responsiveness (Desktop)
Stian1979 wrote:I have used this one in the past and working well.julian67 wrote:Code: Select all
# echo 'CONCURRENCY=shell' >> /etc/default/rcS
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"
Re: HowTo Speed Up Boot & Increase Responsiveness (Desktop)
I Changed mine tojulian67 wrote:Stian1979 wrote:I have used this one in the past and working well.julian67 wrote:Code: Select all
# echo 'CONCURRENCY=shell' >> /etc/default/rcS
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
Code: Select all
# echo 'CONCURRENCY=startpar' >> /etc/default/rcS
Debian Lenny/Squeeze
Journeyman Plumber Massachusetts U.S.A.
If i can learn Linux any person can. I'm just a Plumber ya know.
Journeyman Plumber Massachusetts U.S.A.
If i can learn Linux any person can. I'm just a Plumber ya know.
Re: HowTo Speed Up Boot & Increase Responsiveness (Desktop)
Me too and it worked quite well.patrick wrote: I Changed mine toIt works fine.Code: Select all
# echo 'CONCURRENCY=startpar' >> /etc/default/rcS
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.
Debian Bullseye
Re: HowTo Speed Up Boot & Increase Responsiveness (Desktop)
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?
[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?
-
- Posts: 544
- Joined: 2008-10-25 12:00
- Location: Canada
Re: HowTo Speed Up Boot & Increase Responsiveness (Desktop)
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,
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,
- Rolling Stone
- Posts: 366
- Joined: 2009-02-15 18:55
- Location: Turku, Finland
Re: HowTo Speed Up Boot & Increase Responsiveness (Desktop)
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.
[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.
Re: HowTo Speed Up Boot & Increase Responsiveness (Desktop)
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.
- Rolling Stone
- Posts: 366
- Joined: 2009-02-15 18:55
- Location: Turku, Finland
Re: HowTo Speed Up Boot & Increase Responsiveness (Desktop)
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...
I guess you all knew that already but since it wasn't mentioned in the thread...
Re: HowTo Speed Up Boot & Increase Responsiveness (Desktop)
After installing readahead and after using this command:
I get:
No google results on this one.
Code: Select all
touch /etc/readahead/profile-once
Code: Select all
touch: cannot touch `/etc/readahead/profile-once': No such file or directory
If you scoop, it sounds like poop!
Re: HowTo Speed Up Boot & Increase Responsiveness (Desktop)
The command is described asBranimir wrote:After installing readahead and after using this command:
I get:Code: Select all
touch /etc/readahead/profile-once
No google results on this one.Code: Select all
touch: cannot touch `/etc/readahead/profile-once': No such file or directory
Code: Select all
# touch /etc/readahead/profile-once
Wisdom from my inbox: "do not mock at your pottenocy"
Re: HowTo Speed Up Boot & Increase Responsiveness (Desktop)
of course, I ran it as root, sorry for the typo
If you scoop, it sounds like poop!
Re: HowTo Speed Up Boot & Increase Responsiveness (Desktop)
Perhaps you're running Squeeze? I notice that in Squeeze readahead has been superceded by readahead-fedora which I assume is different (I didn't try it). If so then you should consult the man page on your system in preference to using this howto's readahead info. I've edited the howto accordingly.
Wisdom from my inbox: "do not mock at your pottenocy"
Re: HowTo Speed Up Boot & Increase Responsiveness (Desktop)
The error message implies there is no directory named readahead under /etc (which is weird because normally apps take care of those at install or at first run). Maybe create one and try again?
Q: Why is the Eunux kernel so bloated?
A: It was made in the image of its founder.
A: It was made in the image of its founder.