[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: kernel question



*- On 18 Apr, Thomas S. Howard wrote about "Re: kernel question"
> On Sun, 18 Apr 1999 shaleh@clifford.livenet.net wrote:
> 
>> > 
>> > Hi,
>> > 	If I compile something as a module rather than include
>> > 	it in the kernel, will I get a performance loss?? If I
>> > 	use something very often, such as ppp, should I include
>> > 	it in the kernel or compile it as a module?
>> > 
>> 
>> There should not be a difference.  If you use something the entire time the 
>> box is on, then consider compiling it in.  Some items must be a module
>> to allow irq and io addresses to be configed.
> 
> Actually, if you set versioning info on all modules, you're required
> to compile ppp support as a module.  Besides that, if you use modules
> at all, you may as well just load things as needed since you've already
> committed to the overhead incurred by modularizing.
> 

But things like NIC drivers, sound card drivers, etc, that are always
present are much nicer to have compiled in.  The kernel can auto config
them at boot for the most part, no need to specify io, irq, etc.  Where
as things like filesystem support, net protocols, etc are much less of a
hassle to load in and out.  I tend to compile permantely connect
hardware in and software things that are not needed much as modules.

-- 
Brian 
---------------------------------------------------------------------
"Never criticize anybody until you have walked a mile in their shoes,  
 because by that time you will be a mile away and have their shoes." 
							   - unknown  

Mechanical Engineering                                bservis@usa.net
Purdue University                   http://www.ecn.purdue.edu/~servis
---------------------------------------------------------------------


Reply to: