aboutsummaryrefslogtreecommitdiffstats
path: root/docs/requirements/ietf_draft/draft-vsperf-bmwg-vswitch-opnfv-00.xml
blob: b5f7f8338ef4eaf00917d620611b9f558f9730d7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
(13:00:03) MaximeC left the room (quit: Client Quit).
(13:00:22) MaximeC [c1f83226@gateway/web/freenode/ip.193.248.50.38] entered the room.
(13:01:07) heruan: let's wait 5 mins before starting the meeting
(13:01:36) asteroide: ok
(13:01:54) Nir [c074be92@gateway/web/freenode/ip.192.116.190.146] entered the room.
(13:03:13) alioune [c202ca51@gateway/web/freenode/ip.194.2.202.81] entered the room.
(13:03:27) heruan: Hi all
(13:03:45) heruan: Jamil will join the meeting later
(13:04:24) heruan: in the chat room, there all the moon team from Orange, except Jamil
(13:04:34) heruan: and Nir from Huawei
(13:04:50) heruan: the ordre of today's meeting is: 
(13:05:16) heruan:   -          present opnfv-moon-core release2 and its main feature
(13:05:16) heruan: -          present opnfv-moonclient, a cmd line tool to administrate security
(13:05:16) heruan: -          present the DevOps environment for code continue integration
(13:05:16) heruan: -          present the progress moon-webview, a graphic interface for security management
(13:05:16) heruan: -          discussion about the roadmap: provide a demo next year? integration release C or D? which main features to be integrated? 
(13:05:16) heruan: -          fix a monthly review meeting to follow its dev and establish an acting plan 
(13:05:30) heruan: do all of you agree on the schedule?
(13:05:39) asteroide: yes
(13:06:06) MaximeC: That's ok for me
(13:06:17) Nir: me too
(13:06:59) heruan: #present opnfv-moon-cre release2
(13:07:08) Jamil [a16a0005@gateway/web/freenode/ip.161.106.0.5] entered the room.
(13:07:33) heruan: we started the second release since the beginning of this year
(13:08:16) heruan: the main idea is to refactor the code in order to conform OpenStack's criteria and build a stable policy engine
(13:08:45) heruan: now the core part has almost finished, we on now on the test stage
(13:09:12) heruan: @asteroide, can you talk a little about the ongoing test?
(13:09:18) asteroide: yep
(13:09:36) asteroide: all functionnal tests are OK
(13:09:56) Jamil: What are the main features of this Rel ? 
(13:09:59) asteroide: those tests are located in the code of Keystone-moon 
(13:10:26) asteroide: and I am testing Moon with moonclient
(13:10:41) asteroide: by adding a test feature inside moonclient
(13:11:19) asteroide: the main feature is the policy engine written in pue python
(13:11:26) asteroide: pure python
(13:11:29) Jamil: waht do you mean by moonclient ?
(13:11:57) heruan: @Jamil, the main features can be found in Jira: https://jira.opnfv.org/browse/MOON-2?jql=project%20%3D%20MOON%20AND%20resolution%20%3D%20Unresolved%20AND%20issuetype%20%3D%20Task%20ORDER%20BY%20priority%20DESChttps://jira.opnfv.org/browse/MOON-2?jql=project%20%3D%20MOON%20AND%20resolution%20%3D%20Unresolved%20AND%20issuetype%20%3D%20Task%20ORDER%20BY%20priority%20DESC
(13:12:07) asteroide: moonclient is a console based client used to configure keystone-moon
(13:12:18) asteroide: through moon API
(13:12:29) alioune left the room (quit: Quit: Page closed).
(13:12:44) heruan: yes, moon has 2 interfaces: moonclient (CLI) and moonwebview (GUI)
(13:12:57) alioune [c202ca51@gateway/web/freenode/ip.194.2.202.81] entered the room.
(13:13:14) asteroide: here is an example of moonclient usage : "moon tenant list" "moon subject add admin --password nomoresecrete", ...
(13:13:37) asteroide: you can add subject object, action, categories rules and so on
(13:13:48) asteroide: on a particular intraextension
(13:14:03) asteroide: on a "selected" intraextension
(13:14:30) heruan: PI: extension in moon is a security manager to protect one tenant
(13:15:09) heruan: in conclusion, now to moon-core, it only lacks tests?
(13:15:39) heruan: @asteroide?
(13:16:06) asteroide: for me, tests in keystone moon are OK in core
(13:16:14) asteroide: but not through moonclient
(13:16:35) heruan: how much time it needs to finish all the tests?
(13:16:45) asteroide: I need to add more test on nova
(13:16:49) asteroide: on swift
(13:17:06) asteroide: and tests with different users (not admin)
(13:17:21) asteroide: all through moonclient
(13:17:34) heruan: yes, the 3 sub-tasks we have listed in Jira
(13:17:39) asteroide: nova tests will be OK at the end of this week
(13:18:17) asteroide: I think that swift and users tests can be done at the end of the next week
(13:18:25) heruan: ok
(13:18:51) heruan: moon core release 2  will be finished in 2 weeks!
(13:19:03) heruan: thank asteroide 
(13:19:09) asteroide: :)
(13:19:26) heruan: next topic is about #moonclient
(13:19:37) heruan: since we have already discussed about it 
(13:19:56) heruan: my understanding is that moonclient will be finished with moon-core?
(13:20:17) asteroide: yes
(13:20:35) heruan: ok, moonclient will also be finished in 2 weeks!!
(13:20:54) heruan: the 3rd topic is about moonwebview (GUI)
(13:21:01) heruan: @MaximeC?
(13:21:06) MaximeC: Ok,
(13:21:19) Jamil: what are next steps to integrate moon in OPNFV Rel x ?
(13:21:41) heruan: this is the 5th topic
(13:21:41) MaximeC: So, basically, MoonWebUI aims at providing a WebUI for Moon
(13:21:58) Jamil: ok
(13:22:06) MaximeC: to manage tenants, intra-extension & inter-etension
(13:22:19) MaximeC: with an Authc based on Keystone
(13:23:04) MaximeC: This interface is still in development as we refactore the code to be client-side, and independant from Horizon
(13:23:24) MaximeC: This is the actual state of the code:
(13:23:43) MaximeC: * Tenants Management is implemented
(13:24:17) MaximeC: * Intra-etension management is in progress (70% of functionality are working)
(13:24:39) MaximeC: * Inter-extension is not yet developped
(13:24:51) MaximeC: * AuthC dev has just begun
(13:24:51) heruan: inter-extension is not included in release 2
(13:25:18) heruan: i think maxime needs asteroide's help for a server-side django module
(13:25:34) asteroide: ok no problem
(13:25:45) MaximeC: The WebUI is bound to MoonServer through REST API, so
(13:26:21) MaximeC: even if there are major changes in moon server code, as logn as API will remain the same
(13:26:44) MaximeC: no changes will be due in MoonWebview code
(13:27:00) heruan: Maxime, do you have an idea about the delay?
(13:27:35) MaximeC: To my mind, i think dev will last 1 month
(13:27:58) heruan: ok, 4 weeks for the monwebview
(13:28:00) asteroide: is there a plan to add a link to the log API inside the web client ?
(13:28:14) heruan: not in release 2
(13:28:28) asteroide: ok
(13:28:50) heruan: the 4th topic is about the dev environment
(13:29:57) heruan: @Nir, it's not so easy to install the whole dev env, so if someone in your team wants, ask him to directly contact us
(13:30:22) heruan: we will try to remotely install all modules for him
(13:31:13) heruan: we switch to the 5th topic
(13:31:28) heruan: moon's roadmap
(13:31:41) Nir: ok, i will inform them
(13:31:46) heruan: @Jamil @Nir, what's your opinion?
(13:32:19) Jamil: its good to have moon in Rel C
(13:32:56) heruan: this depends on @alioune's work on OpenDaylight integration
(13:33:22) Nir: agree, what are we missing to put it into Rel C?
(13:33:56) heruan: we'd like to implement the identity federation use case through moon
(13:34:15) Jamil: my undestanding integration with ODL ID
(13:34:33) heruan: this means that moon at the same time, synchronizes and manages OpenStack's users and OpenDaylight's users
(13:34:54) heruan: to demonstrate that moon is a unified security manager 
(13:35:05) Jamil: yes
(13:35:09) heruan: @alioune works on the ODL integration
(13:35:20) heruan: @aliounce, what's your progress?
(13:35:57) heruan: he's maybe offlne
(13:36:34) heruan: my understanding is that the integration will be difficulte to finished for the beginning of 2016
(13:36:44) Jamil: do we need any support from ODL project ?
(13:36:57) heruan: yes, of cause
(13:37:11) heruan: if we can get some supplementary helps
(13:37:17) Jamil: Rel C will be in Sept 2016
(13:37:41) heruan: but we should provide a demo at the begining of 2016
(13:37:46) Jamil: yes I can ask a support
(13:37:51) Nir: I can check if we have someone in Huawei that can help 
(13:38:04) heruan: that's great!!
(13:38:07) Nir: Do we have a target date for the demo
(13:38:08) Nir: ?
(13:38:44) heruan: let's fix the date to 15th Jan 2016
(13:39:36) Nir: OK, I will check internally and update. 
(13:39:41) alioune: hi all, currently I am analysing ODL architecture and main used frameworks in the controller
(13:39:43) heruan: thanks 
(13:40:28) heruan: so, the roadmap of moon is to push its code to Release C
(13:40:38) Jamil: Jan 2016 will be one month before Rel B
(13:40:52) heruan: we prepare the demo for Jan 2016
(13:41:15) Jamil: I think Rel c will be discussed in March 2016
(13:41:33) asteroide: the demo will be on release 2 of Moon or release 3 ?
(13:41:52) heruan: ok, in this case we will have more time
(13:42:04) heruan: the demo will be based on Moon release 2
(13:42:13) Jamil: for OPNFV, the first integrated code for moon will be the Rel1 for moon
(13:42:13) asteroide: ok
(13:42:45) heruan: release 2 will be ready, son we can directly contribute with release 2
(13:43:20) heruan: the second sub-topic is about next week's OPNFV summit
(13:43:37) heruan: Jamil will chair a dedicated session on Moon
(13:43:58) heruan: Nir, maybe you can help Jamil for the session?
(13:44:07) Jamil: ODL will be integrated in moon Rel 3 ?
(13:44:13) Nir: I will participate in a security panel presenting Moon in the first day
(13:44:34) Nir: and i have a session about the moon in the theater at teh second day as well
(13:44:41) Nir: :-)
(13:44:46) heruan: great!!
(13:45:11) heruan: @Jamil, ODL doesn't touch Moon-core
(13:45:20) Nir: Unless you think otherwise i recommend to keep all of them so we can reach as many people and increase the community
(13:45:39) Nir: altough we may have some overlap
(13:45:54) heruan: the ecosystem for moon will be important
(13:46:14) heruan: all contributors and commiters will be welcome
(13:46:27) Nir: I am also planning to present moon to TI and Telefonica hoping to get them on board
(13:46:34) asteroide: and all beta-testers also ;)
(13:46:40) Nir: agree :-)
(13:47:11) heruan: we will provide a public testbed of Moon by Descember 2015
(13:47:35) heruan: based on moon-core release 2
(13:47:42) Nir: as for our suggestions for Rel 3 I asked my team to analyze Rel 2 and update the offer we have presented on our last meeting
(13:48:10) Jamil: moon session will be Thursday November 12, 2015 12:10pm - 12:30pm 
(13:48:25) heruan: yes, some of the issues you mentioned have been already implemented
(13:49:00) heruan: @Jamil, can you annonce Moon's roadmap of OPNFV releaseC integration during your session?
(13:49:29) Jamil: yes It will do 
(13:49:58) heruan: ok, i think we finished the fifth topic 
(13:49:58) Jamil: I will do 
(13:50:19) heruan: last one, I propose to have a monthly moon meeting
(13:50:38) heruan: the last wensday of each month
(13:50:51) heruan: it's ok for everyone?
(13:50:52) Nir: agree
(13:50:56) Jamil: ok
(13:51:01) asteroide: agree
(13:51:02) Jamil: same time ?
(13:51:13) MaximeC: Ok for me
(13:51:32) heruan: at 14h CEST? on hour later
(13:51:38) alioune: ok
(13:52:12) asteroide: ok for 14h CEST
(13:52:30) heruan: @Nir?
(13:52:37) Nir: ok with me
(13:52:41) heruan: ok
(13:52:50) heruan: we finished all the topics
(13:53:03) heruan: do you have anything else to discuss?
(13:53:47) asteroide: nothing to add
(13:54:00) Nir: not on my side. 
(13:54:03) heruan: if you don't have anything else, we close today's meeting
(13:54:26) Jamil: have a nice day
(13:54:28) Nir: thanks, and gooddbye everyone
(13:54:34) asteroide: bye!
(13:54:39) heruan: I'll update the meeting report to moon's workspace
(13:54:41) Nir left the room (quit: Quit: Page closed).
(13:54:50) Jamil left the room (quit: Quit: Page closed).
(13:55:03) MaximeC left the room.
(13:55:09) asteroide left the room (quit: Quit: Page closed).
href='#n812'>812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964
<?xml version="1.0" encoding="US-ASCII"?>
<!DOCTYPE rfc SYSTEM "rfc2629.dtd">
<?rfc toc="yes"?>
<?rfc tocompact="yes"?>
<?rfc tocdepth="3"?>
<?rfc tocindent="yes"?>
<?rfc symrefs="yes"?>
<?rfc sortrefs="yes"?>
<?rfc comments="yes"?>
<?rfc inline="yes"?>
<?rfc compact="yes"?>
<?rfc subcompact="no"?>
<rfc category="info" docName="draft-vsperf-bmwg-vswitch-opnfv-01"
     ipr="trust200902">
  <front>
    <title abbrev="Benchmarking vSwitches">Benchmarking Virtual Switches in
    OPNFV</title>

    <author fullname="Maryam Tahhan" initials="M." surname="Tahhan">
      <organization>Intel</organization>

      <address>
        <postal>
          <street/>

          <city/>

          <region/>

          <code/>

          <country/>
        </postal>

        <phone/>

        <facsimile/>

        <email>maryam.tahhan@intel.com</email>

        <uri/>
      </address>
    </author>

    <author fullname="Billy O'Mahony" initials="B." surname="O'Mahony">
      <organization>Intel</organization>

      <address>
        <postal>
          <street/>

          <city/>

          <region/>

          <code/>

          <country/>
        </postal>

        <phone/>

        <facsimile/>

        <email>billy.o.mahony@intel.com</email>

        <uri/>
      </address>
    </author>

    <author fullname="Al Morton" initials="A." surname="Morton">
      <organization>AT&amp;T Labs</organization>

      <address>
        <postal>
          <street>200 Laurel Avenue South</street>

          <city>Middletown,</city>

          <region>NJ</region>

          <code>07748</code>

          <country>USA</country>
        </postal>

        <phone>+1 732 420 1571</phone>

        <facsimile>+1 732 368 1192</facsimile>

        <email>acmorton@att.com</email>

        <uri>http://home.comcast.net/~acmacm/</uri>
      </address>
    </author>

    <date day="14" month="October" year="2015"/>

    <abstract>
      <t>This memo describes the progress of the Open Platform for NFV (OPNFV)
      project on virtual switch performance "VSWITCHPERF". This project
      intends to build on the current and completed work of the Benchmarking
      Methodology Working Group in IETF, by referencing existing literature.
      The Benchmarking Methodology Working Group has traditionally conducted
      laboratory characterization of dedicated physical implementations of
      internetworking functions. Therefore, this memo begins to describe the
      additional considerations when virtual switches are implemented in
      general-purpose hardware. The expanded tests and benchmarks are also
      influenced by the OPNFV mission to support virtualization of the "telco"
      infrastructure.</t>
    </abstract>

    <note title="Requirements Language">
      <t>The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT",
      "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this
      document are to be interpreted as described in <xref
      target="RFC2119">RFC 2119</xref>.</t>

      <t/>
    </note>
  </front>

  <middle>
    <section title="Introduction">
      <t>Benchmarking Methodology Working Group (BMWG) has traditionally
      conducted laboratory characterization of dedicated physical
      implementations of internetworking functions. The Black-box Benchmarks
      of Throughput, Latency, Forwarding Rates and others have served our
      industry for many years. Now, Network Function Virtualization (NFV) has
      the goal to transform how internetwork functions are implemented, and
      therefore has garnered much attention.</t>

      <t>This memo describes the progress of the Open Platform for NFV (OPNFV)
      project on virtual switch performance characterization, "VSWITCHPERF".
      This project intends to build on the current and completed work of the
      Benchmarking Methodology Working Group in IETF, by referencing existing
      literature. For example, currently the most often referenced RFC is
      <xref target="RFC2544"/> (which depends on <xref target="RFC1242"/>) and
      foundation of the benchmarking work in OPNFV is common and strong.</t>

      <t>See
      https://wiki.opnfv.org/characterize_vswitch_performance_for_telco_nfv_use_cases
      for more background, and the OPNFV website for general information:
      https://www.opnfv.org/</t>

      <t>The authors note that OPNFV distinguishes itself from other open
      source compute and networking projects through its emphasis on existing
      "telco" services as opposed to cloud-computing. There are many ways in
      which telco requirements have different emphasis on performance
      dimensions when compared to cloud computing: support for and transfer of
      isochronous media streams is one example.</t>

      <t>Note also that the move to NFV Infrastructure has resulted in many
      new benchmarking initiatives across the industry, and the authors are
      currently doing their best to maintain alignment with many other
      projects, and this Internet Draft is evidence of the efforts.</t>
    </section>

    <section title="Scope">
      <t>The primary purpose and scope of the memo is to inform BMWG of
      work-in-progress that builds on the body of extensive literature and
      experience. Additionally, once the initial information conveyed here is
      received, this memo may be expanded to include more detail and
      commentary from both BMWG and OPNFV communities, under BMWG's chartered
      work to characterize the NFV Infrastructure (a virtual switch is an
      important aspect of that infrastructure).</t>
    </section>

    <section title="Benchmarking Considerations">
      <t>This section highlights some specific considerations (from <xref
      target="I-D.ietf-bmwg-virtual-net"/>)related to Benchmarks for virtual
      switches. The OPNFV project is sharing its present view on these areas,
      as they develop their specifications in the Level Test Design (LTD)
      document.</t>

      <section title="Comparison with Physical Network Functions">
        <t>To compare the performance of virtual designs and implementations
        with their physical counterparts, identical benchmarks are needed.
        BMWG has developed specifications for many network functions this memo
        re-uses existing benchmarks through references, and expands them
        during development of new methods. A key configuration aspect is the
        number of parallel cores required to achieve comparable performance
        with a given physical device, or whether some limit of scale was
        reached before the cores could achieve the comparable level.</t>

        <t>It's unlikely that the virtual switch will be the only application
        running on the SUT, so CPU utilization, Cache utilization, and Memory
        footprint should also be recorded for the virtual implementations of
        internetworking functions.</t>
      </section>

      <section title="Continued Emphasis on Black-Box Benchmarks">
        <t>External observations remain essential as the basis for Benchmarks.
        Internal observations with fixed specification and interpretation will
        be provided in parallel to assist the development of operations
        procedures when the technology is deployed.</t>
      </section>

      <section title="New Configuration Parameters">
        <t>A key consideration when conducting any sort of benchmark is trying
        to ensure the consistency and repeatability of test results. When
        benchmarking the performance of a vSwitch there are many factors that
        can affect the consistency of results, one key factor is matching the
        various hardware and software details of the SUT. This section lists
        some of the many new parameters which this project believes are
        critical to report in order to achieve repeatability.</t>

        <t>Hardware details including:</t>

        <t><list style="symbols">
            <t>Platform details</t>

            <t>Processor details</t>

            <t>Memory information (type and size)</t>

            <t>Number of enabled cores</t>

            <t>Number of cores used for the test</t>

            <t>Number of physical NICs, as well as their details
            (manufacturer, versions, type and the PCI slot they are plugged
            into)</t>

            <t>NIC interrupt configuration</t>

            <t>BIOS version, release date and any configurations that were
            modified</t>

            <t>CPU microcode level</t>

            <t>Memory DIMM configurations (quad rank performance may not be
            the same as dual rank) in size, freq and slot locations</t>

            <t>PCI configuration parameters (payload size, early ack
            option...)</t>

            <t>Power management at all levels (ACPI sleep states, processor
            package, OS...)</t>
          </list>Software details including:</t>

        <t><list style="symbols">
            <t>OS parameters and behavior (text vs graphical no one typing at
            the console on one system)</t>

            <t>OS version (for host and VNF)</t>

            <t>Kernel version (for host and VNF)</t>

            <t>GRUB boot parameters (for host and VNF)</t>

            <t>Hypervisor details (Type and version)</t>

            <t>Selected vSwitch, version number or commit id used</t>

            <t>vSwitch launch command line if it has been parameterised</t>

            <t>Memory allocation to the vSwitch</t>

            <t>which NUMA node it is using, and how many memory channels</t>

            <t>DPDK or any other SW dependency version number or commit id
            used</t>

            <t>Memory allocation to a VM - if it's from Hugpages/elsewhere</t>

            <t>VM storage type: snapshot/independent persistent/independent
            non-persistent</t>

            <t>Number of VMs</t>

            <t>Number of Virtual NICs (vNICs), versions, type and driver</t>

            <t>Number of virtual CPUs and their core affinity on the host</t>

            <t>Number vNIC interrupt configuration</t>

            <t>Thread affinitization for the applications (including the
            vSwitch itself) on the host</t>

            <t>Details of Resource isolation, such as CPUs designated for
            Host/Kernel (isolcpu) and CPUs designated for specific processes
            (taskset). - Test duration. - Number of flows.</t>
          </list></t>

        <t>Test Traffic Information:<list style="symbols">
            <t>Traffic type - UDP, TCP, IMIX / Other</t>

            <t>Packet Sizes</t>

            <t>Deployment Scenario</t>
          </list></t>

        <t/>
      </section>

      <section title="Flow classification">
        <t>Virtual switches group packets into flows by processing and
        matching particular packet or frame header information, or by matching
        packets based on the input ports. Thus a flow can be thought of a
        sequence of packets that have the same set of header field values or
        have arrived on the same port. Performance results can vary based on
        the parameters the vSwitch uses to match for a flow. The recommended
        flow classification parameters for any vSwitch performance tests are:
        the input port, the source IP address, the destination IP address and
        the Ethernet protocol type field. It is essential to increase the flow
        timeout time on a vSwitch before conducting any performance tests that
        do not measure the flow setup time. Normally the first packet of a
        particular stream will install the flow in the virtual switch which
        adds an additional latency, subsequent packets of the same flow are
        not subject to this latency if the flow is already installed on the
        vSwitch.</t>
      </section>

      <section title="Benchmarks using Baselines with Resource Isolation">
        <t>This outline describes measurement of baseline with isolated
        resources at a high level, which is the intended approach at this
        time.</t>

        <t><list style="numbers">
            <t>Baselines: <list style="symbols">
                <t>Optional: Benchmark platform forwarding capability without
                a vswitch or VNF for at least 72 hours (serves as a means of
                platform validation and a means to obtain the base performance
                for the platform in terms of its maximum forwarding rate and
                latency). <figure>
                    <preamble>Benchmark platform forwarding
                    capability</preamble>

                    <artwork align="right"><![CDATA[                                                      __
 +--------------------------------------------------+   |
 |   +------------------------------------------+   |   |
 |   |                                          |   |   |
 |   |          Simple Forwarding App           |   |  Host
 |   |                                          |   |   |
 |   +------------------------------------------+   |   |
 |   |                 NIC                      |   |   |
 +---+------------------------------------------+---+ __|
            ^                           :
            |                           |
            :                           v
 +--------------------------------------------------+
 |                                                  |
 |                traffic generator                 |
 |                                                  |
 +--------------------------------------------------+]]></artwork>

                    <postamble/>
                  </figure></t>

                <t>Benchmark VNF forwarding capability with direct
                connectivity (vSwitch bypass, e.g., SR/IOV) for at least 72
                hours (serves as a means of VNF validation and a means to
                obtain the base performance for the VNF in terms of its
                maximum forwarding rate and latency). The metrics gathered
                from this test will serve as a key comparison point for
                vSwitch bypass technologies performance and vSwitch
                performance. <figure align="right">
                    <preamble>Benchmark VNF forwarding capability</preamble>

                    <artwork><![CDATA[                                                      __
 +--------------------------------------------------+   |
 |   +------------------------------------------+   |   |
 |   |                                          |   |   |
 |   |                 VNF                      |   |   |
 |   |                                          |   |   |
 |   +------------------------------------------+   |   |
 |   |          Passthrough/SR-IOV              |   |  Host
 |   +------------------------------------------+   |   |
 |   |                 NIC                      |   |   |
 +---+------------------------------------------+---+ __|
            ^                           :
            |                           |
            :                           v
 +--------------------------------------------------+
 |                                                  |
 |                traffic generator                 |
 |                                                  |
 +--------------------------------------------------+]]></artwork>

                    <postamble/>
                  </figure></t>

                <t>Benchmarking with isolated resources alone, with other
                resources (both HW&amp;SW) disabled Example, vSw and VM are
                SUT</t>

                <t>Benchmarking with isolated resources alone, leaving some
                resources unused</t>

                <t>Benchmark with isolated resources and all resources
                occupied</t>
              </list></t>

            <t>Next Steps<list style="symbols">
                <t>Limited sharing</t>

                <t>Production scenarios</t>

                <t>Stressful scenarios</t>
              </list></t>
          </list></t>
      </section>
    </section>

    <section title="VSWITCHPERF Specification Summary">
      <t>The overall specification in preparation is referred to as a Level
      Test Design (LTD) document, which will contain a suite of performance
      tests. The base performance tests in the LTD are based on the
      pre-existing specifications developed by BMWG to test the performance of
      physical switches. These specifications include:</t>

      <t><list style="symbols">
          <t><xref target="RFC2544"/> Benchmarking Methodology for Network
          Interconnect Devices</t>

          <t><xref target="RFC2889"/> Benchmarking Methodology for LAN
          Switching</t>

          <t><xref target="RFC6201"/> Device Reset Characterization</t>

          <t><xref target="RFC5481"/> Packet Delay Variation Applicability
          Statement</t>
        </list></t>

      <t>Some of the above/newer RFCs are being applied in benchmarking for
      the first time, and represent a development challenge for test equipment
      developers. Fortunately, many members of the testing system community
      have engaged on the VSPERF project, including an open source test
      system.</t>

      <t>In addition to this, the LTD also re-uses the terminology defined
      by:</t>

      <t><list style="symbols">
          <t><xref target="RFC2285"/> Benchmarking Terminology for LAN
          Switching Devices</t>

          <t><xref target="RFC5481"/> Packet Delay Variation Applicability
          Statement</t>
        </list></t>

      <t/>

      <t>Specifications to be included in future updates of the LTD
      include:<list style="symbols">
          <t><xref target="RFC3918"/> Methodology for IP Multicast
          Benchmarking</t>

          <t><xref target="RFC4737"/> Packet Reordering Metrics</t>
        </list></t>

      <t>As one might expect, the most fundamental internetworking
      characteristics of Throughput and Latency remain important when the
      switch is virtualized, and these benchmarks figure prominently in the
      specification.</t>

      <t>When considering characteristics important to "telco" network
      functions, we must begin to consider additional performance metrics. In
      this case, the project specifications have referenced metrics from the
      IETF IP Performance Metrics (IPPM) literature. This means that the <xref
      target="RFC2544"/> test of Latency is replaced by measurement of a
      metric derived from IPPM's <xref target="RFC2679"/>, where a set of
      statistical summaries will be provided (mean, max, min, etc.). Further
      metrics planned to be benchmarked include packet delay variation as
      defined by <xref target="RFC5481"/> , reordering, burst behaviour, DUT
      availability, DUT capacity and packet loss in long term testing at
      Throughput level, where some low-level of background loss may be present
      and characterized.</t>

      <t>Tests have been (or will be) designed to collect the metrics
      below:</t>

      <t><list style="symbols">
          <t>Throughput Tests to measure the maximum forwarding rate (in
          frames per second or fps) and bit rate (in Mbps) for a constant load
          (as defined by RFC1242) without traffic loss.</t>

          <t>Packet and Frame Delay Distribution Tests to measure average, min
          and max packet and frame delay for constant loads.</t>

          <t>Packet Delay Tests to understand latency distribution for
          different packet sizes and over an extended test run to uncover
          outliers.</t>

          <t>Scalability Tests to understand how the virtual switch performs
          as the number of flows, active ports, complexity of the forwarding
          logic&rsquo;s configuration&hellip; it has to deal with
          increases.</t>

          <t>Stream Performance Tests (TCP, UDP) to measure bulk data transfer
          performance, i.e. how fast systems can send and receive data through
          the switch.</t>

          <t>Control Path and Datapath Coupling Tests, to understand how
          closely coupled the datapath and the control path are as well as the
          effect of this coupling on the performance of the DUT (example:
          delay of the initial packet of a flow).</t>

          <t>CPU and Memory Consumption Tests to understand the virtual
          switch&rsquo;s footprint on the system, usually conducted as
          auxiliary measurements with benchmarks above. They include: CPU
          utilization, Cache utilization and Memory footprint.</t>
        </list></t>

      <t>Future/planned test specs include:<list style="symbols">
          <t>Request/Response Performance Tests (TCP, UDP) which measure the
          transaction rate through the switch.</t>

          <t>Noisy Neighbour Tests, to understand the effects of resource
          sharing on the performance of a virtual switch.</t>

          <t>Tests derived from examination of ETSI NFV Draft GS IFA003
          requirements <xref target="IFA003"/> on characterization of
          acceleration technologies applied to vswitches.</t>
        </list>The flexibility of deployment of a virtual switch within a
      network means that the BMWG IETF existing literature needs to be used to
      characterize the performance of a switch in various deployment
      scenarios. The deployment scenarios under consideration include:</t>

      <t><figure>
          <preamble>Physical port to virtual switch to physical
          port</preamble>

          <artwork><![CDATA[                                                      __
 +--------------------------------------------------+   |
 |              +--------------------+              |   |
 |              |                    |              |   |
 |              |                    v              |   |  Host
 |   +--------------+            +--------------+   |   |
 |   |   phy port   |  vSwitch   |   phy port   |   |   |
 +---+--------------+------------+--------------+---+ __|
            ^                           :
            |                           |
            :                           v
 +--------------------------------------------------+
 |                                                  |
 |                traffic generator                 |
 |                                                  |
 +--------------------------------------------------+]]></artwork>
        </figure></t>

      <t><figure>
          <preamble>Physical port to virtual switch to VNF to virtual switch
          to physical port</preamble>

          <artwork><![CDATA[                                                      __
 +---------------------------------------------------+   |
 |                                                   |   |
 |   +-------------------------------------------+   |   |
 |   |                 Application               |   |   |
 |   +-------------------------------------------+   |   |
 |       ^                                  :        |   |
 |       |                                  |        |   |  Guest
 |       :                                  v        |   |
 |   +---------------+           +---------------+   |   |
 |   | logical port 0|           | logical port 1|   |   |
 +---+---------------+-----------+---------------+---+ __|
         ^                                  :
         |                                  |
         :                                  v         __
 +---+---------------+----------+---------------+---+   |
 |   | logical port 0|          | logical port 1|   |   |
 |   +---------------+          +---------------+   |   |
 |       ^                                  :       |   |
 |       |                                  |       |   |  Host
 |       :                                  v       |   |
 |   +--------------+            +--------------+   |   |
 |   |   phy port   |  vSwitch   |   phy port   |   |   |
 +---+--------------+------------+--------------+---+ __|
            ^                           :
            |                           |
            :                           v
 +--------------------------------------------------+
 |                                                  |
 |                traffic generator                 |
 |                                                  |
 +--------------------------------------------------+]]></artwork>
        </figure><figure>
          <preamble>Physical port to virtual switch to VNF to virtual switch
          to VNF to virtual switch to physical port</preamble>

          <artwork><![CDATA[                                                   __
 +----------------------+  +----------------------+  |
 |   Guest 1            |  |   Guest 2            |  |
 |   +---------------+  |  |   +---------------+  |  |
 |   |  Application  |  |  |   |  Application  |  |  |
 |   +---------------+  |  |   +---------------+  |  |
 |       ^       |      |  |       ^       |      |  |
 |       |       v      |  |       |       v      |  |  Guests
 |   +---------------+  |  |   +---------------+  |  |
 |   | logical ports |  |  |   | logical ports |  |  |
 |   |   0       1   |  |  |   |   0       1   |  |  |
 +---+---------------+--+  +---+---------------+--+__|
         ^       :                 ^       :
         |       |                 |       |
         :       v                 :       v       _
 +---+---------------+---------+---------------+--+ |
 |   |   0       1   |         |   3       4   |  | |
 |   | logical ports |         | logical ports |  | |
 |   +---------------+         +---------------+  | |
 |       ^       |                 ^       |      | |  Host
 |       |       |-----------------|       v      | |
 |   +--------------+          +--------------+   | |
 |   |   phy ports  | vSwitch  |   phy ports  |   | |
 +---+--------------+----------+--------------+---+_|
         ^                                 :
         |                                 |
         :                                 v
 +--------------------------------------------------+
 |                                                  |
 |                traffic generator                 |
 |                                                  |
 +--------------------------------------------------+]]></artwork>
        </figure><figure>
          <preamble>Physical port to virtual switch to VNF</preamble>

          <artwork><![CDATA[                                                       __
 +---------------------------------------------------+   |
 |                                                   |   |
 |   +-------------------------------------------+   |   |
 |   |                 Application               |   |   |
 |   +-------------------------------------------+   |   |
 |       ^                                           |   |
 |       |                                           |   |  Guest
 |       :                                           |   |
 |   +---------------+                               |   |
 |   | logical port 0|                               |   |
 +---+---------------+-------------------------------+ __|
         ^
         |
         :                                            __
 +---+---------------+------------------------------+   |
 |   | logical port 0|                              |   |
 |   +---------------+                              |   |
 |       ^                                          |   |
 |       |                                          |   |  Host
 |       :                                          |   |
 |   +--------------+                               |   |
 |   |   phy port   |  vSwitch                      |   |
 +---+--------------+------------ -------------- ---+ __|
            ^
            |
            :
 +--------------------------------------------------+
 |                                                  |
 |                traffic generator                 |
 |                                                  |
 +--------------------------------------------------+]]></artwork>
        </figure><figure>
          <preamble>VNF to virtual switch to physical port</preamble>

          <artwork><![CDATA[                                                       __
 +---------------------------------------------------+   |
 |                                                   |   |
 |   +-------------------------------------------+   |   |
 |   |                 Application               |   |   |
 |   +-------------------------------------------+   |   |
 |                                          :        |   |
 |                                          |        |   |  Guest
 |                                          v        |   |
 |                               +---------------+   |   |
 |                               | logical port  |   |   |
 +-------------------------------+---------------+---+ __|
                                            :
                                            |
                                            v         __
 +------------------------------+---------------+---+   |
 |                              | logical port  |   |   |
 |                              +---------------+   |   |
 |                                          :       |   |
 |                                          |       |   |  Host
 |                                          v       |   |
 |                               +--------------+   |   |
 |                     vSwitch   |   phy port   |   |   |
 +-------------------------------+--------------+---+ __|
                                        :
                                        |
                                        v
 +--------------------------------------------------+
 |                                                  |
 |                traffic generator                 |
 |                                                  |
 +--------------------------------------------------+]]></artwork>
        </figure><figure>
          <preamble>VNF to virtual switch to VNF</preamble>

          <artwork><![CDATA[                                                   __
 +----------------------+  +----------------------+  |
 |   Guest 1            |  |   Guest 2            |  |
 |   +---------------+  |  |   +---------------+  |  |
 |   |  Application  |  |  |   |  Application  |  |  |
 |   +---------------+  |  |   +---------------+  |  |
 |              |       |  |       ^              |  |
 |              v       |  |       |              |  |  Guests
 |   +---------------+  |  |   +---------------+  |  |
 |   | logical ports |  |  |   | logical ports |  |  |
 |   |           0   |  |  |   |   0           |  |  |
 +---+---------------+--+  +---+---------------+--+__|
                 :                 ^
                 |                 |
                 v                 :               _
 +---+---------------+---------+---------------+--+ |
 |   |           1   |         |   1           |  | |
 |   | logical ports |         | logical ports |  | |
 |   +---------------+         +---------------+  | |
 |               |                 ^              | |  Host
 |               L-----------------+              | |
 |                                                | |
 |                    vSwitch                     | |
 +------------------------------------------------+_|]]></artwork>
        </figure></t>

      <t>A set of Deployment Scenario figures is available on the VSPERF Test
      Methodology Wiki page <xref target="TestTopo"/>. </t>
    </section>

    <section title="3x3 Matrix Coverage">
      <t>This section organizes the many existing test specifications into the
      "3x3" matrix (introduced in <xref target="I-D.ietf-bmwg-virtual-net"/>).
      Because the LTD specification ID names are quite long, this section is
      organized into lists for each occupied cell of the matrix (not all are
      occupied, also the matrix has grown to 3x4 to accommodate scale metrics
      when displaying the coverage of many metrics/benchmarks).</t>

      <t>The tests listed below assess the activation of paths in the data
      plane, rather than the control plane.</t>

      <t>A complete list of tests with short summaries is available on the
      VSPERF "LTD Test Spec Overview" Wiki page <xref target="LTDoverV"/>.</t>

      <section title="Speed of Activation">
        <t><list style="symbols">
            <t>Activation.RFC2889.AddressLearningRate</t>

            <t>PacketLatency.InitialPacketProcessingLatency</t>
          </list></t>
      </section>

      <section title="Accuracy of Activation section">
        <t><list style="symbols">
            <t>CPDP.Coupling.Flow.Addition</t>
          </list></t>
      </section>

      <section title="Reliability of Activation">
        <t><list style="symbols">
            <t>Throughput.RFC2544.SystemRecoveryTime</t>

            <t>Throughput.RFC2544.ResetTime</t>
          </list></t>
      </section>

      <section title="Scale of Activation">
        <t><list style="symbols">
            <t>Activation.RFC2889.AddressCachingCapacity</t>
          </list></t>
      </section>

      <section title="Speed of Operation">
        <t><list style="symbols">
            <t>Throughput.RFC2544.PacketLossRate</t>

            <t>CPU.RFC2544.0PacketLoss</t>

            <t>Throughput.RFC2544.PacketLossRateFrameModification</t>

            <t>Throughput.RFC2544.BackToBackFrames</t>

            <t>Throughput.RFC2889.MaxForwardingRate</t>

            <t>Throughput.RFC2889.ForwardPressure</t>

            <t>Throughput.RFC2889.BroadcastFrameForwarding</t>
          </list></t>
      </section>

      <section title="Accuracy of Operation">
        <t><list style="symbols">
            <t>Throughput.RFC2889.ErrorFramesFiltering</t>

            <t>Throughput.RFC2544.Profile</t>
          </list></t>
      </section>

      <section title="Reliability of Operation">
        <t><list style="symbols">
            <t>Throughput.RFC2889.Soak</t>

            <t>Throughput.RFC2889.SoakFrameModification</t>

            <t>PacketDelayVariation.RFC3393.Soak</t>
          </list></t>
      </section>

      <section title="Scalability of Operation">
        <t><list style="symbols">
            <t>Scalability.RFC2544.0PacketLoss</t>

            <t>MemoryBandwidth.RFC2544.0PacketLoss.Scalability</t>
          </list></t>
      </section>

      <section title="Summary">
        <t><figure>
            <artwork><![CDATA[|------------------------------------------------------------------------|
|               |             |            |               |             |
|               |   SPEED     |  ACCURACY  |  RELIABILITY  |    SCALE    |
|               |             |            |               |             |
|------------------------------------------------------------------------|
|               |             |            |               |             |
|  Activation   |      X      |     X      |       X       |      X      |
|               |             |            |               |             |
|------------------------------------------------------------------------|
|               |             |            |               |             |
|  Operation    |      X      |      X     |       X       |      X      |
|               |             |            |               |             |
|------------------------------------------------------------------------|
|               |             |            |               |             |
| De-activation |             |            |               |             |
|               |             |            |               |             |
|------------------------------------------------------------------------|]]></artwork>
          </figure></t>
      </section>
    </section>

    <section title="Security Considerations">
      <t>Benchmarking activities as described in this memo are limited to
      technology characterization of a Device Under Test/System Under Test
      (DUT/SUT) using controlled stimuli in a laboratory environment, with
      dedicated address space and the constraints specified in the sections
      above.</t>

      <t>The benchmarking network topology will be an independent test setup
      and MUST NOT be connected to devices that may forward the test traffic
      into a production network, or misroute traffic to the test management
      network.</t>

      <t>Further, benchmarking is performed on a "black-box" basis, relying
      solely on measurements observable external to the DUT/SUT.</t>

      <t>Special capabilities SHOULD NOT exist in the DUT/SUT specifically for
      benchmarking purposes. Any implications for network security arising
      from the DUT/SUT SHOULD be identical in the lab and in production
      networks.</t>
    </section>

    <section anchor="IANA" title="IANA Considerations">
      <t>No IANA Action is requested at this time.</t>
    </section>

    <section title="Acknowledgements">
      <t>The authors acknowledge</t>
    </section>
  </middle>

  <back>
    <references title="Normative References">
      <?rfc ?>

      <?rfc include="reference.RFC.2119"?>

      <?rfc include="reference.RFC.2330"?>

      <?rfc include='reference.RFC.2544'?>

      <?rfc include="reference.RFC.2679"?>

      <?rfc include='reference.RFC.2680'?>

      <?rfc include='reference.RFC.3393'?>

      <?rfc include='reference.RFC.3432'?>

      <?rfc include='reference.RFC.2681'?>

      <?rfc include='reference.RFC.5905'?>

      <?rfc include='reference.RFC.4689'?>

      <?rfc include='reference.RFC.4737'?>

      <?rfc include='reference.RFC.5357'?>

      <?rfc include='reference.RFC.2889'?>

      <?rfc include='reference.RFC.3918'?>

      <?rfc include='reference.RFC.6201'?>

      <?rfc include='reference.RFC.2285'?>

      <reference anchor="NFV.PER001">
        <front>
          <title>Network Function Virtualization: Performance and Portability
          Best Practices</title>

          <author fullname="ETSI NFV" initials="" surname="">
            <organization/>
          </author>

          <date month="June" year="2014"/>
        </front>

        <seriesInfo name="Group Specification"
                    value="ETSI GS NFV-PER 001 V1.1.1 (2014-06)"/>

        <format type="PDF"/>
      </reference>
    </references>

    <references title="Informative References">
      <?rfc include='reference.RFC.1242'?>

      <?rfc include='reference.RFC.5481'?>

      <?rfc include='reference.RFC.6049'?>

      <?rfc include='reference.RFC.6248'?>

      <?rfc include='reference.RFC.6390'?>

      <?rfc include='reference.I-D.ietf-bmwg-virtual-net'?>

      <reference anchor="TestTopo">
        <front>
          <title>Test Topologies
          https://wiki.opnfv.org/vsperf/test_methodology</title>

          <author>
            <organization/>
          </author>

          <date/>
        </front>
      </reference>

      <reference anchor="LTDoverV">
        <front>
          <title>LTD Test Spec Overview
          https://wiki.opnfv.org/wiki/vswitchperf_test_spec_review </title>

          <author>
            <organization/>
          </author>

          <date/>
        </front>
      </reference>

      <reference anchor="IFA003">
        <front>
          <title>https://docbox.etsi.org/ISG/NFV/Open/Drafts/IFA003_Acceleration_-_vSwitch_Spec/</title>

          <author>
            <organization/>
          </author>

          <date/>
        </front>
      </reference>
    </references>
  </back>
</rfc>