2015-10-27

session-constraints w/ sipp

This feature can control Request message except Retransmission.

Configuration:
sip-config
        extra-method-stats                      enabled
session-constraints
        name                                    rejectREG
        state                                   enabled
        max-sessions                            0
        max-inbound-sessions                    0
        max-outbound-sessions                   0
        max-burst-rate                          0
        max-inbound-burst-rate                  0
        max-outbound-burst-rate                 0
        max-sustain-rate                        0
        max-inbound-sustain-rate                0
        max-outbound-sustain-rate               0
        min-seizures                            5
        min-asr                                 0
        time-to-resume                          0
        ttr-no-response                         0
        in-service-period                       0
        burst-rate-window                       1
        sustain-rate-window                     0
        rate-constraints
                method                                  REGISTER
                max-inbound-burst-rate                  10

                max-outbound-burst-rate                 0
                max-inbound-sustain-rate                0
                max-outbound-sustain-rate               0 


Case #1: 5 RPS
REGISTER (07:17:10-107)
                      --------- Server --------   --------- Client --------
Message/Event         Recent      Total  PerMax   Recent      Total  PerMax
                      ------  ---------  ------   ------  ---------  ------
REGISTER Requests        354       1000     500      354       1000     500
Retransmissions         3743       9000    4500     4255      10000    4988
Transaction Timeouts       -          -       -      514       1000     500
Locally Throttled          -          -       -        0          0       0

Avg Latency=0.000 for 0
Max Latency=0.000


sipp:
------------------------------ Scenario Screen -------- [1-9]: Change Screen --
  Call-rate(length)   Port   Total-time  Total-calls  Remote-host
   5.0(0 ms)/1.000s   5060     231.52 s         1000  10.0.0.100:5060(UDP)

  Call limit reached (-m 1000), 0.000 s period  0 ms scheduler resolution
  0 calls (limit 1000000)                Peak was 158 calls, after 31 s
  0 Running, 2 Paused, 0 Woken up
  0 dead call msg (discarded)            0 out-of-call msg (discarded)       
  1 open sockets                       

                                 Messages  Retrans   Timeout   Unexpected-Msg
    REGISTER ---------->         1000      9000      1000              

         200 <----------         0         0         0         0       

       Pause [    25.0s]         0                             0       

------------------------------ Test Terminated --------------------------------


Case #2: 15 RPS
REGISTER (07:29:50-166)
                      --------- Server --------   --------- Client --------
Message/Event         Recent      Total  PerMax   Recent      Total  PerMax
                      ------  ---------  ------   ------  ---------  ------
REGISTER Requests       1000       1000     724      700        700     500
Retransmissions         9000       9000    4859     7000       7000    3748
503 Service Unavail      300        300     224        0          0       0
Transaction Timeouts       -          -       -      700        700     500
Locally Throttled          -          -       -        0          0       0

Avg Latency=0.000 for 0
Max Latency=0.000


sipp
------------------------------ Scenario Screen -------- [1-9]: Change Screen --
  Call-rate(length)   Port   Total-time  Total-calls  Remote-host
  15.0(0 ms)/1.000s   5060      98.18 s         1000  10.0.0.100:5060(UDP)

  Call limit reached (-m 1000), 0.000 s period  0 ms scheduler resolution
  0 calls (limit 1000000)                Peak was 474 calls, after 43 s
  0 Running, 2 Paused, 0 Woken up
  0 dead call msg (discarded)            0 out-of-call msg (discarded)       
  1 open sockets                       

                                 Messages  Retrans   Timeout   Unexpected-Msg
    REGISTER ---------->         1000      9000      1000              

         200 <----------         0         0         0         3000    

       Pause [    25.0s]         0                             0       

------------------------------ Test Terminated --------------------------------

댓글 없음:

댓글 쓰기