You are not logged in.
Pages: 1
hello!
i want to speedup my boot time. until now my laptop boots in 29s with the following config:
rc.conf:
MOD_AUTOLOAD="yes"
# Module Blacklist - modules in this list will never be loaded by udev
MOD_BLACKLIST=(pcspkr bluetooth irda intel-agp ipw3945)
#
# Modules to load at boot-up (in this order)
# - prefix a module with a ! to blacklist it
#
MODULES=(asus-acpi speedstep-centrino cpufreq-conservative nvidia r1000 \
snd-pcm-oss mmc-block)
mkinitcpio.conf
MODULES="generic piix reiserfs"
HOOKS="base udev autodetect ide resume filesystems"
i want to load up all modules via mkinitcpio. how can i do this? which modules can i add to MODULES= in mkinitcpio.conf. here are all needed information:
$ mkinitcpio -M
Modules autodetected:
ata_generic
ata_piix
libata
cdrom
ide-cd
ide-core
ide-disk
generic
piix
ieee1394
ohci1394
r1000
r8169
ipw3945
usbcore
ehci-hcd
uhci-hcd
bluetooth
ieee80211
ieee80211_crypt
jbd
ext3
reiserfs
$ hwdetect --modules
MODULES=(hci_usb cdrom agpgart intel-agp intel-rng rtc i2c-core evdev joydev pcspkr psmouse serio_raw tsdev mmc_core sdhci pci_hotplug shpchp nvidia snd-mixer-oss snd-pcm-oss snd-page-alloc snd-timer snd snd-hda-codec snd-hda-intel soundcore ata_generic ata_piix r1000 r8169 bluetooth ieee80211 ieee80211_crypt ipw3945 usbcore ehci-hcd uhci-hcd ieee1394 ohci1394)
$ lsmod
Module Size Used by
michael_mic 2816 4
arc4 2304 4
ecb 3072 4
ieee80211_crypt_tkip 10624 2
ipw3945 202916 1
ieee80211 29896 1 ipw3945
ieee80211_crypt 5120 2 ieee80211_crypt_tkip,ieee80211
ipv6 245824 10
nls_cp437 5888 1
vfat 10624 1
fat 46108 1 vfat
eth1394 16900 0
tsdev 6336 0
joydev 8384 0
sdhci 15756 0
ohci1394 31536 0
ieee1394 82392 2 eth1394,ohci1394
rtc 10292 0
snd_hda_intel 15768 0
snd_hda_codec 156800 1 snd_hda_intel
psmouse 35336 0
serio_raw 5636 0
ehci_hcd 29448 0
uhci_hcd 21260 0
evdev 8192 1
snd_seq_device 6796 0
mmc_block 6920 0
mmc_core 19204 2 sdhci,mmc_block
snd_pcm_oss 38944 0
snd_pcm 68612 3 snd_hda_intel,snd_hda_codec,snd_pcm_oss
snd_timer 18948 1 snd_pcm
snd_page_alloc 7816 2 snd_hda_intel,snd_pcm
snd_mixer_oss 14464 1 snd_pcm_oss
snd 44004 7 snd_hda_intel,snd_hda_codec,snd_seq_device,snd_pcm_oss,snd_pcm,snd_timer,snd_mixer_oss
soundcore 6624 1 snd
r1000 16652 0
nvidia 4705588 22
agpgart 26072 1 nvidia
i2c_core 17920 1 nvidia
cpufreq_conservative 6408 1
speedstep_centrino 8632 1
freq_table 4240 1 speedstep_centrino
asus_acpi 14616 0
usbcore 116100 3 ehci_hcd,uhci_hcd
ide_cd 35744 0
cdrom 34464 1 ide_cd
ide_disk 13440 4
reiserfs 235648 2
piix 9348 0 [permanent]
generic 5380 0 [permanent]
ide_core 108744 4 ide_cd,ide_disk,piix,generic
thx for all your help. tried it before but get some problems.
mfg iggy
sorry for my bad english
Offline
I don't think putting all your module in the initrd will speed up your boot. Your initrd will be bigger so it'll take more time to load. If you gain some time it won't be much. Probably not enough for the trouble.
You can background (some of) your daemons if you're not doing that already.
Offline
my daemons load in one second. so, there is no need to background them. but the section "Loading Modules" takes about 10 seconds! so i think there is potential to speed up!
sorry for my bad english
Offline
That is due to udev. There really isn't any way around it. udev needs to complete before boot can continue so as to make sure your harddrive modules are loaded.
Offline
The best way to speed up your boot is to compile your own kernel. I have Dell Latitude CSx (PIII 500, ~200Mb) and booting takes me about 16s.
Offline
Is it possible to put a module into the initcpio ram image? I've got this RTL8111/8168B PCI Express Gigabit Ethernet controler driver (r1000 anyone) which loads about 5-10 seconds... And it pisses me off.
Offline
Is it possible to put a module into the initcpio ram image? I've got this RTL8111/8168B PCI Express Gigabit Ethernet controler driver (r1000 anyone) which loads about 5-10 seconds... And it pisses me off.
thats my question: can i put my modules into the ram image? hm, compiling my own kernel is a nice idea, but i don't want to do that each time a new kernel-version is released!
Last edited by iggy (2007-01-30 15:16:08)
sorry for my bad english
Offline
Offline
Iggy, was bringts denn am Ende? Sitzt du wirklich 29 Sekunden vor dem PC, und schaust beim Booten zu? Die Zeit kann man doch sinnvoller nutzen. Einen Baum pflanzen, ein Haus bauen. Oder einfach mal wieder Nase bohren...
It's sports.
I want to slow down my booting, to have a chance to feed my kids, talk to my wife.
Last edited by Moo-Crumpus (2007-01-30 16:14:51)
Frumpus ♥ addict
[mu'.krum.pus], [frum.pus]
Offline
Iggy, was bringts denn am Ende? Sitzt du wirklich 29 Sekunden vor dem PC, und schaust beim Booten zu? Die Zeit kann man doch sinnvoller nutzen. Einen Baum pflanzen, ein Haus bauen. Oder einfach mal wieder Nase bohren...
ich nutze arch auf meinen laptop und da muss ich des öfteren mal schnell starten, will aber auch nicht immer suspend2disk verwenden, weil das einige probleme bereitet! z.b. startet krusader danach sehr, sehr langsam (30-60s).
It's sports.
I want to slow down my booting, to have a chance to feed my kids, talk to my wife.
time is money!
EDIT: just put the r1000 (my realtek gigabit ethernet) module into the ram image, because it loads in about 10s. no luck, still needs 10s to load.
Last edited by iggy (2007-01-30 23:45:33)
sorry for my bad english
Offline
made some little trick. i removed the r1000 module from rc.conf and now i'm loading it by the help of rc.local (modprobe r1000 &). it would be a nice feature to background module-loading in rc.conf (&<modulename>), like it is for daemons.
Last edited by iggy (2007-01-30 23:57:13)
sorry for my bad english
Offline
Puting extra modules into the initramfs image isn't going to do anything - why would you assume that would make things faster?
Offline
made some little trick. i removed the r1000 module from rc.conf and now i'm loading it by the help of rc.local (modprobe r1000 &). it would be a nice feature to background module-loading in rc.conf (&<modulename>), like it is for daemons.
That can be done, and was done before. Edit /etc/rc.sysinit.
Find this section.
# Load modules from the MODULES array defined in rc.conf
if ! [ "$load_modules" = "off" ]; then
if [ -f /proc/modules ]; then
stat_busy "Loading Modules"
for mod in "${MODULES[@]}"; do
if [ "$mod" = "${mod#!}" ]; then
/sbin/modprobe $mod
fi
done
stat_done
fi
fi
Just add the & after this line /sbin/modprobe $mod. That'll load all the modules concurrently. Should speed up the boot process, but, of course, no warranty.
~jnengland77
Last edited by jnengland77 (2007-01-31 23:03:14)
Offline
The best way to speed up your boot is to compile your own kernel. I have Dell Latitude CSx (PIII 500, ~200Mb) and booting takes me about 16s.
Do you know of a good guide for people that have no idea at all on how to do this?
Offline
Husio wrote:The best way to speed up your boot is to compile your own kernel. I have Dell Latitude CSx (PIII 500, ~200Mb) and booting takes me about 16s.
Do you know of a good guide for people that have no idea at all on how to do this?
Best tutorial ever: http://www.digitalhermit.com/linux/Kern … HOWTO.html
Offline
Now the problem with the bloody r1000 is that it's not part of the kernel. I mean, look at the PKGBUILD, it's compiled after the main kernel is built and is just attached to the package.
And yes, I used to build my own kernels (since 2.4.5 or 2.4.6 can't remember really ) since it was the only way in Slackware to get what you want. But now I don't have as much time as I've had before and compiling my own kernel every weekend is out of question.
Anyways, if it weren't for the stinkin' r1000 I would start up my laptop in 17s or so. And loading in the background doesn't help. Then it slows udev (because it gets recognized).
Offline
isn't it possible to blacklist it rc.conf.
then load it in rc.local ?
just a thought.
The.Revolution.Is.Coming - - To fight, To hunger, To Resist!
Offline
Pages: 1