LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
LinkBack Search this Thread
Old 10-17-2003, 10:21 PM   #1
Bluesuperman
Member
 
Registered: Nov 2002
Distribution: Slackware
Posts: 155

Rep: Reputation: 30
Lightbulb Is a kernel full of modules options bloated ?


Hello,

Do you know if a kernel full of module options is consider bloated ?

I have build a custom kernel and only compiled in things that I know I need, but I enabled a large amount of options as modules.

After a fresh boot I am using 30MB of RAM - is this a lot ?? Is my kernel bloated and slow ??
 
Old 10-17-2003, 10:28 PM   #2
wdingus
Member
 
Registered: Aug 2001
Location: Kingsport, TN
Distribution: RHEL & FC
Posts: 267

Rep: Reputation: 30
Type "lsmod" to see what modules are loaded in RAM right now. Compiling something as a module and NOT having the associated device installed that the module is for will result in the module not being loaded and therefore not taking up any RAM. There's always going to be folks suggesting that you build a custom kernel with only the devices you have built into the kernel and not as modules. They'll claim that makes it faster, safer, etc.. I can kind of buy the safer in that someone could root your box and drop in a stealth kernel module but then they could backdoor your non-module-kernel config somehow as well. Anyway, I personally like RedHat's approach of having *everything* as a module. If my NIC ever dies and I put in a new one it'll just simply work...
 
Old 10-17-2003, 10:53 PM   #3
Bluesuperman
Member
 
Registered: Nov 2002
Distribution: Slackware
Posts: 155

Original Poster
Rep: Reputation: 30
Thanks for your quick response - I will leave my kernel with all the modules built in. I only have 3 mods loaded.

Nic, ide-scsi, usb crap
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Compiling A Non-Bloated Kernel Chryzmo Slackware 5 09-15-2005 03:59 AM
kernel options compiled in to modules w/o reboot redjokerx Linux - General 2 04-02-2005 12:44 AM
passing options to build-in-modules nielchiano Linux - General 4 02-17-2004 11:40 PM
Kernel 2.6.2 options question - LOCKED options ? tvojvodi Linux - General 0 02-17-2004 04:23 AM
modules.conf question, options gpeterson1 Linux - Hardware 6 02-24-2003 04:08 PM


All times are GMT -5. The time now is 08:16 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration