<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2737.800" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face="Trebuchet MS" size=2>Hi, i compiled some of the tools included
in the /test directory of the source CVS of SER. I want test the performace of
SER in my server and look at the udp_flood.c program included, this generate a
flood of SIP messages to the server. My question is how interpret the
results.</FONT></DIV>
<DIV><FONT face="Trebuchet MS" size=2></FONT> </DIV>
<DIV><FONT face="Trebuchet MS" size=2>If i send for example a flood with INVITE
request for non-existent user to my SER and see how much SER respond to this
flood in a time period, i supose that this is the Call Per Second supported by
SER ?</FONT></DIV>
<DIV><FONT face="Trebuchet MS" size=2></FONT> </DIV>
<DIV><FONT face="Trebuchet MS" size=2>Ex:</FONT></DIV>
<DIV><FONT face="Trebuchet MS" size=2></FONT> </DIV>
<DIV><FONT face="Trebuchet MS" size=2># flood SER with 100 request in one
second</FONT></DIV>
<DIV><FONT face="Trebuchet MS" size=2>./udp_flood -f invite00.sip
-d 192.168.1.1 -p 5060 -s 1000000 -t 100 -v -c 100</FONT></DIV>
<DIV><FONT face="Trebuchet MS" size=2></FONT> </DIV>
<DIV><FONT face="Trebuchet MS" size=2># SER make a log(1,"PROC_OK") for each
invite processed</FONT></DIV>
<DIV><FONT face="Trebuchet MS" size=2>...</FONT></DIV>
<DIV><FONT face="Trebuchet MS" size=2></FONT> </DIV>
<DIV><FONT face="Trebuchet MS" size=2># At the end of udp_flood execution + some
seconds i make</FONT></DIV>
<DIV><FONT face="Trebuchet MS" size=2>grep "PROC_OK" /var/log/ser.log | wc
-l</FONT></DIV>
<DIV><FONT face="Trebuchet MS" size=2></FONT> </DIV>
<DIV><FONT face="Trebuchet MS" size=2>Now, after this if i can see 100 at result
of wc -l i supose at least 100 INVITE per second is supported for my SER
???</FONT></DIV>
<DIV><FONT face="Trebuchet MS" size=2></FONT> </DIV>
<DIV><FONT face="Trebuchet MS" size=2>Thanks !</FONT></DIV>
<DIV><FONT face="Trebuchet MS" size=2></FONT> </DIV>
<DIV><FONT face="Trebuchet MS" size=2>Usage: udp_flood -f file -d address -p
port -c count [-v]<BR>Options:<BR> -f
file file with the content of the udp packet
(max 65k)<BR> -d address destination
address<BR> -p port
destination port<BR> -c count
number of packets to be sent<BR> -s
usec microseconds to sleep before sending
"throttle" packets<BR> -t throttle number of
packets to send before sleeping<BR>
-v increase
verbosity level<BR>
-V version
number<BR>
-h this help
message<BR></FONT></DIV></BODY></HTML>