[Freeswitch-users] Question aboutCPU usage.

Anthony Minessale anthony.minessale at gmail.com
Fri Jan 21 22:13:21 MSK 2011


Yes, G729 is a CPU hog, especially the illegal one you are testing with.
The commercial one that you can purchase from
http://www.freeswitch.org probably will do slightly better but you
will always get much less milage out of cpu intensive codecs.


On Fri, Jan 21, 2011 at 9:06 AM, Ricardo Martinez
<rmartinez at redvoiss.net> wrote:
> Hello.
>
> I have the opportunity to use an even more powerful server.  I have just
> installed CentOS 5.5 64 bit, and compile freeswitch with 64 bits.
>
> This is the output with 100 simm calls using transcoding from G711 to G729
>
>
>
> top - 16:57:56 up  6:04,  2 users,  load average: 11.60, 12.49, 12.58
>
> Tasks: 168 total,   1 running, 167 sleeping,   0 stopped,   0 zombie
>
> Cpu0  : 35.4%us,  0.6%sy,  0.0%ni, 63.6%id,  0.3%wa,  0.0%hi,  0.1%si,
> 0.0%st
>
> Cpu1  : 34.9%us,  0.6%sy,  0.0%ni, 58.8%id,  4.9%wa,  0.1%hi,  0.7%si,
> 0.0%st
>
> Cpu2  : 34.9%us,  0.6%sy,  0.0%ni, 59.6%id,  4.1%wa,  0.1%hi,  0.7%si,
> 0.0%st
>
> Cpu3  : 35.0%us,  0.7%sy,  0.0%ni, 62.0%id,  1.8%wa,  0.2%hi,  0.3%si,
> 0.0%st
>
> Cpu4  : 35.8%us,  1.3%sy,  0.0%ni, 62.5%id,  0.2%wa,  0.0%hi,  0.1%si,
> 0.0%st
>
> Cpu5  : 35.6%us,  1.6%sy,  0.0%ni, 60.1%id,  1.8%wa,  0.1%hi,  0.8%si,
> 0.0%st
>
> Cpu6  : 35.8%us,  1.9%sy,  0.0%ni, 59.9%id,  1.5%wa,  0.1%hi,  0.8%si,
> 0.0%st
>
> Cpu7  : 36.5%us,  2.0%sy,  0.0%ni, 60.6%id,  0.7%wa,  0.0%hi,  0.2%si,
>  0.0%st
>
> Mem:   8165808k total,  1208292k used,  6957516k free,   150228k buffers
>
> Swap: 10223608k total,        0k used, 10223608k free,   772980k cached
>
>
>
>   PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+
> COMMAND
>
>  5265 root      18   0  541m  79m 5796 S 469.5  1.0   1077:32
> freeswitch
>
>     1 root      15   0 10348  684  572 S  0.0  0.0   0:01.24
> init
>
>     2 root      RT  -5     0    0    0 S  0.0  0.0   0:00.00
> migration/0
>
>     3 root      34  19     0    0    0 S  0.0  0.0   0:00.00
> ksoftirqd/0
>
>     4 root      RT  -5     0    0    0 S  0.0  0.0   0:00.00
> watchdog/0
>
>     5 root      RT  -5     0    0    0 S  0.0  0.0   0:00.00
> migration/1
>
>     6 root      34  19     0    0    0 S  0.0  0.0   0:00
>
>
>
> Is normal the load average?
>
>
>
> This is the output with uname –a
>
>
>
> [root at siptrcrv2 snmp]# uname -a
>
> Linux siptrcrv2 2.6.18-194.el5 #1 SMP Fri Apr 2 14:58:14 EDT 2010 x86_64
> x86_64 x86_64 GNU/Linux
>
>
>
> Regards,
>
> Ricardo.-
>
>
>
>
>
>
>
> De: freeswitch-users-bounces at lists.freeswitch.org
> [mailto:freeswitch-users-bounces at lists.freeswitch.org] En nombre de Brian
> West
> Enviado el: miércoles, 19 de enero de 2011 16:22
> Para: FreeSWITCH Users Help
>
> Asunto: Re: [Freeswitch-users] Question aboutCPU usage.
>
>
>
> Chances are if you would install a 64bit OS on that there NICE 64bit CPU it
> would work much better.
>
>
>
> /b
>
>
>
> On Jan 19, 2011, at 12:43 PM, Ricardo Martinez wrote:
>
>
>
> Hello.
>
>
>
> [root at ser-ng bin]# uname -a
>
> Linux 2.6.33.5-124.fc13.i686.PAE #1 SMP Fri Jun 11 09:42:24 UTC 2010 i686
> i686 i386 GNU/Linux
>
>
>
> Ricardo.-
>
>
>
> De: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] En
> nombre de Brian West
> Enviado el: miércoles, 19 de enero de 2011 15:41
> Para: FreeSWITCH Users Help
> Asunto: Re: [Freeswitch-users] Question aboutCPU usage.
>
>
>
> Depend what does uname -a say?
>
>
>
> /b
>
>
>
> _______________________________________________
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>



-- 
Anthony Minessale II

FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/
Twitter: http://twitter.com/FreeSWITCH_wire

AIM: anthm
MSN:anthony_minessale at hotmail.com
GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888 at conference.freeswitch.org
googletalk:conf+888 at conference.freeswitch.org
pstn:+19193869900



More information about the FreeSWITCH-users mailing list