lkml.org 
[lkml]   [1997]   [Jan]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: module efficiency
Date
> Linux Journal ran an article a few months ago saying that excessive use of
> modules can be a small waste of RAM. Something about modules allocating
> memory in 4kb blocks...so a 1kb module wastes 3kb that wouldn't be wasted
> if it was compiled in instead. Except for very low memory systems, this
> is probably insignificant.

Some architectures like MIPS have to use code generation options that make
slighly less efficient code. So there might be a _very_ small difference
in efficiency. Another reason why MIPS modules are less efficient than
compiled in code is that the kernel itself does never generate TLB faults
on MIPS. All in all I'd say the difference is neglegtible though I didn't
benchmark that yet.

Ralf

\
 
 \ /
  Last update: 2005-03-22 13:38    [W:0.401 / U:0.460 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site