LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Arch
User Name
Password
Arch This Forum is for the discussion of Arch Linux.

Notices


Reply
  Search this Thread
Old 03-13-2006, 09:19 AM   #1
zenlord
LQ Newbie
 
Registered: Feb 2006
Location: Belgium
Distribution: Arch Linux / Debian testing
Posts: 14

Rep: Reputation: 0
lsmod shows way too many modules loaded


Hi,

The first time I installed Arch was on a P2 233 with 96MB RAM, and I found everything to be working quite smoothly (until I opened some apps of course), and lsmod showed about 20 or so modules (really low)

Now I installed Arch on a much faster system, and when I look at the modules, I guess there are 50+ modules loaded, for example all the SATA-modules are loaded - although I only use the intel module...

Can I compare these modules with the services in MS Windows, so they take up (valuable) memory or not? I guess these modules are not active since I don't have the hardware, but do they reside in the memory and should I hence remove them by adding them to the blacklist of my rc.conf?

Second question: is this normal behaviour for (Arch) Linux that all kinds of unnecessary modules are loaded? I'm planning on tweaking this system to get to know the inside of linux, so every bit of information (or links to guides/websites) is very much appreciated!

Thx!

Zl.
 
Old 03-13-2006, 10:14 AM   #2
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,507

Rep: Reputation: 128Reputation: 128
Many distributions take a 'shotgun' approach to hardware support: just try to load every module they have, and all the hardware should be supported. In reality, each loaded module will eat some memory, though probably only a few k. I would not compare this to services under Windows, because Windows services will eat CPU time, while inactive (but loaded) modules will not.
 
Old 03-13-2006, 07:03 PM   #3
JunctaJuvant
Member
 
Registered: May 2003
Location: Wageningen, the Netherlands
Distribution: OS X & Linux Mint
Posts: 488

Rep: Reputation: 31
My system also loaded many unused modules. So one of the first things I generally do after installing Arch is compile a kernel. When you do that, you will no longer experience the loading of unneeded modules because you will of course only compile the modules you require ;-)
But blacklisting them so hwdetect does not load them should also work of course.
 
Old 03-14-2006, 04:27 AM   #4
zenlord
LQ Newbie
 
Registered: Feb 2006
Location: Belgium
Distribution: Arch Linux / Debian testing
Posts: 14

Original Poster
Rep: Reputation: 0
THX!

I already guessed this 'shotgun-approach' would be the cause, but since everything was setup perfectly on that laptop (meaning only the required modules were loaded), I thought maybe I did something wrong here. Now I have to find out which modules I can safely blacklist and then in a later stage I can indeed recompile the kernel.

I'll first try to get it to work the way it should: link - after that it's time to go bananas with the kernel

Zl.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Too Many Modules Loaded XSIWILL SUSE / openSUSE 2 02-24-2006 11:13 PM
lsmod reports no modules props666999 Slackware 26 06-01-2005 12:54 PM
lsmod does not show all modules shanenin Linux - Software 2 04-14-2004 09:26 AM
lsmod reveals no loaded modules after new kernel src install... jdaniel Linux - General 1 03-01-2004 10:50 AM
how do you find out what modules loaded?? osat3ch Mandriva 3 01-17-2004 11:05 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Arch

All times are GMT -5. The time now is 02:50 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration