Network Working GroupInternet Engineering Task Force (IETF) M. TahhanInternet-DraftRequest for Comments: 8204 B. O'MahonyIntended status:Category: Informational IntelExpires: December 10, 2017ISSN: 2070-1721 A. Morton AT&T LabsJune 8,September 2017 Benchmarking Virtual Switches inOPNFV draft-ietf-bmwg-vswitch-opnfv-04the Open Platform for NFV (OPNFV) Abstract This memo describes the contributions of the Open Platform for NFV (OPNFV) project onvirtual switch performance "VSPERF",Virtual Switch Performance (VSPERF), particularly in the areas of testset-upssetups and configuration parameters for the system under test. This project has extended the current and completed work of the Benchmarking Methodology Working Group inIETF,the IETF and references existing literature. The Benchmarking Methodology Working Group has traditionally conducted laboratory characterization of dedicated physical implementations of internetworking functions. Therefore, this memo describes the additional considerations when virtual switches are implementedinon general-purpose hardware. The expanded tests and benchmarks are also influenced by the OPNFV mission to support virtualization of the "telco" infrastructure.Requirements Language 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 RFC 2119 [RFC2119].Status of This Memo ThisInternet-Draftdocument issubmitted in full conformance with the provisions of BCP 78 and BCP 79. Internet-Drafts are working documentsnot an Internet Standards Track specification; it is published for informational purposes. This document is a product of the Internet Engineering Task Force (IETF).Note that other groups may also distribute working documents as Internet-Drafts. The listIt represents the consensus ofcurrent Internet- Drafts is at http://datatracker.ietf.org/drafts/current/. Internet-Drafts are draft documents validthe IETF community. It has received public review and has been approved for publication by the Internet Engineering Steering Group (IESG). Not all documents approved by the IESG are amaximumcandidate for any level of Internet Standard; see Section 2 of RFC 7841. Information about the current status ofsix monthsthis document, any errata, and how to provide feedback on it may beupdated, replaced, or obsoleted by other documentsobtained atany time. It is inappropriate to use Internet-Drafts as reference material or to cite them other than as "work in progress." This Internet-Draft will expire on December 10, 2017.https://www.rfc-editor.org/info/rfc8204. Copyright Notice Copyright (c) 2017 IETF Trust and the persons identified as the document authors. All rights reserved. This document is subject to BCP 78 and the IETF Trust's Legal Provisions Relating to IETF Documents(http://trustee.ietf.org/license-info)(https://trustee.ietf.org/license-info) in effect on the date of publication of this document. Please review these documents carefully, as they describe your rights and restrictions with respect to this document. Code Components extracted from this document must include Simplified BSD License text as described in Section 4.e of the Trust Legal Provisions and are provided without warranty as described in the Simplified BSD License. Table of Contents 1. Introduction . . . . . . . . . . . . . . . . . . . . . . . .32 1.1. Requirements Language . . . . . . . . . . . . . . . . . . 3 1.2. Abbreviations . . . . . . . . . . . . . . . . . . . . . .34 2. Scope . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 3. Benchmarking Considerations . . . . . . . . . . . . . . . . . 5 3.1. Comparison with Physical Network Functions . . . . . . . 5 3.2. Continued Emphasis on Black-Box Benchmarks . . . . . . . 5 3.3. New Configuration Parameters . . . . . . . . . . . . . . 6 3.4. FlowclassificationClassification . . . . . . . . . . . . . . . . . . . 8 3.5. BenchmarksusingUsing Baselines with Resource Isolation . . . 8 4. VSPERF Specification Summary . . . . . . . . . . . . . . . . 10 5. 3x3 Matrix Coverage . . . . . . . . . . . . . . . . . . . . . 18 5.1. Speed of Activation . . . . . . . . . . . . . . . . . . . 19 5.2. Accuracy of Activationsection. . . . . . . . . . . . . . . . . 19 5.3. Reliability of Activation . . . . . . . . . . . . . . . . 19 5.4. Scale of Activation . . . . . . . . . . . . . . . . . . . 19 5.5. Speed of Operation . . . . . . . . . . . . . . . . . . . 19 5.6. Accuracy of Operation . . . . . . . . . . . . . . . . . . 19 5.7. Reliability of Operation . . . . . . . . . . . . . . . . 20 5.8. Scalability of Operation . . . . . . . . . . . . . . . . 20 5.9. Summary . . . . . . . . . . . . . . . . . . . . . . . . . 20 6. Security Considerations . . . . . . . . . . . . . . . . . . . 20 7.IANA Considerations . . . . . . . . . . . . . . . . . .References . . .21 8. Acknowledgements. . . . . . . . . . . . . . . . . . . . . . 219.7.1. Normative References . . . . . . . . . . . . . . . . . . 21 7.2. Informative References . . . . . . .21 9.1. Normative References .. . . . . . . . . . 22 Acknowledgements . . . . . . .21 9.2. Informative References. . . . . . . . . . . . . . . . .2223 Authors' Addresses . . . . . . . . . . . . . . . . . . . . . . . 23 1. Introduction The Benchmarking Methodology Working Group (BMWG) has traditionally conducted laboratory characterization of dedicated physical implementations of internetworking functions. TheBlack-box Benchmarksblack-box benchmarks ofThroughput, Latency, Forwarding Ratesthroughput, latency, forwarding rates, and others have served our industry for many years. Now, Network Function Virtualization (NFV) has the goalto transformof transforming how internetwork functions areimplemented,implemented and therefore has garnered much attention. A virtual switch(vswitch)(vSwitch) is an important aspect of the NFV infrastructure; it provides connectivity between and among physical network functions and virtual network functions. As a result, there are manyvswitchvSwitch benchmarkingefforts,efforts but few specifications to guide the many new test design choices. This is a complex problem and an industry-widework-in-progress.work in progress. In the future, several of BMWG's fundamental specifications will likely be updated as more testing experience helps to form consensus around new methodologies, and BMWG should continue to collaborate with all organizationswhothat share the same goal. This memo describes the contributions of the Open Platform for NFV (OPNFV) project onvirtual switch performance characterization, "VSPERF",Virtual Switch Performance (VSPERF) characterization through the Danube 3.0 (fourth) release [DanubeRel] to the chartered work of the BMWG (with stable references to their test descriptions). This project has extended the current and completed work of the BMWGin IETF,IETF and references existing literature. For example, the most often referenced RFC is [RFC2544] (which depends on [RFC1242]), so the foundation of the benchmarking work in OPNFV is common and strong. The recommended extensions are specifically in the areas of testset-upssetups and configuration parameters for the system under test. See [VSPERFhome] for morebackground,background and the OPNFV website for general information [OPNFV]. The authors note that OPNFV distinguishes itself from other open source compute and networking projects through its emphasis on existing "telco" services as opposed tocloud-computing.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. 1.1.Abbreviations For the purposes of thisRequirements Language The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "NOT RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in BCP 14 [RFC2119] [RFC8174] when, and only when, they appear in all capitals, as shown here. 1.2. Abbreviations For the purposes of this document, the following abbreviations apply: ACK Acknowledge ACPI Advanced Configuration and Power Interface BIOS Basic Input Output System BMWG Benchmarking Methodology Working Group CPDP Control Plane Data Plane CPU Central Processing Unit DIMM Dual In-line Memory Module DPDK Data Plane Development Kit DUT Device Under Test GRUB Grand Unified Bootloader ID Identification IMIX Internet Mix IP Internet Protocol IPPM IP Performance Metrics LAN Local Area Network LTD Level Test Design NFV Network FunctionsVirtualisationVirtualization NIC Network Interface Card NUMANon UniformNon-uniform Memory Access OPNFV Open Platform for NFV OS Operating System PCI Peripheral Component Interconnect PDV Packet Delay Variation SR/IOV SingleRoot/InputRoot / Input Output Virtualization SUT System Under TestSW SoftwareTCP TransmissioncontrolControl Protocol TSO TCP Segment Offload UDP User Datagram Protocol VM Virtual Machine VNF Virtualised Network Function VSPERF OPNFV vSwitch Performance Project 2. Scope The primary purpose and scope of the memo is to describe key aspects ofvswitchvSwitch benchmarking, particularly in the areas of testset-upssetups and configuration parameters for the system under test, and extend the body of extensive BMWG literature and experience. Initial feedback indicates that many of these extensions may be applicable beyond this memo's current scope (to hardware switches in the NFVInfrastructureinfrastructure and to virtual routers, for example). Additionally, this memo serves as a vehicle to include more detail and relevant commentary from BMWG and otherOpen Source communities,open source communities under BMWG's chartered work to characterize the NFVInfrastructure.infrastructure. The benchmarking covered in this memo should be applicable to many types ofvswitches,vSwitches and remainvswitch-agnosticvSwitch agnostic to a great degree. There has been no attempt to track and test all features of any specificvswitchvSwitch implementation. 3. Benchmarking Considerations This section highlights some specific considerations (from[I-D.ietf-bmwg-virtual-net])related[RFC8172]) related toBenchmarksbenchmarks for virtual switches. The OPNFV project is sharing its present view on theseareas,areas as they develop their specifications in the Level Test Design (LTD)document.document as defined by [IEEE829]. 3.1. Comparison with Physical Network Functions To compare the performance of virtual designs and implementations with their physical counterparts, identical benchmarks are needed. BMWG has developed specifications for many physical network functions. The BMWG has recommendedto re-usereusing existing benchmarks and methods in[I-D.ietf-bmwg-virtual-net],[RFC8172], and the OPNFV LTD expands on them as described here. A key configuration aspect forvswitchesvSwitches is the number of parallel CPU cores required to achieve comparable performance with a given physicaldevice,device or whether some limit of scale will be reached before thevswitchvSwitch can achieve the comparable performance level. It's unlikely that the virtual switch will be the only application running on theSystem Under Test (SUT),SUT, so CPU utilization,Cachecache utilization, andMemorymemory footprint should also be recorded for the virtual implementations of internetworking functions. However,internally-measuredinternally measured metrics such as these are not benchmarks; they may be useful for the audience(operations)(e.g., operations) toknow,know and may also be useful if there is a problem encountered during testing. BenchmarkComparabilitycomparability between virtual and physical/hardware implementations of equivalent functions will likely place more detailed and exact requirements on the*testing systems*"testing systems" (in terms of stream generation, algorithms to search formaxmaximum values, and theirconfigurations of course).configurations). This is another area for standards development toappreciate. However, theappreciate; however, this is a topic for a futuredraft.document. 3.2. Continued Emphasis on Black-Box Benchmarks External observations remain essential as the basis forBenchmarks.benchmarks. Internal observations with a fixed specification and interpretation will be provided in parallel to assist the development of operations procedures when the technology is deployed. 3.3. New Configuration Parameters 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 avswitchvSwitch, there are many factors that can affect the consistency ofresults,results; one key factor is matching the various hardware and software details of the SUT. This section lists some of the many new parameterswhichthat this project believes are critical to report in order to achieve repeatability. It has been the goal of the project to produce repeatable results, and a large set of the parameters believed to be critical is provided so that the benchmarking community can better appreciate the increase in configuration complexity inherent in this work. The parameter set below is assumed sufficient for the infrastructure in use by the VSPERF project to obtain repeatable results fromtest-to-test.test to test. Hardware details (platform, processor, memory, and network) including: o BIOS version, releasedatedate, and any configurations that were modified o Power management at all levels (ACPI sleep states, processor package,OS...)OS, etc.) o CPU microcode level o Number of enabled cores o Number of cores used for the test o Memory information (type and size) o Memory DIMM configurations (quad rank performance may not be the same as dual rank) in size,freqfrequency, and slot locations o Number of physicalNICs, as well asNICs and their details (manufacturer, versions,typetype, and the PCI slot they are plugged into) o NIC interrupt configuration (and any special features in use) o PCI configuration parameters (payload size, early ACK option, etc.) Software details including: o OSparameters and behavior (text vs graphical no one typing at the console on one system)RunLevel o OS version (for host and VNF) o Kernel version (for host and VNF) o GRUB boot parameters (for host and VNF) o Hypervisor details(Type(type and version) o Selectedvswitch,vSwitch, versionnumbernumber, or commitidID used ovswitchvSwitch launch command line if it has beenparameterisedparameterized o Memory allocation to thevswitchvSwitch owhichWhich NUMA node it isusing,using and how many memory channels o DPDK or any otherSWsoftware dependency version number or commitidID used o Memory allocation to a VM - if it's from Hugepages/elsewhere o VM storage type -snapshot/independent persistent/independent non- persistentsnapshot, independent persistent, independent non-persistent o Number of VMs o Number ofVirtualvirtual NICs(vNICs),(vNICs) - versions,typetype, and driver o Number of virtual CPUs and their core affinity on the host o NumbervNICof vNICs and their interruptconfigurationconfigurations o Thread affinitization for the applications (including thevswitchvSwitch itself) on the host o Details ofResourceresource isolation, such as CPUs designated for Host/ Kernel (isolcpu) and CPUs designated for specific processes (taskset).-Testduration. -traffic information: o Test duration o Number offlows. Test Traffic Information:flows o Traffic type - UDP, TCP,others.and others o Frame Sizes - fixed or IMIX[RFC6985](with[RFC6985] (note that with [IEEE802.1ac], frames may be longer than 1500bytes,bytes and up to 2000 bytes) o Deployment Scenario - defines the communications path in the SUT 3.4. FlowclassificationClassification 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.ThusThus, a flow can be thought of as a sequence of packets that have the same set of header fieldvalues,values or have arrived on the same physical or logical port. Performance results can vary based on the parameters thevswitchvSwitch uses to match for a flow. The recommended flow classification parameters for anyvswitchvSwitch performance tests are: the input port (physical or logical), the source MAC address, the destination MAC address, the source IP address, the destination IPaddressaddress, and the Ethernet protocol type field (although classification may take place on other fields, such as source and destination transport port numbers). It is essential to increase the flow timeout time on avswitchvSwitch before conducting any performance tests that do not intend to measure the flow setuptime, seetime (see Section 3 of[RFC2889]. Normally[RFC2889]). Normally, the first packet of a particular stream will install the flow in the virtualswitchswitch, whichadds anintroduces additionallatency,latency; subsequent packets of the same flow are not subject to this latency if the flow is already installed on thevswitch.vSwitch. 3.5. BenchmarksusingUsing Baselines with Resource Isolation This outline describes the measurement ofbaselinebaselines with isolated resources at a high level, which is the intended approach at this time. 1. Baselines: * Optional: Benchmark platform forwarding capability without avswitchvSwitch 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 1 Benchmark platform forwarding capability__ +--------------------------------------------------+ | | +------------------------------------------+ | | | | | | | | | Simple Forwarding App | | Host | | | | | | +------------------------------------------+ | | | | NIC | | | +---+------------------------------------------+---+ __| ^ : | | : v +--------------------------------------------------+ | | |traffic generatorTraffic Generator | | | +--------------------------------------------------+ Figure 1: Benchmark Platform Forwarding Capability * Benchmark VNF forwarding capability with direct connectivity(vswitch(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 forvswitchvSwitch bypass technologies performance andvswitchvSwitch performance.Figure 2 Benchmark VNF forwarding capability__ +--------------------------------------------------+ __ | | +------------------------------------------+ | | | | | | | Host/ | | | VNF | | Guest | | | | | | | | +------------------------------------------+ | __| | | | Passthrough/SR-IOV | | Host | +------------------------------------------+ | | | | NIC | | | +---+------------------------------------------+---+ __| ^ : | | : v +--------------------------------------------------+ | | |traffic generatorTraffic Generator | | | +--------------------------------------------------+ Figure 2: Benchmark VNF Forwarding Capability * Benchmarking with isolated resourcesalone,alone and with other resources (bothHW&SW) disabled Example, vswitchhardware and software) disabled; for example, vSwitch and VM areSUTSUT. * Benchmarking with isolated resources alone, thus leaving some resourcesunusedunused. *BenchmarkBenchmarking with isolated resources and all resourcesoccupiedoccupied. 2. NextStepsSteps: * Limited sharing * Production scenarios * Stressful scenarios 4. VSPERF Specification Summary 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 the BMWG to test the performance of physical switches. These specifications include: o[RFC2544]Benchmarking Methodology for Network Interconnect Devices [RFC2544] o[RFC2889]Benchmarking Methodology for LAN Switching [RFC2889] o[RFC6201]Device Reset Characterization [RFC6201] o[RFC5481]Packet Delay Variation Applicability StatementSome of the above/newer[RFC5481] The two most recent RFCs above ([RFC6201] and [RFC5481]) are being applied in benchmarking for the firsttime,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. In addition to this, the LTD alsore-usesreuses the terminology defined by: o[RFC2285]Benchmarking Terminology for LAN Switching Devices [RFC2285] It is recommended that these referencesarebe included in future benchmarking specifications: o[RFC3918]Methodology for IP Multicast Benchmarking [RFC3918] o[RFC4737]Packet Reordering Metrics [RFC4737] As one might expect, the most fundamental internetworking characteristics ofThroughputthroughput andLatencylatency remain important when the switch is virtualized, and these benchmarks figure prominently in the specification. When considering characteristics important to "telco" network functions, additional performance metrics are needed. In this case, the project specifications have referenced metrics from the IETF IP Performance Metrics (IPPM) literature. This means that the[RFC2544]latency testof Latencydescribed in [RFC2544] is replaced by measurement of a metric derived from IPPM's[RFC2679],[RFC7679], where a set of statistical summaries will be provided (mean, max, min, and percentiles). Further metrics planned to be benchmarked include packet delay variation as defined by[RFC5481] ,[RFC5481], reordering, burst behaviour, DUT availability, DUTcapacitycapacity, and packet loss inlong termlong-term testing atThroughputthe throughput level, where somelow-levellow level of background loss may be present and characterized. Tests have been designed to collect the metrics below: o ThroughputTeststests are designed to measure the maximum forwarding rate (in frames persecond orsecond, fps) and bit rate (in Mbps) for a constant load (as defined by [RFC1242]) without traffic loss. o Packet andFrame Delay Distribution Testsframe-delay distribution tests are designed to measureaverage, minthe average minimum andmaxmaximum packetand frame(and/or frame) delay for constant loads. o PacketDelay Testsdelay tests are designed to understand latency distribution for different packet sizes and to uncover outliers over an extended testrun to uncover outliers.run. o ScalabilityTeststests are designed to understand how the virtual switch performs with an increasing number of flows, number of active ports, configuration complexity of the forwarding logic, etc. o StreamPerformance Tests (TCP,performance tests (with TCP or UDP) are designed to measure bulk data transfer performance,i.e.i.e., how fast systems can send and receive data through the switch. oControl PathControl-path andDatapath Coupling Tests,data-path coupling tests are designed to understand how closely thedatapathdata path and the control path are coupled, as well as the effect of this coupling on the performance of the DUT(example:(for example, delay of the initial packet of a flow). o CPU andMemory Consumption Testsmemory consumption tests are designed to understand the virtual switch's footprint on thesystem,system and are conducted as auxiliary measurements with the benchmarks above. Theyinclude:include CPU utilization,Cache utilizationcache utilization, andMemorymemory footprint. o The so-called"Soak""soak" tests, where the selected test is conducted over a long period of time (with an ideal duration of 24hours,hours but only long enough to determine that stability issues exist when found; there is no requirement to continue a test when a DUT exhibits instability over time). The key performance characteristics and benchmarks for a DUT are determined (using short duration tests) prior to conducting soak tests. The purpose of soak tests is to capture transient changes inperformanceperformance, which may occur due to infrequent processes, memory leaks, or thelow probabilitylow-probability coincidence of two or more processes. The stability of the DUT is the paramount consideration, so performance must be evaluated periodically during continuous testing, and this results in use of[RFC2889] Frame Rateframe rate metrics [RFC2889] instead of throughput [RFC2544]Throughput(which requires stopping traffic to allow time for all traffic to exit internal queues), for example. Additional test specification development should include: oRequest/Response Performance Tests (TCP, UDP)Request/response performance tests (with TCP or UDP), which measure the transaction rate through the switch. o NoisyNeighbour Tests,neighbor tests, in order to understand the effects of resource sharing on the performance of a virtual switch. o Tests derived from examination of ETSI NFV Draft GS IFA003 requirements [IFA003] on characterization of acceleration technologies applied tovswitches.vSwitches. The flexibility of deployment of a virtual switch within a network means that it is necessary to characterize the performance of avswitchvSwitch in various deployment scenarios. The deployment scenarios under considerationinclude: Figure 3 Physical port to virtual switch to physical portare shown in the following figures: __ +--------------------------------------------------+ | | +--------------------+ | | | | | | | | | v | | Host | +--------------+ +--------------+ | | | |phy portPHY Port |vswitchvSwitch |phy portPHY Port | | | +---+--------------+------------+--------------+---+ __| ^ : | | : v +--------------------------------------------------+ | | |traffic generatorTraffic Generator | | | +--------------------------------------------------+ Figure43: Physicalport to virtual switch to VNFPort tovirtual switchVirtual Switch tophysical portPhysical Port __ +---------------------------------------------------+ | | | | | +-------------------------------------------+ | | | | Application | | | | +-------------------------------------------+ | | | ^ : | | | | | | | Guest | : v | | | +---------------+ +---------------+ | | | |logical portLogical Port 0| |logical portLogical Port 1| | | +---+---------------+-----------+---------------+---+ __| ^ : | | : v __ +---+---------------+----------+---------------+---+ | | |logical portLogical Port 0| |logical portLogical Port 1| | | | +---------------+ +---------------+ | | | ^ : | | | | | | | Host | : v | | | +--------------+ +--------------+ | | | |phy portPHY Port |vswitchvSwitch |phy portPHY Port | | | +---+--------------+------------+--------------+---+ __| ^ : | | : v +--------------------------------------------------+ | | |traffic generatorTraffic Generator | | | +--------------------------------------------------+ Figure54: Physicalport to virtual switch to VNFPort tovirtual switchVirtual Switch to VNF tovirtual switchVirtual Switch tophysical portPhysical Port __ +----------------------+ +----------------------+ | | Guest 1 | | Guest 2 | | | +---------------+ | | +---------------+ | | | | Application | | | | Application | | | | +---------------+ | | +---------------+ | | | ^ | | | ^ | | | | | v | | | v | | Guests | +---------------+ | | +---------------+ | | | |logical portsLogical Ports | | | |logical portsLogical Ports | | | | | 0 1 | | | | 0 1 | | | +---+---------------+--+ +---+---------------+--+__| ^ : ^ : | | | | : v : v _ +---+---------------+---------+---------------+--+ | | | 0 1 | | 3 4 | | | | |logical portsLogical Ports | |logical portsLogical Ports | | | | +---------------+ +---------------+ | | | ^ | ^ | | | Host | ||-----------------|\-----------------/ v | | | +--------------+ +--------------+ | | | |phy portsPHY Ports |vswitchvSwitch |phy portsPHY Ports | | | +---+--------------+----------+--------------+---+_| ^ : | | : v +--------------------------------------------------+ | | |traffic generatorTraffic Generator | | | +--------------------------------------------------+ Figure65: PhysicalportPort tovirtual switchVirtual Switch to VNF to Virtual Switch to VNF to Virtual Switch to Physical Port __ +---------------------------------------------------+ | | | | | +-------------------------------------------+ | | | | Application | | | | +-------------------------------------------+ | | | ^ | | | | | | Guest | : | | | +---------------+ | | | |logical portLogical Port 0| | | +---+---------------+-------------------------------+ __| ^ | : __ +---+---------------+------------------------------+ | | |logical portLogical Port 0| | | | +---------------+ | | | ^ | | | | | | Host | : | | | +--------------+ | | | |phy portPHY Port |vswitchvSwitch | | +---+--------------+------------ -------------- ---+ __| ^ | : +--------------------------------------------------+ | | |traffic generatorTraffic Generator | | | +--------------------------------------------------+ Figure7 VNF6: Physical Port tovirtual switchVirtual Switch tophysical portVNF __ +---------------------------------------------------+ | | | | | +-------------------------------------------+ | | | | Application | | | | +-------------------------------------------+ | | | : | | | | | | Guest | v | | | +---------------+ | | | |logical portLogical Port | | | +-------------------------------+---------------+---+ __| : | v __ +------------------------------+---------------+---+ | | |logical portLogical Port | | | | +---------------+ | | | : | | | | | | Host | v | | | +--------------+ | | |vswitchvSwitch |phy portPHY Port | | | +-------------------------------+--------------+---+ __| : | v +--------------------------------------------------+ | | |traffic generatorTraffic Generator | | | +--------------------------------------------------+ Figure87: VNF tovirtual switchVirtual Switch toVNFPhysical Port __ +----------------------+ +----------------------+ | | Guest 1 | | Guest 2 | | | +---------------+ | | +---------------+ | | | | Application | | | | Application | | | | +---------------+ | | +---------------+ | | | | | | ^ | | | v | | | | | Guests | +---------------+ | | +---------------+ | | | |logical portsLogical Ports | | | |logical portsLogical Ports | | | | | 0 | | | | 0 | | | +---+---------------+--+ +---+---------------+--+__| : ^ | | v : _ +---+---------------+---------+---------------+--+ | | | 1 | | 1 | | | | |logical portsLogical Ports | |logical portsLogical Ports | | | | +---------------+ +---------------+ | | | | ^ | | Host |L-----------------+\-----------------/ | | | | | |vswitchvSwitch | | +------------------------------------------------+_| Figure 8: VNF to Virtual Switch to VNF A set ofDeployment Scenariodeployment scenario figures is available on the VSPERFTest Methodology Wiki"Test Methodology" wiki page [TestTopo]. 5. 3x3 Matrix Coverage This section organizes the many existing test specifications into the "3x3" matrix (introduced in[I-D.ietf-bmwg-virtual-net]).[RFC8172]). Because the LTD specification ID names are quite long, this section is organized into lists for each occupied cell of the matrix (not all areoccupied, alsooccupied; also, the matrix has grown to 3x4 to accommodate scale metrics when displaying the coverage of many metrics/benchmarks). The current version of the LTD specification isavailableavailable; see [LTD]. The tests listed below assess the activation of paths in the dataplane,plane rather than the control plane. A complete list of tests with short summaries is available on the VSPERF "LTD Test Spec Overview"Wikiwiki page [LTDoverV]. 5.1. Speed of Activation o Activation.RFC2889.AddressLearningRate o PacketLatency.InitialPacketProcessingLatency 5.2. Accuracy of Activationsectiono CPDP.Coupling.Flow.Addition 5.3. Reliability of Activation o Throughput.RFC2544.SystemRecoveryTime o Throughput.RFC2544.ResetTime 5.4. Scale of Activation o Activation.RFC2889.AddressCachingCapacity 5.5. Speed of Operation o Throughput.RFC2544.PacketLossRate o Stress.RFC2544.0PacketLoss o Throughput.RFC2544.PacketLossRateFrameModification o Throughput.RFC2544.BackToBackFrames o Throughput.RFC2889.MaxForwardingRate o Throughput.RFC2889.ForwardPressure o Throughput.RFC2889.BroadcastFrameForwarding o Throughput.RFC2544.WorstN-BestN o Throughput.Overlay.Network.<tech>.RFC2544.PacketLossRatio 5.6. Accuracy of Operation o Throughput.RFC2889.ErrorFramesFiltering o Throughput.RFC2544.Profile 5.7. Reliability of Operation o Throughput.RFC2889.Soak o Throughput.RFC2889.SoakFrameModification o PacketDelayVariation.RFC3393.Soak 5.8. Scalability of Operation o Scalability.RFC2544.0PacketLoss o MemoryBandwidth.RFC2544.0PacketLoss.Scalability o Scalability.VNF.RFC2544.PacketLossProfile o Scalability.VNF.RFC2544.PacketLossRatio 5.9. Summary|------------------------------------------------------------------------||---------------------------------------------------------------------| | | | | | | | | SPEED | ACCURACY | RELIABILITY | SCALE | | | | | | ||------------------------------------------------------------------------||---------------------------------------------------------------------| | | | | | | | Activation | X | X | X | X | | | | | | ||------------------------------------------------------------------------||---------------------------------------------------------------------| | | | | | | | Operation | X | X | X | X | | | | | | ||------------------------------------------------------------------------| ||---------------------------------------------------------------------| | | | | | |De-activation| De-activation| | | | | | | | | | ||------------------------------------------------------------------------||---------------------------------------------------------------------| 6. Security Considerations 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 laboratoryenvironment,environment with dedicated address space and the constraints specified in the sections above. 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 productionnetwork,network or misroute traffic to the test management network. Further, benchmarking is performed on a "black-box"basis, relyingbasis and relies solely on measurements observable external to the DUT/SUT. 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. 7.IANA Considerations No IANA Action is requested at this time. 8. Acknowledgements The authors appreciate and acknowledge comments from Scott Bradner, Marius Georgescu, Ramki Krishnan, Doug Montgomery, Martin Klozik, Christian Trautman, and others for their reviews. We also acknowledge the early work in [I-D.huang-bmwg-virtual-network-performance], and useful discussion with the authors. 9.References9.1.7.1. Normative References [RFC2119] Bradner, S., "Key words for use in RFCs to Indicate Requirement Levels", BCP 14, RFC 2119, DOI 10.17487/RFC2119, March 1997,<http://www.rfc-editor.org/info/rfc2119>.<https://www.rfc-editor.org/info/rfc2119>. [RFC2285] Mandeville, R., "Benchmarking Terminology for LAN Switching Devices", RFC 2285, DOI 10.17487/RFC2285, February 1998,<http://www.rfc-editor.org/info/rfc2285>.<https://www.rfc-editor.org/info/rfc2285>. [RFC2544] Bradner, S. and J. McQuaid, "Benchmarking Methodology for Network Interconnect Devices", RFC 2544, DOI 10.17487/RFC2544, March 1999,<http://www.rfc-editor.org/info/rfc2544>. [RFC2679] Almes, G., Kalidindi, S., and M. Zekauskas, "A One-way Delay Metric for IPPM", RFC 2679, DOI 10.17487/RFC2679, September 1999, <http://www.rfc-editor.org/info/rfc2679>.<https://www.rfc-editor.org/info/rfc2544>. [RFC2889] Mandeville, R. and J. Perser, "Benchmarking Methodology for LAN Switching Devices", RFC 2889, DOI 10.17487/RFC2889, August 2000,<http://www.rfc-editor.org/info/rfc2889>.<https://www.rfc-editor.org/info/rfc2889>. [RFC3918] Stopp, D. and B. Hickman, "Methodology for IP Multicast Benchmarking", RFC 3918, DOI 10.17487/RFC3918, October 2004,<http://www.rfc-editor.org/info/rfc3918>.<https://www.rfc-editor.org/info/rfc3918>. [RFC4737] Morton, A., Ciavattone, L., Ramachandran, G., Shalunov, S., and J. Perser, "Packet Reordering Metrics", RFC 4737, DOI 10.17487/RFC4737, November 2006,<http://www.rfc-editor.org/info/rfc4737>.<https://www.rfc-editor.org/info/rfc4737>. [RFC6201] Asati, R., Pignataro, C., Calabria, F., and C. Olvera, "Device Reset Characterization", RFC 6201, DOI 10.17487/RFC6201, March 2011,<http://www.rfc-editor.org/info/rfc6201>.<https://www.rfc-editor.org/info/rfc6201>. [RFC6985] Morton, A., "IMIX Genome: Specification of Variable Packet Sizes for Additional Testing", RFC 6985, DOI 10.17487/RFC6985, July 2013,<http://www.rfc-editor.org/info/rfc6985>. 9.2.<https://www.rfc-editor.org/info/rfc6985>. [RFC7679] Almes, G., Kalidindi, S., Zekauskas, M., and A. Morton, Ed., "A One-Way Delay Metric for IP Performance Metrics (IPPM)", STD 81, RFC 7679, DOI 10.17487/RFC7679, January 2016, <https://www.rfc-editor.org/info/rfc7679>. [RFC8174] Leiba, B., "Ambiguity of Uppercase vs Lowercase in RFC 2119 Key Words", BCP 14, RFC 8174, DOI 10.17487/RFC8174, May 2017, <https://www.rfc-editor.org/info/rfc8174>. 7.2. Informative References[DanubeRel] "Danube, Fourth OPNFV Release https://wiki.opnfv.org/display/SWREL/Danube". [I-D.huang-bmwg-virtual-network-performance][BENCHMARK-METHOD] Huang, L., Ed., Rong, G., Ed., Mandeville, B., and B. Hickman, "Benchmarking Methodology for Virtualization Network Performance",draft-huang-bmwg-virtual-network- performance-02 (workWork inprogress), March 2017. [I-D.ietf-bmwg-virtual-net] Morton, A., "Considerations for Benchmarking Virtual Network Functions and Their Infrastructure", draft-ietf- bmwg-virtual-net-05 (work in progress), MarchProgress, draft-huang-bmwg- virtual-network-performance-03, July 2017. [DanubeRel] OPNFV, "Danube", <https://wiki.opnfv.org/display/SWREL/Danube>. [IEEE802.1ac]https://standards.ieee.org/findstds/standard/802.1AC- 2016.html, "802.1AC-2016 - IEEEIEEE, "IEEE Standard for Local and metropolitan area networks -- Media Access Control (MAC) Service Definition",2016.IEEE 802.1AC-2016, DOI 10.1109/IEEESTD.2017.7875381, 2016, <https://standards.ieee.org/findstds/ standard/802.1AC-2016.html>. [IEEE829] IEEE, "IEEE Standard for Software and System Test Documentation", IEEE 829-2008, DOI 10.1109/IEEESTD.2008.4578383, <http://ieeexplore.ieee.org/document/4578383/>. [IFA003]"https://docbox.etsi.org/ISG/NFV/Open/Drafts/ IFA003_Acceleration_-_vSwitch_Spec/".ETSI, "Network Functions Virtualisation (NFV); Acceleration Technologies; vSwitch Benchmarking and Acceleration Specification", ETSI GS NFV-IFA 003 V2.1.1, April 2016, <http://www.etsi.org/deliver/etsi_gs/NFV- IFA/001_099/003/02.01.01_60/gs_NFV-IFA003v020101p.pdf>. [LTD]Note: if the Danube Release LTD is available in artifacts at publication, we will use that URL instead., "LTDTahhan, M., "VSPERF Level TestS pecificationhttp://artifacts.opnfv.org/vswitchperf/colorad o/docs/requirements/vswitchperf_ltd.html".Design (LTD)", <http://docs.opnfv.org/en/stable- danube/submodules/vswitchperf/docs/testing/developer/ requirements/vswitchperf_ltd.html#>. [LTDoverV] Morton, A., "LTD Test SpecOverview https://wiki.opnfv.org/display/vsperf/ LTD+Test+Spec+Overview".Overview", <https://wiki.opnfv.org/display/vsperf/ LTD+Test+Spec+Overview>. [OPNFV]"OPNFV Home https://www.opnfv.org/".OPNFV, "OPNFV", <https://www.opnfv.org/>. [RFC1242] Bradner, S., "Benchmarking Terminology for Network Interconnection Devices", RFC 1242, DOI 10.17487/RFC1242, July 1991,<http://www.rfc-editor.org/info/rfc1242>.<https://www.rfc-editor.org/info/rfc1242>. [RFC5481] Morton, A. and B. Claise, "Packet Delay Variation Applicability Statement", RFC 5481, DOI 10.17487/RFC5481, March 2009,<http://www.rfc-editor.org/info/rfc5481>.<https://www.rfc-editor.org/info/rfc5481>. [RFC8172] Morton, A., "Considerations for Benchmarking Virtual Network Functions and Their Infrastructure", RFC 8172, DOI 10.17487/RFC8172, July 2017, <https://www.rfc-editor.org/info/rfc8172>. [TestTopo] Snyder, E., "TestTopologies https://wiki.opnfv.org/display/vsperf/ Test+Methodology".Methodology", <https://wiki.opnfv.org/display/vsperf/Test+Methodology>. [VSPERFhome] Tahhan, M., "VSPERFHome https://wiki.opnfv.org/display/vsperf/ VSperf+Home".Home", <https://wiki.opnfv.org/display/vsperf/VSperf+Home>. Acknowledgements The authors appreciate and acknowledge comments from Scott Bradner, Marius Georgescu, Ramki Krishnan, Doug Montgomery, Martin Klozik, Christian Trautman, Benoit Claise, and others for their reviews. We also acknowledge the early work in [BENCHMARK-METHOD] and useful discussion with the authors. Authors' Addresses Maryam Tahhan Intel Email: maryam.tahhan@intel.com Billy O'Mahony Intel Email: billy.o.mahony@intel.com Al Morton AT&T Labs 200 Laurel Avenue SouthMiddletown,,Middletown, NJ 07748USAUnited States of America Phone: +1 732 420 1571 Fax: +1 732 368 1192 Email: acmorton@att.comURI: http://home.comcast.net/~acmacm/