LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 02-21-2005, 12:02 AM   #1
Palamides
Member
 
Registered: Jan 2005
Posts: 104

Rep: Reputation: 15
Module or not


I recently recompiled my kernel, but I was confused on whether to make options a module or not, what exactly is the difference? does a module only get loaded when its needed otherwise its constantly loaded in the system?
 
Old 02-21-2005, 01:47 AM   #2
musicman_ace
Senior Member
 
Registered: May 2001
Location: Indiana
Distribution: Gentoo, Debian, RHEL, Slack
Posts: 1,555

Rep: Reputation: 46
I went through this discussion with a few people probably a month ago. Modules are loaded dynamically, meaning they load once that feature/driver is requested. Built-in are always "loaded" because the kernel resides in memory.

Modules +/-
+ Using modules reduces the overall size of the kernel
+ Smaller kernel means more memory is available to other resources on bootup
+ If you didn't use said feature/driver, the module doesn't get loaded.
- When it is requested, it takes time to load. But we're talking mili-seconds probably
- you can delete/overwrite them. (I'm guilty of that one.)

Built-in Support
+ Always on, no loading.
+ You can't delete them, unless you delete the kernel. (Don't do that)
- Increase kernel size, (but we're talking kilobytes, most computers can handle it.)


My personal opinion after playing around with my laptop and compiling several kernels is that I think my laptop is faster with built in support. There are a few exceptions to that. Parallel port is a module, scsi-disk and usb support are modules, I think I left a couple file systems as modules too, but 90% or more are built in.
 
Old 02-21-2005, 02:42 AM   #3
Palamides
Member
 
Registered: Jan 2005
Posts: 104

Original Poster
Rep: Reputation: 15
thanks a lot! this should be made a sticky, im sure itd help out a lot of ppl
 
Old 02-21-2005, 02:45 AM   #4
musicman_ace
Senior Member
 
Registered: May 2001
Location: Indiana
Distribution: Gentoo, Debian, RHEL, Slack
Posts: 1,555

Rep: Reputation: 46
No sticky. we have a search button
 
  


Reply



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
kcmshell module, Background&Screensaver Module can't be launch (but works @LookNFeeL) bobbyjoe Linux - Software 0 01-08-2005 04:48 AM
Module Auto-Load: module.conf tricks? m_e_perry Linux - Newbie 3 10-07-2004 05:45 PM
fglrx module not found but X runs using module biger problem though HELP! fireicer Linux - Newbie 4 07-30-2004 04:44 PM
'Invalid module format' loading simple module on Suse Linux Professional 9.1 rocketdude Linux - Distributions 3 07-27-2004 11:40 PM
php static module & dynamic module install. eye Linux - Software 0 10-18-2003 12:16 PM

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

All times are GMT -5. The time now is 06:52 PM.

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