I have seen this same type of stats on the list a couple of times now and wanted to share a thought. I am not a linux expert by any means, but in the windows world a 100% CPU idle means the percentage of CPU that is currently ideling. Basicly if I take all the process in the task manager and add up the percentages it should equal 100 and "System Idle" general takes up the left overs. Reaing the CPU stats above it looks like
86.2% of the CPU is currently unused, A good thin in my book. To test my theroy I loaded up an * server and with no calls there was 100% id the more calls the lower the number got. <br><br>Again just thoughts from a non-linux guru.
<br><br><div><span class="gmail_quote">On 5/31/06, <b class="gmail_sendername">Goke Aruna</b> <<a href="mailto:goksie@gmail.com">goksie@gmail.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div>Thank you...<br><br>Steve, I am using it to pass a call from sip gateway to my asterisk server and sending the call to the provider thru chan_ss7.<br><br>and I have my extension.conf without any timeout and other options.
<br>
<br>[general]<br>static=yes<br>writeprotect=no<br>autofallthrough=yes<br>clearglobalvars=no<br>priorityjumping=no<br><br>[globals]<br>TRUNKMSD=1 ; MSD digits to strip (usually 1 or 0)
<br>
PREFIX=444<br><br>[default]<br>;;THE GSM NETWORK<br>exten => _234XX5XXXXXXX,1,Set(CALLERID(number)=1${PREFIX}${EXTEN:-5:4})<br>exten => _234XX5XXXXXXX,2,Dial(ss7/A/0${EXTEN:-10})<br><br><br>exten => _234XX2XXXXXXX,1,Set(CALLERID(number)=1${PREFIX}${EXTEN:-5:4})
<br>exten => _234XX2XXXXXXX,2,Dial(ss7/B/0${EXTEN:-10})<br><br>exten => _2341XXXXXXX,1,Set(CALLERID(number)=${PREFIX}${EXTEN:-5:4})<br>exten => _2341XXXXXXX,2,Dial(ss7/C/${EXTEN:-7})<br><br>and on my sip.cong I specify only g729.
<br><br>am I running in pass-thru or transcoding?<br><br><br>from the top I can see that at no calls at my server <br>
<br>
top - 06:15:38 up 1 day, 5:42, 1 user, load average: 0.72, 0.42, 0.31<br>
Tasks: 50 total, 2 running, 48 sleeping, 0 stopped, 0 zombie<br>
Cpu(s): 5.7% us, 7.0% sy, 0.0% ni, 86.2% id, 1.0% wa, 0.0% hi, 0.0% si<br>
Mem: 4084360k total, 604348k used, 3480012k free, 128832k buffers<br>
Swap: 2031608k total, 0k used, 2031608k free, 222688k cached<br><br>and I cannot see what is using up my cpu<br>
<br><br>thank you <br><br>goksie</div><div><span class="e" id="q_10b8bcdb5d19b6fb_1"><br><br><div><span class="gmail_quote">On 5/31/06, <b class="gmail_sendername">Steve Totaro</b> <<a href="mailto:stotaro@asteriskhelpdesk.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
stotaro@asteriskhelpdesk.com</a>> wrote:
</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">All I know is that it is very processor intensive and either not using<br>it or just passing it through is your best bet. I will be working alot
<br>with G729 in the near future and will post my findings but until then I<br>am just relying on the dimensioning page on the wiki.<br><br>Thanks,<br>Steve Totaro<br><br>Goke Aruna wrote:<br>> Steve,<br>><br>> Can you please give me an insight on how g729 problem could solved?
<br>><br>> goksie<br>><br>> On 5/30/06, *Steve Totaro* < <a href="mailto:stotaro@asteriskhelpdesk.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">stotaro@asteriskhelpdesk.com</a>
<br>> <mailto:<a href="mailto:stotaro@asteriskhelpdesk.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">stotaro@asteriskhelpdesk.com
</a>>> wrote:<br>><br>> G729 is your problem.<br>><br>> Thanks,<br>> Steve Totaro<br>> <a href="http://www.asteriskhelpdesk.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
http://www.asteriskhelpdesk.com</a><br>><br>><br>
> > -----Original Message-----<br>> > From: Lachek Butalek [mailto:<a href="mailto:lachek@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">lachek@gmail.com</a><br>> <mailto:
<a href="mailto:lachek@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">lachek@gmail.com</a>>]
<br>> > Sent: Tuesday, May 30, 2006 10:10 AM<br>> > To: Asterisk Users Mailing List - Non-Commercial Discussion<br>> > Subject: Re: [Asterisk-Users] I guess my server capacity is ok<br>> >
<br>> > What process is taking up 100% CPU? Is it Asterisk processes or<br>> > something else? Also, is the load spread out over multiple<br>> processes,<br>> > or do you have one or two processes taking up 90% or more of your
<br>> > total?<br>> ><br>> > You also have dual CPUs (and hyperthreading, which to FC3 should<br>> look<br>> > like 4 CPUs if I'm not mistaken) - is the 100% CPU usage across all
<br>> > two (or four) processors, or is it only CPU1 that peaks at 100%?<br>> Have<br>> > a look at "Last Used CPU" in top. What load are the other CPUs at?<br>> ><br>> > I don't have personal experience running that large of an
<br>> > installation, but I imagine your system specs would allow you to<br>> > handle more simultaneous calls than 50, even though you're doing<br>> some<br>> > transcoding.<br>> >
<br>> > On 5/30/06, Goke Aruna <<a href="mailto:goksie@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">goksie@gmail.com</a><br>> <mailto:<a href="mailto:goksie@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
goksie@gmail.com</a>>> wrote:<br>> > > can someone overthere help?
<br>> > ><br>> > > the server specs are as follows<br>> > > HP DL380G4 Dual Intel Xeon 3.2GHz processor with 4GB RAM,<br>> > > running fedora core 3<br>> > >
asterisk-1.2.5<br>> > > ss7-0.8.3d.<br>> > > using sip as advised to receive calls from another gateway in<br>> US.<br>> > > using g729 in transcoding way.<br>> > >
<br>> > > however, I noticed the call hit the 51 active calls which is<br>> > 102channels, I<br>> > > run "top" to check the system resources usage and i discovered<br>> that
<br>> the<br>> > cpu<br>> > > is 100% used. asterisk, sip, ss7 never crashed throughout.<br>> > ><br>> > > however, since transcoding takes alot of system resources..
<br>> how can<br>> I<br>> > use<br>> > > g729 in passthru mode.<br>> > ><br>> > > and I guess disabling hyperthreading will save me more system<br>> resouces.
<br>> > ><br>> > > I will be glad, if you can give me more info on system management<br>> cos i<br>> > > think with that system, it should able to handle at least five<br>> E1's.
<br>> > ><br>> > > I say thank you for finding time to reply my mail.<br>> > ><br>> > > goksie<br>> > ><br>> > > _______________________________________________
<br>> > > --Bandwidth and Colocation provided by <a href="http://Easynews.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">Easynews.com</a><br>> <<a href="http://Easynews.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
http://Easynews.com</a>> --<br>> > ><br>> > > Asterisk-Users mailing list
<br>> > > To UNSUBSCRIBE or update options visit:<br>> > ><br>> > > <a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
http://lists.digium.com/mailman/listinfo/asterisk-users
</a><br>> > ><br>> > ><br>> > ><br>> > _______________________________________________<br>> > --Bandwidth and Colocation provided by <a href="http://Easynews.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
Easynews.com</a><br>> <<a href="http://Easynews.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://Easynews.com</a>> --<br>> ><br>> > Asterisk-Users mailing list
<br>> > To UNSUBSCRIBE or update options visit:<br>> >
<a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>> <<a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
http://lists.digium.com/mailman/listinfo/asterisk-users
</a>><br>><br>> _______________________________________________<br>> --Bandwidth and Colocation provided by <a href="http://Easynews.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
Easynews.com</a><br>> <<a href="http://Easynews.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
http://Easynews.com</a>> --<br>><br>> Asterisk-Users mailing list<br>> To UNSUBSCRIBE or update options visit:<br>> <a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
http://lists.digium.com/mailman/listinfo/asterisk-users
</a><br>><br>><br>> ------------------------------------------------------------------------<br>><br>> _______________________________________________<br>> --Bandwidth and Colocation provided by <a href="http://Easynews.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
Easynews.com</a> --<br>><br>> Asterisk-Users mailing list<br>> To UNSUBSCRIBE or update options visit:<br>> <a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
http://lists.digium.com/mailman/listinfo/asterisk-users
</a><br>><br><br>_______________________________________________<br>--Bandwidth and Colocation provided by <a href="http://Easynews.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">Easynews.com
</a> --<br><br>Asterisk-Users mailing list<br>To UNSUBSCRIBE or update options visit:
<br> <a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br></blockquote>
</div><br>
</span></div><br>_______________________________________________<br>--Bandwidth and Colocation provided by <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://Easynews.com" target="_blank">Easynews.com
</a> --<br><br>Asterisk-Users mailing list<br>To UNSUBSCRIBE or update options visit:<br> <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">
http://lists.digium.com/mailman/listinfo/asterisk-users</a><br><br><br></blockquote></div><br><br clear="all"><br>-- <br>Bruce<br>Nortex Networks