From cb5400b079ec8aacfd6dac73cbf59b74bbcb4e1e Mon Sep 17 00:00:00 2001 From: Billy O'Mahony Date: Fri, 24 Jul 2015 11:12:55 +0100 Subject: test_spec: Clarify LTD.PacketLatency.InitialPacketProcessingLatency Make changes based on comments from review at VSPERF weekly call 2015-22-27. JIRA: VSPERF-2 Change-Id: Ic11a021fee58876d0a402a07195c0f1746fc1705 Signed-off-by: Billy O'Mahony Reviewed-by: Al Morton Reviewed-by: Eugene Snider Reviewed-by: Maryam Tahhan Reviewed-by: Gurpreet Singh Reviewed-by: Tv Rao --- test_spec/vswitchperf_ltd.md | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'test_spec') diff --git a/test_spec/vswitchperf_ltd.md b/test_spec/vswitchperf_ltd.md index 947d49d0..6f02a6eb 100755 --- a/test_spec/vswitchperf_ltd.md +++ b/test_spec/vswitchperf_ltd.md @@ -1160,13 +1160,19 @@ The starting point for defining the suite of tests for benchmarking the performa - #####Test ID: LTD.PacketLatency.InitialPacketProcessingLatency **Title**: Initial Packet Processing Latency - **Prerequisite Test**: N\A + **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. + 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. There are two methods for this test, a recommended method and a nalternative method that can be used if it is possible to disable the fastpath of the virtual switch. + + Recommended method: This test will send 64,000 packets to the DUT, each belonging to a different flow. Average packet latency will be determined over the 64,000 packets. + + Alternative method: 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 plus 10%. Average packet latency will be determined over 1,000,000 packets. + + This test is intended only for non-learning switches; For learning switches use RFC2889. For this test, only unidirectional traffic is required. -- cgit 1.2.3-korg