You are not logged in.

#1 2012-03-10 20:12:52

quasifilmie
Member
Registered: 2011-10-27
Posts: 296

"Disable" Udev and manually specify modules

I have read in many places that manually specifying modules instead of using udev results in a short boot time. How would I go about doing this? Right now I have i915 in my mkinitcpio.conf. Sorry if I am not being specific enough.

output of lsmod

fuse                   66922  2 
aes_x86_64              7508  3 
cryptd                  8309  0 
aes_generic            26138  1 aes_x86_64
arc4                    1410  2 
ath9k                  87407  0 
ath9k_common            2096  1 ath9k
ath9k_hw              347154  2 ath9k_common,ath9k
ath                    14802  3 ath9k_hw,ath9k_common,ath9k
mac80211              228527  1 ath9k
cfg80211              172260  3 mac80211,ath,ath9k
acer_wmi               19807  0 
sparse_keymap           3120  1 acer_wmi
rfkill                 15498  3 acer_wmi,cfg80211
broadcom                7270  0 
snd_hda_codec_hdmi     24121  1 
joydev                  9895  0 
serio_raw               4429  0 
uvcvideo               64311  0 
videodev               82101  1 uvcvideo
v4l2_compat_ioctl32     8316  1 videodev
media                  10597  2 videodev,uvcvideo
tg3                   134884  0 
psmouse                61311  0 
processor              25582  0 
snd_hda_codec_realtek   195674  1 
ac                      2344  0 
intel_ips              11213  0 
thermal                 7799  0 
battery                 6453  0 
wmi                     8475  1 acer_wmi
pcspkr                  1819  0 
i2c_i801                8187  0 
snd_hda_intel          23375  2 
libphy                 16985  2 tg3,broadcom
iTCO_wdt               11885  0 
snd_hda_codec          89160  3 snd_hda_intel,snd_hda_codec_realtek,snd_hda_codec_hdmi
iTCO_vendor_support     1961  1 iTCO_wdt
snd_hwdep               6389  1 snd_hda_codec
snd_pcm                74780  3 snd_hda_codec,snd_hda_intel,snd_hda_codec_hdmi
mei                    32414  0 
snd_page_alloc          7153  2 snd_pcm,snd_hda_intel
snd_timer              19544  1 snd_pcm
snd                    59214  11 snd_timer,snd_pcm,snd_hwdep,snd_hda_codec,snd_hda_intel,snd_hda_codec_realtek,snd_hda_codec_hdmi
soundcore               6210  1 snd
evdev                   9530  11 
btrfs                 610736  3 
crc32c                  2888  1 
libcrc32c               1034  1 btrfs
zlib_deflate           20340  1 btrfs
usbhid                 35352  0 
hid                    83555  1 usbhid
sr_mod                 14951  0 
sd_mod                 28307  5 
cdrom                  36617  1 sr_mod
ahci                   20037  4 
libahci                19559  1 ahci
libata                166654  2 libahci,ahci
ehci_hcd               40698  0 
scsi_mod              133548  3 libata,sd_mod,sr_mod
usbcore               146113  4 ehci_hcd,usbhid,uvcvideo
usb_common               954  1 usbcore
i915                  419250  8 
video                  11164  1 i915
button                  4470  1 i915
i2c_algo_bit            5263  1 i915
intel_agp              10904  1 i915
intel_gtt              14519  3 intel_agp,i915
drm_kms_helper         26137  1 i915
drm                   188435  4 drm_kms_helper,i915
i2c_core               20492  6 drm,drm_kms_helper,i2c_algo_bit,i915,i2c_i801,videodev
 

Offline

#2 2012-03-10 20:17:37

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: "Disable" Udev and manually specify modules

Can you post some links to the discussion where people say they get significantly faster boot his way?

Look in your rc.conf for a suitable place to specify your modules.

Offline

#3 2012-03-10 20:26:54

quasifilmie
Member
Registered: 2011-10-27
Posts: 296

Re: "Disable" Udev and manually specify modules

https://lwn.net/Articles/299483/

Not sure what a static dev directory means

Offline

#4 2012-03-10 20:29:57

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: "Disable" Udev and manually specify modules

Offline

#5 2012-03-10 20:48:00

Gusar
Member
Registered: 2009-08-25
Posts: 3,607

Re: "Disable" Udev and manually specify modules

I'd say the only way to measurably decrease boot time is to compile your own kernel which has critical stuff (sata/pata, filesystem) built-in, so that you can boot without an initramfs.

However, let me give you a warning here: You're about to spend hours and hours of research to then maybe shave off three or four seconds of boot time. How many times will you need to reboot to make up for all those hours? And now ask yourself: is it worth it?

Obsession with boot time is just that - obsession.

Offline

Board footer

Powered by FluxBB