Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then 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.
View Poll Results: From the bootloader till the login screen, how long does it take you to boot?
yeah, i know it's pointless, but it's just for fun. i'm basically just using boot time as a benchmark for how good people have their kernels configured.
My boot time is about 90 seconds to a bit more on a Dell Latitude CPi D300XT notebook running FC1. I am pretty new to Linux so I haven't done any tweaking of my kernel yet, but I will let ya know in about a week or so
Originally posted by sether yeah, i know it's pointless, but it's just for fun. i'm basically just using boot time as a benchmark for how good people have their kernels configured.
I gave you a wrong vote - hadn't timed it (or rebooted) since recompiling
the kernel. Maybe a mod will change it. Also, I'm a real Linux newb, but
was told that the system processes faster and is more secure without
modules, which is why all "lsmod" shows is nvidia and emu10k1. Maybe
some of these experts like trickykid and Tinkster will enlighten us. ;-)
It would also be useful to know if /etc/rc.d/rc.hotplug is even necessary
if you have all your usb devices built-in. I"ll search. But I think it wouldn't
be a good idea to stop ldconfig.
Originally posted by Chinaman I gave you a wrong vote - hadn't timed it (or rebooted) since recompiling
the kernel. Maybe a mod will change it. Also, I'm a real Linux newb, but
was told that the system processes faster and is more secure without
modules, which is why all "lsmod" shows is nvidia and emu10k1. Maybe
some of these experts like trickykid and Tinkster will enlighten us. ;-)
It would also be useful to know if /etc/rc.d/rc.hotplug is even necessary
if you have all your usb devices built-in. I"ll search. But I think it wouldn't
be a good idea to stop ldconfig.
Updated poll.
Also, I disable hotplug and ldconfig at startup. I just remember to run ldconfig after an installation of software, when its really necessary, not just at every boot.
Originally posted by sether yeah, i know it's pointless, but it's just for fun. i'm basically just using boot time as a benchmark for how good people have their kernels configured.
Its not just the kernel. My Slackware 10 machines are using the stock kernels.. so bloated but yet still so fast..
Okay, I just looked at /etc/rc.d/rc.M and it's got all manner of stuff
that I don't really need at boot...but how do you comment out lines
with all that
# Update all the shared library links:
if [ -x /sbin/ldconfig ]; then
echo "Updating shared library links: /sbin/ldconfig"
/sbin/ldconfig
fi
I don't understand that if and fi stuff. Can I comment all of it
out - those 4 lines?
This really started to bother me, so looked to see. I had a DVD in and that
was automounting, and a CD doing the same. Changed /etc/fstab for those
to noauto and that took 19 seconds off. Then I went into /etc/rc.d/rc.M and
started commenting out stuff I don't need at boot, such as hotplug, ldconfig,
and several servers.
Now I get from LILO to login prompt in 38 seconds...
I do the same thing as tricky, btw, ldconfig AFTER new
installs (actually it appears that checkinstall takes care
of that - if I manually run it after an install it returns instantaneously
which means that it must have just run before). Also have
PCMCIA disabled since I don't have any PCMCIA cards
these days. Hotplug is on, though, which probably explains
why my box is slower than tricky's ;)
#1) 1 year old Fujitsu Lifebook C SeriesLaptop P4 2.2 gigs, 512ram, ide 4200rpm 60gig, FC w/Gnome, takes 70 seconds.
#2) 3 years old Desktop built by me, P4 1.9 mhz overclocked, 1gig ram, ide 5200rpm 80gig, RH Enterprise V.3 w/Gnome, takes 50 seconds.
#3) 5 1/2 years old Desktop built by me, Dual P3 600mhz, 512ram, 2 Ultra-Wide-80Pin-SCSI 10,000rpm Atlas Quantum 18 gig hardrive each(the best hardrives I've used in my life!), RH Enterprise V.3 w/Gnome, takes 35 seconds.
cool.
zLinuxz
PS. these times are from push of button to GUI login.
woohoo, i just had to reboot, and i turned off ldconfig: 18 seconds, a new <meaningless> LQ record.
Just looked back through this thread to see if there was anything I might learn for my lappy, and noticed trickykid said "this is from pushing the Power Button to a login prompt."
I have more muscular PCs that his, but not that speed on boot.
Drew, would you email me a kernel .config file from the fastest and let me look?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.