<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE rfc SYSTEM "http://xml.resource.org/authoring/rfc2629.dtd" [
<!ENTITY rfc2119 SYSTEM "http://xml.resource.org/public/rfc/bibxml/reference.RFC.2119.xml">
<!ENTITY rfc2544 SYSTEM "http://xml.resource.org/public/rfc/bibxml/reference.RFC.2544.xml">
<!ENTITY rfc3261 SYSTEM "http://xml.resource.org/public/rfc/bibxml/reference.RFC.3261.xml">
]?>

<?rfc toc="yes" ?>
<?rfc compact="yes" ?>
<?rfc sortrefs="no" ?>
<?rfc symrefs="yes" ?>

<rfc docName="draft-ietf-bmwg-sip-bench-meth-09" ipr="trust200902" category="info">

<front>
  <title abbrev="SIP Benchmarking Methodology">
         Methodology for Benchmarking Session Initiation Protocol (SIP) 
         Devices: Basic session setup and registration
  </title>
	
     <author initials="C." surname="Davids" fullname="Carol Davids">
     <organization>Illinois Institute of Technology</organization>
     <address>
     <postal>
          <street>201 East Loop Road</street>
          <city>Wheaton</city>
          <region>IL</region>
          <code>60187</code>
          <country>USA</country>
     </postal> 
     <phone>+1 630 682 6024</phone>
     <email>davids@iit.edu</email>
     </address>
     </author>

     <author initials="V." surname="Gurbani" fullname="Vijay K. Gurbani">
     <organization>Bell Laboratories, Alcatel-Lucent</organization>
     <address>
     <postal>
          <street>1960 Lucent Lane</street>
          <street>Rm 9C-533</street>
          <city>Naperville</city>
          <region>IL</region>
          <code>60566</code>
          <country>USA</country>
       </postal> 
       <phone>+1 630 224 0216</phone>
       <email>vkg@bell-labs.com</email>
     </address>
     </author>

     <author initials="S." surname="Poretsky" fullname="Scott Poretsky">
     <organization>Allot Communications</organization>
     <address>
     <postal>
          <street>300 TradeCenter, Suite 4680</street>
          <city>Woburn</city>
          <region>MA</region>
          <code>08101</code>
          <country>USA</country>
       </postal>
       <phone>+1 508 309 2179</phone>
       <email>sporetsky@allot.com</email>
     </address>
     </author>
	
     <date year="2014"/>
	<area>Operations and Management Area</area>
     <workgroup>Benchmarking Methodology Working Group</workgroup>

<abstract>
 <t>This document provides a methodology for benchmarking the Session
 Initiation Protocol (SIP) performance of devices.  Terminology
 related to benchmarking SIP devices is described in the companion
 terminology document.  Using these two documents, benchmarks can 
 be obtained and compared for different types of devices such as 
 SIP Proxy Servers, Registrars and Session Border Controllers.  The 
 term "performance" in this context means  the capacity of the 
 device-under-test (DUT) to process SIP messages.  Media streams are 
 used only to study how  they impact the signaling behavior.  The 
 intent of the two documents is to provide a normalized set of tests 
 that will enable an objective comparison of the capacity of SIP devices.  
 Test setup parameters and a methodology is necessary because 
 SIP allows a wide range of configuration and operational conditions 
 that can influence performance benchmark measurements.  A standard
 terminology and methodology will ensure that benchmarks have
 consistent definition and were obtained following the same procedures.</t>
</abstract>

</front>

<middle>

<section title="Terminology">
  <t>In this document, the key words "MUST", "MUST NOT", "REQUIRED",
  "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "NOT
  RECOMMENDED", "MAY", and "OPTIONAL" are to be interpreted as described
  in BCP 14, conforming to <xref target="RFC2119"/> and indicate
  requirement levels for compliant implementations.</t>

  <t>RFC 2119 defines the use of these key words to help make the
  intent of standards track documents as clear as possible.  While this
  document uses these keywords, this document is not a standards track
  document.  The term Throughput is defined in <xref target="RFC2544"/>.</t>

  <t>Terms specific to SIP <xref target="RFC3261"/> performance benchmarking
  are defined in <xref target="I-D.sip-bench-term"/>.</t>

</section> <!-- Terminology -->

<section title="Introduction">

  <t>This document describes the methodology for benchmarking Session
   Initiation Protocol (SIP) performance as described in Terminology
   document <xref target="I-D.sip-bench-term"/>.  The methodology and 
   terminology are to be used for benchmarking signaling plane performance 
   with varying signaling and media load.   Media streams, when used, are 
   used only to study how they impact the signaling behavior.  This 
   document concentrates on benchmarking SIP session setup and SIP
   registrations only.</t>

   <t>The device-under-test (DUT) is a SIP server, which may be any
   SIP conforming <xref target="RFC3261"/> device.  Benchmarks can be
   obtained and compared for different types of devices such as SIP
   Proxy Server, Session Border Controllers (SBC), SIP registrars and
   SIP proxy server paired with a media relay.</t>

   <t>The test cases provide metrics for benchmarking the maximum 'SIP 
   Registration Rate' and maximum 'SIP Session Establishment Rate' that 
   the DUT can sustain over an extended period of time without failures.
   Some cases are included to cover Encrypted SIP.  The test topologies 
   that can be used are described in the Test Setup section.  Topologies 
   in which the DUT handles media as well as those in which the DUT does not
   handle media are both considered. The measurement of the performance 
   characteristics of the media itself is outside the scope of these 
   documents.</t>

   <t>SIP permits a wide range of configuration options that are explained
   in Section 4 and Section 2 of <xref target="I-D.sip-bench-term"/>.  
   Benchmark values could possibly be impacted by Associated Media.  
   The selected values for Session Duration and Media Streams per 
   Session enable benchmark metrics to be evaluated without Associated Media.
   Session Establishment Rate could possibly be impacted by the selected 
   value for Maximum Sessions Attempted.  The benchmark for Session
   Establishment Rate is measured with a fixed value for maximum Session
   Attempts. </t>

   <t>SIP permits a wide range of configuration options that are
   explained in <xref target="test-considerations"/> and Section
   2 of <xref target="I-D.sip-bench-term"/>.  Benchmark metrics could
   possibly be impacted by Associated Media. The selected values for
   Session Duration and Media Streams per Session enable benchmark
   metrics to be benchmarked without Associated Media.  Session Setup
   Rate could possibly be impacted by the selected value for Maximum
   Sessions Attempted.  The benchmark for Session Establishment Rate is
   measured with a fixed value for maximum Session Attempts.</t>

   <t>Finally, the overall value of these tests is to serve as a
   comparison function between multiple SIP implementations.
   One way to use these tests is to derive benchmarks with
   SIP devices from Vendor-A, derive a new set of benchmarks
   with similar SIP devices from Vendor-B and perform a comparison
   on the results of Vendor-A and Vendor-B.  This document does
   not make any claims on the interpretation of such results.</t>

</section> <!-- Introduction -->

<section title="Benchmarking Topologies" anchor="test-topologies">

   <t>There are two test topologies; one in which the DUT does not
   process the media (<xref target="dut-in-sut-no-media"/>) and the
   other in which it does process media (<xref target="dut-in-sut-media"/>).
   In both cases, the tester or EA sends traffic into the DUT and absorbs
   traffic from the DUT.  The diagrams in <xref target="dut-in-sut-no-media"/>
   and <xref target="dut-in-sut-media"/> represent the logical flow of
   information and do not dictate a particular physical arrangements of
   the entities.</t>

   <t>Test organizations need to be aware that these tests generate 
   large volumes of data and consequently ensure that networking 
   devices like hubs, switches or routers are able to handle the 
   generated volume.</t>

   <t><xref target="dut-in-sut-no-media"/> depicts a layout in which the 
   DUT as an intermediary between the two interfaces of the EA.  If 
   the test case requires the exchange of media, the media does not 
   flow through the DUT but rather passes directly between the two 
   endpoints.  <xref target="dut-in-sut-media"/> shows the DUT as an
   intermediary between the two interfaces of the EA. If the test case 
   requires the exchange of media, the media flows through the DUT between 
   the endpoints.</t>

   <figure anchor="dut-in-sut-no-media"
         title="DUT as an intermediary, end-to-end media">

   <artwork><![CDATA[

   +--------+   Session   +--------+  Session    +--------+
   |        |   Attempt   |        |  Attempt    |        |
   |        |------------>+        |------------>+        |
   |        |             |        |             |        |
   |        |   Response  |        |  Response   |        |
   | Tester +<------------|  DUT   +<------------| Tester |
   |  (EA)  |             |        |             |  (EA)  |
   |        |             |        |             |        |
   +--------+             +--------+             +--------+
      /|\                                            /|\
       |              Media (optional)                |
       +==============================================+
       
   ]]></artwork>
   </figure>

   <figure anchor="dut-in-sut-media"
         title="DUT as an intermediary forwarding media">

   <artwork><![CDATA[

   +--------+   Session   +--------+  Session    +--------+
   |        |   Attempt   |        |  Attempt    |        |
   |        |------------>+        |------------>+        |
   |        |             |        |             |        |
   |        |   Response  |        |  Response   |        |
   | Tester +<------------|  DUT   +<------------| Tester |
   |  (EA)  |             |        |             |  (EA)  |
   |        |<===========>|        |<===========>|        |
   +--------+   Media     +--------+    Media    +--------+
              (Optional)             (Optional)
       
   ]]></artwork>
   </figure>

</section> <!-- test-topologies -->

<section title="Test Setup Parameters" anchor="test-considerations">

<section title="Selection of SIP Transport Protocol"
          anchor="SIP-Trans-Pro selection">

 <t>Test cases may be performed with any transport protocol supported
 by SIP.  This includes, but is not limited to, TCP, UDP,
 TLS and websockets.  The protocol used for the SIP transport 
 protocol must be reported with benchmarking results.</t>

</section>

<section title="Signaling Server" anchor="Signaling-Server">

 <t>The Signaling Server is defined in the companion terminology document, 
 (<xref target="I-D.sip-bench-term"/>, Section 3.2.2).  The Signaling 
 Server is a DUT.</t>

</section>

<section title="Associated Media" anchor="associated-media">

 <t>Some tests require Associated Media to be present for each SIP
 session. The test topologies to be used when benchmarking DUT performance
 for Associated Media are shown in 
 <xref target="dut-in-sut-no-media"/> and <xref target="dut-in-sut-media"/>.
 </t>

</section>

<section title="Selection of Associated Media Protocol"
  anchor="associated-media-pro-selection">

 <t>The test cases specified in this document provide SIP performance
 independent of the protocol used for the media stream.  Any media
 protocol supported by SIP may be used.  This includes, but is not
 limited to, RTP, RTSP, and SRTP.  The protocol used for
 Associated Media MUST be reported with benchmarking results. </t>

</section>

<section title="Number of Associated Media Streams per SIP Session"
           anchor="assoc-media-stream-number-per-SIP-session">

 <t>Benchmarking results may vary with the number of media
 streams per SIP session.  When benchmarking a DUT for voice, a
 single media stream is used.  When benchmarking a DUT for voice
 and video, two media streams are used.  The number of Associated
 Media Streams MUST be reported with benchmarking results. </t>

</section>

<section title="Session Duration" anchor="session-duration">

 <t>The value of the DUT's performance benchmarks may vary with 
 the duration
 of SIP sessions. Session Duration MUST be reported with
 benchmarking results.  A Session Duration of zero seconds
 indicates transmission of a BYE immediately following successful
 SIP establishment indicate by receipt of a 200 OK.  An infinite
 Session Duration indicates that a BYE is never transmitted.</t>
</section>

<section title="Attempted Sessions per Second"
          anchor="sessions-attempted-per-second">

 <t>The value of the DUT's performance benchmarks may vary with the
 Session Attempt Rate offered by the tester.  Session Attempt Rate MUST 
 be reported with the benchmarking results.</t>

</section>

<section title="Benchmarking algorithm" anchor="bench-algo">
 <t>In order to benchmark the test cases uniformly in 
 <xref target="test-cases"/>, the algorithm described in this
 section should be used.  Both, a prosaic description of the
 algorithm and a pseudo-code description are provided. </t>

 <t>The goal is to find the largest value, R, of a SIP Session Attempt Rate,
 measured in sessions-per-second, which the DUT can process with
 zero errors over a defined, extended period.  This period is defined 
 as the amount of time needed to attempt N SIP sessions, where N is a 
 parameter of test, at the attempt rate, R. An iterative process is 
 used to find this rate.  The iterative process is divided into two 
 distinct phases: Candidate Identification and Steady State Testing.</t>

 <t>During the Candidate Identification phase, the test runs until n 
 sessions have been attempted, at session attempt rates, r, which vary 
 according to the algorithm below, where n is also a  parameter of test 
 and is a relatively large number, but an order of magnitude smaller than 
 N.  If no errors occur during the time it takes to attempt n sessions, 
 we increment r according to the algorithm.  If errors are encountered 
 during the test, we decrement r according to the algorithm. The 
 algorithm provides a variable, G, that allows us to control how the 
 accuracy, in sessions per second, that we require of the test. </t>

 <t>After this candidate rate has been discovered, the test enters the 
 Steady State phase. In the Steady State phase, N session Attempts are 
 made at the candidate rate.  The goal is to find a rate at which the DUT 
 can process calls "forever" with no errors and the test organization can 
 choose N as large as it deems appropriate. If errors are encountered 
 during this steady-state phase,  the candidate rate is reduced by a 
 defined percent, also a parameter of test, and the steady-state phase is 
 entered again until a final (new) steady-state rate is achieved.</t>

 <t>The iterative process itself is defined as follows: A starting rate
 of r = 100 sessions per second is used and we place calls at that
 rate until n = 5000 calls have been placed.  If all n calls are
 successful, the rate is increased to 150 sps and again we place calls
 at that rate until n = 5000 calls have been placed.  The attempt rate
 is continuously ramped up until a failure is encountered before n =
 5000 calls have been placed.  Then an attempt rate is calculated that
 is higher than the last successful attempt rate by a quantity equal
 to half the difference between the rate at which failures occurred
 and the last successful rate.  If this new attempt rate also results
 in errors, a new attempt rate is tried that is higher than the last
 successful attempt rate by a quantity equal to half the difference
 between the rate at which failures occurred and the last successful
 rate.  Continuing in this way, an attempt rate without errors is
 found.  The tester can specify margin of error using the parameter G,
 measured in units of sessions per second. </t>

 <t>The pseudo-code corresponding to the description above follows.</t>

  <figure><artwork>
  <![CDATA[
   ; ---- Parameters of test, adjust as needed
   n  := 5000   ; local maximum; used to figure out largest
                ; value (number of sessions attempted)
   N  := 50000  ; global maximum; once largest session rate has
                ; been established, send this many requests before
                ; calling the test a success
   m  := {...}  ; other attributes that affect testing, such
                ; as media streams, etc.
   r  := 100    ; Initial session attempt rate (in sessions/sec)
   G  := 5      ; granularity of results - the margin of error in 
                ; sps 
   C  := 0.05   ; calibration amount: How much to back down if we
                ; have found candidate s but cannot send at rate s
                ; for time T without failures 

   ; ---- End of parameters of test
   ; ---- Initialization of flags, candidate values and upper bounds

   f  := false  ; indicates a success after the upper limit
   F  := false  ; indicates that test is done
   c  := 0      ; indicates that we have found an upper limit

   proc find_largest_value
      ; Iterative process to figure out the largest value we can
      ; handle with no failures
      do  {
          send_traffic(r, m, n) ; Send r request/sec with m
                                ; characteristics until n 
                                ; requests have been sent
          if (all requests succeeded) {
             r' := r ; save candidate value of metric
             if ( c == 0 ) {
                r  := r + (0.5 * r)
             } 
             else if ((c == 1) &&  (r''-r')) > 2*G ) {
                r := r + ( 0.5 * (r'' - r ); 
             } 
             else if ((c == 1) &&  ((r''-r') <= 2*G ) {
                f := true; 
             } 
             else if (one or more requests fail)  {
                c  := 1     ; found upper bound for the metric
                r'' := r    ; save new upper bound
                r  := r - (0.5 * (r - r'))
             }
      } while (f == false)
   end proc
  ]]>
  </artwork></figure>

</section> <!-- bench-algo -->


</section> <!-- test-considerations -->

<section title="Reporting Format"
          anchor="reporting-format">

<section title="Test Setup Report"
          anchor="test-setup-report">
  <t><figure><artwork>
  SIP Transport Protocol = ___________________________
  (valid values: TCP|UDP|TLS|SCTP|websockets|specify-other)
  Session Attempt Rate = _____________________________
  (session attempts/sec)
  Total Sessions Attempted = _________________________
  (total sessions to be created over duration of test)
  Media Streams Per Session =  _______________________
  (number of streams per session)
  Associated Media Protocol =  _______________________
  (RTP|RTSP|specify-other)
  Media Packet Size =  _______________________________
  (bytes)
  Establishment Threshold time =  ____________________
  (seconds) 
  TLS ciphersuite used 
  (for tests involving TLS) = ________________________
  (e.g., TLS_RSA_WITH_AES_128_CBC_SHA)
  IPSec profile used 
  (for tests involving IPSEC) = _____________________

  </artwork></figure></t>

</section> <!-- Test setup report-->

<section title="Device Benchmarks for IS"
          anchor="device-benchmarks-IS">
  <t><figure><artwork>

  Session Establishment Rate =  ______________________
  (sessions per second)
  Is DUT acting as a media relay (yes/no) = _________
 
  </artwork></figure></t>

</section> <!-- device-benchmark-IS -->

<section title="Device Benchmarks for NS"
          anchor="device-benchmarks-NS">
  <t><figure><artwork>
  Registration Rate =  ____________________________
  (registrations per second)
  Re-registration Rate =  ____________________________
  (registrations per second)
  </artwork></figure></t>

</section> <!-- device-benchmark-NS -->

</section> <!-- reporting-format -->

<section title="Test Cases"
          anchor="test-cases"> 
<section title="Baseline Session Establishment Rate of the test bed" 
         anchor="base-sess-est-rate">
  <t>
  <list style="hanging">
   <t hangText="Objective:"></t>
    <t>To benchmark the Session Establishment Rate of the Emulated Agent 
       (EA) with zero failures.</t>
   <t></t>
   <t hangText="Procedure:">
    <list style= "numbers">

    <t>Configure the DUT in the test topology shown in 
    <xref target="dut-in-sut-no-media"/>.</t>

     <t>Set media streams per session to 0.</t>

     <t>Execute benchmarking algorithm as defined in
     <xref target="bench-algo"/> to get the baseline session
     establishment rate.  This rate MUST be recorded using
     any pertinent parameters as shown in the reporting
     format of <xref target="test-setup-report"/>. </t>
   </list> </t>
   <t></t>
  <t hangText="Expected Results:">This is the scenario to obtain 
  the maximum Session Establishment Rate of the EA and the test bed when 
  no DUT is present.  The results of this test might be 
  used to normalize test results performed on different test 
  beds or simply to better understand the impact of the 
  DUT on the test bed in question.</t>
  </list>
  </t>
</section> <!-- Session Establishment Rate -->

<section title="Session Establishment Rate without media" 
         anchor="sess-est-rate">
  <t>
  <list style="hanging">
   <t hangText="Objective:"></t>
    <t>To benchmark the Session Establishment Rate of the DUT with 
    no associated media and zero failures.</t>
   <t></t>
   <t hangText="Procedure:">
    <list style= "numbers">

     <t>Configure a DUT according to the test topology shown in 
     <xref target="dut-in-sut-no-media"/> or
     <xref target="dut-in-sut-media"/>.</t>

     <t>Set media streams per session to 0.</t>

     <t>Execute benchmarking algorithm as defined in 
     <xref target="bench-algo"/> to get the session establishment rate.  
     This rate MUST be recorded using any pertinent parameters as shown in 
     the reporting format of <xref target="test-setup-report"/>. </t>
   </list> </t>
  <t></t>
  <t hangText="Expected Results:">Find the Session Establishment Rate of 
  the DUT when the EA is not sending media streams.</t>
  </list>
  </t>
</section> <!-- Session Establishment Rate -->

<section title="Session Establishment Rate with Media not on DUT"
          anchor="session-attempt-rate-with-media-not-on-dutsut">
  <t>
  <list style="hanging">
   <t hangText="Objective:"></t>
    <t>To benchmark the Session Establishment Rate of the DUT with
     zero failures when Associated Media is included in the benchmark 
     test but the media is not running through the DUT.</t>

   <t></t>
   <t hangText="Procedure:">
   <list style= "numbers">

   <t>Configure a DUT according to the test topology shown in 
   <xref target="dut-in-sut-no-media"/>.</t>

   <t>Set media streams per session to 1.</t>

   <t>Execute benchmarking algorithm as defined in <xref target="bench-algo"/> 
   to get the session establishment rate with media.  This rate 
   MUST be recorded using any pertinent parameters as shown in the 
   reporting format of <xref target="test-setup-report"/>. </t>
  </list></t>

  <t></t>

  <t hangText="Expected Results:">Session Establishment Rate results 
  obtained with Associated Media with any number of media streams per 
  SIP session are expected to be identical to the Session Establishment Rate
  results obtained without media in the case where the DUT is
  running on a platform separate from the platform on which the
  Media Relay.</t>
  </list>
  </t>

</section> <!-- Session Establishment Rate with media not on DUT -->

<section title="Session Establishment Rate with Media on DUT"
          anchor="session-attempt-rate-with-media">
  <t>
  <list style="hanging">
   <t hangText="Objective:"></t>
    <t>To benchmark the Session Establishment Rate of the DUT with
     zero failures when Associated Media is included in the benchmark 
     test and the media is running through the DUT.</t>

   <t></t>
   <t hangText="Procedure:">
   <list style= "numbers">

   <t>Configure a DUT according to the test topology shown in 
   <xref target="dut-in-sut-media"/>.</t>

   <t>Set media streams per session to 1.</t>

   <t>Execute benchmarking algorithm as defined in <xref target="bench-algo"/> 
   to get the session establishment rate with media.  This rate 
   MUST be recorded using any pertinent parameters as shown in the 
   reporting format of <xref target="test-setup-report"/>. </t>
  </list></t>

  <t></t>

  <t hangText="Expected Results:">Session Establishment Rate results 
  obtained with Associated Media may be lower than those obtained without 
  media in the case where the DUT and the Media Relay 
  are running on the same platform.</t>
  </list>
  </t>

</section> <!-- Session Establishment Rate with media -->

<section title="Session Establishment Rate with TLS Encrypted SIP"
          anchor="ssr-with-TLS-Encrypted-SIP">
  <t>
  <list style="hanging">
   <t hangText="Objective:"></t>
   <t>To benchmark the Session Establishment Rate
      of the DUT with zero failures when using TLS encrypted SIP
      signaling.</t>

  <t></t>
   <t hangText="Procedure:">
   <list style= "numbers">

    <t>If the DUT is being benchmarked as a proxy or B2BUA, then configure 
    the DUT in the test topology shown in 
    <xref target="dut-in-sut-no-media"/> or
    <xref target="dut-in-sut-media"/>.</t>

    <t>Configure the tester to enable TLS over the transport being
    used during benchmarking.  Note the ciphersuite being used for 
    TLS and record it in <xref target="test-setup-report"/>.</t>

    <t>Set media streams per session to 0 (media is not used in this test).</t>

    <t>Execute benchmarking algorithm as defined in <xref target="bench-algo"/>
    to get the session establishment rate with TLS encryption.</t>

  </list></t>

  <t></t>

  <t hangText="Expected Results:">Session Establishment Rate results 
  obtained with TLS Encrypted SIP may be lower than those obtained 
  with plaintext SIP.</t>
  </list>
  </t>
</section> <!-- Session Establishment Rate with TLS Encrypted SIP -->

<section title="Session Establishment Rate with IPsec Encrypted SIP"
          anchor="ssr-with-IPsec-Encrypted-SIP">
  <t>
  <list style="hanging">
   <t hangText="Objective:"></t>
    <t>To benchmark the Session Establishment Rate
       of the DUT with zero failures when using IPsec Encrypted SIP
       signaling.</t>

   <t></t>

   <t hangText="Procedure:">
   <list style= "numbers">

    <t>Configure a DUT according to the test topology shown in
    <xref target="dut-in-sut-no-media"/> or
    <xref target="dut-in-sut-media"/>.</t>

    <t>Set media streams per session to 0 (media is not used in this test).</t>

    <t>Configure tester for IPSec.  Note the IPSec profile being used for 
    and record it in <xref target="test-setup-report"/>.</t>

    <t>Execute benchmarking algorithm as defined in <xref target="bench-algo"/>
    to get the session establishment rate with encryption.</t>

   </list></t>

  <t></t>

  <t hangText="Expected Results:">Session Establishment Rate results 
  obtained with IPSec Encrypted SIP may be lower than those obtained 
  with plaintext SIP.</t>
  </list>
  </t>
</section> <!-- Session Establishment Rate with IPsec Encrypted SIP -->

<section title="Registration Rate" anchor="registration-rate">
  <t>
  <list style="hanging">
   <t hangText="Objective:"></t>
    <t>To benchmark the maximum registration rate the DUT can handle
    over an extended time period with zero failures.</t>

   <t></t>

   <t hangText="Procedure:">
   <list style= "numbers">

    <t>Configure a DUT according to the test topology shown in
    <xref target="dut-in-sut-no-media"/> or
    <xref target="dut-in-sut-media"/>.</t>

    <t>Set the registration timeout value to at least 3600 seconds.</t>

    <t>Execute benchmarking algorithm as defined in
    <xref target="bench-algo"/> to get the maximum
    registration rate.  This rate 
    MUST be recorded using any pertinent parameters as shown 
    in the reporting format of <xref target="test-setup-report"/>.
    For example, the use of TLS or IPSec during registration must be
    noted in the reporting format.</t>

   </list></t>
  <t></t>
  <t hangText="Expected Results:">Provides a maximum registration rate.</t>
  </list>
  </t>
</section> <!-- Maximum Registration Rate -->

<section title="Re-Registration Rate"
          anchor="re-registration-rate">
  <t>
  <list style="hanging">
   <t hangText="Objective:"></t>
    <t>To benchmark the re-registration rate of the DUT with
       zero failures.</t>

   <t></t>

   <t hangText="Procedure:">
   <list style= "numbers">

    <t>Configure a DUT according to the test topology shown in
    <xref target="dut-in-sut-no-media"/> or
    <xref target="dut-in-sut-media"/>.</t>

    <t>First, execute test detailed in <xref target="registration-rate"/>
    to register the endpoints with the registrar and obtain the
    registration rate.</t>

    <t>After at least 5 minutes of Step 2, but no more than 10 minutes
    after Step 2 has been performed, execute Step 3 of the test in
    <xref target="registration-rate"/>.  This will count as a 
    re-registration because the SIP address of records have not yet
    expired.</t>

   </list></t>
  <t></t>
  <t hangText="Expected Results:">The rate should be at least equal to 
  but not more than the result of <xref target="registration-rate"/>.</t>
  </list>
  </t>
</section> <!-- Maximum Re-Registration Rate -->

</section> <!-- test-cases -->

<section title="IANA Considerations" anchor="iana">

  <t>This document does not requires any IANA considerations.</t>

</section>

<section title="Security Considerations" anchor="security">

  <t>Documents of this type do not directly affect the security of Internet
    or corporate networks as long as benchmarking is not performed on
    devices or systems connected to production networks.  Security threats
    and how to counter these in SIP and the media layer is discussed
    in RFC3261, RFC3550, and RFC3711 and various other drafts.  This document
    attempts to formalize a set of common methodology for benchmarking
    performance of SIP devices in a lab environment.</t> </section>

<section title="Acknowledgments" anchor="acks">

  <t>The authors would like to thank Keith Drage and Daryl Malas for their
  contributions to this document.  Dale Worley provided an extensive	
  review that lead to improvements in the documents.  We are grateful
  to Barry Constantine for providing valuable comments during the
  document's WGLC.</t>

</section>


</middle>

<back>

<references title="Normative References">
   &rfc2119;
   &rfc2544;
   <reference anchor="I-D.sip-bench-term">
    <front>
     <title>SIP Performance Benchmarking Terminology</title>
     <author initials="C." surname="Davids"><organization/></author>
     <author initials="V." surname="Gurbani"><organization/></author>
     <author initials="S." surname="Poretsky"><organization/></author>
     <date month="March" year="2012"/>
    </front>
    <seriesInfo name="Internet-Draft"
                value="draft-ietf-bmwg-sip-bench-term-04"/>
    <format type="TXT"
            target="http://www1.tools.ietf.org/html/draft-ietf-bmwg-sip-bench-te
rm-04.txt"/>
   </reference>

 </references>

<references title="Informative References">
   &rfc3261;
</references>

</back>

</rfc>

