<div dir="ltr">Hello Everyone,<div><br></div><div style>We are running some torcher tests on our * box using SIPP. The overall idea of the test is to contact asterisk and play a g729 encoded recording. On the asterisk side, we are initiating the echo app for the contacted extension, simulating a two way conversation.</div>
<div style><br></div><div style>For some reason we cannot get past *91* calls on every test, with a lot of resources left:</div><div style><br></div><div style>*top*</div><div style><br></div><div style><div>top - 14:28:45 up 1 day,  1:45,  2 users,  load average: 1.09, 0.80, 0.59</div>
<div>Tasks:  56 total,   1 running,  55 sleeping,   0 stopped,   0 zombie</div><div>%Cpu(s):  7.6 us,  8.5 sy,  0.0 ni, 82.7 id,  0.0 wa,  0.0 hi,  1.2 si,  0.0 st</div><div>KiB Mem:   3825108 total,   164480 used,  3660628 free,    16324 buffers</div>
<div>KiB Swap:  2097148 total,        0 used,  2097148 free,    97404 cached</div><div><br></div><div>  PID USER      PR  NI  VIRT  RES  SHR S  %CPU %MEM     TIME+ COMMAND                                                                    </div>
<div> 7229 root      20   0 70400  25m 5808 S  35.5  0.7   7:29.26 asterisk                                                                   </div><div><br></div><div><br></div><div><br></div><div style>*iftop*</div><div style>
<br></div><div style><div>Press H or ? for help       1.91Mb       3.81Mb        5.72Mb         7.63Mb                 9.54Mb</div><div>└────────────────┴─────────┴───────┴────────┴────────────</div><div><a href="http://test.example.com">test.example.com</a>                                  =&gt; 192.168.2.100             1.75Mb  1.75Mb  1.71Mb</div>
<div>                                                            &lt;=                                   1.70Mb  1.70Mb  1.66Mb</div><div><a href="http://test.example.com">test.example.com</a>                                  =&gt; <a href="http://db.example.com">db.example.com</a>          37.3Kb  37.3Kb  36.5Kb</div>
<div>                                                            &lt;=                                   10.1Kb  10.1Kb  9.87Kb</div><div><br></div><div>────────────────────────────────────────────────────────────</div><div>
TX:             cumm:  8.28MB   peak:   1.79Mb           rates:   1.79Mb  1.79Mb  1.74Mb</div><div>RX:                         7.93MB              1.72Mb                      1.71Mb  1.71Mb  1.67Mb</div><div>TOTAL:                   16.2MB              3.51Mb                      3.50Mb  3.50Mb  3.41Mb</div>
</div><div style><br></div><div style><br></div><div><br></div><div style>The SIPP Results</div><div style><br></div><div style><br></div><div style><div>------------------------------ Scenario Screen -------- [1-9]: Change Screen --</div>
<div>  Call-rate(length)   Port   Total-time  Total-calls  Remote-host</div><div>  10.0(0 ms)/1.000s   5060    2089.21 s        20802  192.168.2.10:5060(UDP)</div><div><br></div><div>  0 new calls during 0.000 s period      0 ms scheduler resolution</div>
<div>  0 calls (limit 100)                    Peak was 91 calls, after 9 s</div><div>  0 Running, 332 Paused, 0 Woken up</div><div>  0 dead call msg (discarded)            0 out-of-call msg (discarded)        </div><div>  1 open sockets                        </div>
<div><br></div><div>                                 Messages  Retrans   Timeout   Unexpected-Msg</div><div>      INVITE ----------&gt;         20802     0         0                  </div><div>         100 &lt;----------         20802     0         0         0        </div>
<div>         180 &lt;----------         0         0         0         0        </div><div>         200 &lt;----------  E-RTD1 20802     0         0         0        </div><div><br></div><div>         ACK ----------&gt;         20802     0                            </div>
<div>              [ NOP ]              </div><div>       Pause [   8000ms]         20802                         0        </div><div>              [ NOP ]              </div><div>       Pause [   1000ms]         20802                         0        </div>
<div>         BYE ----------&gt;         20802     0         0                  </div><div>         200 &lt;----------         20802     0         0         0        </div><div><br></div><div>------------------------------ Test Terminated --------------------------------</div>
<div><br></div><div><br></div><div>----------------------------- Statistics Screen ------- [1-9]: Change Screen --</div><div>  Start Time             | 2013-04-09<span class="" style="white-space:pre">        </span>14:08:07:797<span class="" style="white-space:pre">        </span>1365530887.797642            </div>
<div>  Last Reset Time        | 2013-04-09<span class="" style="white-space:pre">        </span>14:42:57:025<span class="" style="white-space:pre">        </span>1365532977.025339            </div><div>  Current Time           | 2013-04-09<span class="" style="white-space:pre">        </span>14:42:57:025<span class="" style="white-space:pre">        </span>1365532977.025537            </div>
<div>-------------------------+---------------------------+--------------------------</div><div>  Counter Name           | Periodic value            | Cumulative value</div><div>-------------------------+---------------------------+--------------------------</div>
<div>  Elapsed Time           | 00:00:00:000              | 00:34:49:227             </div><div>  Call Rate              |    0.000 cps              |    9.957 cps             </div><div>-------------------------+---------------------------+--------------------------</div>
<div>  Incoming call created  |        0                  |        0                 </div><div>  OutGoing call created  |        0                  |    20802                 </div><div>  Total Call created     |                           |    20802                 </div>
<div>  Current Call           |        0                  |                          </div><div>-------------------------+---------------------------+--------------------------</div><div>  Successful call        |        0                  |    20802                 </div>
<div>  Failed call            |        0                  |        0                 </div><div>-------------------------+---------------------------+--------------------------</div><div>  Response Time 1        | 00:00:00:000              | 00:00:00:003             </div>
<div>  Call Length            | 00:00:00:000              | 00:00:09:010             </div><div>------------------------------ Test Terminated --------------------------------</div><div><br></div><div><br></div><div><br></div>
<div style>Can we clear OS and * bottlenecks down into the different parts:</div><div style><br></div><div style>OS - Simple commands such as ulimit etc...</div><div style>Asterisk - Startup directives that will increase whatever (i.e., allocated memory, -p value)</div>
<div style><br></div><div style>before addressing hardware resources?</div><div style><br></div><div style>Your help is greatly appreciated,</div><div style><br></div><div style>Nick.</div></div></div></div>