Goals
Test max CPS for FreeSwitch on SUN x2200 with all extras disabled.
max is reached when retransmissions start to occur (due to singlethreadness of sofia)
Tweaks
- ulimit -s 250 -n 200000 (-hp option adjusts the stack anyway)
- disabled CDRs
- dialplan
Procedure
- restart FS on test3 box
- run sar on test3 box
- run sipp on test1 box
- parse sar 1 second interval output and average out the upper half of the step period minus 4 last seconds (15s step = 4s avg, 180s step = 86s avg)
Variants
- call duration ZERO
- call duration 5s
- call duration 90s
Results
Max for zero duration (~700 sessions active)
CPS |
User CPU |
System CPU |
Total CPU |
System Memory |
|---|---|---|---|---|
700 |
56,16% |
4,43% |
60,69% |
844MB |

Max for 5s duration (~2250 sessions active)
CPS |
User CPU |
System CPU |
Total CPU |
System Memory |
|---|---|---|---|---|
450 |
49,91% |
17,83% |
67,75% |
2155MB |

Max for 90s duration (~4500 sessions active)
CPS |
User CPU |
System CPU |
Total CPU |
System Memory |
|---|---|---|---|---|
50 |
30,98% |
35,58% |
72,32% |
4912MB |

Labels: