Re: [bmwg] Latency test for an openflow controller

"Bhuvan \(Veryx Technologies\)" <bhuvaneswaran.vengainathan@veryxtech.com> Tue, 10 June 2014 04:52 UTC

Return-Path: <bhuvaneswaran.vengainathan@veryxtech.com>
X-Original-To: bmwg@ietfa.amsl.com
Delivered-To: bmwg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 27E9B1A03C2 for <bmwg@ietfa.amsl.com>; Mon, 9 Jun 2014 21:52:07 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.597
X-Spam-Level:
X-Spam-Status: No, score=0.597 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, FRT_BELOW2=2.154, HTML_MESSAGE=0.001, RELAY_IS_203=0.994, RP_MATCHES_RCVD=-0.651, SPF_PASS=-0.001] autolearn=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 9Wkj_JBD8Xpw for <bmwg@ietfa.amsl.com>; Mon, 9 Jun 2014 21:52:04 -0700 (PDT)
Received: from mail.veryxtech.com (mail.veryxtech.com [203.196.171.45]) by ietfa.amsl.com (Postfix) with ESMTP id E5B8B1A03B4 for <bmwg@ietf.org>; Mon, 9 Jun 2014 21:52:03 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by mail.veryxtech.com (Postfix) with ESMTP id 8B6683740DF; Tue, 10 Jun 2014 10:22:00 +0530 (IST)
X-Virus-Scanned: amavisd-new at veryxtech.com
Received: from mail.veryxtech.com ([127.0.0.1]) by localhost (mail.veryxtech.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id nT-VtVDZ6Jml; Tue, 10 Jun 2014 10:21:55 +0530 (IST)
Received: from LT015PC (unknown [192.168.12.102]) by mail.veryxtech.com (Postfix) with ESMTPSA id C59C83740DE; Tue, 10 Jun 2014 10:21:55 +0530 (IST)
From: "Bhuvan (Veryx Technologies)" <bhuvaneswaran.vengainathan@veryxtech.com>
To: 'hassan hatim' <hassanhtm@yahoo.com>, bmwg@ietf.org
References: <1402259828.19243.YahooMailNeo@web161801.mail.bf1.yahoo.com>
In-Reply-To: <1402259828.19243.YahooMailNeo@web161801.mail.bf1.yahoo.com>
Date: Tue, 10 Jun 2014 10:21:58 +0530
Message-ID: <001c01cf8467$b676f160$2364d420$@veryxtech.com>
MIME-Version: 1.0
Content-Type: multipart/related; boundary="----=_NextPart_000_001D_01CF8495.D0365950"
X-Mailer: Microsoft Outlook 14.0
Thread-Index: AQJvX7eu/lWrcA8rIe5KI5ysydl/opopMq/w
Content-Language: en-us
Archived-At: http://mailarchive.ietf.org/arch/msg/bmwg/ixiNmDzQo0NrjW97LDyq1MgPZ14
Subject: Re: [bmwg] Latency test for an openflow controller
X-BeenThere: bmwg@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Benchmarking Methodology Working Group <bmwg.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/bmwg>, <mailto:bmwg-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/bmwg/>
List-Post: <mailto:bmwg@ietf.org>
List-Help: <mailto:bmwg-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/bmwg>, <mailto:bmwg-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 10 Jun 2014 04:52:08 -0000

Dear Hassan,

 

The equation to calculate flow setup delay (Latency) is "Test Iteration
Duration (milliseconds)/Number of OpenFlow Responses Received from
Controller"

For example, the latency for 1st iteration is "10000/635968"  = 15.724062
Microseconds. Repeat the same for other iterations to compute Max, Min and
Average latency.

 

Regards,

 

Description: Description: Description: Description: Description:
Description: Description: Description: Description: Description: Veryx-Logo
for Webinar



Bhuvan | Cloud and SDN Solutions

Phone: +91 44 4567 2222 x242

Mobile: +91 988 428 6693 

 <http://www.veryxtech.com/> www.veryxtech.com

 

From: bmwg [mailto:bmwg-bounces@ietf.org] On Behalf Of hassan hatim
Sent: Monday, June 09, 2014 2:07 AM
To: bmwg@ietf.org
Subject: [bmwg] Latency test for an openflow controller

 

Dears

 

I did a latency test for an OpenFlow controller by cbench tool, the results
is bellow:

 

-K56CB:~$ taskset -c 0-3 cbench -c  localhost -p 6633 -m 10000 -l 14 -w 2 -M
100000  -i 50 -I 5 -s  1

cbench: controller benchmarking tool

   running in mode 'latency'

   connecting to controller at localhost:6633 

   faking 1 switches offset 1 :: 14 tests each; 10000 ms per test

   with 100000 unique source MACs per switch

   learning destination mac addresses before the test

   starting test with 0 ms delay after features_reply

   ignoring first 2 "warmup" and last 0 "cooldown" loops

   connection delay of 50ms per 5 switch(es)

   debugging info is off

13:56:05.830 1   switches: flows/sec:  635968   total = 63.596794 per ms 

13:56:15.931 1   switches: flows/sec:  765060   total = 76.505992 per ms 

13:56:26.031 1   switches: flows/sec:  763596   total = 76.359592 per ms 

13:56:36.131 1   switches: flows/sec:  765249   total = 76.524892 per ms 

13:56:46.232 1   switches: flows/sec:  757221   total = 75.722062 per ms 

13:56:56.332 1   switches: flows/sec:  771945   total = 77.194492 per ms 

13:57:06.432 1   switches: flows/sec:  755700   total = 75.569992 per ms 

13:57:16.532 1   switches: flows/sec:  755304   total = 75.530392 per ms 

13:57:26.632 1   switches: flows/sec:  754737   total = 75.473692 per ms 

13:57:36.733 1   switches: flows/sec:  755922   total = 75.592192 per ms 

13:57:46.833 1   switches: flows/sec:  756075   total = 75.607492 per ms 

13:57:56.933 1   switches: flows/sec:  757404   total = 75.740392 per ms 

13:58:07.033 1   switches: flows/sec:  761826   total = 76.182592 per ms 

13:58:17.134 1   switches: flows/sec:  772500   total = 77.249992 per ms 

RESULT: 1 switches 12 tests min/max/avg/stdev =
75473.69/77249.99/76062.31/614.30 responses/s

 

Does it right that the calculation for the latency is done by dividing
100000 to the resulted number  76062.31 to get the average delay for all the
tests in Microseconds.

 

Thanks and regards.

-Hassan