You are not logged in.

#1 2006-01-12 12:41:56

xaos5
Member
Registered: 2005-12-30
Posts: 75

Remove modules from boot

I have a few modules I believe don't need to be started and are unused. If I removed these would I benefit from it at all (faster boot, better performance)?
here is what I seen could be removed: snd_intel8x0, pcspkr, xfs, and jfs
big thing I want out is the snd_intel8x0 because I don't think that should be here.

[david@arch ~]$ lsmod
Module                  Size  Used by
udf                    88708  0
isofs                  33728  1
zlib_inflate           18176  1 isofs
snd_seq_midi            7328  0
yealink                11648  0
ohci_hcd               20100  0
ehci_hcd               33160  0
usbhid                 48928  0
usblp                  11904  0
usb_storage            75072  0
ppp_generic            28052  0
slhc                    6656  1 ppp_generic
nvnet                  70052  0
snd_intel8x0           30620  0
snd_ac97_codec         95136  1 snd_intel8x0
snd_ac97_bus            2176  1 snd_ac97_codec
nvsound              1540920  2
snd_mpu401              5576  0
snd_mpu401_uart         6784  1 snd_mpu401
snd_rawmidi            21152  2 snd_seq_midi,snd_mpu401_uart
snd_seq_oss            33408  0
snd_seq_midi_event      6400  2 snd_seq_midi,snd_seq_oss
snd_seq                51984  5 snd_seq_midi,snd_seq_oss,snd_seq_midi_event
snd_seq_device          7436  4 snd_seq_midi,snd_rawmidi,snd_seq_oss,snd_seq
snd_pcm_oss            50848  0
snd_pcm                84100  3 snd_intel8x0,snd_ac97_codec,snd_pcm_oss
snd_timer              22148  2 snd_seq,snd_pcm
snd_page_alloc          8840  2 snd_intel8x0,snd_pcm
snd_mixer_oss          17920  1 snd_pcm_oss
snd                    49124  12 snd_intel8x0,snd_ac97_codec,snd_mpu401,snd_mpu401_uart,snd_rawmidi,snd_seq_oss,snd_seq,snd_seq_device,snd_pcm_oss,snd_pcm,snd_timer,snd_mixer_oss
soundcore               8160  4 nvsound,snd
nvidia               4083312  12
shpchp                 44768  0
pci_hotplug            26692  1 shpchp
parport_pc             26436  1
serio_raw               6148  0
pcspkr                  2052  0
analog                 11040  0
ns558                   4996  0
gameport               12424  4 analog,ns558
evdev                   8064  0
rtc                    10932  0
ppdev                   7812  0
lp                      9860  0
parport                33736  3 parport_pc,ppdev,lp
nvidia_agp              6556  1
agpgart                29904  2 nvidia,nvidia_agp
w83627hf               25488  0
hwmon_vid               2560  1 w83627hf
eeprom                  5904  0
w83l785ts               5904  0
i2c_isa                 3968  1 w83627hf
i2c_nforce2             6144  0
i2c_core               18176  5 w83627hf,eeprom,w83l785ts,i2c_isa,i2c_nforce2
usbcore               121604  7 yealink,ohci_hcd,ehci_hcd,usbhid,usblp,usb_storage
ntfs                  229392  1
xfs                   615552  0
reiserfs              269424  1
jfs                   192636  0
ext3                  133256  0
jbd                    58132  1 ext3
sata_nv                 7044  0
libata                 54156  1 sata_nv
sd_mod                 15744  0
ide_floppy             18048  0
ide_cd                 39556  1
cdrom                  38688  1 ide_cd
ide_disk               16000  5
generic                 4356  0 [permanent]
amd74xx                14364  0 [permanent]
ide_core              120272  6 usb_storage,ide_floppy,ide_cd,ide_disk,generic,amd74xx

Offline

#2 2006-01-12 15:33:18

ozar
Member
From: USA
Registered: 2005-02-18
Posts: 1,686

Re: Remove modules from boot

Yes, your system would boot faster if you keep any unused modules from loading.  My own system boots in about 12 seconds now.


oz

Offline

#3 2006-01-12 17:32:40

xaos5
Member
Registered: 2005-12-30
Posts: 75

Re: Remove modules from boot

12 seconds from kernel to gui? That seems a bit to fast to be true if so. Can I safely remove snd_intel8x0 and the others listed above or does nvsound rely on snd_intel8x0?

Offline

#4 2006-01-12 21:09:03

ozar
Member
From: USA
Registered: 2005-02-18
Posts: 1,686

Re: Remove modules from boot

xaos5 wrote:

12 seconds from kernel to gui? That seems a bit to fast to be true

No, I never boot directly into X... that's to a command prompt.   Better add about 3 seconds if I'm going to log in, and then issue "startx".


oz

Offline

#5 2006-01-13 11:47:30

sebcactus
Member
From: Germany
Registered: 2005-01-27
Posts: 277

Re: Remove modules from boot

To test if you need these modules, try as root

rmmod module_name

For xfs and jfs, if you are using initrd, you have to edit /etc/mkinitrd.conf and add

REMOVE_FS="jfs xfs"

Then build the initrd again with

 mkinitrd auto

Offline

Board footer

Powered by FluxBB