[Asterisk-Users] Tuning the Linux kernel?

Steven Critchfield critch at basesys.com
Thu Nov 20 19:44:53 MST 2003


On Thu, 2003-11-20 at 19:17, Chris Albertson wrote:
> What performance increase do you expect if you don't
> load a module?  In theory you'd use less RAM but with
> a modern VM system the disk sectors don't get mapped into
> physical RAM unless the code is executed.  
> 
> Whenever Linux needs more RAM most of the time it simply
> overwites the RAM used to hold the executable code used by
> some program.  It doesn't even have to bother saving what
> was over written because it can always re-read it from
> the .so or executable file.  so these "extra modules" just
> get over written anyways.  You save very little.
> 
> >From a "it's nice to do" stand point trim it down but I'd like
> to see hard measured performance numbers from before and
> after.  I would actully expect trimmingwould help but likely
> at the "second decimal place" level.

You may be right. You might end up with fewer page requests. I'm not
real up on VM, but I know that smaller memory will help.

The other thought is that there is less applications in memory so fewer
chances to segfault or come across any other bugs. I didn't start
trimming down the loaded modules till the report of the long fixed sip
bug.  

> --- TeleSIP <ricvil at telesip.net> wrote:
> > 
> > > Another trick to look into is cutting down of the asterisk modules
> > that
> > > are loaded. Our newly deployed asterisk machine is not going to do
> > any
> > > IVR, and is only going to do IAX2 traffic. Because of this I was
> > able to
> > > trim down a lot of the modules being loaded by asterisk and
> > decrease
> > > it's memory footprint.
> > I agree.  I have been trying to trim down the number of modules that
> > get
> > loaded on our machines.  But there are many modules which I have no
> > idea
> > what they do.  It would be great if somebody with the knowledge
> > documents on
> > the Wiki FAQ at least a one-liner explanation of the module to let us
> > know
> > if we need to load it or not for what we want to run.
> > 
> > For example:  pbx_spool.so  => load it if you want to do this or
> > that...
> > 
> > _______________________________________________
> > Asterisk-Users mailing list
> > Asterisk-Users at lists.digium.com
> > http://lists.digium.com/mailman/listinfo/asterisk-users
> 
> 
> =====
> Chris Albertson
>   Home:   310-376-1029  chrisalbertson90278 at yahoo.com
>   Cell:   310-990-7550
>   Office: 310-336-5189  Christopher.J.Albertson at aero.org
>   KG6OMK
> 
> __________________________________
> Do you Yahoo!?
> Free Pop-Up Blocker - Get it now
> http://companion.yahoo.com/
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
-- 
Steven Critchfield <critch at basesys.com>




More information about the asterisk-users mailing list