what is the callflow of the extension you are calling with sipp?<br><br>start by making the target extension just answer and play back a file till you have it working <br>and expand it from there.<br><br>you can comment out the manage-presence option in your sip profile to make the sip a lot less resource intensive.<br>
<br><br><br>here are the ulimits I set for load testing<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 244<br>ulimit -l unlimited<br><br><br><br><br><br><br><br><div class="gmail_quote">On Tue, Jul 8, 2008 at 1:51 PM, Patrick Grondin <<a href="mailto:pgrondin@ip5.com">pgrondin@ip5.com</a>> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div link="blue" vlink="purple" lang="EN-CA">
<div>
<p>Hi,</p>
<p> </p>
<p>I am currently doing some characterization testing to figure
out the limitations of my freeswitch server. I have tried both with SIPP and by
driving SIP calls</p>
<p>between 2 Freeswitch through mod_event_socket. I get similar
results both ways and I am suspicious of the results I get.</p>
<p> </p>
<p>Basically, whenever I try to launch calls with SIPP at a
rate superior than 8 cps, it seems like calls are being stacked. The response
time for a call between</p>
<p>the "invite" and the corresponding "200 OK"
keeps increasing as long as calls are being made which slows down the
processing speed until the average </p>
<p>CPS gets around 8 cps.</p>
<p> </p>
<p>My setup is : </p>
<p>1 Dual-Core AMD Opteron(tm) Processor 8216 @ 2.4 GHz</p>
<p>4 GB of RAM</p>
<p>Gigabit NIC</p>
<p>Centos 5</p>
<p>FreeSwitch Version 1.0.trunk (8911M)</p>
<p> </p>
<p>I think that my setup is underperforming and that it might
be related to some missing configuration tweaks. I already adjusted the ulimit
to the</p>
<p>recommended settings in the wiki for maximum performance. I
was wondering if there might be something else, that I'm still missing.</p>
<p> </p>
<p>Would any of you have an idea of what might be holding back
my setup ?</p>
<p> </p>
<p>Thanks !</p>
<p> </p>
<p>PG</p>
<p> </p>
<p>P.S. I gathered a bunch of information that I thought could
be useful.</p>
<p> </p>
<p>Freeswitch performance settings In switch.conf.xml</p>
<p style=""><span style="font-size: 9pt;"> <!--Most channels to allow at
once --></span></p>
<p style=""><span style="font-size: 9pt;"> <param
name="max-sessions" value="10000"/></span></p>
<p style=""><span style="font-size: 9pt;"> <!--Most channels to create
per second --></span></p>
<p style=""><span style="font-size: 9pt;"> <param name="sessions-per-second"
value="1000"/></span></p>
<p style=""><span style="font-size: 9pt;"> <!-- Default Global Log Level
- value is one of debug,info,notice,warning,err,crit,alert --></span></p>
<p><span style="font-size: 9pt;">
<param name="loglevel" value="alert"/></span></p>
<p> </p>
<p>Here is the SIPP command I used, based on Freeswitch
load_test script.</p>
<p># sipp -sf dft_cap.xml <a href="http://192.168.100.9" target="_blank">192.168.100.9</a> -s 9990 -r 15 -rp 1000
-l 200 -d 10000 -i <a href="http://192.168.100.200" target="_blank">192.168.100.200</a> -mi <a href="http://192.168.100.200" target="_blank">192.168.100.200</a></p>
<p> </p>
<p># cat /proc/cpuinfo</p>
<p> </p>
<p>processor : 0</p>
<p>vendor_id : AuthenticAMD</p>
<p>cpu family : 15</p>
<p>model
: 65</p>
<p>model name : Dual-Core AMD
Opteron(tm) Processor 8216</p>
<p>stepping : 2</p>
<p>cpu MHz :
2411.121</p>
<p>cache size : 1024 KB</p>
<p>physical id : 0</p>
<p>siblings : 2</p>
<p>core id : 0</p>
<p>cpu cores : 2</p>
<p>fpu
: yes</p>
<p>fpu_exception : yes</p>
<p>cpuid level : 1</p>
<p>wp
: yes</p>
<p>flags
: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush
mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt rdtscp lm 3dnowext 3dnow pni
cx16 lahf_lm cmp_legacy svm extapic cr8_legacy</p>
<p>bogomips : 4823.60</p>
<p>TLB size : 1024 4K
pages</p>
<p>clflush size : 64</p>
<p>cache_alignment : 64</p>
<p>address sizes : 40 bits physical, 48 bits
virtual</p>
<p>power management: ts fid vid ttp tm stc</p>
<p> </p>
<p># cat /proc/meminfo</p>
<p> </p>
<p>MemTotal: 4042672 kB</p>
<p>MemFree: 843188 kB</p>
<p>Buffers: 256676 kB</p>
<p>Cached: 2671172 kB</p>
<p>SwapCached: 1092 kB</p>
<p>Active:
777140 kB</p>
<p>Inactive: 2192840 kB</p>
<p>HighTotal:
0 kB</p>
<p>HighFree:
0 kB</p>
<p>LowTotal: 4042672 kB</p>
<p>LowFree: 843188 kB</p>
<p>SwapTotal: 2031608 kB</p>
<p>SwapFree: 2016120 kB</p>
<p>Dirty:
0 kB</p>
<p>Writeback:
0 kB</p>
<p>AnonPages: 41068 kB</p>
<p>Mapped:
26028 kB</p>
<p>Slab:
195536 kB</p>
<p>PageTables: 5672 kB</p>
<p>NFS_Unstable: 0 kB</p>
<p>Bounce:
0 kB</p>
<p>CommitLimit: 4052944 kB</p>
<p>Committed_AS: 153064 kB</p>
<p>VmallocTotal: 34359738367 kB</p>
<p>VmallocUsed: 35492 kB</p>
<p>VmallocChunk: 34359692283 kB</p>
<p>HugePages_Total: 0</p>
<p>HugePages_Free: 0</p>
<p>HugePages_Rsvd: 0</p>
<p>Hugepagesize: 2048 kB</p>
<p> </p>
<p># ulimit –a</p>
<p> </p>
<p>core file
size (blocks, -c) 0</p>
<p>data seg
size (kbytes, -d)
unlimited</p>
<p>scheduling
priority
(-e) 0</p>
<p>file
size
(blocks, -f) unlimited</p>
<p>pending
signals
(-i) 40960</p>
<p>max locked memory
(kbytes, -l) 32</p>
<p>max memory
size (kbytes, -m) unlimited</p>
<p>open
files
(-n) 1024</p>
<p>pipe
size (512
bytes, -p) 8</p>
<p><span lang="FR-CA">POSIX message
queues (bytes, -q) 819200</span></p>
<p>real-time
priority
(-r) 0</p>
<p>stack
size
(kbytes, -s) 10240</p>
<p>cpu
time
(seconds, -t) unlimited</p>
<p>max user
processes
(-u) 40960</p>
<p>virtual
memory (kbytes, -v) unlimited</p>
<p>file
locks
(-x) unlimited</p>
<p> </p>
<p># top</p>
<p> </p>
<p>top - 14:31:16 up 1 day, 58 min, 2 users, load
average: 5.73, 6.83, 5.36</p>
<p>Tasks: 129 total, 1 running, 128
sleeping, 0 stopped, 0 zombie</p>
<p>Cpu(s): 7.0%us, 2.8%sy, 0.0%ni, 50.8%id,
38.8%wa, 0.0%hi, 0.5%si, 0.0%st</p>
<p>Mem: 4042672k total, 3418968k
used, 623704k free, 256904k buffers</p>
<p>Swap: 2031608k total, 15488k
used, 2016120k free, 2681820k cached</p>
<p> </p>
<p> PID USER PR
NI VIRT RES SHR S %CPU %MEM TIME+
COMMAND</p>
<p> 6078 root 18
0 614m 109m 6480 S 19 2.8 3:39.11
freeswitch</p>
<p> </p>
</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>Anthony Minessale II<br><br>FreeSWITCH <a href="http://www.freeswitch.org/">http://www.freeswitch.org/</a><br>ClueCon <a href="http://www.cluecon.com/">http://www.cluecon.com/</a><br>
<br>AIM: anthm<br><a href="mailto:MSN%3Aanthony_minessale@hotmail.com">MSN:anthony_minessale@hotmail.com</a><br>GTALK/JABBER/<a href="mailto:PAYPAL%3Aanthony.minessale@gmail.com">PAYPAL:anthony.minessale@gmail.com</a><br>
IRC: <a href="http://irc.freenode.net">irc.freenode.net</a> #freeswitch<br><br>FreeSWITCH Developer Conference<br><a href="mailto:sip%3A888@conference.freeswitch.org">sip:888@conference.freeswitch.org</a><br><a href="http://iax:guest@conference.freeswitch.org/888">iax:guest@conference.freeswitch.org/888</a><br>
<a href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org">googletalk:conf+888@conference.freeswitch.org</a><br>pstn:213-799-1400