From: Maryam Tahhan Date: Tue, 12 May 2015 14:56:07 +0000 (+0100) Subject: TestSpec: Add LTD.Latency.Slowpath X-Git-Tag: brahmaputra.1.0~160 X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F45%2F345%2F8;p=vswitchperf.git TestSpec: Add LTD.Latency.Slowpath Add a definition for Slowpath packet delay test. JIRA: VSPERF-40 Change-Id: I43727ad966c706bd3d4fad3a463798af3ccd72f8 Signed-off-by: Maryam Tahhan Reviewed-by: Al Morton Reviewed-by: Aihua Li --- diff --git a/test_spec/vswitchperf_ltd.md b/test_spec/vswitchperf_ltd.md index aa016527..98b82d90 100644 --- a/test_spec/vswitchperf_ltd.md +++ b/test_spec/vswitchperf_ltd.md @@ -899,6 +899,40 @@ The following represents possible deployments which can help to determine the pe - The forwarding rate of the DUT when forwarding broadcast traffic. +
+---- + +####2.3.2 Packet Latency tests + These tests will measure the store and forward latency as well as the packet delay variation for various packet types through the virtual switch. + + The following list is not exhaustive but should indicate the type of tests that should be required. It is expected that more will be added. + + - #####Test ID: LTD.PacketLatency.InitialPacketProcessingLatency + **Title**: Initial Packet Processing Latency + + **Prerequisite Test**: N\A + + **Priority**: + + **Description**: + + In some virtual switch architectures, the first packets of a flow will take the system longer to process than subsequent packets in the flow. This test determines the latency for these packets. The test will measure the latency of the packets as they are processed by the flow-setup-path of the DUT. This test will send a single packet to the DUT after a fixed interval of time. The time interval will be equivalent to the amount of time it takes for a flow to time out in the virtual switch. Average packet latency will be determined over 1,000,000 packets. + + For this test, only unidirectional traffic is required. + + **Expected Result**: + The average latency for the initial packet of all flows should be greater than the latency of subsequent traffic. + + **Metrics Collected**: + + The following are the metrics collected for this test: + + - Average latency of the initial packets of all flows that are processed by the DUT. + + **Deployment scenario**: + + - Physical → Virtual Switch → Physical. +
---- [RFC1242]:(http://www.ietf.org/rfc/rfc1242.txt) [RFC2544]:(http://www.ietf.org/rfc/rfc2544.txt)