Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Kernel modules and performance
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
avieth
Veteran
Veteran


Joined: 17 Sep 2004
Posts: 1945
Location: Canada

PostPosted: Thu Mar 24, 2005 4:46 pm    Post subject: Reply with quote

What I wanna know is if theres a difference in performance from Modules and kernel options (<M> vs. <*>). That question has always bugged me.
Back to top
View user's profile Send private message
DrWoland
l33t
l33t


Joined: 13 Nov 2004
Posts: 603

PostPosted: Thu Mar 24, 2005 5:28 pm    Post subject: Reply with quote

avieth wrote:
What I wanna know is if theres a difference in performance from Modules and kernel options (<M> vs. <*>). That question has always bugged me.


Yes. Here's my understanding of it:

compiling stuff as <*> allows it to be loaded quicker, but makes your kernel bigger, aka have a larger footprint.
compiling as <M> makes your footprint smaller, but then stuff isn't loaded until you need it, and then it isn't as quick as it would have been if it were compiled in kernel. The advantage is, if you only use your scanner like twice a year, there's no reason for your kernel to be constantly loading it. So you compile that as a module and it's only loaded when you need it, the rest of the time your kernel isn't being bogged down by unncecessary drivers. If you have two network cards and only use one, for example, compiling the one you use as part of the kernel and the one you don't use as a module would be the way to go, so you can still use it later if you need it.

That's the way I see it anyway, I may very well be completely wrong :P
_________________
I'm not a Guru, I just ask a lot of questions.
Back to top
View user's profile Send private message
Maedhros
Bodhisattva
Bodhisattva


Joined: 14 Apr 2004
Posts: 5511
Location: Durham, UK

PostPosted: Thu Mar 24, 2005 5:51 pm    Post subject: Reply with quote

Please stay on topic if you're going to answer a support thread...

Split from https://forums.gentoo.org/viewtopic.php?t=313434
_________________
No-one's more important than the earthworm.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum