Hi all- It's often mentioned here that recompiling the Linux kernel may improve the performance of asterisk. My question is: Does re-compiling the kernel have any effect if there are no changes to the configuration? What parameters will typically improve performance? Thanks for any insight! Scott Scott M. Stingel Emerging Voice Technology Inc. Palo Alto, California and London, England URL: www.evtmedia.com
On Thu, 2003-11-20 at 13:03, Scott Stingel wrote:> Hi all- > > It's often mentioned here that recompiling the Linux kernel may improve the > performance of asterisk. > > My question is: Does re-compiling the kernel have any effect if there are > no changes to the configuration? > > What parameters will typically improve performance? > > Thanks for any insight!Reduce unnecessary modules and drivers being built in. The kernel is not able to swap itself out of memory and therefore the smaller footprint it has the better. Make sure to select and optimize for your CPU. There are a few others you can find from the menuconfig help system. 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. This also seems to reduce startup time, as well as stripping down all unused sections of the configs. I know this isn't always practical for all people to do, but we wanted to squeeze as much as we could out of this machine. -- Steven Critchfield <critch@basesys.com>
I'd say that unless you can identify a specific performance problem doing something to the kernel is will not be productive. A modern kernal with most all drivers loaded as modules is prety much self-adaptive. The why to gain performance (if you need it) is to throw hardware at the problem. Using fast SCSI disks, loads of RAM and faster CPU(s) are the way to go but, big but, unless you've hit an identifiable bottle neck there is no point. --- Scott Stingel <scott@evtmedia.com> wrote:> Hi all- > > It's often mentioned here that recompiling the Linux kernel may > improve the > performance of asterisk. > > My question is: Does re-compiling the kernel have any effect if > there are > no changes to the configuration? > > What parameters will typically improve performance? > > Thanks for any insight! > > Scott > > Scott M. Stingel > Emerging Voice Technology Inc. > Palo Alto, California and London, England > > URL: www.evtmedia.com > > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users====Chris Albertson Home: 310-376-1029 chrisalbertson90278@yahoo.com Cell: 310-990-7550 Office: 310-336-5189 Christopher.J.Albertson@aero.org KG6OMK __________________________________ Do you Yahoo!? Free Pop-Up Blocker - Get it now http://companion.yahoo.com/
>Hi all- > >It's often mentioned here that recompiling the Linux kernel may improve the >performance of asterisk. > >My question is: Does re-compiling the kernel have any effect if there are >no changes to the configuration? > >What parameters will typically improve performance? > >Thanks for any insight! > >Scott > >Scott M. Stingel >Emerging Voice Technology Inc. >Palo Alto, California and London, England > >URL: www.evtmedia.comAnother hint to show you perhaps some more data: Go into asterisk/Makefile and change this: MALLOC_DEBUG = #-include $(PWD)/include/asterisk/astmm.h to this: MALLOC_DEBUG = -include $(PWD)/include/asterisk/astmm.h You should then be able to get some additional information about memory usage. Warning: I re-tested this a few minutes ago with yesterday's CVS, and I managed to seize * upon executing "show memory allocations" so use with care. I'm uncertain if that's my problem or *'s problem; this comes under the "do not try this at home, kids" heading. JT
Hi, Ricky On Sat, 22 Nov 2003 03:15:27 -0800, "Asterisk" <thisemailaddressisbogus@risehigh.com> wrote:>Greetings everyone. Could anyone tell me how to setup an IAX call using >iaxcomm from a remote (PC) user without going throug iaxtel.com?If you want to call PC-toPC, just type 192.168.0.1/s just above the Dial key. No need to register with iaxtel.com>I would like users to register to my server directly instead of looking >up in iaxtel directory. Please provide an example of iax.conf commands >and extensions.conf.My laptop registers with my home asterisk server, vangate, as extension 309 extensions.conf: exten => 309,1,Dial(IAX2/309) iax.conf: [309] type=friend host=dynamic secret=oops_I_forgot _to_change_this context=from-iax callerid="Michael PC" <309> Hope this helps.