Just for fun... <br>Im personally interested how this holds up on Debian 5 - 64 bit..<br><br>Im more of a debian person... not a huge centos fan and it seems you had a pref for debian at first also<br>so if you have the time to play, let us know how that goes :)<br>
surly its just the change to a 64 bit OS.... <br><br>Jay<br><br><br><br><div class="gmail_quote">On Thu, Aug 27, 2009 at 3:42 AM, Tihomir Culjaga <span dir="ltr"><<a href="mailto:tculjaga@gmail.com">tculjaga@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Guys you made a monster!!<br><br><br>so, i moved the machine to 64bit CentOS 5.3... recompiled the latest trunk and did my tests again. <br>
<br>The old tests on 32bit debian 5 on the same hardware shown a CPS rate of 120 as 75 - 80% CPU.... and after some time on that 120 CPS rate the CPU goes to 100% without any chance FS recovers at all.<br>
New tests on 64bit CentOS shown a monster.... 400 CPS rate at 75% CPU.... during the tests FS was really stable and responsive... i placed few calls that went through as a charm :).<br><br><br>Also, i didn't optimize the machine at all ... as it is after CentOS install!.... not even db files are on ramdisk.<br>
<br>What did it really happen? .. did you guys change something in the trunk overnight or it is just moving to CentOS 64bit that boosted drastically?<br><br><br><br><br>Here are some details:<br><br><span style="font-family: courier new,monospace;">ÚnmonÄ12aÄÄÄÄÄÄ[H for help]ÄÄÄHostname=l01sipindir2ÄRefresh= 2secs ÄÄÄ19:17.48ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">³ CPU +-------------------------------------------------------------------------+ ³</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">³100%-| | ³</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">³ 95%-| | ³</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">³ 90%-| | ³</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">³ 85%-| | ³</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">³ 80%-| | w s w www w s sw s s s ³</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">³ 75%-| |ssssssssssssssssssssswssssssssssssssssssssssssssssssssssssssssssssss ³</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">³ 70%-| +sssssssssssssssssssssssssssssssUssssssssUsssUssssssssssUssssssssssss ³</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">³ 65%-| |UUUUUsUsUUUUUUUUUUUUUsUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUsUUU ³</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">³ 60%-| |UUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUU ³</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">³ 55%-| |UUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUU ³</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">³ 50%-| |UUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUU ³</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">³ 45%-| |UUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUU ³</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">³ 40%-| |UUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUw ³</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">³ 35%-| |UUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUs ³</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">³ 30%-| |UUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUU ³</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">³ 25%-| |UUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUU ³</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">³ 20%-| |UUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUU ³</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">³ 15%-| |UUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUU ³</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">³ 10%-| |UUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUU ³</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">³ 5%-| |UUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUU ³</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">³ +-------------------------------------------------------------------------+ ³</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">³ CPU Utilisation ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄij</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">³ +-------------------------------------------------+ ³</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">³CPU User% Sys% Wait% Idle|0 |25 |50 |75 100| ³</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">³ 1 1.0 0.5 0.0 98.5| > | ³</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">³ 2 1.5 1.0 0.0 97.5| > | ³</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">³ +-------------------------------------------------+ ³</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">³Avg 1.2 0.5 0.0 98.3| > | ³</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">³ +-------------------------------------------------+ ³</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">³ Disk I/O ÄÄÄÄÄ(/proc/diskstats)ÄÄÄÄÄÄÄÄall data is Kbytes per secondÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄij</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">³DiskName Busy Read WriteKB|0 |25 |50 |75 100| ³</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">³iss/c0d0 0% 0.0 0.0| > | ³</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">³s/c0d0p1 0% 0.0 0.0|> | ³</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">³s/c0d0p2 0% 0.0 0.0| > | ³</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">³dm-0 0% 0.0 0.0| > | ³</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">³dm-1 0% 0.0 0.0|> | ³</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">³ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄij</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"></span><br><br><br><br><br><br><br><span style="font-family: courier new,monospace;">------------------------------ Scenario Screen -------- [1-9]: Change Screen --</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> Call-rate(length) Port Total-time Total-calls Remote-host</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> 40.0(0 ms)/0.100s 5060 488.20 s 193555 10.4.4.252:5060(UDP)</span><br style="font-family: courier new,monospace;">
<br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> 402 new calls during 1.002 s period 0 ms scheduler resolution</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> 3 calls (limit 4000) Peak was 53 calls, after 351 s</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> 0 Running, 13216 Paused, 670 Woken up</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> 0 dead call msg (discarded) 0 out-of-call msg (discarded) </span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> 3 open sockets </span><br style="font-family: courier new,monospace;"><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> Messages Retrans Timeout Unexpected-Msg</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> INVITE ----------> B-RTD1 193553 0 0 </span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> 100 <---------- E-RTD1 193553 0 0 0 </span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> 302 <---------- E-RTD2 193552 0 0 0 </span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> ACK ----------> 193552 0 </span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">------ [+|-|*|/]: Adjust rate ---- [q]: Soft exit ---- [p]: Pause traffic -----</span><br style="font-family: courier new,monospace;"><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">------------------------------ Scenario Screen -------- [1-9]: Change Screen --</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> Call-rate(length) Port Total-time Total-calls Remote-host</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> 40.0(0 ms)/0.100s 5060 489.10 s 193917 10.4.4.252:5060(UDP)</span><br style="font-family: courier new,monospace;"><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> 362 new calls during 0.906 s period 1 ms scheduler resolution</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> 2 calls (limit 4000) Peak was 53 calls, after 351 s</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> 0 Running, 13215 Paused, 623 Woken up</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> 0 dead call msg (discarded) 0 out-of-call msg (discarded) </span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> 3 open sockets </span><br style="font-family: courier new,monospace;"><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> Messages Retrans Timeout Unexpected-Msg</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> INVITE ----------> B-RTD1 193917 0 0 </span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> 100 <---------- E-RTD1 193917 0 0 0 </span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> 302 <---------- E-RTD2 193915 0 0 0 </span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> ACK ----------> 193915 0 </span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">------------------------------ Test Terminated --------------------------------</span><br style="font-family: courier new,monospace;"><br style="font-family: courier new,monospace;">
<br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">----------------------------- Statistics Screen ------- [1-9]: Change Screen --</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> Start Time | 2009-08-26 19:09:34:575 1251306574.575684 </span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> Last Reset Time | 2009-08-26 19:17:42:779 1251307062.779468 </span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> Current Time | 2009-08-26 19:17:43:685 1251307063.685281 </span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">-------------------------+---------------------------+--------------------------</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> Counter Name | Periodic value | Cumulative value</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">-------------------------+---------------------------+--------------------------</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> Elapsed Time | 00:00:00:905 | 00:08:09:109 </span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> Call Rate | 400.000 cps | 396.470 cps </span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">-------------------------+---------------------------+--------------------------</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> Incoming call created | 0 | 0 </span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> OutGoing call created | 362 | 193917 </span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> Total Call created | | 193917 </span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> Current Call | 2 | </span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">-------------------------+---------------------------+--------------------------</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> Successful call | 363 | 193915 </span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> Failed call | 0 | 0 </span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">-------------------------+---------------------------+--------------------------</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> Response Time 1 | 00:00:00:001 | 00:00:00:000 </span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> Response Time 2 | 00:00:00:010 | 00:00:00:008 </span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> Call Length | 00:00:00:010 | 00:00:00:008 </span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">------------------------------ Test Terminated --------------------------------</span><br><br><br><br>...i didn't beleive to SIPp and i went to FS console issuing status command to conferm the results.<br>
<br><br><a href="mailto:freeswitch@l01sipindir2.ot.hr" target="_blank">freeswitch@l01sipindir2.ot.hr</a>> status<br>API CALL [status()] output:<br>UP 0 years, 0 days, 0 hours, 8 minutes, 13 seconds, 703 milliseconds, 971 microseconds<br>
183382 session(s) since startup<br>1 session(s) 410/800<br>8000 session(s) max<br><br><a href="mailto:freeswitch@l01sipindir2.ot.hr" target="_blank">freeswitch@l01sipindir2.ot.hr</a>> status<br>API CALL [status()] output:<br>
UP 0 years, 0 days, 0 hours, 8 minutes, 15 seconds, 109 milliseconds, 891 microseconds<br>
183944 session(s) since startup<br>1 session(s) 401/800<br>8000 session(s) max<br><br><a href="mailto:freeswitch@l01sipindir2.ot.hr" target="_blank">freeswitch@l01sipindir2.ot.hr</a>> status<br>API CALL [status()] output:<br>
UP 0 years, 0 days, 0 hours, 8 minutes, 16 seconds, 139 milliseconds, 412 microseconds<br>
184356 session(s) since startup<br>2 session(s) 389/800<br>8000 session(s) max<br><br><a href="mailto:freeswitch@l01sipindir2.ot.hr" target="_blank">freeswitch@l01sipindir2.ot.hr</a>> status<br>API CALL [status()] output:<br>
UP 0 years, 0 days, 0 hours, 8 minutes, 17 seconds, 62 milliseconds, 16 microseconds<br>
184717 session(s) since startup<br>6 session(s) 410/800<br>8000 session(s) max<br><br><a href="mailto:freeswitch@l01sipindir2.ot.hr" target="_blank">freeswitch@l01sipindir2.ot.hr</a>> status<br>API CALL [status()] output:<br>
UP 0 years, 0 days, 0 hours, 8 minutes, 35 seconds, 150 milliseconds, 253 microseconds<br>
191959 session(s) since startup<br>1 session(s) 400/800<br>8000 session(s) max<br><br><a href="mailto:freeswitch@l01sipindir2.ot.hr" target="_blank">freeswitch@l01sipindir2.ot.hr</a>> status<br>API CALL [status()] output:<br>
UP 0 years, 0 days, 0 hours, 8 minutes, 36 seconds, 892 milliseconds, 672 microseconds<br>
192657 session(s) since startup<br>1 session(s) 393/800<br>8000 session(s) max<div><div></div><div class="h5"><br><br><br><br><div class="gmail_quote">On Wed, Aug 26, 2009 at 1:53 PM, Dmitry Kadantsev <span dir="ltr"><<a href="mailto:kadantsev.d@gmail.com" target="_blank">kadantsev.d@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi all,<br><br>is there same situation with FS for Windows? I mean 64bit is more preferable than 32bit, isn't it?<br>
<br>Any performance test on Win 32/64 were done?<br><br clear="all">--<br>Best regards,<br><font color="#888888">Dmitry Kadantsev</font><div><div></div><div><br>
<br><br><div class="gmail_quote">On Wed, Aug 26, 2009 at 10:29 AM, Tihomir Culjaga <span dir="ltr"><<a href="mailto:tculjaga@gmail.com" target="_blank">tculjaga@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
intanto e il centos che si sta installando :)<br><br>grazie.<br><font color="#888888"><br>T.</font><div><div></div><div><br><br><div class="gmail_quote">On Wed, Aug 26, 2009 at 10:25 AM, Giovanni Maruzzelli <span dir="ltr"><<a href="mailto:gmaruzz@celliax.org" target="_blank">gmaruzz@celliax.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">netbook remix<br>
<br>
<br>
joking! Server 64bit :-)<br>
<font color="#888888"><br>
-gm<br>
</font><div><div></div><div><br>
<br>
<br>
On Wed, Aug 26, 2009 at 10:08 AM, Tihomir Culjaga<<a href="mailto:tculjaga@gmail.com" target="_blank">tculjaga@gmail.com</a>> wrote:<br>
> Hi Giovanny,<br>
><br>
> regarding ubuntu, did you mean 8.04 server or desktop ?<br>
><br>
><br>
> On Tue, Aug 25, 2009 at 3:41 PM, Giovanni Maruzzelli <<a href="mailto:gmaruzz@celliax.org" target="_blank">gmaruzz@celliax.org</a>><br>
> wrote:<br>
>><br>
>> Definitely go for 64 bit OS.<br>
>><br>
>> If you want to be safe and sure, go for CentOS 5.2 64bit. Is the one<br>
>> used both for development and for heavy duty production.<br>
>><br>
>> Also Ubuntu 8.04 is good.<br>
>><br>
>> Other versions/distros are less used by the community.<br>
>><br>
>> Adding RAM and CPUs helps to scale up.<br>
>><br>
>> -gm<br>
>><br>
>><br>
>><br>
>> Sincerely,<br>
>><br>
>> Giovanni Maruzzelli<br>
>> Cell : +39-347-2665618<br>
>><br>
>><br>
>><br>
>><br>
>> On Tue, Aug 25, 2009 at 3:19 PM, Tihomir Culjaga<<a href="mailto:tculjaga@gmail.com" target="_blank">tculjaga@gmail.com</a>><br>
>> wrote:<br>
>> > Hey Giovanni,<br>
>> ><br>
>> > thanks for the tip... indeed the db files were heavily used regardless<br>
>> > if i<br>
>> > started freeswitch with nosql option (freeswitch -nosql)... FS was not<br>
>> > writing anything into that files ... instead it was just accessing<br>
>> > it....<br>
>> > This behaviour leads to a waste of 40% CPU time... waiting for other<br>
>> > processes (mainly disk access) to finish!!!<br>
>> ><br>
>> > I moved freeswitch/db/ to a ramdisk and the performance got a boost to<br>
>> > 140<br>
>> > CPS with a CPU load of 80%. I was keeping the machine for a while (20 -<br>
>> > 30<br>
>> > minutes) on that rate when i sow CPU suddenly went to 100% and FS<br>
>> > becoming<br>
>> > irresponsive :).<br>
>> ><br>
>> ><br>
>> > What can be wrong?<br>
>> > What are the limits in CPU usage (50%, 60%, 70%, 80%...) we should not<br>
>> > cross?<br>
>> > What fine tuning do we need in order to asure a long high load run?<br>
>> ><br>
>> ><br>
>> ><br>
>> > Also, I'm running 32-bit OS (debian 5) on a 64 bit CPU... does it have<br>
>> > sense<br>
>> > to move my OS to 64 bit? ... will FS gain more preformance ?... I mean<br>
>> > will<br>
>> > FS perofomr drastically better 20%+ ?<br>
>> ><br>
>> ><br>
>> > Tihomir.<br>
>> ><br>
>> ><br>
>> > On Tue, Aug 25, 2009 at 11:00 AM, Giovanni Maruzzelli<br>
>> > <<a href="mailto:gmaruzz@celliax.org" target="_blank">gmaruzz@celliax.org</a>><br>
>> > wrote:<br>
>> >><br>
>> >> Maybe your load comes from disk access?<br>
>> >><br>
>> >> Try putting the sql and log directories on a ramdisk.<br>
>> >><br>
>> >> OTH,<br>
>> >><br>
>> >> -giovanni<br>
>> >><br>
>> >> On Tue, Aug 25, 2009 at 10:54 AM, Tihomir Culjaga<<a href="mailto:tculjaga@gmail.com" target="_blank">tculjaga@gmail.com</a>><br>
>> >> wrote:<br>
>> >> > Hello,<br>
>> >> ><br>
>> >> > i'm trying to use freeswitch as a redirecting server meaning FS has<br>
>> >> > to<br>
>> >> > receive an INVITE and according to some rules it will redirect calls<br>
>> >> > to<br>
>> >> > other destinations.<br>
>> >> ><br>
>> >> ><br>
>> >> > CALLING_USER FREESWITCH<br>
>> >> > SOMEWHERE<br>
>> >> ><br>
>> >> > INVITE -------------------------------><br>
>> >> > <------------------------------ 100 Trying<br>
>> >> > <------------------------------ 302 Moved Temporary<br>
>> >> > ACK -------------------------------><br>
>> >> ><br>
>> >> ><br>
>> >> > INVITE---------------------------------------------------------------------------------><br>
>> >> ><br>
>> >> ><br>
>> >> ><br>
>> >> > Well, wverything works well except i have perfromance issues .... on<br>
>> >> > my<br>
>> >> > HW<br>
>> >> > FS cannot do more than 40 CPS (INVITE answered by 302 Moved<br>
>> >> > Temporary).<br>
>> >> > When<br>
>> >> > i increase the rate, FS starts delaying 302 response. Right at 50 CPS<br>
>> >> > i<br>
>> >> > see<br>
>> >> > "calls" being build up in FS and the delay begining to grow.<br>
>> >> ><br>
>> >> > When i observe the machine, load average is almost nothing (load<br>
>> >> > average:<br>
>> >> > 1.41, 0.61, 0.60) CPU never goes to 100%, and i see only one thread<br>
>> >> > taking<br>
>> >> > most load... all others are just sitting there with 1-5 % CPU time.<br>
>> >> > This looks to me as FS handles 302 messages in a single thread?!?!<br>
>> >> ><br>
>> >> ><br>
>> >> > tculjaga@FS:/usr/local/freeswitch/conf/dialplan$ top -H<br>
>> >> ><br>
>> >> > top - 10:41:37 up 167 days, 20:42, 3 users, load average: 1.41,<br>
>> >> > 0.61,<br>
>> >> > 0.60<br>
>> >> > Tasks: 83 total, 2 running, 81 sleeping, 0 stopped, 0 zombie<br>
>> >> > Cpu(s): 25.3%us, 1.5%sy, 0.0%ni, 30.3%id, 42.7%wa, 0.0%hi,<br>
>> >> > 0.2%si,<br>
>> >> > 0.0%st<br>
>> >> > Mem: 2074520k total, 571244k used, 1503276k free, 259604k<br>
>> >> > buffers<br>
>> >> > Swap: 2650684k total, 3020k used, 2647664k free, 153868k<br>
>> >> > cached<br>
>> >> ><br>
>> >> > PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+<br>
>> >> > COMMAND<br>
>> >> > 4814 root 20 0 34188 20m 3780 S 38 1.0 3:10.29<br>
>> >> > freeswitch<br>
>> >> > 4800 root 20 0 34188 20m 3780 S 6 1.0 0:08.26<br>
>> >> > freeswitch<br>
>> >> > 4798 root 20 0 34188 20m 3780 R 5 1.0 0:24.46<br>
>> >> > freeswitch<br>
>> >> > 4787 root 20 0 34188 20m 3780 S 2 1.0 0:11.24<br>
>> >> > freeswitch<br>
>> >> > 4794 root 20 0 34188 20m 3780 S 1 1.0 0:11.42<br>
>> >> > freeswitch<br>
>> >> > 4803 root 20 0 34188 20m 3780 S 1 1.0 0:11.74<br>
>> >> > freeswitch<br>
>> >> > 4788 root 20 0 34188 20m 3780 S 1 1.0 0:02.96<br>
>> >> > freeswitch<br>
>> >> > 4804 root 20 0 34188 20m 3780 S 1 1.0 0:01.64<br>
>> >> > freeswitch<br>
>> >> > 4807 root 20 0 34188 20m 3780 S 1 1.0 0:01.68<br>
>> >> > freeswitch<br>
>> >> > 4811 root 20 0 34188 20m 3780 S 1 1.0 0:02.50<br>
>> >> > freeswitch<br>
>> >> ><br>
>> >> ><br>
>> >> ><br>
>> >> > cat /proc/cpuinfo<br>
>> >> > processor : 0<br>
>> >> > vendor_id : GenuineIntel<br>
>> >> > cpu family : 6<br>
>> >> > model : 15<br>
>> >> > model name : Intel(R) Xeon(R) CPU 5140 @ 2.33GHz<br>
>> >> > stepping : 6<br>
>> >> > cpu MHz : 2333.560<br>
>> >> > cache size : 4096 KB<br>
>> >> > physical id : 0<br>
>> >> > siblings : 2<br>
>> >> > core id : 0<br>
>> >> > cpu cores : 2<br>
>> >> > apicid : 0<br>
>> >> > initial apicid : 0<br>
>> >> > fdiv_bug : no<br>
>> >> > hlt_bug : no<br>
>> >> > f00f_bug : no<br>
>> >> > coma_bug : no<br>
>> >> > fpu : yes<br>
>> >> > fpu_exception : yes<br>
>> >> > cpuid level : 10<br>
>> >> > wp : yes<br>
>> >> > flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr<br>
>> >> > pge<br>
>> >> > mca<br>
>> >> > cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe lm<br>
>> >> > constant_tsc arch_perfmon pebs bts pni monitor ds_cpl vmx est tm2<br>
>> >> > ssse3<br>
>> >> > cx16<br>
>> >> > xtpr dca lahf_lm<br>
>> >> > bogomips : 4670.78<br>
>> >> > clflush size : 64<br>
>> >> > power management:<br>
>> >> ><br>
>> >> > processor : 1<br>
>> >> > vendor_id : GenuineIntel<br>
>> >> > cpu family : 6<br>
>> >> > model : 15<br>
>> >> > model name : Intel(R) Xeon(R) CPU 5140 @ 2.33GHz<br>
>> >> > stepping : 6<br>
>> >> > cpu MHz : 2333.560<br>
>> >> > cache size : 4096 KB<br>
>> >> > physical id : 0<br>
>> >> > siblings : 2<br>
>> >> > core id : 1<br>
>> >> > cpu cores : 2<br>
>> >> > apicid : 1<br>
>> >> > initial apicid : 1<br>
>> >> > fdiv_bug : no<br>
>> >> > hlt_bug : no<br>
>> >> > f00f_bug : no<br>
>> >> > coma_bug : no<br>
>> >> > fpu : yes<br>
>> >> > fpu_exception : yes<br>
>> >> > cpuid level : 10<br>
>> >> > wp : yes<br>
>> >> > flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr<br>
>> >> > pge<br>
>> >> > mca<br>
>> >> > cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe lm<br>
>> >> > constant_tsc arch_perfmon pebs bts pni monitor ds_cpl vmx est tm2<br>
>> >> > ssse3<br>
>> >> > cx16<br>
>> >> > xtpr dca lahf_lm<br>
>> >> > bogomips : 4666.82<br>
>> >> > clflush size : 64<br>
>> >> > power management:<br>
>> >> ><br>
>> >> ><br>
>> >> ><br>
>> >> > uname -a<br>
>> >> > Linux l01sipindir1 2.6.26-1-686 #1 SMP Sat Jan 10 18:29:31 UTC 2009<br>
>> >> > i686<br>
>> >> > GNU/Linux<br>
>> >> ><br>
>> >> ><br>
>> >> ><br>
>> >> > Of course, i've tuned the machine up<br>
>> >> ><br>
>> >> > ulimit -c unlimited<br>
>> >> > ulimit -d unlimited<br>
>> >> > ulimit -f unlimited<br>
>> >> > ulimit -i unlimited<br>
>> >> > ulimit -n 999999<br>
>> >> > ulimit -q unlimited<br>
>> >> > ulimit -u unlimited<br>
>> >> > ulimit -v unlimited<br>
>> >> > ulimit -x unlimited<br>
>> >> > ulimit -s 240<br>
>> >> > ulimit -l unlimited<br>
>> >> > ulimit -a<br>
>> >> ><br>
>> >> ><br>
>> >> > Started FS with minimum modules but still 40 CPS seems to be the<br>
>> >> > limit.<br>
>> >> ><br>
>> >> ><br>
>> >> > So, is there any way to improve performance?<br>
>> >> ><br>
>> >> ><br>
>> >> > Tihomir.<br>
>> >> ><br>
>> >> ><br>
>> >> ><br>
>> >> ><br>
>> >> ><br>
>> >> ><br>
>> >> ><br>
>> >> > _______________________________________________<br>
>> >> > FreeSWITCH-users mailing list<br>
>> >> > <a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
>> >> > <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
>> >> ><br>
>> >> > UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
>> >> > <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
>> >> ><br>
>> >> ><br>
>> >><br>
>> >> _______________________________________________<br>
>> >> FreeSWITCH-users mailing list<br>
>> >> <a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
>> >> <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
>> >><br>
>> >> UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
>> >> <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
>> ><br>
>> ><br>
>> > _______________________________________________<br>
>> > FreeSWITCH-users mailing list<br>
>> > <a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
>> > <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
>> > UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
>> > <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
>> ><br>
>> ><br>
>><br>
>> _______________________________________________<br>
>> FreeSWITCH-users mailing list<br>
>> <a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
>> <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
>> UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
>> <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
><br>
><br>
> _______________________________________________<br>
> FreeSWITCH-users mailing list<br>
> <a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
> <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
> UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
> <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
><br>
><br>
<br>
_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
</div></div></blockquote></div><br>
</div></div><br>_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br>
</div></div><br>_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br>
</div></div><br>_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Sincerely<br><br>Jay<br>